/* ============================================================
   Make It Make Sense — website
   Consumes the design system: ../styles.css (tokens + fonts)
   This file = site components only.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* grain overlay helper for dark grounds */
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--w-content); margin: 0 auto; padding: 0 40px; }
.wrap-wide { max-width: var(--w-wide); }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 13px; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--coral); margin: 0;
}
.eyebrow.dim { color: var(--slate-mut); }
.serif { font-family: var(--font-serif); font-weight: 300; }
.display {
  font-family: var(--font-serif); font-weight: 300;
  letter-spacing: var(--tracking-display); line-height: 1.0; margin: 0;
}
.display em, .em-it { font-style: italic; font-weight: 600; color: var(--coral); }
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--coral); line-height: 1; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); }
.meta { font-family: var(--font-sans); font-size: var(--fs-meta); letter-spacing: var(--tracking-meta); text-transform: uppercase; color: var(--slate-mut); }

/* ---------- inline wordmark (typeset, themeable) ---------- */
.wm { font-family: var(--font-sans); font-weight: 500; letter-spacing: -.03em; line-height: 1; display: inline-flex; align-items: baseline; white-space: nowrap; }
.wm .it { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--coral); }
.wm-it { position: relative; display: inline-flex; padding: 0 .34em; }
.wm-it .it { font-size: 1.06em; }
.crop { position: absolute; left: -.16em; top: -.30em; right: -.16em; bottom: -.20em; width: auto; height: auto; overflow: visible; pointer-events: none; }
.crop path { fill: none; stroke: var(--coral); stroke-width: var(--crop-w, 2); stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* short mark */
.sm { font-family: var(--font-sans); font-weight: 600; letter-spacing: -.01em; line-height: 1; display: inline-flex; align-items: baseline; }
.sm .i { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--coral); font-size: 1.06em; }
.sm-i { position: relative; display: inline-flex; padding: 0 .12em; }
.sm-i .crop { left: -.34em; top: -.06em; right: -.34em; bottom: -.04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: var(--r-md); border: 1.5px solid transparent;
  transition: background .18s var(--ease-out,ease), color .18s, border-color .18s, transform .18s;
}
.btn .arw { transition: transform .18s var(--ease-out,ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn--coral { background: var(--coral); color: var(--harbor); }
.btn--coral:hover { background: var(--coral-600); }
.btn--ink { background: var(--ink); color: var(--sand); }
.btn--ink:hover { background: var(--harbor); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: rgba(246,236,214,.4); color: var(--sand); }
.btn--ghost-light:hover { background: var(--sand); color: var(--harbor); border-color: var(--sand); }

/* text link with arrow */
.tlink { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--coral); border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color .18s; }
.tlink:hover { border-color: var(--coral); }
.tlink .arw { transition: transform .18s var(--ease-out,ease); }
.tlink:hover .arw { transform: translateX(3px); }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--harbor); color: var(--on-harbor);
  border-bottom: 1px solid var(--on-harbor-line);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; padding-top: 0; padding-bottom: 0; }
.site-nav .brand { font-size: 21px; text-decoration: none; color: var(--on-harbor); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; padding-bottom: 4px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--on-harbor-mut); transition: color .16s; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--on-harbor); }
.nav-links a:not(.btn).active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px; background: var(--coral); border-radius: 2px; }
.nav-links .btn { padding: 10px 18px; }
.nav-toggle { display: none; }

/* ---------- crop-framed image ---------- */
.framed { position: relative; }
.framed > img { width: 100%; height: 100%; object-fit: cover; }
.frame-corners { position: absolute; inset: -10px; overflow: visible; pointer-events: none; }

/* specimen tag */
.specimen { display: inline-flex; align-items: stretch; font-family: var(--font-sans); box-shadow: var(--shadow-card, 0 6px 14px rgba(14,39,48,.18)); }
.specimen .lbl { background: var(--gold); color: var(--ink); font-weight: 600; font-size: 9px; letter-spacing: .14em; padding: 6px 8px; display: flex; align-items: center; }
.specimen .no { background: var(--bone); color: var(--ink); font-family: var(--font-serif); font-size: 13px; padding: 5px 10px; border: 1px solid var(--ink); border-left: none; display: flex; align-items: center; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-variant { display: none; }
body[data-hero="a"] .hero--a { display: flex; }
body[data-hero="b"] .hero--b { display: grid; }
body[data-hero="c"] .hero--c { display: block; }

/* Hero A — the pass (full-bleed photo) */
.hero--a { min-height: 90vh; align-items: flex-end;
  background: linear-gradient(180deg, rgba(10,20,20,.30) 0%, rgba(10,20,20,.05) 38%, rgba(14,39,48,.86) 100%), #0A1410;
  background-size: cover; background-position: center; color: var(--on-harbor); }
.hero--a .wrap { padding-top: 90px; padding-bottom: 88px; }
.hero--a .h-title { font-size: clamp(44px, 6.6vw, 104px); max-width: 16ch; }
.hero--a .h-sub { color: var(--on-harbor-mut); max-width: 52ch; margin: 26px 0 0; }

/* Hero B — split system view */
.hero--b { grid-template-columns: 1.05fr .95fr; min-height: 90vh; }
.hero--b .h-text { background: var(--harbor); color: var(--on-harbor); display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(40px, 6vw, 96px); position: relative; }
.hero--b .h-title { font-size: clamp(40px, 4.6vw, 76px); max-width: 13ch; }
.hero--b .h-sub { color: var(--on-harbor-mut); max-width: 46ch; margin: 26px 0 0; }
.hero--b .h-photo { position: relative; background: #0A1410; overflow: hidden; }
.hero--b .h-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero C — editorial light */
.hero--c { background: var(--sand); color: var(--ink); position: relative; }
.hero--c .wrap { padding-top: 92px; padding-bottom: 80px; }
.hero--c .h-title { font-size: clamp(44px, 6vw, 100px); max-width: 15ch; }
.hero--c .h-sub { color: var(--slate); max-width: 50ch; margin: 24px 0 0; }
.hero--c .specimens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.hero--c .spec-card { position: relative; }
.hero--c .spec-card .framed { aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; }
.hero--c .spec-card .cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.hero--c .spec-card .cap .t { font-family: var(--font-serif); font-size: 17px; }
.hero--c .spec-card .cap .n { font-size: 11px; letter-spacing: .14em; color: var(--slate-mut); }

.h-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; align-items: center; }

/* hero switcher control */
.hero-switch {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgba(14,39,48,.92); border: 1px solid var(--on-harbor-line);
  border-radius: var(--r-pill); backdrop-filter: blur(8px);
  font-family: var(--font-sans);
}
.hero-switch .lbl { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-harbor-dim); padding: 0 8px 0 10px; }
.hero-switch button { border: none; cursor: pointer; width: 30px; height: 30px; border-radius: var(--r-pill); background: transparent; color: var(--on-harbor-mut); font-weight: 600; font-size: 13px; font-family: inherit; transition: background .15s, color .15s; }
.hero-switch button:hover { color: var(--on-harbor); }
.hero-switch button[aria-pressed="true"] { background: var(--coral); color: var(--harbor); }

/* ---------- generic sections ---------- */
.band-dark { background: var(--harbor); color: var(--on-harbor); position: relative; }
.band-sand2 { background: var(--sand-deep); }
.band-brick { background: var(--brick); color: var(--sand); position: relative; }

.statement { position: relative; min-height: 78vh; display: flex; align-items: center;
  background: linear-gradient(95deg, rgba(14,39,48,.92) 0%, rgba(14,39,48,.55) 48%, rgba(14,39,48,.2) 100%), #0A1410;
  background-size: cover; background-position: center; color: var(--on-harbor); }
.statement .wrap { padding-top: 96px; padding-bottom: 96px; }
.statement .s-title { font-size: clamp(40px, 5.4vw, 88px); max-width: 16ch; }

/* what we do teaser */
.dohead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 18px; }
.do-list { border-top: 1px solid var(--line); }
.do-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 28px; align-items: center;
  padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .18s, padding .18s; }
.do-row:hover { background: var(--bone); padding-left: 18px; padding-right: 18px; }
.do-row .no { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--coral); }
.do-row .ttl { font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; }
.do-row .ds { color: var(--slate); font-size: 15px; max-width: 46ch; margin-top: 4px; }
.do-row .arw { color: var(--coral); font-size: 22px; transition: transform .18s var(--ease-out,ease); }
.do-row:hover .arw { transform: translateX(5px); }

/* cards */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bone); border: 1px solid var(--line-card); border-radius: var(--r-lg); padding: 32px; }
.card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin: 14px 0 10px; }
.card p { color: var(--slate); font-size: 15px; margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat .n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 5vw, 76px); line-height: 1; color: var(--coral); letter-spacing: -.02em; }
.stat .l { margin-top: 12px; font-size: 15px; color: var(--slate); max-width: 28ch; }
.band-dark .stat .l { color: var(--on-harbor-mut); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--harbor); color: var(--on-harbor); position: relative; padding: 96px 0 80px; }
.page-hero .p-title { font-size: clamp(48px, 6vw, 92px); max-width: 16ch; margin: 22px 0 0; }
.page-hero .p-sub { color: var(--on-harbor-mut); max-width: 56ch; margin: 26px 0 0; font-size: var(--fs-lead); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-photo { position: relative; }
.about-photo .framed { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/5; }
.prose p { color: var(--slate); margin: 0 0 22px; max-width: var(--w-prose); }
.prose p .em-it { color: var(--coral); }
.pullquote { font-family: var(--font-serif); font-weight: 300; font-style: italic; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; color: var(--ink); margin: 8px 0; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc .no { font-family: var(--font-serif); font-style: italic; font-size: 30px; color: var(--coral); }
.svc h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px; }
.svc .body { color: var(--slate); max-width: 60ch; margin: 0 0 18px; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink); background: var(--bone); border: 1px solid var(--line-card); border-radius: var(--r-pill); padding: 7px 14px; }
.tag--coral { background: rgba(255,111,82,.12); border-color: rgba(255,111,82,.42); color: var(--coral-600); }
.tag--gold  { background: rgba(242,171,39,.15); border-color: rgba(242,171,39,.48); color: #A9750F; }
.tag--teal  { background: rgba(43,140,131,.12); border-color: rgba(43,140,131,.42); color: var(--teal); }
.svc-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.svc-ico { width: 40px; height: 40px; flex: none; }
.svc-ico path, .svc-ico circle, .svc-ico rect, .svc-ico line { vector-effect: non-scaling-stroke; }
/* bold icon chip + brick service context */
.svc-chip { width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(10,20,20,.28); }
.svc-chip svg { width: 32px; height: 32px; }
.svc-chip svg path, .svc-chip svg circle, .svc-chip svg rect { vector-effect: non-scaling-stroke; }
.svc-brick .svc { grid-template-columns: 72px 1fr; border-color: rgba(246,236,214,.2); }
.svc-brick .svc:last-child { border-bottom-color: rgba(246,236,214,.2); }
.svc-brick .svc h3 { color: var(--sand); font-size: clamp(30px, 3.4vw, 46px); }
.svc-brick .svc .body { color: rgba(246,236,214,.84); }
.svc-brick .svc .no { color: var(--sand); }
.svc-brick .tag { background: rgba(246,236,214,.12); border-color: rgba(246,236,214,.3); color: var(--sand); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-ico { width: 42px; height: 42px; display: block; margin-bottom: 18px; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--coral); }
.step .n { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); font-weight: 600; }
.step h4 { font-family: var(--font-serif); font-weight: 500; font-size: 22px; margin: 12px 0 8px; }
.step p { color: var(--slate); font-size: 14px; margin: 0; }
.band-dark .step p { color: var(--on-harbor-mut); }
.band-dark .step { border-color: var(--coral); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-family: var(--font-serif); font-size: clamp(20px, 2.1vw, 26px); font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border: 1.5px solid var(--coral); border-radius: 50%; position: relative; transition: background .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--coral); transition: transform .2s, background .2s; }
.faq summary .pm::before { width: 12px; height: 1.5px; }
.faq summary .pm::after { width: 1.5px; height: 12px; }
.faq details[open] summary .pm { background: var(--coral); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--harbor); }
.faq details[open] summary .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq .ans { padding: 0 4px 28px; color: var(--slate); max-width: 70ch; }
.faq .ans p { margin: 0 0 14px; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--ink); }
.field label .opt { color: var(--slate-mut); font-weight: 400; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: var(--bone); border: 1px solid var(--line-card); border-radius: var(--r-md);
  padding: 14px 16px; width: 100%; transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,111,82,.16); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-size: 13px; color: var(--slate-mut); }
.form-success { display: none; background: var(--bone); border: 1px solid var(--line-card); border-left: 3px solid var(--coral); border-radius: var(--r-md); padding: 22px 24px; }
.form-success .hand { font-size: 26px; }

/* ---------- footer ---------- */
.site-footer { background: var(--harbor); color: var(--on-harbor); position: relative; padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--on-harbor-line); }
.footer-top .brand { font-size: 30px; display: inline-flex; }
.footer-tag { color: var(--on-harbor-mut); margin: 20px 0 0; max-width: 38ch; }
.footer-col h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-harbor-dim); margin: 0 0 18px; font-weight: 600; }
.footer-col a { display: block; text-decoration: none; color: var(--on-harbor-mut); margin-bottom: 12px; font-size: 15px; transition: color .15s; }
.footer-col a:hover { color: var(--on-harbor); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom .meta { color: var(--on-harbor-dim); }

/* ============================================================
   VISUAL LANGUAGE — the marginalia toolkit (used sparingly)
   ============================================================ */
.eyebrow.gold { color: var(--gold); }
.eyebrow.teal { color: var(--teal); }

/* crop-corner overlay on a framed photo */
.frame-corners path { fill: none; stroke: var(--coral); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.frame-corners.gold path { stroke: var(--gold); }

/* № tag on a photo */
.no-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); background: rgba(14,39,48,.66); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: var(--r-sm); }
.no-tag.tr { left: auto; right: 14px; }

/* handwritten note pinned on/near a photo */
.photo-note { position: absolute; z-index: 3; font-family: var(--font-hand); font-weight: 700; color: var(--coral); font-size: clamp(22px, 2.4vw, 34px); line-height: 1; transform: rotate(-3deg); }
.photo-note.onlight { color: var(--brick); }

/* harbor tint to unify photography */
.tone { position: relative; }
.tone::after { content: ""; position: absolute; inset: 0; background: var(--harbor); mix-blend-mode: color; opacity: .16; pointer-events: none; }

/* dotted-thread divider */
.thread { height: 0; border: 0; border-top: 2px dotted var(--coral); opacity: .5; margin: 0; }

/* ---------- photo marquee ---------- */
.marquee { overflow: hidden; position: relative; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 64s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: none; width: 300px; height: 380px; border-radius: var(--r-sm); overflow: hidden; position: relative; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------- noticing gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-rows: 200px; }
.gallery .cell { position: relative; border-radius: var(--r-sm); overflow: hidden; }
.gallery .cell img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- feature row (photo + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature .f-photo { position: relative; }
.feature .f-photo .framed { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; }
.feature.rev .f-text { order: 2; }
.feature h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); margin: 16px 0 16px; line-height: 1.05; }
.feature p { color: var(--slate); margin: 0 0 18px; max-width: 52ch; }
.band-dark .feature p { color: var(--on-harbor-mut); }

/* receipt / brick statement */
.receipt-band { background: var(--brick); color: var(--sand); position: relative; overflow: hidden; }

/* ============================================================
   DELIGHT — color blocks, pun, sketchbook (from the brand guide)
   ============================================================ */
/* die-cut color tiles — "look twice" */
.dtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dtile-w { text-align: center; }
.dtile { aspect-ratio: 1/1; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dtile .shape { width: 64%; height: 64%; display: flex; align-items: center; justify-content: center; }
.dtile .glyph { font-family: var(--font-serif); color: var(--sand); line-height: 1; }
.dtile-cap { font-family: var(--font-sans); font-size: 13px; letter-spacing: .04em; color: var(--on-harbor-mut); margin-top: 14px; }
.shape-circle { border-radius: 50%; }
.shape-tri { clip-path: polygon(50% 6%, 94% 92%, 6% 92%); }
.shape-diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.shape-cap { border-radius: 999px 999px 8px 8px; }

/* the "overlooked" pun */
.pun { text-align: center; position: relative; }
.pun h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(64px, 15vw, 220px); line-height: 1; letter-spacing: -.03em; margin: 0; color: var(--sand); }
.pun .look { font-style: italic; font-weight: 600; background: var(--sand); color: var(--harbor); padding: 0 .08em; border-radius: 8px; }
.pun .pnote { position: absolute; font-family: var(--font-hand); font-weight: 700; line-height: 1.05; color: var(--harbor); transform: rotate(-5deg); }

/* sketchbook — annotations drawn over a photo */
.sketch { position: relative; overflow: hidden; border-radius: var(--r-sm); }
.sketch > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sketch .ovl { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sketch .ovl svg { position: absolute; overflow: visible; }
.sketch .snote { position: absolute; font-family: var(--font-hand); font-weight: 700; line-height: 1; }
.finding { display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.finding .lbl { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--harbor); background: var(--gold); padding: 6px 12px; border-radius: 3px; }

/* saturated accent panel */
.panel-coral { background: var(--coral); color: var(--harbor); }
.panel-teal  { background: var(--teal);  color: var(--sand); }
.panel-gold  { background: var(--gold);  color: var(--ink); }

@media (max-width: 680px) { .dtiles { grid-template-columns: 1fr 1fr; } }

/* ---------- family wayfinding badge (one color per service family) ---------- */
.fam { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill); white-space: nowrap; }
.fam::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.fam-coral { background: rgba(255,111,82,.14); color: var(--coral-600); }
.fam-gold  { background: rgba(242,171,39,.18); color: #A9750F; }
.fam-teal  { background: rgba(43,140,131,.14); color: var(--teal); }
/* solid variant for dark / brick grounds */
.fam-solid.fam-coral { background: var(--coral); color: var(--harbor); }
.fam-solid.fam-gold  { background: var(--gold);  color: var(--ink); }
.fam-solid.fam-teal  { background: var(--teal);  color: var(--sand); }

/* ---------- logo wall (clients / press) ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.logo-tile { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line-card); border-radius: 12px; height: 158px; padding: 26px 30px; transition: transform .16s, box-shadow .16s; }
.logo-tile img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.logo-tile.bleed { padding: 0; overflow: hidden; }
.logo-tile.bleed img { max-height: 158px; max-width: 100%; }
a.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.logo-tile.dark { background: var(--harbor-700, #0A1F26); border-color: rgba(255,255,255,.08); }

/* ---------- press / logos ---------- */
.logos-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.logo-ph { font-family: var(--font-serif); font-style: italic; font-size: clamp(15px, 1.8vw, 22px); color: var(--slate); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 20px; }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.press-card { display: flex; flex-direction: column; background: var(--bone); border: 1px solid var(--line-card); border-radius: var(--r-md); padding: 0 26px 24px; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; }
.press-card .pc-top { height: 5px; margin: 0 -26px 22px; }
.press-card[data-accent="coral"] .pc-top { background: var(--coral); }
.press-card[data-accent="gold"]  .pc-top { background: var(--gold); }
.press-card[data-accent="teal"]  .pc-top { background: var(--teal); }
.press-card .pc-kind { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-mut); margin-bottom: 12px; }
.press-card[data-accent="coral"] .pc-kind { color: var(--coral-600); }
.press-card[data-accent="gold"]  .pc-kind { color: #A9750F; }
.press-card[data-accent="teal"]  .pc-kind { color: var(--teal); }
.press-card .pc-title { font-family: var(--font-serif); font-weight: 400; font-size: 21px; line-height: 1.18; color: var(--ink); flex: 1; }
.press-card .pc-link { margin-top: 18px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.press-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--coral); }
.press-card:hover .arw { transform: translateX(3px); }
.press-card .arw { transition: transform .18s; }

/* speaking list */
.speak-list { list-style: none; padding: 0; margin: 0; }
.speak-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-top: 1px solid var(--on-harbor-line); }
.speak-list li:last-child { border-bottom: 1px solid var(--on-harbor-line); }
.speak-list .sl-name { font-family: var(--font-serif); font-size: clamp(19px, 2.4vw, 28px); color: var(--on-harbor); }
.speak-list .sl-year { font-family: var(--font-mono, monospace); font-size: 13px; letter-spacing: .04em; color: var(--gold); white-space: nowrap; }

@media (max-width: 920px) { .press-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .press-grid { grid-template-columns: 1fr; } .speak-list li { flex-direction: column; gap: 4px; } }

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

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero--b { grid-template-columns: 1fr; }
  .hero--b .h-photo { min-height: 46vh; order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-3, .stats, .steps, .hero--c .specimens { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.rev .f-text { order: 0; }
  .feature + .feature { margin-top: 64px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 22px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--harbor); border-bottom: 1px solid var(--on-harbor-line); padding: 8px 22px 18px; }
  .nav-links.open li { padding: 10px 0; }
  .nav-toggle { display: inline-flex; background: none; border: none; color: var(--on-harbor); font-size: 26px; cursor: pointer; }
  .cards-3, .cards-2, .stats, .steps, .hero--c .specimens { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery .wide { grid-column: span 1; }
  .gallery .tall { grid-row: span 1; }
  .marquee-item { width: 240px; height: 300px; }
  .form .row2 { grid-template-columns: 1fr; }
  .do-row { grid-template-columns: 36px 1fr; }
  .do-row .arw { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-switch { right: 12px; bottom: 12px; }
}
