/* Saturn Theory Sound: company look (header, footer, and home page).
   Palette 2: plum, coral, and blush. Each plug-in page adds its own
   stylesheet for its own look, e.g. /AK/ak.css. */
:root {
  color-scheme: light;
  --plum: #3a1e33;
  --plum-soft: #5a4156;
  --coral: #f8564f;
  --pink: #f0d3cb;
  --blush: #f1e7e3;
  --company: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--plum);
  font: 400 1.0625rem/1.7 var(--company);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---- Header (same on every page) ---- */
.top { background: var(--blush); color: var(--plum); border-bottom: 1px solid var(--pink); font-family: var(--company); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; }
.brand svg { flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; font-size: 0.95rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--plum-soft); }
.nav a:hover { color: var(--plum); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---- Footer (same on every page) ---- */
.foot { background: var(--plum); color: #cdbfc8; padding-block: 2rem 2.75rem; font: 400 0.9rem/1.6 var(--company); }
.foot-row { display: grid; gap: 0.6rem; }
.fine { font-size: 0.78rem; max-width: 46rem; opacity: 0.8; }

/* ---- Home page ---- */
.home-hero { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 12vw, 9.5rem); }
.home-hero .wrap { position: relative; display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); }
.home-hero h1 { font-weight: 800; font-stretch: 125%; font-size: clamp(1.9rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -0.02em; }
.home-hero h1 span { display: block; }
.home-copy { display: grid; gap: 1.5rem; max-width: 41rem; }
.home-copy p { font-size: 1.15rem; line-height: 1.7; color: var(--plum-soft); }
.home-copy p:first-child { font-size: 1.35rem; line-height: 1.55; font-weight: 500; color: var(--plum); }
.home-mark { position: absolute; right: -15rem; top: 60%; width: 42rem; max-width: none; transform: translateY(-50%); pointer-events: none; }

.home-plugins { background: var(--plum); color: var(--blush); padding-block: clamp(4rem, 9vw, 7.5rem); }
.home-plugins .label { margin-bottom: 2rem; font-weight: 700; font-size: 0.8rem; line-height: 1; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink); }
.product { display: grid; gap: 1.75rem; text-decoration: none; }
.product img { border-radius: clamp(10px, 2vw, 22px); box-shadow: 0 24px 54px rgba(15, 5, 12, 0.55); transition: transform 0.15s ease; }
.product:hover img { transform: translateY(-4px); }
.product-name { font-weight: 800; font-stretch: 125%; font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1; letter-spacing: 0.08em; }
.product:hover .product-name { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 8px; }

@media (max-width: 900px) {
  .home-mark { width: 26rem; right: -15rem; top: 78%; opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product img { transition: none; }
  .product:hover img { transform: none; }
}
@media (max-width: 700px) {
  .home-mark { display: none; }
}
