/* Sanskar Educational Foundation — shared stylesheet
   No web fonts are loaded: system serif + system sans keep LCP fast and avoid font-swap layout shift. */

/* 1. Tokens ------------------------------------------------------------ */
:root {
  --ivory: #FBF8F2;
  --paper: #FFFFFF;
  --cream: #F4ECDD;
  --beige: #E7DAC3;
  --line: #DCCFB6;
  --line-soft: #E9DFCC;
  --ink: #1D1813;
  --ink-2: #4B4036;
  --ink-3: #6B5D50;
  --brown: #3A281B;
  --gold: #B8862B;          /* decorative lines + icons only */
  --gold-text: #83601A;     /* gold that passes AA on ivory/cream */
  --gold-soft: #E9D6A8;
  --orange: #C8621F;
  --orange-deep: #A5460E;   /* CTA background, AA with white text */
  --on-dark: #D9CEBB;
  --on-dark-2: #B5A993;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 96px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(3rem, 2.4rem + 3vw, 5.25rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.15;
  color: var(--ink); letter-spacing: -.005em; text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.7vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
p, .checklist li > span, .prose li { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.eyebrow, .media__label, .media__file, .media__meta, .footer-title, .footer-bottom p, .btn { text-align: left; hyphens: manual; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; }
.site-footer :focus-visible, .section--dark :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-soft); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* 3. Type helpers ------------------------------------------------------ */
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem;
  font: 600 .75rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.num { font-family: var(--serif); font-size: .95rem; letter-spacing: .08em; color: var(--gold-text); }
.muted { color: var(--ink-2); }
.stack > * + * { margin-top: 1.1em; }
.statement { font-family: var(--serif); font-size: clamp(1.55rem, 1.15rem + 1.8vw, 2.6rem); line-height: 1.3; color: var(--ink); max-width: 30ch; text-wrap: balance; }

/* 4. Icons + ornament -------------------------------------------------- */
.icon { width: 36px; height: 36px; color: var(--gold); }
.icon *, .ornament * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ornament { display: block; width: 96px; height: auto; color: var(--gold); }

/* 5. Buttons + links --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--brown); color: #fff; }
.btn--accent { background: var(--orange-deep); color: #fff; }
.btn--accent:hover { background: #8A3A0B; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(251, 248, 242, .55); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.text-link {
  display: inline-flex; align-items: center; gap: .5rem; padding-bottom: .2rem;
  font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold);
}
.text-link:hover { color: var(--orange-deep); border-color: var(--orange-deep); }
.text-link .arrow { transition: transform .2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* 6. Header + navigation ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 242, .97); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(29, 24, 19, .45); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: 80px; height: 80px; object-fit: contain; }
@media (max-width: 719.98px) { :root { --header-h: 80px; } .brand img { width: 64px; height: 64px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.brand__sub { margin-top: .2rem; font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(.9rem, 1.4vw, 1.6rem); }
.site-nav a:not(.btn) {
  position: relative; display: block; padding: .5rem 0; white-space: nowrap;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding-block: .6rem; }

.menu-toggle { display: none; }
.menu-toggle__bars { position: relative; width: 18px; height: 12px; border-top: 1.5px solid; border-bottom: 1.5px solid; transition: border-color .2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor;
  transform: translateY(-50%); transition: transform .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 1199.98px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; min-width: 44px; padding: .5rem .9rem;
    background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
    font: 600 .875rem/1 var(--sans); cursor: pointer;
  }
  .menu-toggle:hover { border-color: var(--ink); }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    display: none; flex-direction: column; align-items: stretch; gap: 2rem;
    padding: 1.5rem var(--gutter) 3rem; background: var(--ivory); border-top: 1px solid var(--line);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .site-nav a:not(.btn) { padding: .95rem 0; font-family: var(--serif); font-size: 1.375rem; color: var(--ink); white-space: normal; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current] { color: var(--orange-deep); }
  .nav-cta { width: 100%; min-height: 52px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .menu-toggle { padding: .5rem; justify-content: center; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* 7. Sections --------------------------------------------------------- */
.section { padding-block: var(--section); }
.section:not(.section--cream):not(.section--paper):not(.section--dark) + .section:not(.section--cream):not(.section--paper):not(.section--dark) { padding-top: 0; }
.section--paper + .section--paper, .section--cream + .section--cream { padding-top: 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--rule { border-top: 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--ivory); }
.section--dark .eyebrow, .section--dark .num { color: var(--gold-soft); }
.section--dark .lead, .section--dark p { color: var(--on-dark); }
.section-head { display: grid; gap: 1.25rem; max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head .eyebrow { margin-bottom: 0; }
@media (min-width: 900px) {
  .section-head--split { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; column-gap: 4rem; }
  .section-head--split > .eyebrow { grid-column: 1 / -1; }
}

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--text { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split--narrow { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .split--reverse > :first-child { order: 2; }
}

/* 8. Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 3rem + 4vw, 6.5rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.12; max-width: none; }
.hero__media { width: 100%; aspect-ratio: 3 / 2; }
.hero .lead { margin-top: 1.75rem; }
.hero__mark { position: relative; justify-self: center; width: min(100%, 340px); }
.hero__mark img { width: 100%; height: auto; aspect-ratio: 1; mix-blend-mode: multiply; }
.hero__foot {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  list-style: none; font: 600 .75rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.hero__foot li { display: flex; align-items: center; gap: 1.5rem; }
.hero__foot li + li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .hero__media { aspect-ratio: 4 / 5; }
}

.page-hero { position: relative; overflow: hidden; padding-block: clamp(1.75rem, 1.5rem + 2vw, 3rem) clamp(3rem, 2.5rem + 4vw, 5.5rem); background: var(--cream); }
.page-hero h1 { max-width: 34ch; font-size: clamp(2rem, 1.5rem + 1.8vw, 3.1rem); }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero__arc { display: none; }
@media (min-width: 900px) {
  .page-hero__arc { display: block; position: absolute; right: -2%; bottom: -1px; width: min(42vw, 540px); height: auto; color: var(--gold-soft); pointer-events: none; }
  .page-hero__arc * { stroke-width: 1; }
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); font-size: .8125rem; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--gold); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-deep); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-2); }

/* 9. Pillars / ways -------------------------------------------------- */
.pillars { display: grid; grid-template-columns: 1fr; gap: 2.5rem 3rem; list-style: none; }
.pillar .icon { margin-bottom: 1.25rem; }
.pillar h3 { margin-bottom: .6rem; }
.pillar p { font-size: 1rem; color: var(--ink-2); }
.pillar .text-link { margin-top: 1.25rem; font-size: .9375rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pillars--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 4rem; }
}

/* 10. Focus grid (hairline table) ------------------------------------ */
.focus-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; list-style: none; }
.focus-card { padding: clamp(1.75rem, 3vw, 2.25rem); background: var(--paper); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.focus-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(29, 24, 19, .35); }
.focus-card .icon { margin-bottom: 1.5rem; }
.focus-card h3 { margin-bottom: .6rem; }
.focus-card h3 a:hover { color: var(--orange-deep) !important; }
.focus-card p { font-size: 1rem; color: var(--ink-2); }
.section--paper .focus-card { background: var(--cream); }
@media (min-width: 700px) { .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .focus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem); background: var(--cream); border-radius: var(--radius);
}
.cta-inline p { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); max-width: 34ch; color: var(--ink); }
.cta-inline .btn-row { margin-top: 0; }

/* 11. Editorial rows -------------------------------------------------- */
.editorial { list-style: none; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.editorial__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .5rem 1.25rem; align-items: start; }
.editorial__item .icon { grid-row: span 2; width: 36px; height: 36px; }
.editorial__item h3 { font-size: clamp(1.25rem, 1.15rem + .45vw, 1.55rem); }
.editorial__item p { color: var(--ink-2); max-width: 60ch; grid-column: 2; }

/* 12. Traits (why education matters) --------------------------------- */
.traits { display: grid; grid-template-columns: 1fr; gap: 2.5rem 3rem; list-style: none; }
.trait .icon { color: var(--gold-soft); margin-bottom: 1.1rem; }
.trait h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-bottom: .6rem; }
.trait p { font-size: 1rem; max-width: 38ch; }
@media (min-width: 700px) {
  .traits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .traits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 13. Pathway --------------------------------------------------------- */
.pathway { list-style: none; display: grid; position: relative; }
.pathway__step { position: relative; padding: 0 0 2.25rem 3.25rem; }
.pathway__step::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: 4px; width: 1px; background: var(--gold); }
.pathway__step:last-child { padding-bottom: 0; }
.pathway__step:last-child::before { display: none; }
.pathway__dot { position: absolute; left: 0; top: 3px; width: 23px; height: 23px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ivory); }
.pathway__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--orange); }
.pathway__step .num { display: block; margin-bottom: .35rem; font-size: .85rem; }
.pathway__step h3 { margin-bottom: .5rem; }
.pathway__step p { font-size: 1rem; color: var(--ink-2); }
.section--cream .pathway__dot { background: var(--cream); }
@media (min-width: 960px) {
  .pathway { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 1.75rem; }
  .pathway__step { padding: 3rem 0 0; }
  .pathway__step::before { left: 30px; right: -1.75rem; top: 11px; bottom: auto; width: auto; height: 1px; }
  .pathway__dot { top: 0; }
}

/* 14. Journey (approach page) ---------------------------------------- */
.journey { list-style: none; display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.journey__item { display: grid; gap: 1rem 2.5rem; padding: clamp(1.75rem, 3.5vw, 2.75rem); background: var(--paper); border-radius: var(--radius); }
.section--paper .journey__item { background: var(--cream); }
.journey__item h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin-bottom: 1rem; }
.journey__item p { color: var(--ink-2); max-width: 62ch; }
.journey__item p + p { margin-top: .9em; }
@media (min-width: 900px) {
  .journey__item { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .journey__item h3 { margin-bottom: 0; }
}

/* 15. Lists ----------------------------------------------------------- */
.checklist { list-style: none; display: grid; gap: .85rem; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .85rem; color: var(--ink-2); }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: .15em; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23B8862B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--paper .checklist li::before { background-color: var(--cream); }
.section--dark .checklist li { color: var(--on-dark); }
.label { font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 1.75rem 0 1rem; }

.distinction { display: grid; gap: 1.25rem; }
.distinction > div { background: var(--paper); border-radius: var(--radius); }
.distinction > div { padding: clamp(1.5rem, 3vw, 2.5rem); }

.distinction h3 { margin-bottom: .75rem; }
.distinction p { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 800px) {
  .distinction { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

.icon-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cream); }
.icon-badge .icon { width: 32px; height: 32px; }
.section--paper .icon-badge { background: var(--paper); }
.section--paper .journey__item .icon-badge { background: var(--paper); }
.section:not(.section--paper) .split .icon-badge { margin-bottom: 1.25rem; }
.section--paper .split .icon-badge { background: var(--cream); margin-bottom: 1.25rem; }

/* 16. Media placeholders --------------------------------------------- */
.media { position: relative; margin: 0; overflow: hidden; background: var(--beige); border-radius: 16px; }
.media__ph::before { border-radius: 8px; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .media--21x9 { aspect-ratio: 21 / 9; } }
.media picture { height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.media:hover img { transform: scale(1.03); }
.media__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1.75rem;
  background: repeating-linear-gradient(135deg, rgba(184, 134, 43, .08) 0 1px, transparent 1px 14px), linear-gradient(var(--cream), var(--beige));
}
.media__ph::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(131, 96, 26, .28); pointer-events: none; }
.media__label { font: 600 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.media__file { font: 500 .8125rem/1.4 var(--mono); color: var(--ink); word-break: break-all; }
.media__meta { font-size: .75rem; line-height: 1.4; color: var(--ink-3); }

/* 17. CTA band -------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(3.25rem, 2.6rem + 3vw, 5.5rem); }
.cta-band__inner { display: grid; gap: 2rem; align-items: end; }
.cta-band .ornament { margin-bottom: 1.75rem; }
.cta-band h2 { color: var(--ivory); max-width: 18ch; }
.cta-band .lead { color: var(--on-dark); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4rem; } }

/* 18. Legal ----------------------------------------------------------- */
.legal { display: grid; gap: 3rem; }
.toc h2 { font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem; }
.toc ol {  list-style: none; display: grid; gap: .5rem; font-size: .9375rem; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-size: .85rem; color: var(--gold-text); padding-top: .1em; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--orange-deep); text-decoration: underline; }
@media (max-width: 1023.98px) { .toc { padding: 1.5rem; background: var(--cream); border-radius: var(--radius); } }
@media (min-width: 1024px) {
  .legal { grid-template-columns: 250px minmax(0, 1fr); gap: 5rem; }
  .toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); margin: 3rem 0 1rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.prose p, .prose ul { margin-bottom: 1rem; color: var(--ink-2); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--gold); }
.notice { margin-bottom: 2.5rem; padding: 1.25rem 1.5rem; background: var(--cream); border-radius: var(--radius); font-size: .9375rem; color: var(--ink-2); }
.placeholder { font-family: var(--mono); font-size: .9em; padding: 0 .3em; background: var(--cream); color: var(--ink); white-space: nowrap; }

/* 18b. About the Founder */
.founder { padding-top: 0; }
.founder__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder__portrait { position: relative; margin: 0; max-width: 440px; width: 100%; justify-self: center; display: flex; align-items: flex-end; }
.founder__portrait::before { content: ""; position: absolute; inset: 14% 4% 0; background: var(--gold-soft); border-radius: 999px 999px 12px 12px; }
.founder__portrait picture { position: relative; display: block; width: 100%; }
.founder__portrait img { position: relative; display: block; width: 100%; height: auto; }
.founder__role { margin-top: .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); text-align: left; }
@media (min-width: 900px) { .founder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .founder__portrait { justify-self: start; } }

/* 19. Footer ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); font-size: .9375rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(233, 214, 168, .18); }
.footer-brand { display: grid; gap: 1.25rem; max-width: 36ch; }
.footer-logo { width: 144px; height: 144px; max-width: 100%; object-fit: contain; background: none; padding: 0; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; color: var(--ivory); }
.footer-title { font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a { color: #E6DCCB; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #fff; text-decoration: underline; }
.footer-col p { margin-bottom: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.75rem; font-size: .8125rem; color: var(--on-dark-2); }
.credit a { color: #E6DCCB; }
.credit a:not([href]) { text-decoration: none; }
.heart { color: var(--orange); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); column-gap: 3rem; } }

/* 19b. Footer contact + floating buttons */
.footer-contact { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.footer-contact a { color: #E6DCCB; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact address { font-style: normal; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(233,214,168,.35); border-radius: 50%; color: #E6DCCB; text-decoration: none; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold-soft); color: var(--ink); }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.fab__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff !important; text-decoration: none !important; box-shadow: 0 6px 18px rgba(29,24,19,.22); transition: transform .2s; }
.fab__btn:hover { transform: translateY(-2px); }
.fab__btn--wa { background: #1FA855; }
.fab__btn--contact { background: var(--orange-deep); }
.fab__tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: .35rem .7rem; border-radius: 2px; background: var(--ink); color: #fff; font: 500 .8125rem/1.2 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab__btn:hover .fab__tip, .fab__btn:focus-visible .fab__tip { opacity: 1; }
.footer-bottom { padding-right: 84px; }
@media (min-width: 720px) and (max-width: 1415.98px) { .container { padding-right: max(var(--gutter), 88px); } }
@media (max-width: 719.98px) {
  .fab { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: var(--ink); box-shadow: 0 -4px 14px rgba(29,24,19,.18); padding-bottom: env(safe-area-inset-bottom); }
  .fab__btn { flex: 1 1 0; width: auto; height: 56px; border-radius: 0; box-shadow: none; gap: .5rem; font: 600 .875rem/1 var(--sans); }
  .fab__btn:hover { transform: none; }
  .fab__tip { position: static; transform: none; opacity: 1; padding: 0; background: none; }
  .footer-bottom { padding-right: var(--gutter); }
  body { padding-bottom: 56px; }
}

/* 20. 404 ------------------------------------------------------------- */
.error-page { min-height: 60vh; display: grid; align-content: center; }

/* 21. Motion ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .toc { display: none; }
  body { background: #fff; }
}
