/* =====================================================================
   Duluth Strings Academy — Design System
   Palette: charcoal & sage, warm paper, antique brass accent
   Type:    Fraunces (display serif) + Inter (sans)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
--------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --paper:        #f6f3ec;   /* page background — warm cream  */
  --paper-2:      #efeae0;   /* alternating section            */
  --linen:        #e8e2d5;   /* deeper warm neutral            */
  --cloud:        #fcfbf6;   /* cards / near-white             */

  /* Ink / charcoal */
  --ink:          #1b1f1c;   /* primary dark (green-charcoal)  */
  --ink-2:        #262b27;
  --graphite:     #3a403b;

  /* Sage */
  --sage:         #87977f;   /* primary sage accent            */
  --sage-deep:    #4d5b48;   /* deep sage (text on light)      */
  --sage-600:     #61715a;
  --sage-300:     #b7c3ae;
  --sage-200:     #ccd5c4;
  --sage-100:     #e0e6d9;
  --sage-50:      #edf0e8;

  /* Antique brass — sparing warm accent */
  --brass:        #a9854f;
  --brass-soft:   #c4a878;
  --brass-100:    #ecdfc8;

  /* Text */
  --text:         #23271f;
  --text-soft:    #565d51;
  --text-faint:   #828a7b;
  --on-dark:      #ece9dd;
  --on-dark-soft: #b3b9a8;
  --on-dark-faint:#7f8678;

  /* Lines */
  --line:         rgba(27,31,28,0.12);
  --line-strong:  rgba(27,31,28,0.22);
  --line-on-dark: rgba(236,233,221,0.16);

  /* Typography */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow:  0.78rem;
  --fs-small:    0.9rem;
  --fs-body:     1.0625rem;
  --fs-lead:     clamp(1.15rem, 0.95rem + 0.9vw, 1.5rem);
  --fs-h4:       clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --fs-h3:       clamp(1.45rem, 1.2rem + 1.1vw, 2.1rem);
  --fs-h2:       clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-h1:       clamp(2.7rem, 1.6rem + 4.8vw, 5.6rem);
  --fs-display:  clamp(3rem, 1.4rem + 6.4vw, 7rem);

  /* Spacing / rhythm */
  --gutter:      clamp(1.25rem, 5vw, 4rem);
  --section-y:   clamp(4.5rem, 8vw, 9rem);
  --maxw:        1240px;
  --maxw-text:   68ch;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27,31,28,.06), 0 3px 10px rgba(27,31,28,.05);
  --shadow-md: 0 8px 28px -10px rgba(27,31,28,.22), 0 3px 10px rgba(27,31,28,.07);
  --shadow-lg: 0 34px 70px -24px rgba(27,31,28,.34), 0 14px 28px -16px rgba(27,31,28,.16);

  /* Motion */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --dur:       .55s;

  --header-h: 76px;
}

/* ---------------------------------------------------------------------
   2. Reset & base
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

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

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

/* ---------------------------------------------------------------------
   3. Typography
--------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; }
h4 { font-size: var(--fs-h4); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; color: var(--ink); }

p { text-wrap: pretty; }
strong, b { font-weight: 600; }
em, i { font-style: italic; }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.is-centered::before { display: none; }
.eyebrow.on-dark { color: var(--brass-soft); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-soft);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.muted { color: var(--text-soft); }
.text-center { text-align: center; }
.measure { max-width: var(--maxw-text); }
.measure-narrow { max-width: 52ch; }

/* ---------------------------------------------------------------------
   4. Layout
--------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1480px; }
.container-narrow { max-width: 920px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--paper-2 { background: var(--paper-2); }
.section--linen { background: var(--linen); }

.section-dark {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cloud); }
.section-dark .lead, .section-dark .muted { color: var(--on-dark-soft); }

.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 1.8rem; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .lead { margin-top: 1.1rem; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }

/* Split editorial row: text + media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--media-right .split__media { order: 2; }
.split__body { max-width: 36rem; }

/* ---------------------------------------------------------------------
   5. Buttons
--------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cloud);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .92em 1.7em;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .btn__arrow { transition: transform .35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--sage   { --btn-bg: var(--sage-deep); --btn-fg: var(--cloud); }
.btn--brass  { --btn-bg: var(--brass); --btn-fg: #2a200f; border-color: var(--brass); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); color: var(--cloud); border-color: var(--ink); }
.btn--on-dark {
  --btn-bg: var(--cloud); --btn-fg: var(--ink);
}
.btn--ghost-on-dark {
  --btn-bg: transparent; --btn-fg: var(--on-dark);
  border-color: var(--line-on-dark);
}
.btn--ghost-on-dark:hover { background: var(--cloud); color: var(--ink); border-color: var(--cloud); }
.btn--lg { padding: 1.1em 2.1em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Text link with animated underline */
.link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500;
  color: var(--sage-deep);
  position: relative;
  padding-bottom: 2px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: currentColor;
  transition: right .4s var(--ease-out);
}
.link:hover::after { right: 0; }
.link .btn__arrow { transition: transform .35s var(--ease-out); }
.link:hover .btn__arrow { transform: translateX(4px); }
.section-dark .link { color: var(--brass-soft); }

/* ---------------------------------------------------------------------
   6. Header / navigation
--------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease), height .4s var(--ease);
}
.site-header__inner {
  width: 100%;
  max-width: var(--maxw-wide, 1480px);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
/* Solid state after scroll, or on interior pages with light hero */
.site-header.is-solid,
body:not(.has-hero) .site-header {
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--sage-deep); transition: color .4s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: .28em;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.7rem); }
.nav__link {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  padding: .4em 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

/* Header over a dark hero (transparent state) */
.has-hero .site-header:not(.is-solid) .nav__link,
.has-hero .site-header:not(.is-solid) .brand,
.has-hero .site-header:not(.is-solid) .nav__toggle { color: var(--on-dark); }
.has-hero .site-header:not(.is-solid) .brand__mark { color: var(--brass-soft); }
.has-hero .site-header:not(.is-solid) .brand__sub { color: var(--on-dark-soft); }
.has-hero .site-header:not(.is-solid) .btn--ghost {
  color: var(--on-dark); border-color: var(--line-on-dark);
}
.has-hero .site-header:not(.is-solid) .btn--ghost:hover { background: var(--cloud); color: var(--ink); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle [hidden] { display: none; }

/* ---------------------------------------------------------------------
   7. Hero
--------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(620px, 96vh, 1000px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__art {
  position: absolute; inset: 0; z-index: -2;
}
.hero__art svg, .hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(169,133,79,.22), transparent 55%),
    linear-gradient(180deg, rgba(20,23,20,.55) 0%, rgba(20,23,20,.25) 38%, rgba(20,23,20,.82) 100%);
}
.hero__inner {
  width: 100%;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 7rem));
  padding-bottom: clamp(3rem, 7vh, 6rem);
}
.hero__eyebrow { color: var(--brass-soft); margin-bottom: 1.5rem; }
.hero h1 {
  color: var(--cloud);
  font-weight: 300;
  max-width: 16ch;
}
.hero h1 em { color: var(--brass-soft); }
.hero__lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  color: var(--on-dark-soft);
  font-size: var(--fs-lead);
  font-weight: 300;
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-on-dark);
}
.hero__stat { }
.hero__stat dt { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 400; color: var(--cloud); line-height: 1; }
.hero__stat dd { margin-top: .5rem; font-size: .82rem; letter-spacing: .04em; color: var(--on-dark-soft); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 2; display: grid; place-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-soft);
}
.scroll-cue__line { width: 1px; height: 46px; background: linear-gradient(var(--brass-soft), transparent); }
.scroll-cue__line::after {
  content: ""; display: block; width: 1px; height: 14px; background: var(--brass-soft);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0%{transform:translateY(-14px);opacity:0} 40%{opacity:1} 100%{transform:translateY(32px);opacity:0} }

/* Page hero (interior pages) — lighter */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__art { position: absolute; inset: 0; z-index: -2; opacity: .9; }
.page-hero__art svg { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,23,20,.5), rgba(20,23,20,.88)),
              radial-gradient(90% 120% at 85% 0%, rgba(169,133,79,.18), transparent 60%);
}
.page-hero h1 { color: var(--cloud); font-weight: 300; max-width: 18ch; }
.page-hero .lead { color: var(--on-dark-soft); margin-top: 1.3rem; max-width: 52ch; }
.page-hero .eyebrow { color: var(--brass-soft); margin-bottom: 1.3rem; }

/* Breadcrumb */
.crumbs { font-size: .82rem; color: var(--on-dark-soft); margin-bottom: 1.4rem; display: flex; gap: .5rem; align-items: center; }
.crumbs a:hover { color: var(--cloud); }
.crumbs span { opacity: .5; }

/* ---------------------------------------------------------------------
   8. Media frames & image+design composition
--------------------------------------------------------------------- */
.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sage-100);
  box-shadow: var(--shadow-md);
}
.media-frame > img,
.media-frame > svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.media-frame.is-hoverable:hover > img,
.media-frame.is-hoverable:hover > svg { transform: scale(1.04); }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--landscape { aspect-ratio: 4 / 3; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* Caption / label that overlaps the image — "merging image + text" */
.media-frame__tag {
  position: absolute; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em 1em;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(8px);
  color: var(--on-dark);
  border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 500; letter-spacing: .02em;
}

/* Decorative offset behind a media frame */
.media-stack { position: relative; }
.media-stack::before {
  content: ""; position: absolute; z-index: 0;
  inset: auto -1.4rem -1.4rem auto;
  width: 62%; height: 62%;
  border: 1px solid var(--sage);
  border-radius: var(--r-lg);
  opacity: .5;
}
.media-stack .media-frame { position: relative; z-index: 1; }

/* Overlapping editorial number/label */
.float-label {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--sage);
  opacity: .5;
  line-height: 1;
}

/* Image with text woven over it (full-bleed feature) */
.feature {
  position: relative;
  min-height: clamp(440px, 60vh, 640px);
  display: flex; align-items: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--on-dark);
  isolation: isolate;
}
.feature__art { position: absolute; inset: 0; z-index: -2; }
.feature__art svg, .feature__art img { width: 100%; height: 100%; object-fit: cover; }
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,23,20,.82) 0%, rgba(20,23,20,.5) 45%, rgba(20,23,20,.1) 100%);
}
.feature__body { padding: clamp(2rem, 5vw, 4.5rem); max-width: 40rem; }
.feature h2 { color: var(--cloud); }

/* ---------------------------------------------------------------------
   9. Cards
--------------------------------------------------------------------- */
.card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--sage-50);
  color: var(--sage-deep);
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.35rem; }
.card p { margin-top: .7rem; color: var(--text-soft); font-size: .98rem; }
.card__meta { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-faint); display:flex; justify-content: space-between; align-items:center; }

/* Program card with media top */
.program-card {
  display: flex; flex-direction: column;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink); }
.program-card__media svg, .program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.program-card:hover .program-card__media svg,
.program-card:hover .program-card__media img { transform: scale(1.05); }
.program-card__body { padding: clamp(1.4rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.program-card__body h3 { font-size: 1.4rem; }
.program-card__body p { margin-top: .6rem; color: var(--text-soft); font-size: .96rem; flex: 1; }
.program-card__foot { margin-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; }
.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sage-50);
  padding: .4em .8em; border-radius: var(--r-pill);
}

/* Faculty */
.faculty-card { text-align: left; }
.faculty-card .media-frame { margin-bottom: 1.1rem; }
.faculty-card h3 { font-size: 1.3rem; }
.faculty-card__role { color: var(--brass); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-top: .3rem; }
.faculty-card p { margin-top: .7rem; color: var(--text-soft); font-size: .95rem; }

/* Feature list with rule */
.feature-list { display: grid; gap: 0; }
.feature-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list__n { font-family: var(--font-display); color: var(--sage); font-size: 1.1rem; }
.feature-list h4 { margin-bottom: .35rem; }
.feature-list p { color: var(--text-soft); font-size: .96rem; }

/* ---------------------------------------------------------------------
   10. Pricing
--------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  height: 100%;
}
.price-card--featured {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.price-card--featured h3 { color: var(--cloud); }
.price-card--featured .price-card__desc { color: var(--on-dark-soft); }
.price-card--featured .price-card__features li { color: var(--on-dark-soft); border-color: var(--line-on-dark); }
.price-card__badge {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--brass); color: #2a200f;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .45em 1em; border-radius: var(--r-pill);
}
.price-card h3 { font-size: 1.5rem; }
.price-card__desc { margin-top: .5rem; font-size: .92rem; color: var(--text-soft); min-height: 2.6em; }
.price-card__price { margin-top: 1.4rem; display: flex; align-items: baseline; gap: .35rem; }
.price-card__amount { font-family: var(--font-display); font-size: 3rem; font-weight: 400; line-height: 1; }
.price-card__amount sup { font-size: 1.3rem; top: -1.1em; font-family: var(--font-sans); font-weight: 600; }
.price-card__per { font-size: .9rem; color: var(--text-faint); }
.price-card--featured .price-card__per { color: var(--on-dark-soft); }
.price-card__features { margin-top: 1.6rem; flex: 1; }
.price-card__features li {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem;
  padding: .7rem 0; border-top: 1px solid var(--line);
  font-size: .94rem; color: var(--text-soft);
}
.price-card__features svg { width: 18px; height: 18px; color: var(--sage); margin-top: .2em; }
.price-card--featured .price-card__features svg { color: var(--brass-soft); }
.price-card .btn { margin-top: 1.8rem; }

/* ---------------------------------------------------------------------
   11. Marquee / logos / quote
--------------------------------------------------------------------- */
.quote-block {
  max-width: 60rem; margin-inline: auto; text-align: center;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.7rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.quote-block .serif-italic { color: var(--brass); }
.quote-block figcaption { margin-top: 1.8rem; font-size: .9rem; letter-spacing: .04em; color: var(--text-faint); }
.quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: 0; color: var(--sage); opacity: .5; display:block; height: .5em; }

/* Decorative string divider */
.string-divider { display: block; width: 100%; height: 40px; color: var(--sage); opacity: .5; }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,3vw,2.5rem); }
.stat { text-align: center; }
.stat dt { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 400; line-height: 1; color: var(--ink); }
.section-dark .stat dt { color: var(--cloud); }
.stat dd { margin-top: .6rem; font-size: .85rem; letter-spacing: .03em; color: var(--text-soft); }
.section-dark .stat dd { color: var(--on-dark-soft); }

/* Gallery strip */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  grid-auto-flow: dense;
}
.gallery .media-frame { margin: 0; }
.g-a { grid-column: span 5; aspect-ratio: 4/5; }
.g-b { grid-column: span 7; aspect-ratio: 16/10; }
.g-c { grid-column: span 4; aspect-ratio: 1/1; }
.g-d { grid-column: span 4; aspect-ratio: 1/1; }
.g-e { grid-column: span 4; aspect-ratio: 1/1; }

/* ---------------------------------------------------------------------
   12. Forms
--------------------------------------------------------------------- */
.form-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: .5rem; margin-bottom: 1.3rem; }
.field > label, .field-label {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink);
}
.field .hint { font-size: .8rem; color: var(--text-faint); font-weight: 400; }
.field .req { color: var(--brass); }
.input, .select, .textarea {
  width: 100%;
  padding: .85em 1em;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: var(--cloud);
  box-shadow: 0 0 0 4px var(--sage-50);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d5b48' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }

/* Chip / pill choice (radio/checkbox styled) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.choice {
  position: relative;
  display: flex; align-items: center; gap: .6rem;
  padding: .8em 1em;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-size: .92rem;
}
.choice:hover { border-color: var(--sage); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); flex: none;
  display: grid; place-items: center;
  transition: border-color .2s var(--ease);
}
.choice__dot::after { content:""; width:9px; height:9px; border-radius:50%; background: var(--sage-deep); transform: scale(0); transition: transform .2s var(--ease); }
.choice input:checked ~ .choice__dot { border-color: var(--sage-deep); }
.choice input:checked ~ .choice__dot::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--sage-deep); background: var(--sage-50); }
.choice input:focus-visible ~ .choice__dot { outline: 2px solid var(--brass); outline-offset: 2px; }

.form-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { font-size: .85rem; color: var(--text-faint); }

/* Form feedback */
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-status.is-error { display: block; background: #fbeae6; color: #8a2c14; border: 1px solid #e7b9ad; }
.form-status.is-success { display: block; background: var(--sage-50); color: var(--sage-deep); border: 1px solid var(--sage-200); }

.success-panel { display: none; text-align: center; padding: clamp(1.5rem,4vw,3rem); }
.success-panel.is-visible { display: block; }
.success-panel__icon { width: 72px; height: 72px; margin: 0 auto 1.5rem; color: var(--sage-deep); }
.token-box {
  margin-top: 1.5rem; padding: 1rem 1.2rem;
  background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 1rem; justify-content: space-between; flex-wrap: wrap;
  text-align: left;
}
.token-box code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .85rem; word-break: break-all; color: var(--sage-deep); }

/* ---------------------------------------------------------------------
   13. Status & admin
--------------------------------------------------------------------- */
.status-pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .4em .9em; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: capitalize;
}
.status-pill::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pending   { background: #fbf2dd; color: #8a6516; }
.status-proposed  { background: #e6eef6; color: #275880; }
.status-confirmed { background: var(--sage-50); color: var(--sage-deep); }
.status-declined  { background: #f3e7e4; color: #8a4031; }
.status-cancelled { background: #ecebe8; color: #6a6a64; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th { text-align: left; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; padding: .8rem 1rem; border-bottom: 1px solid var(--line-strong); }
.admin-table td { padding: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:hover td { background: var(--sage-50); }
.admin-card { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.tabs { display: inline-flex; background: var(--paper-2); border-radius: var(--r-pill); padding: .3rem; gap: .2rem; }
.tab { padding: .55em 1.2em; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; color: var(--text-soft); transition: background .2s, color .2s; }
.tab.is-active { background: var(--cloud); color: var(--ink); box-shadow: var(--shadow-sm); }

.detail-row { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: .5rem 0; font-size: .92rem; }
.detail-row dt { color: var(--text-faint); }

/* Simple modal/dialog */
dialog {
  border: none; border-radius: var(--r-lg); padding: 0;
  max-width: 520px; width: calc(100% - 2rem);
  box-shadow: var(--shadow-lg); color: var(--text);
}
dialog::backdrop { background: rgba(20,23,20,.5); backdrop-filter: blur(3px); }
.dialog__body { padding: clamp(1.5rem, 3vw, 2.2rem); }
.dialog__body h3 { margin-bottom: .4rem; }

/* ---------------------------------------------------------------------
   14. Footer
--------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  padding-top: clamp(3.5rem, 6vw, 6rem);
}
.footer-cta {
  background: var(--ink-2);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.footer-cta h2 { color: var(--cloud); max-width: 18ch; margin-inline: auto; }
.footer-cta .lead { color: var(--on-dark-soft); margin: 1.2rem auto 2rem; max-width: 44ch; }
.footer-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h4 { color: var(--on-dark); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-grid a { color: var(--on-dark-soft); font-size: .94rem; display: inline-block; padding: .3rem 0; transition: color .25s var(--ease); }
.footer-grid a:hover { color: var(--cloud); }
.footer-grid li { line-height: 1.5; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand__mark { color: var(--brass-soft); }
.footer-brand .brand__sub { color: var(--on-dark-faint); }
.footer-brand p { margin-top: 1.2rem; max-width: 30ch; font-size: .94rem; line-height: 1.6; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.5rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-on-dark); color: var(--on-dark-soft);
  transition: background .25s, color .25s, border-color .25s;
}
.footer-social a:hover { background: var(--brass); color: #2a200f; border-color: var(--brass); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 2rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--on-dark-faint);
}
.footer-bottom a:hover { color: var(--on-dark); }

/* ---------------------------------------------------------------------
   15. Reveal animations
--------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal="scale"].is-in { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].is-in { transform: none; }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].is-in { transform: none; }

/* ---------------------------------------------------------------------
   16. Utilities
--------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--cloud); padding: .7em 1.2em; border-radius: var(--r-sm);
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }
.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;
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.flex { display: flex; } .items-center { align-items: center; } .gap-1 { gap: 1rem; } .wrap { flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem,4vw,3.5rem); }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 500; color: var(--sage-deep);
  background: var(--sage-50); border: 1px solid var(--sage-100);
  padding: .45em .9em; border-radius: var(--r-pill);
}
.badge svg { width: 15px; height: 15px; }
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   17. Responsive
--------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .gallery .media-frame { aspect-ratio: 1/1 !important; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav__list, .nav .btn { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--paper);
    flex-direction: column; justify-content: flex-start;
    padding: 2rem var(--gutter) 3rem;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .nav.is-open .nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav.is-open .nav__list li { border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__link { display: block; padding: 1.1rem 0; font-size: 1.25rem; font-family: var(--font-display); }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .btn { display: flex; margin-top: 1.5rem; width: 100%; }
  body.nav-open { overflow: hidden; }
  /* keep toggle visible & inked while menu open */
  .nav.is-open ~ .nav__toggle, .nav__toggle { color: var(--ink) !important; }

  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--media-right .split__media { order: 0; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-a,.g-b,.g-c,.g-d,.g-e { grid-column: span 1; aspect-ratio: 1/1; }
  .detail-row { grid-template-columns: 1fr; gap: .2rem; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1rem; padding: .5rem; }
  .admin-table td { border: none; padding: .4rem .8rem; }
  .admin-table td::before { content: attr(data-label); display:block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: .2rem; }
}
@media (max-width: 520px) {
  .stat-band { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: 1.25rem 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   18. Reduced motion & print
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
