/* =========================================================================
   Catskill Brands — design system
   Pattern: Enterprise Gateway · Style: Trust & Authority
   Palette taken verbatim from the Catskill Brands color system.
   ========================================================================= */

:root {
  /* Core — Catskill Business Solutions navy is the platform primary */
  --navy: #0B1F3A;
  --navy-800: #0f2a4d;
  --navy-700: #163a68;
  --navy-600: #24528b;
  --navy-400: #6d8bb3;

  --ink: #0F172A;
  --ink-2: #33415A;
  --ink-3: #55637A;
  --line: #E2E6EC;
  --line-2: #CBD3DE;
  --bg: #ffffff;
  --bg-tint: #F5F7FA;
  --bg-tint-2: #EBEFF5;

  /* Brand accents — official values */
  --catskill-art: #D94B3D;
  --catskill-print: #A61E1E;
  --catskill-framing: #C8A96A;
  --catskill-business-solutions: #0B1F3A;
  --catskill-education: #2E4DA7;

  /* Text-safe variants (≥4.5:1 on white) for small copy */
  --art-text: #C4392C;
  --framing-text: #7D6229;

  /* Gold is a light fill — never white text on it.
     gold-deep clears 4.5:1 on white AND on the tinted aria-current plate. */
  --gold: #C8A96A;
  --gold-deep: #7D6229;

  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --shell: 1220px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 16px rgba(11, 31, 58, .07), 0 1px 3px rgba(11, 31, 58, .05);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, .18);

  --z-header: 30;
  --z-mega: 40;
  --z-overlay: 50;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }

:where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}
p { text-wrap: pretty; }

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

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

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%); z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 0; }

/* ---------------------------------------------------------------- layout */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 1.5rem; }
.shell--narrow { max-width: 760px; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #c3cfdf; }
.section--dark :where(h2, h3) { color: #fff; }
.section--dark .kicker { color: #8fabd0; }
.section--dark .lead { color: #b3c2d5; }

.section__head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.kicker {
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--art-text); margin-bottom: .75rem;
}
.section--dark .kicker { color: var(--gold); }

.h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); margin-bottom: .75rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--ink-3); max-width: 68ch; }
.section p + p { margin-top: 1rem; }
.shell--narrow p { max-width: 70ch; }

.pull {
  margin-top: 2rem; padding: 1.25rem 0 1.25rem 1.5rem; border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.45; color: var(--navy); font-weight: 500;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; min-height: 46px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line-2); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); background: var(--bg-tint); }
.btn--sm { padding: .6rem 1.1rem; min-height: 40px; font-size: .75rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btnrow { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon--sm { width: 1.05rem; height: 1.05rem; }
.icon--xs { width: .9rem; height: .9rem; }

.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--navy); transition: background-color .2s var(--ease); }
.iconbtn:hover { background: var(--bg-tint-2); }

/* ----------------------------------------------------------------- topbar */

.topbar { background: var(--navy); color: #a9bdd6; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__list { display: flex; gap: 1.75rem; }
.topbar__list li { display: flex; align-items: center; gap: .45rem; }
.topbar__list .icon { color: var(--gold); }
.topbar__right a { display: flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-weight: 600; }
.topbar__right a:hover { color: var(--gold); }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.94); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(11, 31, 58, .09); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 82px; }

.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__type { display: grid; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); margin-top: .22rem; }
.logo__tag { font-family: var(--font-body); font-size: .68rem; letter-spacing: .02em; color: var(--art-text); font-weight: 600; margin-top: .35rem; }
.logo--footer .logo__name, .logo--footer .logo__word { color: #fff; }
.logo--footer .logo__tag { color: var(--gold); }

.primary { margin-left: auto; }
.primary__list { display: flex; gap: .1rem; }
.primary__item { position: static; }
.primary__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .75rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; transition: background-color .18s var(--ease);
}
.primary__link:hover, .primary__link.is-active, .primary__item.is-open .primary__link { background: var(--bg-tint-2); }
.primary__link .icon { transition: transform .2s var(--ease); }
.primary__item.is-open .primary__link .icon { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: .35rem; flex: none; }
.iconbtn--menu { display: none; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: var(--z-mega); animation: megaIn .18s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: 1fr 290px; gap: 2.5rem; padding-block: 2.25rem; }
.mega__cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.mega__cols--3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }

.mega__title { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--navy); padding-bottom: .6rem; margin-bottom: .8rem; border-bottom: 2px solid var(--gold); }
.mega__note { font-size: .85rem; color: var(--ink-3); margin: -.4rem 0 .9rem; }
.mega__list li + li { margin-top: .1rem; }
.mega__list a { display: flex; gap: .7rem; padding: .6rem; border-radius: var(--radius); text-decoration: none; transition: background-color .16s var(--ease); }
.mega__list a:hover { background: var(--bg-tint); }
.mega__ico { color: var(--navy-600); }
.mega__list a.has-accent .mega__ico { color: var(--accent); }
.mega__ico .icon { width: 1.25rem; height: 1.25rem; }
.mega__label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.mega__text { display: block; font-size: .82rem; color: var(--ink-3); line-height: 1.45; margin-top: .12rem; }

.mega__feature { display: flex; flex-direction: column; gap: .5rem; justify-content: center; padding: 1.75rem; border-radius: var(--radius-lg); text-decoration: none; background-color: var(--navy); background-image: linear-gradient(155deg, var(--navy), var(--navy-700)); color: #b9c8db; transition: box-shadow .2s var(--ease); }
.mega__feature:hover { box-shadow: var(--shadow-lg); }
.mega__feature-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.25; }
.mega__feature-text { font-size: .88rem; line-height: 1.5; }
.mega__feature-cta { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }

/* ------------------------------------------------------------- brand bar */

.brandbar { background: #fff; border-bottom: 1px solid var(--line); }
.brandbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 56px; }
.brandbar__label { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); flex: none; }
.brandbar ul { display: flex; flex: 1; justify-content: space-between; gap: .5rem; }
.brandbar a { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .6rem; border-radius: var(--radius); text-decoration: none; transition: background-color .18s var(--ease); }
.brandbar a:hover { background: var(--bg-tint); }
.brandbar a[aria-current] { background: var(--bg-tint-2); }
.brandbar__mark { width: 22px; height: 22px; flex: none; }
.brandbar__name { font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
/* --accent here is already the text-safe variant, set inline from data.mjs */
.brandbar__name em { font-style: normal; color: var(--accent); }

/* --------------------------------------------------------------- drawer */

.drawer { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(11,31,58,.55); }
.drawer__panel { position: absolute; inset-block: 0; right: 0; width: min(400px, 100%); background: #fff; padding: 1.25rem 1.5rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem; animation: drawerIn .22s var(--ease); }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__nav { flex: 1; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); min-height: 44px; }
.drawer__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__toggle .icon { transition: transform .2s var(--ease); color: var(--ink-3); }
.drawer__body { padding-bottom: 1rem; }
.drawer__overview { display: inline-block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--art-text); text-decoration: none; font-weight: 700; margin-bottom: .5rem; }
.drawer__coltitle { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 1rem 0 .35rem; }
.drawer__body ul li a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.drawer__body ul li a:hover { color: var(--navy); }

/* --------------------------------------------------------------- search */

.searchbox { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(11,31,58,.6); padding: 6vh 1.5rem; }
.searchbox__panel { max-width: 680px; margin-inline: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.searchbox__field { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.searchbox__field input { flex: 1; border: 0; outline: none; font-size: 1.05rem; padding: .6rem 0; background: none; }
.searchbox__results { max-height: 55vh; overflow-y: auto; }
.searchbox__results a { display: block; padding: .85rem 1.25rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.searchbox__results a:hover, .searchbox__results a:focus-visible { background: var(--bg-tint); }
.searchbox__results strong { display: block; font-family: var(--font-display); color: var(--navy); font-weight: 600; font-size: .95rem; }
.searchbox__results span { display: block; font-size: .85rem; color: var(--ink-3); margin-top: .15rem; }
.searchbox__empty { padding: 1.5rem 1.25rem; color: var(--ink-3); font-size: .92rem; }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; overflow: hidden; background: var(--navy); color: #b9c8db; isolation: isolate; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 40%, transparent 100%);
}
.hero__glow { position: absolute; z-index: -1; inset: -40% -10% auto -10%; height: 140%;
  background: radial-gradient(ellipse 45% 50% at 22% 18%, rgba(36, 82, 139, .6), transparent 70%),
              radial-gradient(ellipse 35% 45% at 80% 12%, rgba(217, 75, 61, .2), transparent 70%),
              radial-gradient(ellipse 30% 40% at 62% 85%, rgba(200, 169, 106, .16), transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero__inner--page { display: block; }

.hero__eyebrow { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.hero__title { font-size: clamp(2.2rem, 4.6vw, 3.7rem); color: #fff; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.hero__title--page { max-width: 20ch; }
.hero__sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #dbe4ee; margin-top: 1rem; max-width: 58ch; line-height: 1.4; }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.65; color: #adbdd2; max-width: 60ch; }
.hero__motto { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero .btn--primary { background: #fff; color: var(--navy); }
.hero .btn--primary:hover { background: var(--gold); color: var(--navy); }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* hero art: the mark + orbiting brand chips */
.hero__art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__ring { width: min(170px, 40%); opacity: .95; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border-radius: 100px; background: #fff;
  color: var(--navy); font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); border-left: 3px solid var(--accent);
}
.hero__chip .icon { width: 1.05rem; height: 1.05rem; color: var(--accent); }
.hero__chip em { font-style: normal; }
/* Positioned clear of the ring at the centre. Order: Art, Print, Framing, Business, Education */
.hero__chip:nth-child(2) { top: 4%; left: 4%; }
.hero__chip:nth-child(3) { top: 20%; right: 0; }
.hero__chip:nth-child(4) { bottom: 34%; left: 0; }
.hero__chip:nth-child(5) { bottom: 14%; right: 2%; }
.hero__chip:nth-child(6) { bottom: 0; left: 8%; }
/* Framing gold is too light for text on white */
.hero__chip[style*="C8A96A"] { color: var(--gold-deep); }
.hero__chip[style*="C8A96A"] .icon { color: var(--gold-deep); }

.crumbs { margin-bottom: 1.75rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: #8fabd0; }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; color: #b9c8db; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* per-brand hero tint */
.hero.is-catskill-art .hero__glow { background: radial-gradient(ellipse 50% 55% at 24% 16%, rgba(217,75,61,.42), transparent 70%); }
.hero.is-catskill-print .hero__glow { background: radial-gradient(ellipse 50% 55% at 24% 16%, rgba(166,30,30,.5), transparent 70%); }
.hero.is-catskill-framing .hero__glow { background: radial-gradient(ellipse 50% 55% at 24% 16%, rgba(200,169,106,.34), transparent 70%); }
.hero.is-catskill-business-solutions .hero__glow { background: radial-gradient(ellipse 50% 55% at 24% 16%, rgba(36,82,139,.6), transparent 70%); }
.hero.is-catskill-education .hero__glow { background: radial-gradient(ellipse 50% 55% at 24% 16%, rgba(46,77,167,.55), transparent 70%); }

/* --------------------------------------------------------------- capstrip */

.capstrip { border-bottom: 1px solid var(--line); background: #fff; }
.capstrip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.capstrip__item { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: 2.25rem 1.25rem; text-decoration: none; border-left: 1px solid var(--line); transition: background-color .2s var(--ease); }
.capstrip__item:first-child { border-left: 0; }
.capstrip__item:hover { background: var(--bg-tint); }
.capstrip__ico { color: var(--navy-600); }
.capstrip__name { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.capstrip__text { font-size: .88rem; color: var(--ink-3); line-height: 1.5; max-width: 26ch; }

/* ------------------------------------------------------------ brand cards */

.brandgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.brandcard {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.75rem 1.35rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; border-top: 4px solid var(--accent);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.section--tint .brandcard { background: #fff; }
.brandcard:hover { box-shadow: var(--shadow); border-color: var(--line-2); border-top-color: var(--accent); }
.brandcard__mark { width: 38px; height: 38px; }
/* Reserve two lines so "Business Solutions" doesn't push its rule out of line with the other cards */
.brandcard__name { font-family: var(--font-display); font-size: .92rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); line-height: 1.3; }
.brandcard__name em { font-style: normal; display: block; color: var(--accent-text); min-height: 2.6em; }
.brandcard__rule { width: 34px; height: 3px; background: var(--accent); border-radius: 2px; margin: .15rem 0 .35rem; }
.brandcard__ico { color: var(--accent-text); }
.brandcard__ico .icon { width: 1.35rem; height: 1.35rem; }
.brandcard__text { font-size: .9rem; color: var(--ink-3); line-height: 1.55; }
.brandcard__traits { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .72rem; color: var(--ink-3); margin-top: .25rem; }
.brandcard__traits em { font-style: normal; }
.brandcard__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.25rem; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.brandcard__cta .icon { transition: transform .2s var(--ease); }
.brandcard:hover .brandcard__cta .icon { transform: translateX(3px); }

/* ----------------------------------------------------------------- cards */

.grid { display: grid; gap: 1.25rem; }
.grid--1 { grid-template-columns: minmax(0, 640px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; padding: 1.65rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card--link:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card.has-accent { border-top: 3px solid var(--accent); }
.card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); background: var(--bg-tint-2); color: var(--navy-600); margin-bottom: 1rem; }
.card.has-accent .card__icon { color: var(--accent-text); }
.card__eyebrow { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; }
.card__title { font-size: 1.12rem; margin-bottom: .5rem; }
.card__text { font-size: .93rem; color: var(--ink-3); line-height: 1.6; }
.card__list { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.card__list li { font-size: .75rem; padding: .25rem .55rem; border-radius: 100px; background: var(--bg-tint-2); color: var(--ink-2); }
.card__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.25rem; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.card.has-accent .card__cta { color: var(--accent-text); }
.card__cta .icon { transition: transform .2s var(--ease); }
.card--link:hover .card__cta .icon { transform: translateX(3px); }

/* ------------------------------------------------------------- list cards */

.listcard { padding: 1.65rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.listcard__title { font-size: 1.05rem; margin-bottom: .35rem; }
.listcard__intro { font-size: .88rem; color: var(--ink-3); margin-bottom: 1rem; line-height: 1.55; }
.ticks { display: grid; gap: .5rem; }
.ticks li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; line-height: 1.5; }
.ticks .icon { color: var(--gold-deep); margin-top: .35rem; }

/* ----------------------------------------------------------------- split */

.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split__aside { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid var(--line); }
.section--tint .split__aside { background: #fff; }
.split__aside-title { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 2px solid var(--gold); }

/* -------------------------------------------------------------- benefits */

.benefit { display: flex; gap: 1rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.benefit__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-tint-2); color: var(--navy-600); flex: none; }
.benefit h3 { font-size: 1rem; margin-bottom: .3rem; }
.benefit p { font-size: .9rem; color: var(--ink-3); line-height: 1.55; }

/* ----------------------------------------------------------------- chips */

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .55rem 1.05rem; border-radius: 100px; background: #fff; border: 1px solid var(--line-2); font-size: .9rem; color: var(--ink-2); font-family: var(--font-display); font-weight: 500; }

/* ----------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.step { padding-top: 1.5rem; border-top: 2px solid var(--line); }
.step__num { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--art-text); }
.step__title { font-size: 1.05rem; margin: .5rem 0; }
.step p { font-size: .92rem; color: var(--ink-3); line-height: 1.6; }

/* ----------------------------------------------------------------- stats */

.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { padding: 1.75rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.03); }
.stat dd { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin: 0 0 .35rem; letter-spacing: -.02em; }
.stat dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #8fabd0; }

/* ----------------------------------------------------------- testimonials */

.quotecard { position: relative; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); border-left: 4px solid var(--accent); }
.quotecard__ico { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--bg-tint-2); }
.quotecard__ico .icon { width: 2.4rem; height: 2.4rem; }
.quotecard__tag { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .85rem; }
.quotecard blockquote { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.quotecard figcaption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; }
.quotecard figcaption strong { font-family: var(--font-display); color: var(--navy); font-size: .95rem; }
.quotecard figcaption span { font-size: .85rem; color: var(--ink-3); }

/* ----------------------------------------------------------------- quote */

.section--quote { padding-block: clamp(3rem, 6vw, 5rem); background: var(--bg-tint); text-align: center; }
.bigquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--navy); letter-spacing: -.01em; }
.bigquote::before, .bigquote::after { content: '"'; color: var(--gold-deep); }
.bigquote__cite { margin-top: 1.25rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* --------------------------------------------------------------- ctaband */

/* solid fallback under the gradient */
.ctaband { background-color: var(--navy); background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #b9c8db; }
.ctaband__inner { display: flex; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); flex-wrap: wrap; }
.ctaband__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold); flex: none; }
.ctaband__copy { flex: 1; min-width: 280px; }
.ctaband .h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.ctaband .lead { color: #adbdd2; max-width: 56ch; font-size: 1rem; }
.ctaband .btnrow { margin-top: 0; }
.ctaband .btn--primary { background: #fff; color: var(--navy); }
.ctaband .btn--primary:hover { background: var(--gold); }
.ctaband .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ctaband .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* --------------------------------------------------------------- contact */

.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact form { margin-top: 2rem; display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--navy); }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { padding: .8rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; min-height: 46px; width: 100%; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(36,82,139,.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--catskill-print); }
.field__err { font-size: .82rem; color: var(--catskill-print); }
.form__status { font-size: .92rem; margin-top: .25rem; }
.form__status.is-ok { color: #1F6B45; font-weight: 600; }

.infocard { padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.infocard + .infocard { margin-top: 1.15rem; }
.infocard--tint { background: var(--bg-tint); }
.infocard h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.infolist { display: grid; gap: 1rem; }
.infolist li { display: flex; gap: .85rem; }
.infolist .icon { color: var(--navy-600); margin-top: .15rem; }
.infolist div { display: grid; gap: .1rem; font-size: .93rem; }
.infolist span:first-child { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.infolist a { color: var(--navy); text-decoration: none; font-weight: 600; }
.infolist a:hover { text-decoration: underline; }

.hours { display: grid; gap: .5rem; font-size: .92rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours span:first-child { color: var(--ink-2); font-weight: 600; }
.hours span:last-child { color: var(--ink-3); }

.dirlist { display: grid; gap: .35rem; }
.dirlist a { display: flex; gap: .7rem; align-items: center; padding: .6rem; border-radius: var(--radius); text-decoration: none; transition: background-color .18s var(--ease); }
.dirlist a:hover { background: #fff; }
.dirlist .icon { color: var(--accent); }
.dirlist li[style*="C8A96A"] .icon { color: var(--gold-deep); }
.dirlist span { display: grid; }
.dirlist strong { font-family: var(--font-display); font-size: .88rem; color: var(--navy); font-weight: 600; }
.dirlist em { font-style: normal; font-size: .8rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--navy); color: #8fa3bd; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .92rem; }
.footer__lead { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.footer__blurb { margin: 1.5rem 0 1rem; line-height: 1.65; max-width: 42ch; }
.footer__motto { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--gold); margin-bottom: 1.5rem; }
.footer__contact { display: grid; gap: .75rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { color: var(--gold); margin-top: .2rem; }
.footer__contact a { color: #cbd6e4; text-decoration: none; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }

.footer__cols { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1.5rem; }
.footer__title { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__cols ul { display: grid; gap: .5rem; }
.footer__cols a { text-decoration: none; font-size: .86rem; transition: color .18s var(--ease); }
.footer__cols a:hover { color: #fff; }

.footer__bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .83rem; }
.footer__legal a { color: #cbd6e4; text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1180px) {
  .primary { display: none; }
  .iconbtn--menu { display: grid; }
  .logo__tag { display: none; }
  .brandbar__label { display: none; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer__lead { grid-template-columns: 1fr; }
  .brandgrid { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
}

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .capstrip__inner { grid-template-columns: repeat(2, 1fr); }
  .capstrip__item:nth-child(3) { border-left: 0; }
  .capstrip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; }
  .brandgrid { grid-template-columns: repeat(2, 1fr); }
  .topbar__list li:nth-child(n+2) { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .shell { padding-inline: 1.25rem; }
  .grid--1, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .capstrip__inner { grid-template-columns: 1fr; }
  .capstrip__item { border-left: 0; border-top: 1px solid var(--line); }
  .capstrip__item:first-child { border-top: 0; }
  .statgrid { grid-template-columns: 1fr; }
  .brandgrid { grid-template-columns: 1fr; }
  .site-header__inner { min-height: 70px; gap: .75rem; }
  .site-header__actions .btn { display: none; }
  .topbar__list { display: none; }
  .topbar__inner { justify-content: center; }
  .brandbar { overflow-x: auto; }
  .brandbar ul { justify-content: flex-start; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
  .ctaband__ico { display: none; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__bar { flex-direction: column; }
  .hero__title--page { max-width: none; }
  /* 44px touch targets on tel:/mailto: links */
  .footer__contact a, .footer__cols a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .topbar, .brandbar, .site-footer, .ctaband, .drawer, .searchbox { display: none; }
  .hero { background: none; color: #000; }
  .hero__title { color: #000; }
}
