/*
  Joinery Co: "Editorial Atelier" visual system.
  Warm Workshop palette, furniture-maker monograph layout.
  Concept build for Summit Oak AI. No em dashes or en dashes anywhere.
*/

:root {
  --bg: #F3EEE7;        /* warm paper */
  --ink: #241C15;       /* espresso */
  --accent: #B5843C;    /* honey brass */
  --accent-deep: #96692C;
  --muted: #6B5E50;

  --cream: #EAE1CF;     /* warm deeper cream for section rhythm */
  --paper-2: #ECE4D8;
  --paper-3: #E4D9C9;
  --ink-soft: rgba(36, 28, 21, 0.70);
  --line: rgba(36, 28, 21, 0.16);
  --line-soft: rgba(36, 28, 21, 0.10);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --gap: clamp(1.1rem, 3vw, 2.2rem);
  --pad-y: clamp(4.5rem, 7.8vw, 7rem);

  /* fluid type scale */
  --t-hero: clamp(3rem, 8.5vw, 7.6rem);
  --t-display: clamp(2.3rem, 5.6vw, 4.8rem);
  --t-h3: clamp(1.35rem, 2.4vw, 2rem);
  --t-lead: clamp(1.15rem, 1.9vw, 1.45rem);

  --shadow: 0 42px 80px -34px rgba(36, 28, 21, 0.45);
  --shadow-soft: 0 24px 48px -28px rgba(36, 28, 21, 0.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #1c140d; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: .7rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---------- material: paper grain + cursor ---------- */
.grain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.cursor {
  position: fixed; top: 0; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; z-index: 1000;
  transition: width .28s ease, height .28s ease, margin .28s ease, background-color .28s ease;
  mix-blend-mode: difference;
}
.cursor.hot { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(166, 118, 60, 0.14); }

/* ---------- typography primitives ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
.section-title {
  font-family: var(--serif); font-weight: 400; font-size: var(--t-display);
  line-height: 1.02; letter-spacing: -0.02em; font-optical-sizing: auto;
  text-wrap: balance;
}
.section-intro { color: var(--ink-soft); font-size: var(--t-lead); max-width: 42ch; margin: 0; }

.kicker {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem;
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
.kicker-i { color: var(--accent); font-variant-numeric: tabular-nums; }
.kicker-rule { width: clamp(24px, 5vw, 52px); height: 1px; background: var(--accent); opacity: .6; }
.kicker-t { white-space: nowrap; }

.dovetail-mark { display: inline-block; vertical-align: middle; color: var(--accent); }

/* line-split masks (kinetic headings) */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line-inner { display: block; will-change: transform; }

/* pre-hide animated content to avoid flash (only when motion is on) */
html.anim .reveal { opacity: 0; }
html.anim [data-split]:not(.is-split) { opacity: 0; }
html.anim .process-grid .step { opacity: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; padding: .85rem 1.5rem; border-radius: 0; border: 1px solid transparent;
  cursor: pointer; transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-accent { background: var(--accent); color: #1c140d; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: var(--accent); color: #1c140d; border-color: var(--accent); }

/* ---------- section rhythm ---------- */
.section { padding: var(--pad-y) var(--gap); position: relative; }
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* section tone rhythm: paper / cream alternation + dark anchors */
.services, .why, .testimonials { background: var(--cream); }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.split-head {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end;
}
.split-head .section-intro { justify-self: end; text-align: right; padding-bottom: .3rem; }
.section-title { margin-top: .2rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem clamp(1.1rem, 3vw, 2.2rem); color: #F5EFE6;
  transition: transform .45s ease, background-color .45s ease, color .45s ease, border-color .45s ease, padding .45s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(243, 238, 231, 0.86); backdrop-filter: saturate(150%) blur(12px);
  color: var(--ink); border-bottom-color: var(--line); padding-top: .8rem; padding-bottom: .8rem;
}
.site-header.nav-hide { transform: translateY(-101%); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand-words { font-size: .6rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: .75; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--accent); transition: width .3s ease;
}
.site-nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: .5rem 1.1rem; border: 1px solid currentColor; white-space: nowrap; }
.nav-cta:hover { background: var(--accent); color: #1c140d; border-color: var(--accent); }
.site-header.scrolled .nav-cta { border-color: var(--line); }

.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { width: 26px; height: 1.5px; background: currentColor; display: block; }

/* ---------- image frames + grade ---------- */
.img-frame { position: relative; overflow: hidden; margin: 0; background: var(--paper-3); }
.img-frame img, .svc-slide img, .gal-hero img, .gal-tile img, .hero-video {
  filter: sepia(0.10) saturate(0.86) contrast(1.06) brightness(1.02);
}
.img-grade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(150deg, rgba(166, 118, 60, 0.30), rgba(36, 28, 21, 0.34));
  mix-blend-mode: soft-light;
}
.frame-cap { margin-top: .9rem; }
.cap-label {
  display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 600px; overflow: hidden;
  display: flex; align-items: flex-end; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-grade { z-index: 2; opacity: .7; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(18, 12, 8, 0.86) 0%, rgba(18, 12, 8, 0.48) 38%, rgba(18, 12, 8, 0.28) 68%, rgba(18, 12, 8, 0.42) 100%);
}
.hero-inner {
  position: relative; z-index: 4; width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--gap) clamp(3rem, 8vh, 6.5rem);
  color: #F7F2EA; text-align: left; text-shadow: 0 1px 26px rgba(18, 12, 8, 0.45);
}
.hero-kicker { color: #F0D9AE; margin-bottom: 1.6rem; text-shadow: 0 1px 14px rgba(18, 12, 8, 0.85); }
.hero-kicker .kicker-rule { background: #E9C79A; }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-size: var(--t-hero);
  line-height: 0.98; letter-spacing: -0.025em; color: #FDFBF7; max-width: 16ch;
  text-wrap: balance; font-optical-sizing: auto;
}
.hero-sub { color: #EADFCF; font-size: var(--t-lead); margin: 1.6rem 0 2.2rem; max-width: 42ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: .8rem; margin-top: 2.6rem;
  font-size: .68rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(247, 242, 234, 0.7);
}
.cue-line { width: 42px; height: 1px; background: rgba(247, 242, 234, 0.5); position: relative; overflow: hidden; }
.cue-line::after {
  content: ""; position: absolute; inset: 0; background: #E9C79A;
  transform: translateX(-100%); animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- statement ---------- */
.statement { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); }
.statement-grid {
  display: grid; grid-template-columns: minmax(120px, 0.24fr) 1fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start; border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3.5rem);
}
.statement-label {
  display: flex; flex-direction: column; gap: .8rem; margin: 0;
  font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); padding-top: .5rem;
}
.statement-text {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3.6vw, 2.9rem); line-height: 1.24; letter-spacing: -0.01em;
  margin: 0; color: var(--ink); text-wrap: balance;
}

/* ---------- services: scroll-driven pinned sequence ---------- */
.svc-pin {
  display: grid; grid-template-columns: 1.45fr 0.85fr; gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center; min-height: 100vh;
}
.svc-side { display: flex; flex-direction: column; justify-content: center; }
.svc-head { margin-bottom: clamp(1rem, 2.2vw, 1.8rem); }
.svc-title { font-size: clamp(1.7rem, 3vw, 2.9rem); }
.svc-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow); }
.svc-shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s ease; }
.svc-shot.active { opacity: 1; }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-counter {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 3; color: #F7F2EA;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .16em;
  display: flex; align-items: baseline; gap: .45rem;
}
.svc-counter em { font-family: var(--serif); font-style: normal; font-size: 1.5rem; }
.svc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(247, 242, 234, 0.24); z-index: 3; }
.svc-progress-bar { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.svc-steps { list-style: none; margin: 0; padding: 0; }
.svc-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: baseline;
  border-top: 1px solid var(--line); padding: clamp(.9rem, 2vw, 1.5rem) 0;
  opacity: .45; transition: opacity .4s ease; outline: none;
}
.svc-step:last-child { border-bottom: 1px solid var(--line); }
.svc-step.on { opacity: 1; }
.svc-step-n { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-step-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.3vw, 2.1rem); line-height: 1.05; letter-spacing: -0.01em; transition: color .3s ease; }
.svc-step.on .svc-step-name { color: var(--accent-deep); }
.svc-step-desc {
  color: var(--ink-soft); max-width: 44ch; margin: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s ease, opacity .4s ease, margin .45s ease;
}
.svc-step.on .svc-step-desc { max-height: 8rem; opacity: 1; margin-top: .55rem; }
.svc-step-thumb { display: none; }
.svc-step-thumb .img-frame { aspect-ratio: 16 / 9; margin-top: 1rem; }

/* static fallback: no pin (reduced motion / no gsap / narrow / touch) */
.svc-static .svc-pin { grid-template-columns: 1fr; min-height: 0; }
.svc-static .svc-stage { display: none; }
.svc-static .svc-step { opacity: 1; }
.svc-static .svc-step-desc { max-height: none; opacity: 1; margin-top: .55rem; }
.svc-static .svc-step-thumb { display: block; }

/* ---------- craft feature (full-bleed asymmetric) ---------- */
/* position:relative makes .craft the containing block so overflow:hidden actually clips
   the oversized absolute .ghost-num (it was escaping off the left edge on mobile). */
.craft { position: relative; overflow: hidden; }
.ghost-num {
  position: absolute; top: -0.06em; right: 3vw; z-index: 0; pointer-events: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(11rem, 30vw, 28rem);
  line-height: 0.8; color: var(--ink); opacity: 0.045; letter-spacing: -0.04em;
}
.craft-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.craft-body { color: var(--ink-soft); font-size: var(--t-lead); margin: 1.4rem 0 1.8rem; max-width: 46ch; }
.craft-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.craft-points li { position: relative; padding-left: 1.7rem; }
.craft-points li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 11px; height: 11px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
}
.craft-media .img-frame { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.craft-media .img-frame img { width: 100%; height: 116%; object-fit: cover; }

/* ---------- why (sticky title + hairline list) ---------- */
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.why-head { position: sticky; top: 16vh; }
.why-head .section-title { margin-bottom: 1.2rem; }
.why-list { border-top: 1px solid var(--line); }
.why-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: start;
  padding: clamp(1.4rem, 3vw, 2.3rem) 0; border-bottom: 1px solid var(--line);
}
.why-n { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.why-main h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); line-height: 1.1; }
.why-main p { color: var(--ink-soft); margin: .4rem 0 0; max-width: 46ch; }
.why-mark { align-self: center; opacity: .45; }

/* ---------- process (dark compact feature) ---------- */
.process { background: var(--ink); color: #F3EEE7; }
.process { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.process .section-title { color: #FBF7F0; }
.process .kicker { color: rgba(243, 238, 231, 0.72); }
.process .kicker-i { color: var(--accent); }
.process .kicker-rule { background: var(--accent); }
.process-grid {
  list-style: none; margin: clamp(2rem, 4vw, 3.2rem) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem);
}
.step { border-top: 1px solid rgba(243, 238, 231, 0.22); padding-top: 1.3rem; text-align: left; }
.step-n {
  display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 4.5vw, 4.6rem);
  line-height: 0.9; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}
.step-title { font-family: var(--serif); font-weight: 500; font-size: var(--t-h3); color: #FBF7F0; }
.step-body { color: rgba(243, 238, 231, 0.68); margin: .5rem 0 0; max-width: 28ch; font-size: .96rem; }

/* ---------- gallery (art-directed) ---------- */
.gal-hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: var(--gap); overflow: hidden; max-width: none;
  aspect-ratio: 21 / 9;
}
.gal-hero img, .gal-tile img { width: 100%; height: 118%; object-fit: cover; }
.gal-cap { position: absolute; left: clamp(1.2rem, 4vw, 3rem); bottom: clamp(1.2rem, 3vw, 2.2rem); z-index: 3; color: #F7F2EA; }
.gal-cap .cap-label { color: rgba(247, 242, 234, 0.82); }
.cap-place { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-top: .3rem; }
.gal-rows { display: grid; gap: var(--gap); }
.gal-row { display: grid; gap: var(--gap); height: clamp(240px, 34vw, 460px); }
.gal-row.full { grid-template-columns: 1fr; }
.gal-row.split-l { grid-template-columns: 62fr 38fr; }
.gal-row.split-r { grid-template-columns: 38fr 62fr; }
.gal-tile { position: relative; overflow: hidden; margin: 0; height: 100%; }
.gal-tile .gal-cap { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; bottom: clamp(.9rem, 2vw, 1.4rem); left: clamp(.9rem, 2vw, 1.4rem); }
.gal-tile:hover .gal-cap { opacity: 1; transform: translateY(0); }

/* ---------- gallery lightbox ---------- */
.gal-hero img, .gal-tile img { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1100; padding: clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 12, 8, 0.93); cursor: zoom-out;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.lb-img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; cursor: default; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.7); }
.lb-cap { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 238, 231, 0.75); }
.lb-close {
  position: absolute; top: clamp(1rem, 3vw, 1.8rem); right: clamp(1rem, 3vw, 1.8rem);
  width: 44px; height: 44px; border: 1px solid rgba(243, 238, 231, 0.4); background: transparent;
  color: #F3EEE7; font-size: 1.7rem; line-height: 1; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.lb-close:hover { background: var(--accent); border-color: var(--accent); color: #1c140d; }

/* ---------- testimonials (three columns) ---------- */
.tq-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tq {
  margin: 0; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 2.6vw, 2.4rem);
  border-left: 1px solid var(--line);
}
.tq:first-child { border-left: 0; padding-left: 0; }
.tq:last-child { padding-right: 0; }
.q-mark { font-family: var(--serif); font-size: 3rem; line-height: .5; color: var(--accent); opacity: .34; margin-bottom: .7rem; }
.tq > p { font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.42; margin: 0 0 1.4rem; flex: 1; }
.tq footer { display: flex; flex-direction: column; }
.q-name { font-weight: 600; }
.q-role { color: var(--muted); font-size: .88rem; }

/* ---------- contact (dark) ---------- */
.contact {
  color: #F3EEE7; background-color: var(--ink);
  background-image: linear-gradient(to right, rgba(18, 12, 8, 0.90), rgba(18, 12, 8, 0.72)),
    url("../assets/images/cta-band.png");
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.contact .section-title { color: #FBF7F0; }
.contact .kicker { color: rgba(243, 238, 231, 0.72); }
.contact .kicker-i { color: #E9C79A; }
.contact .kicker-rule { background: #E9C79A; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-copy .section-intro { color: rgba(243, 238, 231, 0.82); }
.contact-note { color: rgba(243, 238, 231, 0.55); font-size: .9rem; margin-top: 1.4rem; max-width: 40ch; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .5rem; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 238, 231, 0.7); }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; text-transform: none;
  color: #F7F2EA; background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 231, 0.28);
  border-radius: 0; padding: .6rem 0; transition: border-color .3s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field select option { color: #241C15; }
.contact-form .btn { margin-top: .6rem; }
.contact-form .btn:disabled { opacity: .85; cursor: default; }

/* ---------- footer ---------- */
.site-footer { background: #1B140E; color: #E7DDCF; padding: clamp(3.5rem, 7vw, 6rem) var(--gap) 2.2rem; }
.site-footer > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-brand .brand-words { color: var(--accent); }
.footer-cta { margin-top: 1.2rem; }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--accent); }
.footer-nap { font-style: normal; display: flex; flex-direction: column; gap: .4rem; color: #C9BCAB; font-size: .95rem; }
.footer-nap a { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(231, 221, 207, 0.16);
}
.footer-legal { max-width: 66ch; }
.disclaimer { margin: 0 0 .4rem; color: #B6A894; font-size: .85rem; }
.copyright { color: #8C7E6C; font-size: .8rem; margin: 0; }
.footer-credit {
  color: #C9BCAB; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  margin: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.footer-credit .soak-mark {
  display: inline-block; width: 20px; height: 20px; flex: none;
  background-color: var(--accent);
  -webkit-mask: url(../assets/images/summitoak-mark.png) center / contain no-repeat;
          mask: url(../assets/images/summitoak-mark.png) center / contain no-repeat;
  opacity: .9; transition: opacity .2s ease;
}
.footer-credit:hover .soak-mark { opacity: 1; }
.footer-credit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .brand-words { display: none; }
  .site-nav { gap: clamp(.9rem, 2vw, 1.6rem); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-pin { grid-template-columns: 1fr; min-height: 0; }
  .svc-stage { display: none; }
  .svc-step { opacity: 1; }
  .svc-step-desc { max-height: none; opacity: 1; margin-top: .55rem; }
  .svc-step-thumb { display: block; }
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .craft-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tq { padding: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem); }
}

@media (max-width: 720px) {
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .split-head .section-intro { justify-self: start; text-align: left; }
  .statement-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 1.3rem 0; }
  .step:first-child { padding-top: 0; }
  .gal-row { grid-template-columns: 1fr !important; height: auto; }
  .gal-tile { aspect-ratio: 16 / 9; height: auto; }
  .tq-cols { grid-template-columns: 1fr; }
  .tq { border-left: 0; border-top: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2rem) 0; }
  .tq:first-child { border-top: 0; padding-top: clamp(1.4rem, 4vw, 2rem); }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line);
    padding: .5rem 1.1rem 1.2rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { margin-top: .7rem; text-align: center; justify-content: center; border-color: var(--line); }
  .hero-title { max-width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cue-line::after { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .svc-slide { transition: none; }
  .lightbox { transition: none; }
  * { scroll-behavior: auto !important; }
}


/* Brand-colored magnifier cursor on click-to-zoom photos (replaces removed on-card badges). */
.gal-hero img, .gal-tile img { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Ccircle cx='13' cy='13' r='8' stroke='%23ffffff' stroke-width='4'/%3E%3Cline x1='19' y1='19' x2='29' y2='29' stroke='%23ffffff' stroke-width='4'/%3E%3Ccircle cx='13' cy='13' r='8' stroke='%23B5843C' stroke-width='2.4'/%3E%3Cline x1='19' y1='19' x2='29' y2='29' stroke='%23B5843C' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E") 13 13, zoom-in !important; }

/* Mobile: two-column footer (list beside contact) to cut height; brand spans full width. */
@media (max-width: 719px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile: pinned What We Build step-through. Show the stage image + ONLY the active step
   (a changing card), overriding the static-fallback rules above, so the active step is
   always on screen instead of scrolling off below a long static list. */
@media (max-width: 1000px) {
  .svc-pinned .svc-pin { grid-template-columns: 1fr; gap: clamp(1.2rem, 4vw, 1.8rem); align-content: center; min-height: 100vh; }
  .svc-pinned .svc-stage { display: block; aspect-ratio: 16 / 10; }
  .svc-pinned .svc-step { opacity: 1; padding: 0; border-top: none; }
  .svc-pinned .svc-step:not(.on) { display: none; }
  .svc-pinned .svc-step-name { font-size: clamp(1.35rem, 6vw, 2rem); }
  .svc-pinned .svc-step.on .svc-step-desc { max-height: 10rem; opacity: 1; margin-top: .6rem; }
  .svc-pinned .svc-step-thumb { display: none; }
}

/* Mobile: stop The Craft content overflowing the right edge. The grid was sizing to its
   min-content (a non-wrapping child), making it wider than the viewport; min-width:0 lets
   it collapse to the viewport, and the oversized decorative numeral is hidden. */
@media (max-width: 1000px) {
  .craft { overflow-x: clip; }
  .craft-grid { grid-template-columns: 1fr; min-width: 0; max-width: 100%; }
  .craft-grid > * { min-width: 0; max-width: 100%; }
  .craft-copy { max-width: 100%; }
  /* "02 / The Craft" label stays on one horizontal line; the longer title after it wraps to
     the next line(s) instead of overflowing the screen. */
  .craft-copy .kicker { flex-wrap: wrap; align-items: baseline; row-gap: 0.35rem; }
  .craft-copy .kicker-i { white-space: nowrap; }
  .craft-copy .kicker-t { white-space: normal; }
  .ghost-num { display: none; }
}

/* =====================================================================
   Design audit 2026-09-30 (brief B5). Overrides grouped here on purpose.
   ===================================================================== */

/* Eyebrows: index + label only, no rule or dash beside the label. */
.kicker .kicker-rule { display: none; }
.kicker { gap: .9rem; }
.kicker-t { color: var(--muted); }
.hero-kicker .kicker-t { color: #F0D9AE; }

/* Split headings: a hyphenated word ("big-box") never breaks at its hyphen. */
.word { white-space: nowrap; }

/* ---------- Our Standard: centered, tighter, with corner depth ---------- */
.statement {
  padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: clip;
}
.statement-grid {
  position: relative; z-index: 1;
  grid-template-columns: 1fr; justify-items: center; text-align: center;
  border-top: 0; padding-top: 0; gap: 1.4rem; max-width: 980px;
}
.statement-label { align-items: center; padding-top: 0; }
.statement-text { max-width: 30ch; margin: 0 auto; }
.statement-mark {
  position: absolute; z-index: 0; top: 50%; right: -3vw; transform: translateY(-50%);
  width: clamp(240px, 30vw, 440px); aspect-ratio: 1; color: var(--ink); opacity: .055;
  pointer-events: none; max-width: none; margin: 0;
}
.statement-mark .brand-mark { width: 100%; height: 100%; }
.statement-grain {
  position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; height: 100%;
  width: clamp(160px, 22vw, 320px); color: var(--accent); opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  max-width: none; margin: 0;
}

/* ---------- What We Build: less padding, wider stage, bigger imagery ---------- */
.services { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.services.svc-pinned { padding-top: 0; padding-bottom: 0; }
.services > .svc-pin { max-width: 1480px; }
.svc-pin {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  gap: clamp(2rem, 3.6vw, 3.6rem);
}
.svc-stage { aspect-ratio: 3 / 2; width: 100%; max-height: calc(100vh - 5rem); }
.svc-shot { transition: opacity .6s cubic-bezier(.4, 0, .2, 1); }
.svc-shot img { transform: scale(1.045); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.svc-shot.active img { transform: scale(1); }
.svc-step { transition: opacity .35s ease; }
.svc-step-desc { transition: max-height .5s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, margin .5s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 1000px) {
  .svc-pinned .svc-pin { padding: 4.5rem 0 2rem; }
}

/* ---------- Craft: image runs from the title top to the last bullet ---------- */
.craft-grid {
  grid-template-columns: 1fr 1fr; grid-template-areas: "kicker ." "copy media";
  align-items: stretch; row-gap: 0;
}
.craft-kicker { grid-area: kicker; }
.craft-copy { grid-area: copy; }
.craft-copy .section-title { margin-top: 0; }
.craft-body { text-wrap: pretty; max-width: 48ch; }
.craft-media { grid-area: media; position: relative; min-height: 320px; }
.craft-media .img-frame { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.craft-media .img-frame img { height: 112%; }
.craft-media .frame-cap {
  position: absolute; z-index: 3; left: 1.2rem; bottom: 1rem; margin: 0;
}
.craft-media .frame-cap .cap-label { color: rgba(247, 242, 234, 0.88); text-shadow: 0 1px 12px rgba(18, 12, 8, .6); }
@media (max-width: 1000px) {
  .craft-grid { grid-template-areas: "kicker" "copy" "media"; row-gap: 0; }
  .craft-media { margin-top: 2.2rem; min-height: 0; }
  .craft-media .img-frame { position: relative; aspect-ratio: 4 / 3; }
}

/* ---------- Gallery: depth in the side gutters (carpenter's rule + grain) ---------- */
.gal-rows { position: relative; }
.gal-gutter {
  position: absolute; top: 0; bottom: 0; width: calc(50vw - 50% - 12px);
  display: flex; justify-content: center; pointer-events: none; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.gal-gutter-l { right: 100%; }
.gal-gutter-r { left: 100%; }
.gal-rule {
  width: 20px; height: 100%; opacity: .5;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 1px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--accent) 0 1px, transparent 1px 64px) left top / 20px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--accent) 0 1px, transparent 1px 32px) left top / 13px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--accent) 0 1px, transparent 1px 8px) left top / 7px 100% no-repeat;
}
.gal-grain { width: min(84px, 72%); height: 100%; color: var(--accent); opacity: .42; }
@media (max-width: 1180px) { .gal-gutter { display: none; } }

/* ---------- Owners: texture + equal-height paper cards ---------- */
.testimonials { overflow: clip; }
.testimonials > .section-head, .testimonials > .tq-cols { position: relative; z-index: 1; }
.tq-ghost {
  position: absolute; z-index: 0; top: -0.12em; right: 4vw; max-width: none; margin: 0;
  font-family: var(--serif); font-weight: 300; line-height: 1; pointer-events: none;
  font-size: clamp(14rem, 26vw, 24rem); color: var(--accent); opacity: .12;
}
.tq-grain {
  position: absolute; z-index: 0; left: 0; bottom: 0; top: auto; max-width: none; margin: 0;
  width: clamp(240px, 38vw, 560px); height: 78%; color: var(--ink); opacity: .085; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 100% at 0% 100%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 100% at 0% 100%, #000 30%, transparent 75%);
}
.tq-cols { border-top: 0; gap: clamp(1rem, 2vw, 1.6rem); }
.tq, .tq:first-child, .tq:last-child {
  border: 1px solid rgba(36, 28, 21, 0.10); border-left: 1px solid rgba(36, 28, 21, 0.10);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: linear-gradient(160deg, rgba(247, 242, 234, 0.92), rgba(240, 232, 219, 0.78));
  box-shadow: 0 26px 50px -34px rgba(36, 28, 21, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tq > p { font-size: 1.14rem; text-wrap: pretty; }
@media (max-width: 720px) {
  .tq, .tq:first-child { border-top: 1px solid rgba(36, 28, 21, 0.10); padding: 1.5rem 1.3rem; }
  .tq-ghost { font-size: 11rem; right: 2vw; }
}

/* ---------- CTA: pre-audit open form (Round 2: Micah preferred the cleaner, frameless look) ---------- */
.contact-copy .section-intro { text-wrap: wrap; max-width: 36ch; }

/* ---------- Footer bottom row (Round 2 showcase standard) ---------- */
.disclaimer { white-space: nowrap; margin: 0; }
.footer-bottom { align-items: center; }
.footer-credit { margin-left: auto; text-align: right; }
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
  .footer-legal { max-width: none; }
  .disclaimer { font-size: .76rem; white-space: normal; }
  .footer-credit { margin-left: 0; }
}

/* ---------- Line rules: no lone words, minimum three words per wrapped line ---------- */
p, li, blockquote { text-wrap: pretty; }
.hero-sub, .section-intro { text-wrap: balance; }
.craft-grid { grid-template-columns: 1.1fr 0.9fr; }
.craft-copy .section-title { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.why-grid { grid-template-columns: 0.9fr 1.1fr; }
.why-head .section-title { font-size: clamp(2.3rem, 4.6vw, 4.2rem); white-space: nowrap; }
@media (max-width: 1000px) {
  .craft-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section-title, .craft-copy .section-title, .why-head .section-title { font-size: clamp(1.9rem, 8.2vw, 2.4rem); }
}
@media (max-width: 720px) { .why-mark { display: none; } .why-row { grid-template-columns: auto 1fr; } }
.gal-rule { opacity: .8; }
.gal-grain { opacity: .75; }
.tq-ghost { top: 0.02em; }
.craft-media .cap-label { white-space: nowrap; }
@media (max-width: 720px) { .craft-media .cap-label { letter-spacing: .12em; font-size: .66rem; } }
