/* ==========================================================================
   Tim The Rock Man — timtherockman.com
   Warm / local art direction: quarried stone, Carolina clay, brass accent.
   ========================================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 3px;
  --radius-lg: 6px;
  --maxw: 1240px;
  --maxw-text: 68ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root, [data-theme='light'] {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-2: #f2ebe0;
  --surface-3: #e8dfd1;
  --border: #ddd2c0;
  --divider: #e8e0d3;

  --text: #26201a;
  --text-muted: #6c6157;
  --text-faint: #9a8f83;
  --text-inverse: #faf6f0;

  --accent: #8a6516;          /* brass, AA on light */
  --accent-hover: #6d4f10;
  --accent-soft: #f0e4c9;
  --accent-bright: #c9a24a;   /* logo gold — decorative only */

  --moss: #435040;
  --ink: #1c1815;

  --shadow-sm: 0 1px 2px rgba(38, 32, 26, .06), 0 2px 8px rgba(38, 32, 26, .05);
  --shadow-md: 0 4px 12px rgba(38, 32, 26, .08), 0 12px 32px rgba(38, 32, 26, .08);
  --shadow-lg: 0 12px 28px rgba(38, 32, 26, .12), 0 32px 64px rgba(38, 32, 26, .12);
}

[data-theme='dark'] {
  --bg: #17130f;
  --surface: #1f1a15;
  --surface-2: #272119;
  --surface-3: #322a21;
  --border: #3c332a;
  --divider: #2d261f;

  --text: #f2ece2;
  --text-muted: #a99e90;
  --text-faint: #7d7266;
  --text-inverse: #17130f;

  --accent: #d9b463;
  --accent-hover: #e8c87f;
  --accent-soft: #3a2f1a;
  --accent-bright: #d9b463;

  --moss: #8ba07f;
  --ink: #0f0c0a;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 28px rgba(0,0,0,.5), 0 32px 64px rgba(0,0,0,.45);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--accent); color: #fff; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius); font-size: var(--text-sm); font-weight: 600;
}
.skip-link:focus { top: var(--space-4); }

/* -------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-6); }
@media (max-width: 640px) { .wrap { padding-inline: var(--space-5); } }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #efe7da; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--accent-bright); }
.section--ink p { color: #cabfb0; }

.eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.section-head { max-width: 62ch; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.section-head p { color: var(--text-muted); margin-top: var(--space-5); font-size: var(--text-lg); line-height: 1.5; }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--text-muted); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: .01em;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: #fff; }
[data-theme='dark'] .btn--primary { color: #17130f; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--onDark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(8px); }
.btn--onDark:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn--lg { padding: var(--space-5) var(--space-10); font-size: var(--text-base); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.textlink {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: var(--text-sm); color: var(--accent);
  border-bottom: 1px solid transparent; transition: border-color .2s, gap .2s;
}
.textlink:hover { border-color: currentColor; gap: var(--space-3); }
.textlink::after { content: '→'; }

/* -------------------------------------------------------------- header -- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.hdr.is-stuck { border-bottom-color: var(--divider); }
.hdr__bar { display: flex; align-items: center; gap: var(--space-4); min-height: 76px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: var(--space-3); flex: none; margin-right: auto; }
.brand img { height: 42px; width: auto; }

.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; letter-spacing: .005em; }
.brand__sub { font-size: 0.66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; }

.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--text-muted);
  padding: var(--space-2) var(--space-2); border-radius: var(--radius);
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current='page'] { color: var(--accent); font-weight: 600; }

.hdr__cta { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.tel {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: var(--text-sm); white-space: nowrap;
}
.tel:hover { color: var(--accent); }
.tel svg { width: 15px; height: 15px; opacity: .65; }

.iconbtn {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; color: var(--text-muted); transition: all .18s;
}
.iconbtn:hover { color: var(--text); border-color: var(--accent); }
.iconbtn svg { width: 17px; height: 17px; }
.iconbtn .moon { display: none; }
[data-theme='dark'] .iconbtn .sun { display: none; }
[data-theme='dark'] .iconbtn .moon { display: block; }

.burger { display: none; }
@media (max-width: 1560px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr__cta .btn { display: none; }
}
@media (max-width: 560px) { .tel span { display: none; } .brand__sub { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: var(--bg);
  display: flex; flex-direction: column; padding: var(--space-6);
  transform: translateY(-100%); transition: transform .4s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; margin-bottom: var(--space-8); }
.drawer nav { display: flex; flex-direction: column; gap: var(--space-1); }
.drawer nav a {
  font-family: var(--font-display); font-size: var(--text-lg); padding: var(--space-3) 0;
  border-bottom: 1px solid var(--divider);
}
.drawer nav a:hover { color: var(--accent); }
.drawer__foot { margin-top: var(--space-10); display: grid; gap: var(--space-3); }

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,12,10,.72) 0%, rgba(15,12,10,.34) 34%, rgba(15,12,10,.62) 72%, rgba(15,12,10,.94) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: var(--space-6);
}
.hero__eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.hero h1 {
  font-size: var(--text-3xl); color: #fff; max-width: 17ch; letter-spacing: -0.025em; line-height: 1.02;
}
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero__sub { color: #d8cfc3; font-size: var(--text-lg); max-width: 52ch; margin-top: var(--space-6); line-height: 1.5; }
.hero__actions { margin-top: var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__caption {
  position: absolute; right: var(--space-6); top: calc(76px + var(--space-6)); z-index: 2;
  font-size: var(--text-xs); color: rgba(255,255,255,.55); letter-spacing: .04em;
  text-align: right; max-width: 28ch; line-height: 1.6;
}
@media (max-width: 1040px) { .hero__caption { display: none; } }

/* trust strip */
.trust { border-top: 1px solid rgba(255,255,255,.14); margin-top: clamp(var(--space-10), 5vw, var(--space-16)); padding-top: var(--space-8);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.trust div { color: #fff; }
.trust b { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.01em; }
.trust span { font-size: var(--text-xs); color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-4); } }

/* ------------------------------------------------------------ services -- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--space-6); }
.svc {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.svc__img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-3); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; gap: var(--space-3); }
.svc__body h3 { font-size: var(--text-lg); font-family: var(--font-display); font-weight: 500; }
.svc__body p { color: var(--text-muted); font-size: var(--text-sm); flex: 1; }
.svc__body .textlink { margin-top: var(--space-2); }
.svc a.stretch::after { content: ''; position: absolute; inset: 0; }

/* --------------------------------------------------------------- split -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-24)); align-items: center; }
.split--wide { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split-copy p + p { margin-top: var(--space-5); }
.split-copy p { color: var(--text-muted); }

.figstack { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.figstack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); aspect-ratio: 3/4; object-fit: cover; }
.figstack img:first-child { margin-top: var(--space-12); }

/* --------------------------------------------------------------- gallery */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-10); }
.filters button {
  padding: var(--space-2) var(--space-5); font-size: var(--text-sm); font-weight: 500;
  background: transparent; border: 1px solid var(--border); border-radius: 100px;
  cursor: pointer; color: var(--text-muted); transition: all .2s;
}
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
[data-theme='dark'] .filters button[aria-pressed='true'] { color: #17130f; }

.masonry { columns: 3; column-gap: var(--space-4); }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 600px) { .masonry { columns: 1; } }
.tile {
  break-inside: avoid; margin-bottom: var(--space-4); position: relative;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-3);
  cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; text-align: left;
}
.tile img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.035); }
.tile__meta {
  position: absolute; inset: auto 0 0 0; padding: var(--space-10) var(--space-5) var(--space-5);
  background: linear-gradient(180deg, transparent, rgba(15,12,10,.86));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { opacity: 1; transform: translateY(0); }
.tile__meta b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; }
.tile__meta span { font-size: var(--text-xs); color: var(--accent-bright); letter-spacing: .1em; text-transform: uppercase; }
.tile.is-hidden { display: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12,10,8,.95); display: none;
      align-items: center; justify-content: center; padding: var(--space-6); }
.lb.is-open { display: flex; }
.lb__fig { max-width: 1100px; width: 100%; text-align: center; }
.lb__fig img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lb__cap { margin-top: var(--space-5); color: #d8cfc3; font-size: var(--text-sm); max-width: 62ch; margin-inline: auto; }
.lb__cap b { display: block; color: #fff; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-2); }
.lb button {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.lb button:hover { background: rgba(255,255,255,.24); }
.lb__close { top: var(--space-6); right: var(--space-6); }
.lb__prev { left: var(--space-6); top: 50%; transform: translateY(-50%); }
.lb__next { right: var(--space-6); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb__prev { left: var(--space-3); } .lb__next { right: var(--space-3); } }

/* -------------------------------------------------------------- process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-8); counter-reset: s; }
.step { counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-size: var(--text-xl); color: var(--accent);
  display: block; margin-bottom: var(--space-4); line-height: 1;
}
.step h3 { margin-bottom: var(--space-3); }
.step p { color: var(--text-muted); font-size: var(--text-sm); }
.section--ink .step p { color: #b3a898; }

/* ------------------------------------------------------------- reviews -- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); }
.section--ink .review { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); }
.stars { color: var(--accent-bright); letter-spacing: .18em; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.review blockquote { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.5; margin-bottom: var(--space-5); }
.review cite { font-style: normal; font-size: var(--text-xs); color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; }
.section--ink .review cite { color: #9d9284; }

/* --------------------------------------------------------------- areas -- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-3); }
.area {
  padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font-size: var(--text-sm); transition: all .2s;
}
.area b { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.area span { color: var(--text-faint); font-size: var(--text-xs); }
.area--primary { border-color: var(--accent); background: var(--accent-soft); }
.area--primary b { color: var(--accent); }
[data-theme='dark'] .area--primary b { color: var(--accent-hover); }

/* ----------------------------------------------------------------- faq -- */
.faq { max-width: var(--maxw-text); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
  padding: var(--space-6) var(--space-10) var(--space-6) 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--text-base); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--accent); font-weight: 300; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding-bottom: var(--space-6); color: var(--text-muted); max-width: 64ch; }

/* ---------------------------------------------------------------- form -- */
.form-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: var(--space-4); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
  font-size: var(--text-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--text-xs); color: var(--text-faint); margin-top: var(--space-4); }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: var(--space-5); border-radius: var(--radius); font-size: var(--text-sm); margin-top: var(--space-5); display: none; }
.form-msg.ok { display: block; background: var(--accent-soft); color: var(--accent-hover); border: 1px solid var(--accent); }
.form-msg.err { display: block; background: #fbe9e7; color: #8f2c1b; border: 1px solid #e0a99f; }
[data-theme='dark'] .form-msg.err { background: #3a1f1a; color: #f0b5a8; border-color: #6b3428; }

/* ------------------------------------------------------------- content -- */
.prose { max-width: var(--maxw-text); }
.prose p { color: var(--text-muted); }
.prose p + p, .prose ul + p, .prose p + ul, .prose h2 + p, .prose h3 + p { margin-top: var(--space-5); }
.prose h2 { margin-top: var(--space-16); }
.prose h3 { margin-top: var(--space-10); }
.prose ul { padding-left: var(--space-6); color: var(--text-muted); display: grid; gap: var(--space-3); }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }

.pagehead { padding-block: clamp(var(--space-16), 7vw, var(--space-24)) clamp(var(--space-10), 5vw, var(--space-16)); border-bottom: 1px solid var(--divider); }
.pagehead h1 { max-width: 22ch; }
.pagehead .lede { margin-top: var(--space-6); max-width: 60ch; }
.crumbs { font-size: var(--text-xs); color: var(--text-faint); margin-bottom: var(--space-5); letter-spacing: .04em; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin-inline: var(--space-2); opacity: .5; }

/* ------------------------------------------------------------- cta band */
.band { background: var(--ink); color: #fff; }
.band .wrap { padding-block: clamp(var(--space-16), 7vw, var(--space-24)); }
.band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-10); align-items: center; }
@media (max-width: 860px) { .band__inner { grid-template-columns: 1fr; } }
.band h2 { color: #fff; max-width: 20ch; }
.band p { color: #b3a898; margin-top: var(--space-5); max-width: 46ch; }
.band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .band .btn-row { justify-content: flex-start; } }

/* -------------------------------------------------------------- footer -- */
.ftr { background: var(--surface-2); border-top: 1px solid var(--border); padding-block: var(--space-16) var(--space-8); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-10); margin-bottom: var(--space-12); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-5); }
.ftr ul { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.ftr a { font-size: var(--text-sm); color: var(--text-muted); }
.ftr a:hover { color: var(--accent); }
.ftr__about p { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-5); max-width: 40ch; }
.ftr__brand img { height: 46px; width: auto; }

.ftr__bot { border-top: 1px solid var(--border); padding-top: var(--space-6);
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  font-size: var(--text-xs); color: var(--text-faint); }

/* ------------------------------------------------------------ mobile cta */
.mcta { display: none; }
@media (max-width: 720px) {
  .mcta {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: var(--space-3);
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--divider);
  }
  body { padding-bottom: 76px; }
}

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