/* ===================================================================
   SOULVAYA — brand landing page
   Single stylesheet, no build step, no JavaScript. Mobile-first.
   Every text/background pair below is WCAG AA (4.5:1) or better;
   --gold is decoration only on light backgrounds (2.6:1), text only on --night.
   =================================================================== */

:root {
  --paper:     #FAF8F4;  /* page background */
  --ivory:     #F2EDE4;  /* alternate sections */
  --ink:       #15120F;
  --ink-hover: #2E2822;
  --mute:      #5E5850;
  --gold:      #B8965A;  /* hairlines and ornaments; text only on --night */
  --gold-deep: #7A5A27;  /* gold-toned text on light backgrounds */
  --night:     #15120F;  /* closing band */
  --night-mute:#BFB6A8;
  --line:      #E4DDD0;
  --white:     #FFFFFF;  /* photo and card backgrounds */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 9vw, 7rem);
  --header-h: 66px;

  --track: 0.16em;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Anchor targets land below the sticky header, not under it. */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.7rem, 6.8vw, 4.5rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.65rem; font-weight: 600; line-height: 1.15; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: .75rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: .75rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.center { text-align: center; }

.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--gold); }

/* --- Header ---------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.4rem; letter-spacing: .26em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 2.25rem; }
  .nav a {
    color: var(--mute); text-decoration: none;
    font-size: .78rem; font-weight: 600;
    letter-spacing: var(--track); text-transform: uppercase;
  }
  .nav a:hover { color: var(--ink); }
}

/* --- Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.7rem;
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: .8rem; font-weight: 600; line-height: 1.2;
  letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { padding: .72rem 1.05rem; font-size: .72rem; letter-spacing: .12em; }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--ivory); border-color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.25rem 0 0; }
@media (max-width: 479px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* Phones: wordmark + header button must share one line, so the button
   label shortens to "Shop". */
@media (max-width: 599px) {
  .hide-sm { display: none; }
}
@media (max-width: 359px) {
  .brand { letter-spacing: .2em; }
}

/* --- Hero ------------------------------------------------------------ */

.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 0; }
.hero-grid { display: grid; gap: 2.75rem; align-items: center; }
.lede { font-size: 1.12rem; color: var(--mute); max-width: 31em; }

.hero-points, .tick-list { list-style: none; padding: 0; }
.hero-points {
  margin: 2.25rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem;
  font-size: .9rem; color: var(--mute);
}
.hero-points li, .tick-list li { position: relative; padding-left: 1.25rem; }
.hero-points li::before, .tick-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--gold);
  transform: rotate(45deg);
}

/* Product photos all sit on white, so each gets a hairline frame. */
.hero-media img,
.split-media img {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
}

/* --- Sections -------------------------------------------------------- */

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--ivory); }
.hero + .section { padding-top: clamp(3rem, 7vw, 5.5rem); }

.section-head { max-width: 42rem; margin-bottom: 2.75rem; }
.section-head::before {
  content: ""; display: block;
  width: 48px; height: 1px; background: var(--gold);
  margin-bottom: 1.4rem;
}
.center .section-head::before, .section-head.center::before { margin-left: auto; margin-right: auto; }
.section-lede { color: var(--mute); font-size: 1.05rem; }

/* --- Collection ------------------------------------------------------ */

.products {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.5rem;
}
.product {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
}
.product-media {
  background: var(--white);
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.product-media img { width: 100%; }
.product-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}
.product-kicker {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .5rem;
}
.product h3 { margin-bottom: .35rem; }
.product-meta { font-size: .9rem; color: var(--ink); font-weight: 500; margin-bottom: .75rem; }
.product-desc { color: var(--mute); }
.product-actions {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: auto; padding-top: 1.5rem;
}
.product-actions .btn { flex: 1 1 auto; }

@media (min-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

/* --- Materials ------------------------------------------------------- */

.facts {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.fact { background: var(--paper); padding: 1.75rem 1.5rem; }
.fact h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.fact p { color: var(--mute); }

@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
}

/* --- Sizes ----------------------------------------------------------- */

.specs { margin: 0; border-top: 1px solid var(--line); }
.specs > div {
  display: grid; gap: .15rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--mute); }
.note { margin-top: 1rem; font-size: .875rem; color: var(--mute); }

@media (min-width: 600px) {
  .specs > div { grid-template-columns: 12rem 1fr; gap: 1.5rem; }
}

/* --- Split (gifting) ------------------------------------------------- */

.split { display: grid; gap: 2.5rem; align-items: center; }
.split-copy { max-width: 34rem; }
.split-copy p:not(.eyebrow) { color: var(--mute); font-size: 1.05rem; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split-reverse .split-media { order: 2; }
}

/* --- Care ------------------------------------------------------------ */

.tick-list { margin: 0; }
.tick-list li { margin-bottom: .8rem; font-size: 1.05rem; }

/* --- FAQ ------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 1.25rem 2.75rem 1.25rem 0;
  font-weight: 600; font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; line-height: 1;
  color: var(--gold-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--mute); padding: 0 2.75rem 1.3rem 0; }

/* --- Closing band ---------------------------------------------------- */

.cta {
  background: var(--night);
  color: var(--paper);
  padding: var(--section-y) 0;
}
.cta h2 { color: var(--paper); }
.cta p:not(.eyebrow) { color: var(--night-mute); font-size: 1.08rem; margin-bottom: 2.25rem; }
.cta :focus-visible { outline-color: var(--paper); }

/* --- Footer ---------------------------------------------------------- */

.site-footer {
  padding: 2.75rem 0 3rem;
  font-size: .875rem;
  color: var(--mute);
}
.footer-inner p { margin-bottom: .5rem; max-width: 60rem; }
.footer-inner a { color: var(--ink); }
.footer-brand {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.2rem; letter-spacing: .26em;
  color: var(--ink);
}
