/* ============================================================
   Delphine HC Innovations — modern rebuild
   Design system: "Tide & Champion"
   Palette grounded in the brand's dolphin/water symbolism
   (peace, healing, teamwork) with a warm coral "championing" accent.
   ============================================================ */

:root {
  /* ----- color ----- */
  --ink:        #0B2733;   /* deep sea — primary text/headings */
  --ink-soft:   #3B5762;   /* secondary text */
  --ink-faint:  #6E8791;   /* captions, meta */

  --teal-900:   #093642;
  --teal-700:   #0E5C6B;
  --teal-500:   #16808F;   /* primary brand teal */
  --teal-300:   #6FB9C2;
  --aqua-100:   #DCEEF0;   /* light aqua tint */
  --aqua-50:    #EAF5F6;

  --mist:       #EDF4F4;   /* page background — cool off-white */
  --paper:      #FFFFFF;   /* cards */
  --sand:       #F4ECDC;   /* warm faith/book context */
  --sand-line:  #E4D6BC;

  --coral:      #E8734D;   /* accent — the "champion" warmth */
  --coral-deep: #CB5732;
  --gold:       #C6982F;

  --line:       #D9E4E5;   /* hairlines on mist */
  --line-soft:  #E7EEEF;

  /* ----- division "ocean spectrum" accents (warm, muted — never neon) -----
     One warm family: teal house + coral action, each division its own ocean hue.
     --accent is swapped per division via a <body class="div-*"> below. */
  --accent:       var(--teal-500);   /* default = Delphine HC house teal */
  --accent-deep:  var(--teal-700);
  --accent-tint:  var(--aqua-100);

  --div-aware:   #245F92;  --div-aware-deep:  #1C4E78;  --div-aware-tint:  #E4EDF5; /* deep ocean blue */
  --div-inform:  #46448B;  --div-inform-deep: #393872;  --div-inform-tint: #EAE9F3; /* warm indigo */
  --div-art:     #2A7E5E;  --div-art-deep:    #226A4F;  --div-art-tint:    #E3F0EA; /* healing sea-green */
  --div-parc:    #12707E;  --div-parc-deep:   #0E5C6B;  --div-parc-tint:   #DCEFF1; /* marine teal */

  /* ----- type ----- */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* ----- rhythm ----- */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(11,39,51,.05), 0 18px 40px -24px rgba(11,39,51,.30);
  --shadow-lg: 0 30px 70px -34px rgba(9,54,66,.45);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .25vw, 1.09rem);
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-color: color-mix(in srgb, var(--teal-500) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--teal-500); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 560; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.28rem, 1.1rem + .8vw, 1.6rem); }
p { margin: 0 0 1.1em; }
strong, b { color: var(--ink); font-weight: 700; }
::selection { background: var(--coral); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--aqua { background: linear-gradient(180deg, var(--aqua-50), #fff 90%); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--teal-900); color: #cfe4e7; }
.section--ink h2, .section--ink h3 { color: #fff; }

.center { text-align: center; }
.lede { font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); color: var(--ink-soft); line-height: 1.55; }
.measure { max-width: 68ch; }
.measure-narrow { max-width: 54ch; }

/* eyebrow / label */
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); display: inline-block; border-radius: 2px; }
.center .eyebrow { justify-content: center; }

/* coral underline signature on key words */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .34em;
  background: color-mix(in srgb, var(--coral) 42%, transparent);
  border-radius: 3px; z-index: -1;
}
.italic { font-style: italic; }
.serif { font-family: var(--display); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--body); font-weight: 700; font-size: .96rem;
  padding: .82em 1.5em; border-radius: 100px;
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 14px 26px -14px var(--coral-deep); }
.btn--primary:hover { background: var(--coral-deep); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--teal-700); color: #fff; }
.btn--dark:hover { background: var(--teal-900); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--teal-300); color: var(--teal-700); background: transparent; }
.btn--ghost:hover { border-color: var(--teal-500); background: var(--aqua-50); color: var(--teal-700); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--aqua-50); color: var(--teal-900); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--mist) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.12rem; letter-spacing: -.01em; }
.brand-txt span { font-family: var(--mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-500); margin-top: 3px; }

.menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; padding: .55rem .7rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3em; transition: background .15s, color .15s; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--aqua-100); color: var(--teal-700); }
.menu a[aria-current="page"] { color: var(--teal-700); }
.has-sub > a::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; margin-left: .2em; }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .6rem .8rem; font-weight: 600; font-size: .9rem; border-radius: 9px; }
.submenu a:hover { background: var(--aqua-50); }

.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 940px) {
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--shadow); max-height: calc(100vh - 74px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .menu a { padding: .8rem .6rem; font-size: 1rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--aqua-100); border-radius: 0; margin: 0 0 .4rem .6rem; padding: 0 0 0 .4rem; }
  .has-sub > a::after { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(175deg, var(--aqua-50) 0%, var(--mist) 55%, var(--mist) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.hero h1 { color: var(--ink); margin-bottom: .35em; }
.hero .lede { margin-bottom: 1.8rem; max-width: 40ch; }
.hero-portrait { position: relative; }
.hero-portrait img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero-portrait .badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: .85rem 1.05rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem; max-width: 240px;
}
.hero-portrait .badge b { font-family: var(--display); color: var(--ink); display: block; font-size: 1.02rem; }
.hero-portrait .badge span { font-size: .78rem; color: var(--ink-faint); line-height: 1.3; }
.hero-portrait .badge .dot { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--aqua-100); color: var(--teal-700); display: grid; place-items: center; }
.hero-portrait .badge .dot svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-portrait { max-width: 440px; }
  .hero-portrait .badge { left: 0; }
}

/* decorative tide waves (SVG) */
.tide { display: block; width: 100%; height: auto; color: var(--mist); }
.tide--paper { color: var(--paper); }
.tide--aqua { color: var(--aqua-50); }
.tide--sand { color: var(--sand); }
.tide--ink { color: var(--teal-900); }
.tide-wrap { line-height: 0; }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 820px) { .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; } .split .order-first { order: -1; } }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 2.5vw, 1.9rem); box-shadow: var(--shadow); }
.card--flush { padding: 0; overflow: hidden; }

/* what-we-do tiles */
.tile {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; text-decoration: none; color: var(--ink-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); transition: background .2s, width .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-300); color: var(--ink-soft); }
.tile:hover::before { background: var(--accent-deep); width: 6px; }
.tile .tile-key { font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.tile .tile-key em { color: var(--accent); font-style: normal; }
.tile p { margin: 0; font-size: .96rem; }
.tile .tile-go { margin-top: auto; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .4em; padding-top: .8rem; }
.tile:hover .tile-go { color: var(--coral); }

/* stat / feature small */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--aqua-100); color: var(--teal-700); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin: .1rem 0 .35rem; font-size: 1.16rem; }
.feature p { margin: 0; font-size: .96rem; }

/* list with teal ticks */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.2px solid var(--coral); border-bottom: 2.2px solid var(--coral); transform: rotate(-45deg); }
.ticks--muted li::before { border-color: var(--teal-500); }

/* term list (why-is-it-needed) */
.terms { display: grid; gap: 1rem; }
.term { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.term dt { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: .25rem; }
.term dd { margin: 0; font-size: .96rem; }

/* ---------- quotes / testimonials ---------- */
.quote { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem,3vw,2.2rem); box-shadow: var(--shadow); }
.quote::before { content: "\201C"; font-family: var(--display); font-size: 4.5rem; line-height: 1; color: var(--aqua-100); position: absolute; top: .1em; right: .3em; }
.quote p { font-size: 1.05rem; color: var(--ink); font-family: var(--display); font-weight: 380; line-height: 1.5; font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--teal-500); text-transform: uppercase; }
.pullquote { font-family: var(--display); font-size: clamp(1.5rem,1.1rem+2vw,2.35rem); line-height: 1.25; color: #fff; font-weight: 420; }
.pullquote .mark::after { background: color-mix(in srgb, var(--coral) 70%, transparent); }

/* ---------- gallery (art) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.art { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.art:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.art-img { aspect-ratio: 4/3; overflow: hidden; background: var(--aqua-50); }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.art:hover .art-img img { transform: scale(1.04); }
.art-body { padding: 1rem 1.2rem 1.25rem; }
.art-body h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.art-body .place { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tag { display: inline-block; margin-top: .7rem; font-size: .74rem; font-weight: 700; padding: .28em .7em; border-radius: 100px; letter-spacing: .04em; text-transform: uppercase; }
.tag--avail { background: var(--aqua-100); color: var(--teal-700); }
.tag--sold { background: #F0E4DE; color: var(--coral-deep); }

/* ---------- books ---------- */
.book { display: grid; grid-template-columns: 190px 1fr; gap: clamp(1.2rem,3vw,2.2rem); align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem,3vw,2rem); box-shadow: var(--shadow); }
.book-cover { border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; background: var(--sand); }
.book-cover img { width: 100%; }
.book h3 { margin: 0 0 .1rem; }
.book .book-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); margin-bottom: .9rem; }
@media (max-width: 620px) { .book { grid-template-columns: 130px 1fr; } }
@media (max-width: 430px) { .book { grid-template-columns: 1fr; } .book-cover { max-width: 200px; } }

/* ---------- publications ---------- */
.pubs { display: grid; gap: 1.6rem; }
.pub-group h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 800; color: var(--teal-700); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pub-list li { display: grid; grid-template-columns: 1fr auto; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; align-items: baseline; }
.pub-list li .when { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); white-space: nowrap; }
.pub-list li .what { color: var(--ink); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .86rem; color: var(--ink); }
.field label .req { color: var(--coral); }
.field input, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--aqua-100); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-faint); }

/* ---------- misc content ---------- */
.story { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem,3vw,2.1rem); }
.story .story-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); padding-bottom: .9rem; margin-bottom: 1.1rem; }
.story .story-head h3 { margin: 0; }
.story .story-head .date { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); white-space: nowrap; }
.story .wish { border-left: 3px solid var(--coral); padding-left: 1rem; margin: 1.1rem 0; color: var(--ink); }
.story .wish-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); display: block; margin-bottom: .3rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-size: .82rem; font-weight: 600; padding: .4em .85em; border-radius: 100px; background: var(--aqua-50); border: 1px solid var(--line); color: var(--teal-700); }

.res-group { margin-bottom: 2.2rem; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.res-list li { padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.res-list li a { font-weight: 600; }

.callout { background: var(--aqua-50); border: 1px solid var(--aqua-100); border-radius: var(--radius); padding: clamp(1.3rem,3vw,2rem); }
.big-stat { font-family: var(--display); font-size: clamp(2.4rem,1.6rem+3vw,3.6rem); color: var(--coral-deep); line-height: 1; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: #bcd6da; padding-block: clamp(3rem,2rem+4vw,4.5rem) 2rem; }
.site-footer a { color: #cfe6e9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand b { font-family: var(--display); color: #fff; font-size: 1.3rem; display: block; margin-bottom: .3rem; }
.footer-brand p { font-size: .92rem; color: #9fc0c5; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--body); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .82rem; color: #8fb4b9; }
.footer-bottom .mono { font-family: var(--mono); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* focus visibility */
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--coral); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }

/* small print row */
.eyebrow-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   Blog + art-detail + 5-tile grid (added for blog/gaps migration)
   ============================================================ */
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-5 { grid-template-columns: 1fr; } }

.blog-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }

.blog-toc { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.1rem; max-height: calc(100vh - 120px); overflow-y: auto; }
@media (max-width: 900px) { .blog-toc { position: static; max-height: none; } }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: .1rem; }
.toc-list li { counter-increment: toc; }
.toc-list a { display: grid; gap: .1rem; padding: .55rem .5rem; border-radius: 9px; text-decoration: none; color: var(--ink); transition: background .15s; }
.toc-list a:hover { background: var(--aqua-50); }
.toc-t { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.toc-d { font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); letter-spacing: .04em; }

.blog-stream { display: grid; gap: clamp(2rem, 4vw, 3.4rem); min-width: 0; }
.blog-post { border-bottom: 1px solid var(--line); padding-bottom: clamp(2rem, 4vw, 3.2rem); scroll-margin-top: 90px; }
.blog-post:last-child { border-bottom: 0; }
.blog-post-head { display: flex; gap: 1rem; align-items: baseline; margin-bottom: 1.2rem; }
.blog-idx { font-family: var(--display); font-size: 1.6rem; color: var(--accent); font-weight: 600; line-height: 1; flex: none; }
.blog-post-head h2 { margin: 0 0 .3rem; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.blog-meta { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-500); margin: 0; }

.blog-prose { max-width: 72ch; color: var(--ink-soft); min-width: 0; }
.blog-prose > *:first-child { margin-top: 0; }
.blog-prose h3 { font-family: var(--display); color: var(--ink); font-size: 1.3rem; margin: 2rem 0 .7rem; line-height: 1.2; }
.blog-prose p { margin: 0 0 1.1em; }
.blog-prose a { color: var(--teal-700); }
.blog-prose img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 1rem 0; }
.blog-prose ul, .blog-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.blog-prose li { margin-bottom: .4em; }
.blog-prose blockquote { border-left: 3px solid var(--coral); margin: 1.2rem 0; padding: .3rem 0 .3rem 1.1rem; color: var(--ink); font-style: italic; }
.blog-prose strong, .blog-prose b { color: var(--ink); }
.blog-by { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-500); margin: 0 0 1rem; }
.blog-top { margin-top: 1.6rem; }
.blog-top a { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); text-decoration: none; }
.blog-top a:hover { color: var(--coral); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.photo-grid img { margin: 0; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* art gallery cards become links */
.art-link { display: block; text-decoration: none; color: inherit; }
.art-detail .photo-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* ============================================================
   Division "ocean spectrum" — accent swaps per <body class="div-*">
   ============================================================ */
.div-aware  { --accent: var(--div-aware);  --accent-deep: var(--div-aware-deep);  --accent-tint: var(--div-aware-tint); }
.div-inform { --accent: var(--div-inform); --accent-deep: var(--div-inform-deep); --accent-tint: var(--div-inform-tint); }
.div-art    { --accent: var(--div-art);    --accent-deep: var(--div-art-deep);    --accent-tint: var(--div-art-tint); }
.div-parc   { --accent: var(--div-parc);   --accent-deep: var(--div-parc-deep);   --accent-tint: var(--div-parc-tint); }

/* subtle per-division tint on aqua-background sections */
.div-aware .section--aqua, .div-inform .section--aqua,
.div-art .section--aqua, .div-parc .section--aqua {
  background: linear-gradient(180deg, var(--accent-tint), #fff 92%);
}
/* active nav item + ghost buttons carry the page's division color */
[class*="div-"] .menu a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-deep); }
[class*="div-"] .btn--ghost { border-color: var(--accent); color: var(--accent-deep); }
[class*="div-"] .btn--ghost:hover { border-color: var(--accent-deep); background: var(--accent-tint); color: var(--accent-deep); }
