/* ============================================================
   Rythuvanam — Dhānya Kshetra
   Brand site stylesheet
   Tokens, layout system, components, motion, responsive rules.
   ============================================================ */

:root {
  /* Colour roles — earth-warm, not cold-tech */
  --forest: #1B5E3A;       /* primary */
  --forest-deep: #123F27;  /* primary, deep */
  --terracotta: #C1440E;   /* accent */
  --cream: #F5ECD7;        /* light surface / inverted text */
  --cream-soft: #FBF6EA;   /* light surface, soft */
  --soil: #1A1410;         /* dark surface */
  --soil-light: #241B14;   /* dark surface, raised */
  --gold: #C8A84B;         /* highlight */
  --ink: #1F1A14;          /* body text on light */
  --muted: #6B6051;        /* secondary text on light */

  --line: rgba(31, 26, 20, .14);          /* hairline on light */
  --line-light: rgba(245, 236, 215, .16); /* hairline on dark */

  --maxw: 1240px;
  --r: 2px;

  /* Type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--terracotta); color: var(--cream); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Visible keyboard focus for every interactive element.
   Mouse users keep clean UI via :focus-visible. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link — first stop for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 200;
  background: var(--forest);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 var(--r) var(--r);
  font-size: 14px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.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;
}

/* ---------- Numbered image placeholders ---------- */
.imgph {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.025) 0 12px, transparent 12px 24px),
    #D9CFBA;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7A6F5C;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 18px;
  position: relative;
}
.imgph.dark {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    #2C2118;
  border-color: var(--line-light);
  color: #9B8F7D;
}
.imgph span { max-width: 80%; line-height: 1.5; }
.imgph b {
  display: block;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: .12em;
}

/* Real images occupy the same footprint as their placeholders */
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.story-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r);
}
.obat-visual img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }

/* ============================================================
   Header / navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
}
.site-header.scrolled {
  background: rgba(245, 236, 215, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 28px;
  transition: padding .4s ease;
}
.site-header.scrolled .nav { padding: 13px 28px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.01em;
  color: var(--forest-deep);
}
.brand .seedmark { width: 30px; height: 30px; flex: none; }

.navlinks { display: flex; gap: 34px; align-items: center; }
.navlinks a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: .82;
  letter-spacing: .01em;
  transition: opacity .2s ease;
}
.navlinks a:hover { opacity: 1; }

.nav-cta {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--forest);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: var(--r);
  transition: background .25s ease, transform .25s ease;
}
.nav-cta:hover { background: var(--terracotta); transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--forest-deep);
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--soil);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu a:last-of-type { border: 0; }
.mobile-menu .mm-cta { color: var(--gold); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--soil);
  color: var(--cream);
  overflow: hidden;
  padding-bottom: 64px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .imgph { width: 100%; height: 100%; border: 0; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 20, 16, .55) 0%,
    rgba(26, 20, 16, .35) 40%,
    rgba(26, 20, 16, .92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  margin-top: 30px;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  max-width: 46ch;
  color: rgba(245, 236, 215, .82);
}
.hero-scroll {
  position: absolute;
  bottom: 28px; right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, .6);
}
.hero-scroll .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s infinite;
}

/* Entrance animations apply only when JS is active (progressive
   enhancement). Without JS, content is fully visible. */
.js .hero-eyebrow,
.js .hero-sub { opacity: 0; transform: translateY(20px); }
.js .hero-eyebrow { animation: rise .9s .2s forwards; }
.js .hero-sub { animation: rise .9s 1.1s forwards; }
.js .hero-scroll { opacity: 0; animation: fade 1s 1.6s forwards; }
.js .hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise .85s forwards;
}

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* ============================================================
   Tagline strip (marquee)
   ============================================================ */
.strip {
  background: var(--terracotta);
  color: var(--cream);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}
.strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}
.strip-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.strip-track span::after {
  content: "\2766"; /* floral heart */
  font-style: normal;
  color: var(--gold);
  font-size: 13px;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   Section scaffold
   ============================================================ */
section { position: relative; scroll-margin-top: 84px; }
.sec-pad { padding: 110px 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--terracotta); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }

h2.big {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  max-width: 20ch;
}
h2.big em { font-style: italic; color: var(--forest); }

/* Reveal-on-scroll — gated behind .js so content is never hidden
   when scripting is unavailable. */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2, .6, .2, 1),
              transform .8s cubic-bezier(.2, .6, .2, 1);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Story
   ============================================================ */
.story { background: var(--cream-soft); }
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
.story-copy p {
  font-size: 1.07rem;
  color: var(--muted);
  margin-top: 20px;
  max-width: 50ch;
}
.story-copy p strong { color: var(--ink); font-weight: 600; }
.story-lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  margin-top: 24px;
}
.story-visual { position: relative; }
.story-visual .imgph { aspect-ratio: 4 / 5; border-radius: var(--r); }
.story-badge {
  position: absolute;
  bottom: -26px; left: -26px;
  max-width: 220px;
  background: var(--forest);
  color: var(--cream);
  padding: 22px 26px;
  border-radius: var(--r);
}
.story-badge .t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.3;
}
.story-badge .s {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, .7);
}

/* ============================================================
   Metrics
   ============================================================ */
.metrics { background: var(--soil); color: var(--cream); }
.metrics-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 60px;
}
.metrics-head h2 { color: var(--cream); }
.metrics-head h2 em { color: var(--gold); }
.metrics-note {
  max-width: 30ch;
  text-align: right;
  font-size: 13px;
  color: rgba(245, 236, 215, .5);
}
.mgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}
.mcard {
  padding: 38px 28px 34px;
  border-bottom: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
}
.mcard:nth-child(4n) { border-right: 0; }
.mnum {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}
.mnum .suf { font-size: .5em; color: var(--cream); margin-left: 2px; }
.mtag {
  margin-top: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--terracotta);
  font-weight: 600;
}
.mlabel {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: .01em;
  color: rgba(245, 236, 215, .72);
}

/* ============================================================
   Verticals
   ============================================================ */
.verts { background: var(--cream); }
.verts-intro { max-width: 60ch; margin-bottom: 56px; }
.verts-intro p { font-size: 1.1rem; color: var(--muted); margin-top: 18px; }

.vrow {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr 150px;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding .3s ease;
}
.vrow:last-child { border-bottom: 1px solid var(--line); }
.vrow:hover, .vrow:focus-within { padding-left: 12px; }
.vnum {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--terracotta);
}
.vname {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--forest-deep);
}
.vname .tag {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.vdesc { font-size: 1rem; line-height: 1.55; color: var(--muted); }
.varrow {
  justify-self: end;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.vrow:hover .varrow,
.vrow:focus-within .varrow {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  transform: rotate(-45deg);
}

/* ============================================================
   Oo Batasari feature
   ============================================================ */
.obat { background: var(--forest-deep); color: var(--cream); overflow: hidden; }
.obat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.obat-visual .imgph { height: 100%; min-height: 540px; border: 0; }
.obat-copy {
  padding: 90px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.obat-copy .eyebrow { color: var(--gold); }
.obat-copy .eyebrow::before { background: var(--gold); }
.obat-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--cream);
}
.obat-copy h2 em { font-style: italic; color: var(--gold); }
.obat-copy p {
  font-size: 1.08rem;
  color: rgba(245, 236, 215, .8);
  margin-top: 24px;
  max-width: 48ch;
}
.obat-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--cream);
  margin-top: 30px;
  padding-left: 22px;
  border-left: 2px solid var(--terracotta);
}
.obat-cta { margin-top: 36px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 15px 28px;
  border-radius: var(--r);
  border: 0;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.btn-gold { background: var(--gold); color: var(--soil); }
.btn-gold:hover { background: var(--cream); transform: translateY(-2px); }
.btn-line { background: transparent; border: 1px solid var(--forest); color: var(--forest); }
.btn-line:hover { background: var(--forest); color: var(--cream); }
.btn-line-light { background: transparent; border: 1px solid rgba(245, 236, 215, .4); color: var(--cream); }
.btn-line-light:hover { background: var(--cream); color: var(--soil); border-color: var(--cream); }
.btn svg { transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }

/* ============================================================
   Principles
   ============================================================ */
.principles { background: var(--cream-soft); }
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pcard { background: var(--cream-soft); padding: 42px 34px; transition: background .35s ease; }
.pcard:hover { background: var(--cream); }
.picon { width: 42px; height: 42px; color: var(--terracotta); margin-bottom: 24px; }
.pcard h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--forest-deep);
}
.pcard p { font-size: .98rem; line-height: 1.6; color: var(--muted); margin-top: 14px; }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--soil); color: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--cream);
}
.contact h2 em { font-style: italic; color: var(--gold); }
.contact-lead {
  font-size: 1.08rem;
  color: rgba(245, 236, 215, .78);
  margin-top: 24px;
  max-width: 42ch;
}
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.contact-list .ci {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
  font-size: 15px;
  color: rgba(245, 236, 215, .85);
}
.contact-list .ci:last-child { border-bottom: 1px solid var(--line-light); }
.contact-list .ci svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Form */
form { display: grid; gap: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, .6);
}
.field input,
.field select,
.field textarea {
  background: var(--soil-light);
  border: 1px solid var(--line-light);
  color: var(--cream);
  padding: 14px 16px;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .25s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(245, 236, 215, .38); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.field.err input,
.field.err select,
.field.err textarea { border-color: var(--terracotta); }
.errmsg { font-size: 12px; color: #EE8C6A; display: none; }
.field.err .errmsg { display: block; }
.form-note { font-size: 12.5px; line-height: 1.5; color: rgba(245, 236, 215, .5); }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--forest);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: var(--r);
  font-size: 15px;
}
.form-success.show { display: flex; }

/* Honeypot — off-screen, never seen by people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Consent row */
.field-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 4px;
}
.field-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 3px;
  flex: none;
  cursor: pointer;
  accent-color: var(--forest);
}
.field-check label {
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245, 236, 215, .8);
}
.field-check a { color: var(--gold); text-decoration: underline; }
.field-check .errmsg { grid-column: 1 / -1; }
.field-check.err label { color: #EE8C6A; }

/* Submit error banner */
.form-error {
  background: rgba(193, 68, 14, .15);
  border: 1px solid var(--terracotta);
  color: #F3B59B;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
}

/* Full-width / centred button (form submit) */
.btn-center { justify-content: center; width: 100%; }
.btn.is-loading { opacity: .75; cursor: progress; }
.btn:disabled { cursor: not-allowed; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--soil-light);
  color: var(--cream);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line-light);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-light);
}
.foot-brand .brand { color: var(--cream); margin-bottom: 18px; }
.foot-brand p { font-size: 14px; line-height: 1.6; color: rgba(245, 236, 215, .6); max-width: 32ch; }
.foot-col h4 {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.foot-col a {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  color: rgba(245, 236, 215, .7);
  transition: color .2s ease;
}
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(245, 236, 215, .5);
}
.foot-bottom .fb-links { display: flex; gap: 24px; }
.foot-bottom a:hover { color: var(--cream); }

/* ============================================================
   Legal / content pages (privacy)
   ============================================================ */
.legal { padding-top: 96px; background: var(--cream); min-height: 80vh; }
.legal-wrap { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--forest-deep);
  margin-top: 8px;
}
.legal-meta { font-size: 13px; color: var(--muted); margin-top: 12px; }
.legal-lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink); margin-top: 24px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--forest-deep);
  margin-top: 38px;
}
.legal p { color: var(--muted); line-height: 1.7; margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; color: var(--muted); line-height: 1.7; }
.legal li { margin-top: 6px; }
.legal a { color: var(--terracotta); text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal-back { margin-top: 44px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .story-grid,
  .obat-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .mcard:nth-child(4n) { border-right: 1px solid var(--line-light); }
  .mcard:nth-child(2n) { border-right: 0; }
  .pgrid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .obat-copy { padding: 60px 36px; }
  .story-visual { order: -1; }
  .story-badge { position: static; margin-top: 18px; max-width: none; }
  .obat-visual .imgph,
  .obat-visual img { min-height: 360px; }
}

@media (max-width: 680px) {
  .navlinks,
  .nav-cta { display: none; }
  .burger { display: flex; }
  .sec-pad { padding: 78px 0; }
  .vrow { grid-template-columns: 40px 1fr; gap: 14px; }
  .vrow .vdesc,
  .vrow .varrow { display: none; }
  .mgrid { grid-template-columns: 1fr; }
  .mcard { border-right: 0 !important; }
  .frow { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .metrics-note { text-align: left; }
  .metrics-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion — disable movement AND guarantee that every
   entrance-animated element settles in its visible end state.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .hero-eyebrow,
  .js .hero-sub,
  .js .hero-scroll,
  .js .hero h1 .word {
    opacity: 1 !important;
    transform: none !important;
  }
}
