/* ==========================================================================
   RAM Remodel — design system
   Direction: "heritage builder". Slate + bronze + warm paper, old-style serif
   display. Deliberately counter-positioned against the Austin roofing norm of
   navy/red + Montserrat + stock-photo hero.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  --ink:          #0f2340;   /* logo navy */
  --ink-2:        #1c3358;
  --ink-3:        #4e5d78;
  --ink-4:        #7f8ba3;
  --line:         #dfd6c5;
  --line-strong:  #c9bda6;
  --paper:        #f4efe6;   /* logo cream */
  --paper-2:      #ebe4d7;
  --white:        #ffffff;

  --slate:        #0f2340;   /* dark surfaces are navy now */
  --slate-2:      #16305a;
  --slate-3:      #23407a;

  --bronze:       #b08a45;   /* logo gold — variable names kept, values are gold */
  --bronze-deep:  #8a6a30;
  --bronze-soft:  #e6d7b3;
  --bronze-wash:  #f5eedd;

  --ok:           #2f6f4f;
  --warn:         #9a6714;
  --danger:       #a53b2a;

  /* Display face: Big Shoulders — condensed industrial signage lettering, cut
     for Chicago's rail yards. Heavy, upright, no flourish: a contractor's
     voice, not a magazine's. Fallbacks are the most condensed system faces. */
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue Condensed', Impact, sans-serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --t-hero:  clamp(2.9rem, 1.6rem + 6.4vw, 6.6rem);
  --t-h1:    clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem);
  --t-h2:    clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --t-h3:    clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  --t-lead:  clamp(1.075rem, 1rem + 0.4vw, 1.3rem);
  --t-body:  1.0625rem;
  --t-sm:    0.9375rem;
  --t-xs:    0.8125rem;

  --gutter:  clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --section: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --wrap:    1200px;
  --wrap-narrow: 760px;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 16px;

  --shadow-1: 0 1px 2px rgba(20,24,28,.06), 0 2px 8px rgba(20,24,28,.05);
  --shadow-2: 0 2px 4px rgba(20,24,28,.06), 0 12px 32px -8px rgba(20,24,28,.14);
  --shadow-3: 0 4px 8px rgba(20,24,28,.07), 0 24px 56px -12px rgba(20,24,28,.2);

  --ease: cubic-bezier(.2,.7,.3,1);
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* --- 3. Typography ------------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  /* Condensed and heavy: tight leading, a hair of positive tracking so the
     verticals don't fuse, and uppercase where it is a title, not a sentence. */
  line-height: 0.96;
  letter-spacing: 0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); font-weight: 900; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.1; letter-spacing: 0.015em; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--bronze); flex: none; }

.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.small { font-size: var(--t-sm); }

/* --- 4. Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.section-head { max-width: 62ch; }
.section-head > * + * { margin-top: .9rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --- 5. Buttons --------------------------------------------------------- */
.btn {
  --btn-bg: var(--bronze); --btn-fg: var(--white); --btn-bd: var(--bronze);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r);
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { --btn-bg: var(--bronze-deep); --btn-bd: var(--bronze-deep); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-1); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--onDark  { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn--onDark:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.8); --btn-fg: var(--white); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--bronze); outline-offset: 2px; border-radius: var(--r-sm);
}
.skip-link {
  position: absolute; left: 50%; translate: -50% -120%; top: .5rem; z-index: 200;
  background: var(--ink); color: var(--white); padding: .7rem 1.2rem;
  border-radius: var(--r); text-decoration: none; font-size: var(--t-sm); font-weight: 600;
  transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

/* --- 6. Header ---------------------------------------------------------- */
.topbar {
  background: var(--slate); color: rgba(255,255,255,.82);
  font-size: var(--t-xs); letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar__list { display: flex; gap: 1.4rem; align-items: center; list-style: none; padding: 0; flex-wrap: wrap; }
.topbar__badge { display: inline-flex; align-items: center; gap: .4rem; color: var(--bronze-soft); font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,243,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.header[data-stuck='true'] { border-bottom-color: var(--line); box-shadow: 0 1px 16px rgba(20,24,28,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark--img { width: 46px; height: 46px; object-fit: contain; }
.footer__brand .brand__mark--img { filter: drop-shadow(0 0 0 transparent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-weight: 900; font-size: 1.45rem; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.brand__sub { font-size: .625rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  position: relative; text-decoration: none; font-size: var(--t-sm); font-weight: 500;
  color: var(--ink-2); padding: .55rem .52rem; border-radius: var(--r-sm); white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current='page'] { color: var(--ink); font-weight: 650; }
.nav > .btn { display: none; }   /* drawer-only CTA; revealed at <=940px */
.nav a[aria-current='page']::after {
  content: ''; position: absolute; left: .52rem; right: .52rem; bottom: .25rem;
  height: 2px; background: var(--bronze); border-radius: 2px;
}
.header__cta { display: flex; align-items: center; gap: .5rem; flex: none; }

.navToggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer;
}
.navToggle__bar { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .15s var(--ease); }
.navToggle__bar::before, .navToggle__bar::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.navToggle__bar::before { top: -6px; } .navToggle__bar::after { top: 6px; }
.navToggle[aria-expanded='true'] .navToggle__bar { background: transparent; }
.navToggle[aria-expanded='true'] .navToggle__bar::before { top: 0; transform: rotate(45deg); }
.navToggle[aria-expanded='true'] .navToggle__bar::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1330px) { .header__cta .btn--ghost { display: none; } }
@media (max-width: 760px)  { .header__cta .btn { display: none; } .topbar__hideSm { display: none; } }

@media (max-width: 940px) {
  .navToggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem; box-shadow: var(--shadow-3);
    max-height: calc(100dvh - 76px); overflow-y: auto;
    clip-path: inset(0 0 100% 0); transition: clip-path .3s var(--ease);
  }
  .nav[data-open='true'] { clip-path: inset(0 0 0 0); }
  .nav a { padding: .95rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
.nav a[aria-current='page']::after { left: .25rem; right: auto; width: 22px; bottom: .55rem; }
  .nav > .btn { display: inline-flex; margin-top: 1rem; }
}

/* --- 7. Hero ------------------------------------------------------------ */
.hero { position: relative; background: var(--slate); color: rgba(255,255,255,.85); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .ph {
  height: 100%; aspect-ratio: auto; border-radius: 0; border-width: 0;
  align-content: start; justify-items: end; padding: 1.25rem; text-align: right;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(29,36,43,.55) 0%, rgba(29,36,43,.78) 55%, rgba(29,36,43,.95) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(176,103,58,.22) 0%, transparent 60%);
}
.hero__inner { padding-block: clamp(4.5rem, 3rem + 8vw, 9rem); position: relative; }
.hero__grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: end; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.25fr .85fr; } }
.hero h1 { font-size: var(--t-hero); color: var(--white); letter-spacing: 0.01em; line-height: 0.92; }
.hero .eyebrow { color: var(--bronze-soft); }
.hero .eyebrow::before { background: var(--bronze-soft); }
.hero__lead { font-size: var(--t-lead); color: rgba(255,255,255,.78); max-width: 54ch; }
.hero__cta { margin-top: 2.25rem; }
.hero .btn--ghost { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.hero .btn--ghost:hover { --btn-bg: var(--paper-2); --btn-bd: var(--paper-2); }

.heroStats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); overflow: hidden; }
.heroStat { background: rgba(29,36,43,.55); padding: 1.35rem 1.25rem; }
.heroStat__n { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: 0.01em; }
.heroStat__l { font-size: var(--t-xs); color: rgba(255,255,255,.6); margin-top: .45rem; letter-spacing: .04em; }

/* --- 8. Trust strip ----------------------------------------------------- */
.trustbar { background: var(--white); border-block: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, .5rem + 2.5vw, 3rem); justify-content: space-between; padding-block: 1.5rem; }
.trustItem { display: flex; align-items: center; gap: .7rem; font-size: var(--t-sm); font-weight: 550; color: var(--ink-2); }
.trustItem svg { color: var(--bronze); flex: none; }

/* --- 9. Cards ----------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card--link { text-decoration: none; display: block; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  background: var(--bronze-wash); color: var(--bronze-deep);
  border-radius: var(--r); margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: .6rem; }
.card__list { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: .65rem; }
.card__list li { position: relative; padding-left: 1.4rem; font-size: var(--t-sm); color: var(--ink-3); }
.card__list li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--bronze-soft); border: 1.5px solid var(--bronze);
}
.card__more { margin-top: 1.5rem; font-size: var(--t-sm); font-weight: 650; color: var(--bronze-deep); display: inline-flex; align-items: center; gap: .4rem; }
.card--link:hover .card__more svg { transform: translateX(3px); }
.card__more svg { transition: transform .2s var(--ease); }

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; background: var(--white); padding: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--bronze);
  display: block; margin-bottom: .9rem; letter-spacing: -.02em;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: var(--t-sm); color: var(--ink-3); }

/* --- 10. Feature / split sections --------------------------------------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.checklist { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--t-sm); }
.checklist svg { flex: none; color: var(--ok); margin-top: .18em; }

/* --- 11. Dark band ------------------------------------------------------ */
.band { background: var(--slate); color: rgba(255,255,255,.78); }
.band h2, .band h3 { color: var(--white); }
.band .eyebrow { color: var(--bronze-soft); }
.band .eyebrow::before { background: var(--bronze-soft); }
.band .lead { color: rgba(255,255,255,.72); }
.band--bronze { background: var(--bronze-deep); }
.band--bronze .eyebrow, .band--bronze .eyebrow::before { color: rgba(255,255,255,.85); background-color: rgba(255,255,255,.85); }
.band--bronze .eyebrow { background: none; }

.portalMock {
  background: var(--slate-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow-3);
}
.portalMock__bar { display: flex; align-items: center; gap: .4rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1.25rem; }
.portalMock__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.portalMock__url { margin-left: .6rem; font-size: var(--t-xs); color: rgba(255,255,255,.45); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.portalRow { display: flex; align-items: center; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.portalRow:last-child { border-bottom: 0; }
.portalRow__tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; }
.portalRow--done .portalRow__tick { background: rgba(47,111,79,.25); color: #7fd0a4; }
.portalRow--now  .portalRow__tick { background: rgba(176,103,58,.3); color: var(--bronze-soft); box-shadow: 0 0 0 4px rgba(176,103,58,.12); }
.portalRow--todo .portalRow__tick { background: rgba(255,255,255,.08); color: rgba(255,255,255,.3); }
.portalRow__label { font-size: var(--t-sm); color: rgba(255,255,255,.85); }
.portalRow--todo .portalRow__label { color: rgba(255,255,255,.4); }
.portalRow__meta { margin-left: auto; font-size: var(--t-xs); color: rgba(255,255,255,.4); }

/* --- 12. FAQ ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 13px; height: 13px; margin-top: .4em;
  border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: 1.5rem; max-width: 68ch; color: var(--ink-3); font-size: var(--t-sm); }

/* --- 13. Forms ---------------------------------------------------------- */
.formCard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-2); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--bronze); }
.field .hint { font-size: var(--t-xs); color: var(--ink-4); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: var(--r);
  font-size: var(--t-body); transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bronze); background: var(--white); box-shadow: 0 0 0 3px rgba(176,103,58,.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.field[data-invalid='true'] input, .field[data-invalid='true'] select, .field[data-invalid='true'] textarea { border-color: var(--danger); }
.field__err { font-size: var(--t-xs); color: var(--danger); font-weight: 600; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block; padding: .55rem .9rem; font-size: var(--t-sm); font-weight: 550;
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  transition: all .16s var(--ease);
}
.chip:hover span { border-color: var(--ink-4); }
.chip input:checked + span { background: var(--bronze); border-color: var(--bronze); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--bronze); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formNote { font-size: var(--t-xs); color: var(--ink-4); margin-top: 1rem; line-height: 1.55; }
.formAlert { padding: 1rem 1.15rem; border-radius: var(--r); font-size: var(--t-sm); margin-bottom: 1.25rem; }
.formAlert--ok  { background: #eaf5ef; border: 1px solid #bfe0cd; color: #1e5238; }
.formAlert--err { background: #fbecea; border: 1px solid #f0c8c2; color: #8c2e20; }

/* --- 14. Placeholder slots (pre-launch assets) -------------------------- */
/* Deliberately obvious. These must all be gone before the site goes live.  */
.ph {
  display: grid; place-items: center; text-align: center; gap: .4rem;
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 12px, #ece5da 12px 24px);
  border: 2px dashed var(--line-strong); border-radius: var(--r-lg);
  color: var(--ink-4); padding: 2rem 1.5rem; min-height: 200px;
}
.ph__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ph__hint { font-size: var(--t-xs); max-width: 34ch; line-height: 1.5; }
.ph--photo { aspect-ratio: 4 / 3; min-height: 0; }
.aboutPhoto { margin: 0; }
.aboutPhoto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.aboutPhoto figcaption { margin-top: .55rem; font-size: var(--t-sm); color: var(--ink-3); }
.ph--wide  { aspect-ratio: 16 / 9; min-height: 0; }
.band .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, rgba(255,255,255,.07) 12px 24px); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.5); }
.band .ph__label { color: rgba(255,255,255,.7); }

/* --- 15. Areas ---------------------------------------------------------- */
.areaGrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.areaCard { background: var(--white); padding: 1.5rem; text-decoration: none; transition: background .18s var(--ease); }
.areaCard:hover { background: var(--bronze-wash); }
.areaCard__name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.areaCard__note { font-size: var(--t-xs); color: var(--ink-3); margin-top: .35rem; }

/* --- 16. CTA ------------------------------------------------------------ */
.cta { background: var(--slate); color: rgba(255,255,255,.8); position: relative; overflow: hidden; isolation: isolate; }
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 80% 0%, rgba(176,103,58,.28) 0%, transparent 62%);
}
.cta h2 { color: var(--white); }
.cta__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.4fr auto; } }

/* --- 17. Footer --------------------------------------------------------- */
.footer { background: #0a1a30; color: rgba(255,255,255,.62); font-size: var(--t-sm); }
.footer a { text-decoration: none; color: rgba(255,255,255,.62); transition: color .16s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__top { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__brand { max-width: 32ch; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__sub { color: rgba(255,255,255,.4); }
.footer h4 { font-family: var(--sans); font-size: var(--t-xs); letter-spacing: .13em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-weight: 700; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: var(--t-xs); color: rgba(255,255,255,.42); }
.footer__social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); transition: all .18s var(--ease); }
.footer__social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

/* --- 18. Sticky mobile call bar ----------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: rgba(29,36,43,.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.callbar .btn { flex: 1; padding: .85rem .5rem; }
.callbar .btn--onDark { --btn-bd: rgba(255,255,255,.3); }
@media (max-width: 760px) { .callbar { display: flex; } body { padding-bottom: 76px; } }

/* --- 19. Page header (interior pages) ----------------------------------- */
.pagehead { background: var(--slate); color: rgba(255,255,255,.78); position: relative; isolation: isolate; overflow: hidden; }
.pagehead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 130% at 12% 0%, rgba(176,103,58,.24) 0%, transparent 58%); }
.pagehead__inner { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); max-width: 68ch; }
.pagehead h1 { color: var(--white); margin-top: .9rem; }
.pagehead .lead { color: rgba(255,255,255,.72); margin-top: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: var(--t-xs); color: rgba(255,255,255,.5); list-style: none; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: .45rem; color: rgba(255,255,255,.3); }

/* --- 20. Prose ---------------------------------------------------------- */
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .55rem; }
.prose a { color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 3px; }

/* --- 21. Reveal on scroll ----------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* --- 22. Print ---------------------------------------------------------- */
@media print {
  .header, .topbar, .callbar, .cta, .footer__social, .navToggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .band, .pagehead, .footer { background: #fff !important; color: #000 !important; }
  .hero h1, .band h2, .pagehead h1 { color: #000 !important; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}

/* --- 24. AI stand-in imagery ------------------------------------------- */
/* Renders as a real photograph for design review. Still flagged by
   `npm run audit` via data-placeholder="ai" — see docs/ASSET-CHECKLIST.md. */
.aiph { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- 25. Portfolio: before / after -------------------------------------- */
.projGrid {
  margin-top: 3rem;
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.proj {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.proj:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); }

.proj__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  touch-action: pan-y;          /* let the page scroll; we only take horizontal */
  user-select: none;
}
.proj__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* The "after" is clipped from the right as the handle moves left. */
.proj__after {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 0);
  will-change: clip-path;
}

.proj__tag {
  position: absolute; top: .75rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(20,24,28,.72); color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.proj__tag--before { left: .75rem; opacity: 0; }
.proj__tag--after  { right: .75rem; opacity: 1; }
.proj[data-revealed='true'] .proj__tag--before { opacity: 1; }

.proj__handle {
  position: absolute; top: 0; bottom: 0; left: 100%;
  width: 44px; margin-left: -22px;
  display: grid; place-items: center;
  background: transparent; border: 0; padding: 0;
  cursor: ew-resize;
  touch-action: none;
}
.proj__handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px; background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(20,24,28,.15);
}
.proj__grip {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-2);
  display: grid; place-items: center;
}
.proj__grip::before, .proj__grip::after {
  content: ''; position: absolute; width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.proj__grip::before { border-right: 6px solid var(--ink-2); left: 8px; }
.proj__grip::after  { border-left: 6px solid var(--ink-2); right: 8px; }
.proj__handle:focus-visible .proj__grip { outline: 3px solid var(--bronze); outline-offset: 3px; }

.proj__body { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.proj__title { font-size: 1.15rem; }
.proj__area { font-size: var(--t-xs); color: var(--bronze); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: .3rem; }
.proj__blurb { font-size: var(--t-sm); color: var(--ink-3); margin-top: .75rem; }
.proj__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; list-style: none; padding: 0; }
.proj__tags li {
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-3);
  background: var(--paper-2); border-radius: 999px; padding: .25rem .65rem;
}

.projNote {
  margin-top: 2rem; text-align: center;
  font-size: var(--t-xs); color: var(--ink-4);
}
.projNote strong { color: var(--ink-3); }

/* No JS: show both images stacked rather than an empty frame. */
.no-js .proj__handle { display: none; }
.no-js .proj__after { position: relative; clip-path: none; }
.no-js .proj__frame { aspect-ratio: auto; display: grid; }
.no-js .proj__img { position: relative; }

/* --- AI-image disclosure ------------------------------------------------ */
.aiNote { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1.25rem; padding: .8rem 1rem; border: 1px solid var(--bronze-soft); border-left: 4px solid var(--bronze); border-radius: 10px; background: var(--bronze-wash); color: var(--ink-2); font-size: var(--t-sm); line-height: 1.45; }
.aiNote strong { color: var(--ink); }
.aiNote[hidden] { display: none; }
.footer__note { display: block; margin-top: .4rem; color: rgba(255,255,255,.45); font-size: var(--t-xs); }


/* --- 23. Extracted utilities (generated by build.mjs — do not edit) --- */
.u66e6b65.u66e6b65.u66e6b65{margin-top:1rem}
.u80dfcf9.u80dfcf9.u80dfcf9{margin-top:1.5rem}
.ubdfe08e.ubdfe08e.ubdfe08e{font-size:1.1rem}
.u5012029.u5012029.u5012029{margin-top:1.25rem}
.ud63756b.ud63756b.ud63756b{margin-top:2.5rem}
.ua7ccf34.ua7ccf34.ua7ccf34{font-size:1.05rem}
.u4cb9fdd.u4cb9fdd.u4cb9fdd{margin-top:.4rem}
.u1b3e17c.u1b3e17c.u1b3e17c{margin-top:2rem;text-align:center;color:rgba(255,255,255,.5)}
.u5c2e561.u5c2e561.u5c2e561{margin-top:.8rem}
.u18f00f0.u18f00f0.u18f00f0{margin-top:.9rem;max-width:52ch}
.ued05013.ued05013.ued05013{margin-top:1.1rem}
.ucc6c107.ucc6c107.ucc6c107{margin-top:2rem}
.ueedb261.ueedb261.ueedb261{color:#fff}
.u41149aa.u41149aa.u41149aa{align-items:start}
.u20ce54f.u20ce54f.u20ce54f{margin-bottom:1.25rem}
.u10fe7c5.u10fe7c5.u10fe7c5{margin:2rem 0 1rem}
.ue2f84b1.ue2f84b1.ue2f84b1{margin-top:.5rem}
.ubf26828.ubf26828.ubf26828{margin-top:.6rem}
.u6e0320f.u6e0320f.u6e0320f{background:var(--paper-2);padding-block:calc(var(--section)*.7)}
.u3d474fe.u3d474fe.u3d474fe{aspect-ratio:4 / 3}
.ua0925a2.ua0925a2.ua0925a2{margin-top:0}
.u95fecf2.u95fecf2.u95fecf2{margin-top:2rem;text-align:center}
.ub1e3cc8.ub1e3cc8.ub1e3cc8{aspect-ratio:16 / 9}
.u76e07cd.u76e07cd.u76e07cd{margin-top:1.2rem}
.uaf2b15d.uaf2b15d.uaf2b15d{margin-top:3rem}
.u2af7917.u2af7917.u2af7917{margin-bottom:.6rem}
.ua5c5edb.ua5c5edb.ua5c5edb{margin-bottom:.5rem}
.ua217d01.ua217d01.ua217d01{color:#fff;font-size:1.35rem;margin-bottom:1.25rem}
.uc2605d1.uc2605d1.uc2605d1{margin-top:1rem;color:rgba(255,255,255,.45)}
.u8f789c0.u8f789c0.u8f789c0{background:var(--paper-2)}
.uaa80d79.uaa80d79.uaa80d79{min-height:56vh;display:grid;place-items:center}
.u9050085.u9050085.u9050085{text-align:center}
.u99b9ba5.u99b9ba5.u99b9ba5{justify-content:center}
.u95cee35.u95cee35.u95cee35{margin-top:2rem;justify-content:center}
.ue682c23.ue682c23.ue682c23{margin-top:2.5rem;max-width:58ch;margin-inline:auto}
.u1e0ef54.u1e0ef54.u1e0ef54{margin-inline:auto;width:64px;height:64px}
.u7e19e6d.u7e19e6d.u7e19e6d{font-weight:650}
.uf964ea7.uf964ea7.uf964ea7{margin-top:2.5rem;justify-content:center}
.uea4587e.uea4587e.uea4587e{margin-top:1.5rem;text-align:center}
.u1e67395.u1e67395.u1e67395{margin-top:2rem;text-align:center;color:rgba(255,255,255,.55)}
.u25de55c.u25de55c.u25de55c{color:rgba(255,255,255,.8)}
