/* ============================================================
   SHUNYA — site styles
   Edit the :root variables below to adjust brand colors,
   type, and spacing without touching the rest of the CSS.
   ============================================================ */

:root {
  --cloud: #f2f5ef;
  --sage: #c7d3c1;
  --grass: #bdaa7d;
  --leaf: #5f7f5b;
  --forest: #2e4a35;
  --sand: #dcceb2;
  --rose: #c9b0aa; /* placeholder only — Dusty Rose colorway suggestion */

  --bg: var(--cloud);
  --text: var(--forest);
  --text-soft: #4a644f;
  --line: #d5ddd4;
  --line: color-mix(in srgb, var(--forest) 14%, var(--cloud));
  --focus: var(--forest);

  --font-heading: "Montserrat", "Avenir Next", "Gotham", "Segoe UI", sans-serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-sanskrit: "Noto Serif Devanagari", "Devanagari Sangam MN", "Nirmala UI", serif;

  --wide: 68rem;
  --narrow: 38rem;
  --header: 4.25rem;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(1.85rem, 6vw, 3.15rem);
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1rem;
}

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

a {
  color: var(--text);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--leaf);
}

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

::selection {
  background: var(--sage);
  color: var(--forest);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--forest);
  color: var(--cloud);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--cloud);
}

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-height: var(--header);
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
}

.header-inner-simple {
  grid-template-columns: 1fr auto;
}

.header-inner .button {
  width: max-content;
  justify-self: end;
  align-self: center;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  text-decoration: none;
  color: var(--forest);
}

.site-logo:hover {
  color: var(--forest);
}

.site-logo img {
  display: block;
  height: 1.55rem;
  width: auto;
  overflow: visible;
}

.site-footer .site-logo img {
  height: 1.7rem;
}

.site-nav ul,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav {
  display: none;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--leaf);
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before {
  top: -5px;
}

.menu-toggle-bars::after {
  top: 5px;
}

body.nav-open .site-nav {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.25rem 1.25rem;
}

body.nav-open .site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.nav-open .site-nav a {
  display: block;
  padding: 0.7rem 0;
}

body.nav-open {
  overflow: hidden;
}

/* --- Buttons & text links --- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  background: var(--forest);
  color: var(--cloud);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
}

.button:hover {
  background: #3a5a42;
  color: var(--cloud);
}

.button-small {
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.text-link {
  font-size: 0.95rem;
}

.email-link {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  overflow-wrap: anywhere;
}

.email-link:hover {
  border-bottom-color: var(--leaf);
}

/* --- Hero --- */

.hero {
  display: grid;
  gap: 2.75rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.25rem 1.25rem 4.25rem;
}

.hero-mark {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.35rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.lede {
  max-width: 32rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
  margin-top: 1.75rem;
}

.hero-figure {
  margin: 0;
  max-width: 16.5rem;
}

.photo-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  min-height: 11.5rem;
}

.photo-slot {
  display: flex;
  align-items: flex-end;
  min-height: 11.5rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
}

.photo-slot span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.photo-slot-sage {
  background: #dce5d8;
  background: color-mix(in srgb, var(--sage) 55%, var(--cloud));
}

.photo-slot-rose {
  background: #eadcda;
  background: color-mix(in srgb, var(--rose) 42%, var(--cloud));
}

.hero-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* --- Sections --- */

.section {
  padding: 4.25rem 1.25rem;
}

.section-inner {
  max-width: var(--narrow);
  margin: 0 auto;
}

.section-why,
.section-faq,
.section-cta {
  background: #e8eee6;
  background: color-mix(in srgb, var(--sage) 22%, var(--cloud));
}

.section-care {
  background: #eee8dc;
  background: color-mix(in srgb, var(--sand) 38%, var(--cloud));
}

.name-origin {
  margin: 2.25rem 0 2.5rem;
}

.sanskrit {
  margin: 0 0 1rem;
  font-family: var(--font-sanskrit);
  font-size: clamp(3.4rem, 14vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
}

.transliteration,
.pronunciation,
.meaning {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.transliteration {
  font-style: italic;
}

.pronunciation {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--forest);
}

.meaning {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.prose p {
  margin-bottom: 1.1rem;
}

.statement {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 1.4rem 0;
}

.tagline {
  margin-top: 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.product-size {
  margin: -0.35rem 0 1.75rem;
  color: var(--text-soft);
}

.materials-heading {
  margin-bottom: 1.4rem;
}

.materials {
  margin: 0;
}

.materials > div {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.materials > div:last-child {
  border-bottom: 1px solid var(--line);
}

.materials dt {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.materials dd {
  margin: 0;
  color: var(--text-soft);
}

.care-intro {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.care-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.2rem 0;
  border-top: 1px solid #e0d6c4;
  border-top: 1px solid color-mix(in srgb, var(--forest) 12%, var(--sand));
}

.care-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--forest) 12%, var(--sand));
}

.care-list strong {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.care-list span {
  color: var(--text-soft);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.15rem;
  color: var(--leaf);
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 1.2rem;
  padding-right: 1.5rem;
  color: var(--text-soft);
}

.section-cta .section-inner,
.section-support .section-inner {
  text-align: left;
}

.section-cta .button {
  margin-top: 0.75rem;
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.25rem 1.25rem 2.75rem;
}

.footer-inner {
  max-width: var(--narrow);
  margin: 0 auto;
}

.footer-tagline {
  margin: 0.4rem 0 1.5rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links a,
.site-footer a {
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-legal {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* --- 404 --- */

.error-main {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5.5rem;
}

.haiku {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin: 0 0 2.5rem;
}

.error-main .button {
  margin: 0.75rem 0 1.25rem;
}

.link-sep {
  color: var(--text-soft);
}

/* --- Desktop --- */

@media (min-width: 800px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 0 2rem;
  }

  .header-inner-simple {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav,
  body.nav-open .site-nav {
    display: block;
    position: static;
    justify-self: end;
    border: 0;
    padding: 0;
    background: transparent;
  }

  body.nav-open {
    overflow: visible;
  }

  .site-nav ul,
  body.nav-open .site-nav ul {
    display: flex;
    flex-direction: row;
    gap: 1.6rem;
  }

  .site-nav a,
  body.nav-open .site-nav a {
    display: inline;
    padding: 0;
  }

  .site-logo img {
    height: 1.7rem;
  }

  .hero-mark {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.6rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    align-items: end;
    gap: 4rem;
    padding: 6.5rem 2rem 7rem;
  }

  .section {
    padding: 6.25rem 2rem;
  }

  .site-footer,
  .error-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-figure {
    justify-self: end;
    margin-bottom: 0.35rem;
  }

  .photo-placeholder,
  .photo-slot {
    min-height: 17rem;
  }

  .sanskrit {
    margin-bottom: 1.15rem;
  }
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .section-cta,
  .menu-toggle,
  .button {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 1.5rem 0;
    background: transparent;
  }
}
