/* Chanakya International Council — styles
   Heritage-serious. Parchment + ink + one ochre accent. No bans (see DESIGN.md). */

:root {
  /* color — OKLCH, tinted warm; never pure black/white */
  --parchment:      oklch(0.965 0.012 85);
  --parchment-deep: oklch(0.935 0.018 82);
  --ink:            oklch(0.225 0.012 60);
  --ink-deep:       oklch(0.185 0.014 58);
  --stone:          oklch(0.46 0.012 65);
  --ochre:          oklch(0.60 0.115 66);
  --ochre-bright:   oklch(0.54 0.13 64);
  --hair:           oklch(0.225 0.012 60 / 0.16);
  --hair-soft:      oklch(0.225 0.012 60 / 0.09);
  --hair-on-ink:    oklch(0.965 0.012 85 / 0.18);

  --serif: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", var(--serif);

  --measure: 66ch;
  --wrap: 74rem;
  --step: clamp(1.6rem, 4vw, 2.6rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--parchment);
  /* faint paper grain, very low opacity */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
@media (max-width: 40rem) { .wrap { width: min(var(--wrap), 100% - 2.25rem); } }

/* ---------- type primitives ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-bright);
  margin: 0 0 1.4rem;
}
.eyebrow-deva {
  font-family: var(--deva);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.35em;
  vertical-align: -0.08em;
}
.eyebrow-deva::before {
  content: "\00B7";
  margin: 0 0.5em 0 0.35em;
  color: var(--hair);
}
.section-title {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.6rem;
  max-width: 20ch;
}
.body-lead {
  font-size: clamp(1.28rem, 1.9vw, 1.55rem);
  line-height: 1.5;
  max-width: var(--measure);
  margin: 0 0 1.3rem;
  color: var(--ink);
}
.body {
  max-width: var(--measure);
  color: var(--stone);
  margin: 0 0 1.1rem;
}
.muted { color: var(--stone); }

.link-underline {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid var(--hair);
  transition: color 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s cubic-bezier(0.22,1,0.36,1);
}
.link-underline:hover { color: var(--ochre-bright); border-color: var(--ochre-bright); }
.link-underline.small { font-size: 0.82rem; }

/* ---------- header ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--parchment);
  padding: 0.6rem 1rem; font-family: var(--sans); font-size: 0.85rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--parchment) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--hair-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.6rem;
}
.brandmark { display: flex; align-items: baseline; gap: 0.85rem; text-decoration: none; color: var(--ink); }
.brandmark-abbr {
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.16em;
  font-size: 0.98rem; color: var(--ink);
  border: 1px solid var(--ink); padding: 0.28rem 0.5rem; line-height: 1;
}
.brandmark-full {
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: 0.01em;
  color: var(--ink);
}
@media (max-width: 52rem) { .brandmark-full { display: none; } }

.site-nav { display: flex; gap: 2.1rem; }
.site-nav a {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: var(--stone); position: relative; padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ochre-bright); transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }
@media (max-width: 46rem) { .site-nav { display: none; } }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 2.4rem; height: 2.4rem; padding: 0; flex-direction: column;
  gap: 0.36rem; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 1.5rem; height: 1.5px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.43rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.43rem) rotate(-45deg); }
@media (max-width: 46rem) { .nav-toggle { display: flex; } }

.mobile-nav { border-top: 1px solid var(--hair-soft); padding: 0.5rem 1.5rem 1.2rem; display: flex; flex-direction: column; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 0.85rem 0; border-bottom: 1px solid var(--hair-soft);
}

/* ---------- section rhythm ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-watermark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--deva); font-weight: 400;
  color: var(--ink); opacity: 0.045;
  font-size: clamp(11rem, 30vw, 30rem); line-height: 0.9;
  left: -0.08em; bottom: -0.16em; white-space: nowrap;
}
@media (max-width: 52rem) {
  .hero-watermark { font-size: 42vw; bottom: auto; top: -0.06em; left: 50%; transform: translateX(-50%); opacity: 0.05; }
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-title {
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1.8rem;
}
.hero .lead {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.42;
  color: var(--ink);
  max-width: 34ch;
  margin: 0 0 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; }

.hero-seal { display: grid; place-items: center; }
.seal { width: min(20rem, 80%); height: auto; }
.seal-ring-outer, .seal-ring-inner { fill: none; stroke: var(--ink); }
.seal-ring-outer { stroke-width: 1.2; }
.seal-ring-inner { stroke-width: 0.7; stroke: var(--hair); }
.seal-text {
  font-family: var(--sans); font-size: 11.3px; font-weight: 500;
  letter-spacing: 2.1px; fill: var(--ink);
}
.seal-star path { fill: none; stroke: var(--ochre); stroke-width: 1.2; stroke-linejoin: round; }
.seal-star .seal-star-inner { stroke: var(--ink); stroke-width: 0.8; }
.seal-star .seal-dot { fill: var(--ochre); stroke: none; }

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-seal { order: -1; justify-content: start; }
  .seal { width: 8.5rem; }
}

/* ---------- mission ---------- */
.mission-grid { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.mission-grid .eyebrow { margin-top: 0.5rem; }
@media (max-width: 48rem) { .mission-grid { grid-template-columns: 1fr; } }
.mission { border-top: 1px solid var(--hair); }

/* ---------- epigraph band (dark) ---------- */
.band { background: var(--ink-deep); color: var(--parchment); padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; overflow: hidden; }
.band .wrap { position: relative; z-index: 1; }
.band-watermark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--deva); font-weight: 400;
  color: var(--parchment); opacity: 0.05;
  font-size: clamp(12rem, 30vw, 32rem); line-height: 0.9;
  right: -0.04em; bottom: -0.18em; white-space: nowrap;
}
.band-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.epigraph { margin: 0; }
.sloka {
  font-family: var(--deva); color: var(--ochre);
  font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.9;
  letter-spacing: 0.01em; margin: 0 0 1.5rem; max-width: 24ch;
}
.epigraph blockquote { margin: 0; }
.epigraph blockquote p {
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1.24; font-style: italic; font-weight: 400;
  letter-spacing: -0.005em; max-width: 20ch; margin: 0 0 1.6rem;
  text-wrap: balance;
}
.epigraph figcaption {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre);
}
.epigraph figcaption cite { font-style: normal; text-transform: none; letter-spacing: 0.02em; font-family: var(--serif); font-size: 0.95rem; color: color-mix(in oklch, var(--parchment) 80%, transparent); }

.band-plate { display: flex; flex-direction: column; align-items: flex-start; margin: 0; }

/* framed images (period artifacts) */
.plate-image { padding: 0; background: none; overflow: hidden; }
.plate-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate-caption {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.04em; line-height: 1.55;
  color: var(--stone); margin-top: 0.85rem; max-width: 20rem;
}
.band-plate .plate-caption { color: color-mix(in oklch, var(--parchment) 58%, transparent); }
.plate-frame {
  width: 100%; aspect-ratio: 3 / 4; max-width: 17rem;
  border: 1px solid var(--hair-on-ink);
  outline: 1px solid var(--ochre); outline-offset: -7px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, oklch(0.965 0.012 85 / 0.03) 11px 12px);
}
.plate-note { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ochre); }
.plate-sub { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: color-mix(in oklch, var(--parchment) 62%, transparent); max-width: 16ch; }
@media (max-width: 48rem) { .band-grid { grid-template-columns: 1fr; } .band-plate { justify-content: start; } }

/* ---------- approach ---------- */
.practice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hair); margin: 0; }
.practice {
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.5rem, 3vw, 2.6rem) clamp(1.8rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid var(--hair);
}
.practice:nth-child(odd) { border-right: 1px solid var(--hair); padding-right: clamp(2rem, 4vw, 3.5rem); }
.practice:nth-child(even) { padding-left: clamp(2rem, 4vw, 3.5rem); }
.practice dt {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500;
  margin: 0 0 0.7rem; letter-spacing: -0.01em;
}
.practice dt::before {
  content: ""; display: inline-block; width: 1.6rem; height: 1px;
  background: var(--ochre); vertical-align: middle; margin-right: 0.75rem;
}
.practice dd { margin: 0; color: var(--stone); max-width: 40ch; }
@media (max-width: 48rem) {
  .practice-list { grid-template-columns: 1fr; }
  .practice:nth-child(odd) { border-right: 0; padding-right: 0; }
  .practice:nth-child(even) { padding-left: 0; }
}

/* ---------- programs ledger ---------- */
.programs { background: var(--parchment-deep); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.ledger-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--hair);
}
.ledger-num { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ochre-bright); padding-top: 0.5rem; }
.ledger-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.35rem); margin: 0 0 0.7rem; letter-spacing: -0.01em; }
.ledger-desc { margin: 0 0 1rem; color: var(--stone); max-width: 52ch; }
.ledger-placeholder { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.05em; color: color-mix(in oklch, var(--stone) 78%, transparent); margin: 0; }
.ledger-tag {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); white-space: nowrap;
  padding-top: 0.65rem;
}
@media (max-width: 48rem) {
  .ledger-row { grid-template-columns: 3rem 1fr; }
  .ledger-tag { grid-column: 2; padding-top: 0.2rem; }
}

/* ---------- engage ---------- */
.engage { background: var(--ink-deep); color: var(--parchment); position: relative; overflow: hidden; }
.engage .wrap { position: relative; z-index: 1; }
.engage .eyebrow { color: var(--ochre); }
.engage .section-title { color: var(--parchment); }
.engage-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.engage .body-lead { color: color-mix(in oklch, var(--parchment) 82%, transparent); }
.engage .link-underline { color: var(--parchment); border-color: var(--hair-on-ink); }
.engage .link-underline:hover { color: var(--ochre); border-color: var(--ochre); }
.contact-list { margin: 0; display: grid; gap: 1.6rem; }
.contact-list dt { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre); margin-bottom: 0.5rem; }
.contact-list dd { margin: 0; font-size: 1.15rem; color: color-mix(in oklch, var(--parchment) 88%, transparent); }
.contact-note { margin: 2.2rem 0 0; font-style: italic; color: color-mix(in oklch, var(--parchment) 62%, transparent); font-size: 1rem; max-width: 36ch; }
@media (max-width: 48rem) { .engage-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--parchment); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--hair-on-ink); }
.footer-abbr { color: var(--parchment); border-color: var(--hair-on-ink); display: inline-block; margin-bottom: 1.1rem; }
.footer-name { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 0.9rem; }
.footer-legal { font-family: var(--sans); font-size: 0.85rem; line-height: 1.6; color: color-mix(in oklch, var(--parchment) 68%, transparent); max-width: 44ch; margin: 0 0 0.5rem; }
.footer-legal.muted { color: color-mix(in oklch, var(--parchment) 50%, transparent); }
.footer-nav { display: grid; gap: 0.9rem; align-content: start; justify-items: start; }
.footer-nav a { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklch, var(--parchment) 78%, transparent); text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--ochre); }
.footer-base { display: flex; justify-content: space-between; padding-top: 1.6rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; }
.footer-base p { margin: 0; color: color-mix(in oklch, var(--parchment) 60%, transparent); }
.footer-base .muted { color: color-mix(in oklch, var(--parchment) 45%, transparent); }
@media (max-width: 46rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- carved relief on titles (subtle letterpress on parchment) ---------- */
.hero-title, .section-title { text-shadow: 0 1px 0 oklch(0.99 0.01 85 / 0.55); }
.engage .section-title { text-shadow: none; }

/* ---------- Devanagari ledger numerals ---------- */
.ledger-num { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding-top: 0.3rem; }
.deva-num { font-family: var(--deva); font-size: 1.75rem; line-height: 1; color: var(--ochre-bright); }
.lat-num { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; color: var(--stone); }

/* ---------- on the name (lineage) ---------- */
.lineage { border-top: 1px solid var(--hair); }
.lineage-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lineage-portrait { display: flex; flex-direction: column; align-items: flex-start; margin: 0; }
.portrait-frame {
  width: 100%; aspect-ratio: 3 / 4; max-width: 22rem;
  border: 1px solid var(--hair);
  outline: 1px solid var(--ochre); outline-offset: -7px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; padding: 1.5rem;
  background: repeating-linear-gradient(45deg, transparent 0 11px, var(--hair-soft) 11px 12px);
}
.portrait-frame .plate-note { color: var(--ochre-bright); }
.portrait-frame .plate-sub { color: var(--stone); }
@media (max-width: 52rem) {
  .lineage-grid { grid-template-columns: 1fr; }
  .lineage-portrait { order: 2; }
}

/* ---------- writing (editorial feed) ---------- */
.writing { background: var(--parchment); border-top: 1px solid var(--hair); }
.essay-featured {
  border-top: 2px solid var(--ink);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: clamp(2.6rem, 5vw, 4.2rem);
  max-width: 66ch;
}
.essay-kicker {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-bright);
  margin: 0 0 1.1rem;
}
.essay-dot { color: var(--hair); margin: 0 0.35em; }
.essay-lead-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 1.1rem; text-wrap: balance;
}
.essay-lead-title a, .essay-title a { color: var(--ink); text-decoration: none; transition: color 0.3s ease; }
.essay-lead-title a:hover, .essay-title a:hover { color: var(--ochre-bright); }
.essay-lead-excerpt {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5;
  color: var(--stone); max-width: 56ch; margin: 0 0 1.2rem;
}
.essay-meta {
  font-family: var(--sans); font-size: 0.73rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); margin: 0;
}
.essay-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.essay { padding: clamp(1.8rem, 3vw, 2.4rem) clamp(1.3rem, 2.5vw, 1.9rem); border-bottom: 1px solid var(--hair); }
.essay:not(:last-child) { border-right: 1px solid var(--hair); }
.essay:first-child { padding-left: 0; }
.essay:last-child { padding-right: 0; }
.essay-cat { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre-bright); margin: 0 0 0.85rem; }
.essay-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.22; margin: 0 0 0.85rem; }
.essay-excerpt { color: var(--stone); font-size: 1rem; line-height: 1.5; margin: 0 0 1.1rem; }
@media (max-width: 48rem) {
  .essay-list { grid-template-columns: 1fr; }
  .essay { padding-left: 0; padding-right: 0; }
  .essay:not(:last-child) { border-right: 0; }
}

/* ---------- maxims (Chanakya Niti) ---------- */
.maxims { background: var(--parchment); }
.thread { display: flex; justify-content: center; }
.thread svg { display: block; }
.thread line { stroke: var(--ochre); stroke-width: 1; }
.thread .knot { fill: none; stroke: var(--ochre); stroke-width: 1; }
.thread .knot-dot { fill: var(--ochre); }
.maxims .thread { margin-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.maxims-eyebrow { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.maxim-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.maxim { padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.3rem, 2.5vw, 2rem); border-bottom: 1px solid var(--hair); }
.maxim:not(:last-child) { border-right: 1px solid var(--hair); }
.maxim p { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.42; margin: 0 0 1.1rem; color: var(--ink); max-width: 32ch; }
.maxim-src { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre-bright); }
@media (max-width: 48rem) {
  .maxim-list { grid-template-columns: 1fr; }
  .maxim:not(:last-child) { border-right: 0; }
}

/* ---------- ambient motion (slow, background only) ---------- */
.hero-watermark { animation: deva-float-a 17s ease-in-out infinite alternate; }
.band-watermark { animation: deva-float-b 21s ease-in-out infinite alternate; }
@keyframes deva-float-a {
  from { translate: 0 0; opacity: 0.03; }
  to   { translate: 0.9rem -1.5rem; opacity: 0.075; }
}
@keyframes deva-float-b {
  from { translate: 0 0; opacity: 0.04; }
  to   { translate: -1rem -1.7rem; opacity: 0.09; }
}

.seal-spin { transform-box: view-box; transform-origin: 120px 120px; animation: seal-turn 150s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero-watermark, .band-watermark, .seal-spin { animation: none; }
}

/* ---------- reveal (respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

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