/* ==========================================================================
   WESTFORD — Cabinetry & Millwork
   Design system + components.  Written from scratch for this project.
   Palette (client supplied):  #1A1815  #F4F1EA  #B49A6E  #6B655B
   Type: Fraunces (display) + Jost (interface) — both Google Fonts.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* client palette */
  --ink:    #1A1815;
  --bone:   #F4F1EA;
  --brass:  #B49A6E;
  --stone:  #6B655B;

  /* tints & shades derived from the four above (no new hues) */
  --ink-90:  #2A2723;
  --ink-75:  #403C36;
  --bone-2:  #EBE6DA;   /* bone, 4% deeper — alternating bands */
  --bone-3:  #E1DBCC;   /* bone, 8% deeper — inset panels */
  --brass-dk:#8E784F;   /* brass, darkened — for text on bone (AA contrast) */
  --brass-lt:#CBB68F;   /* brass, lightened — for text on ink */

  /* lines */
  --line:      rgba(26, 24, 21, .14);
  --line-soft: rgba(26, 24, 21, .08);
  --line-inv:  rgba(244, 241, 234, .16);
  --line-inv-soft: rgba(244, 241, 234, .09);

  /* type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --gut: clamp(20px, 4.6vw, 72px);      /* page side padding */
  --maxw: 1400px;
  --sec: clamp(76px, 9.5vw, 158px);     /* section padding block */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--brass); color: var(--ink); }

/* ---------- 3. Typography ---------- */
.d1, .d2, .d3, .h2, .h3, .h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.d1 { font-size: clamp(3.1rem, 6.6vw, 6.6rem); line-height: .96; letter-spacing: -.028em; }
.d2 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.024em; }
.d3 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.24; }
.h4 { font-size: 1.16rem; line-height: 1.3; letter-spacing: -.01em; }

.d1 em, .d2 em, .d3 em { font-style: italic; font-weight: 300; color: var(--brass-dk); }
.on-ink .d1 em, .on-ink .d2 em, .on-ink .d3 em { color: var(--brass); }

.eyebrow {
  font-family: var(--sans);
  font-size: .688rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
/* mitre mark — the signature motif: the 45° line a joiner cuts to */
.eyebrow::before {
  content: "";
  width: 1px; height: 13px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
  margin-right: .15em;
}
.on-ink .eyebrow { color: var(--brass-lt); }

.lead { font-size: clamp(1.06rem, 1.35vw, 1.3rem); line-height: 1.68; color: var(--ink-75); font-weight: 300; }
.muted { color: var(--stone); }
.on-ink { color: var(--bone); }
.on-ink .muted, .on-ink .lead { color: rgba(244, 241, 234, .68); }

.idx {
  font-family: var(--sans);
  font-size: .688rem; font-weight: 500;
  letter-spacing: .2em;
  color: var(--brass-dk);
}
.on-ink .idx { color: var(--brass); }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(56px, 6.5vw, 104px); }
.band-ink  { background: var(--ink); color: var(--bone); }
.band-bone2 { background: var(--bone-2); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-ink .rule, .rule--inv { background: var(--line-inv); }

/* section head: label left, heading right — asymmetric, editorial */
.sechead { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.sechead__label { grid-column: 1 / 4; }
.sechead__main  { grid-column: 4 / 12; }
.sechead__aside { grid-column: 4 / 12; }
/* heading on the left, a short note on the right — grid, so it never wraps unevenly */
.sechead__split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
}
@media (max-width: 900px) { .sechead__split { grid-template-columns: 1fr; } }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 1.15em 1.9em;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bone);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  position: relative;
}
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.btn:hover { background: var(--brass-dk); border-color: var(--brass-dk); color: var(--bone); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.on-ink .btn--ghost { color: var(--bone); border-color: var(--line-inv); }
.on-ink .btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn--brass { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }

/* text link with an underline that draws in */
.tlink {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: .55em; position: relative;
}
.tlink svg { width: 15px; height: 15px; transition: transform .45s var(--ease-out); }
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: .28;
  transform-origin: left; transition: transform .5s var(--ease-out), opacity .4s;
}
.tlink:hover::after { opacity: 1; }
.tlink:hover svg { transform: translate(3px, -3px); }

/* ---------- 6. Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .5s var(--ease), border-color .5s var(--ease), color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in {
  max-width: 1760px; margin-inline: auto; padding-inline: var(--gut);
  height: 92px; display: flex; align-items: center; gap: clamp(20px, 3vw, 56px);
  transition: height .5s var(--ease);
}
.hdr--over { color: var(--bone); }
.hdr--solid, .hdr.is-stuck {
  background: var(--bone);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.hdr.is-stuck .hdr__in { height: 74px; }

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word {
  font-family: var(--serif); font-weight: 400; font-size: 1.32rem;
  letter-spacing: .17em; line-height: 1; text-transform: uppercase;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.brand__sub {
  display: block; font-family: var(--sans); font-size: .5rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; margin-top: .42em; opacity: .62;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); margin-left: auto; }
.nav__a {
  font-size: .75rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase;
  position: relative; padding-block: .4em;
}
.nav__a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__a:hover::after, .nav__a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__a[aria-current="page"] { color: var(--brass); }
.hdr--solid .nav__a[aria-current="page"], .hdr.is-stuck .nav__a[aria-current="page"] { color: var(--brass-dk); }

.hdr__cta { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); flex: none; }
.hdr__tel { font-size: .75rem; letter-spacing: .12em; display: inline-flex; align-items: center; gap: .6em; }
.hdr__tel svg { width: 15px; height: 15px; opacity: .7; }
.hdr__btn {
  font-size: .688rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  border: 1px solid currentColor; padding: .95em 1.5em;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.hdr__btn:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

.burger { display: none; width: 26px; height: 26px; margin-left: auto; }
.burger svg { width: 26px; height: 26px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 95; background: var(--ink); color: var(--bone);
  padding: 108px var(--gut) 40px;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .72s var(--ease-out);
  visibility: hidden;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer__brand { position: absolute; top: 28px; left: var(--gut); }
.drawer__close { position: absolute; top: 34px; right: var(--gut); }
.drawer__close svg { width: 24px; height: 24px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__a {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1; padding-block: .48em; border-bottom: 1px solid var(--line-inv-soft);
  display: flex; align-items: baseline; justify-content: space-between;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.drawer__a .idx { font-size: .625rem; }
.drawer__foot { margin-top: auto; padding-top: 34px; display: grid; gap: 18px; }
.drawer__foot .btn { justify-content: center; }

/* ---------- 7. Reveal ---------- */
.rv { }
.rv > * { }
[data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-rv].in { opacity: 1; transform: none; }
[data-rv-d="1"] { transition-delay: .08s; }
[data-rv-d="2"] { transition-delay: .16s; }
[data-rv-d="3"] { transition-delay: .24s; }
[data-rv-d="4"] { transition-delay: .32s; }
[data-rv-d="5"] { transition-delay: .40s; }

/* image reveal: clip the INNER img, never the observed wrapper */
.imgwrap { position: relative; overflow: hidden; background: var(--bone-3); }
.imgwrap > img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transform: scale(1.08);
  transition: clip-path 1.15s var(--ease-out), transform 1.6s var(--ease-out);
}
.imgwrap.in > img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* brass joint frame — offset hairline, the second signature motif */
.framed { position: relative; }
.framed::after {
  content: ""; position: absolute; pointer-events: none;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--brass);
  opacity: .55;
}
.framed--tl::after { inset: -16px 16px 16px -16px; }
@media (max-width: 900px) { .framed::after { display: none; } }

/* ---------- 8. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--bone); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.6s var(--ease-out) .1s forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,24,21,.66) 0%, rgba(26,24,21,.22) 30%, rgba(26,24,21,.42) 58%, rgba(26,24,21,.90) 100%),
    linear-gradient(95deg, rgba(26,24,21,.78) 0%, rgba(26,24,21,.52) 34%, rgba(26,24,21,.10) 62%, rgba(26,24,21,0) 80%);
}
.hero__in { position: relative; width: 100%; padding-block: 136px 46px; }
.hero__eyebrow { color: var(--brass-lt); }
.hero__eyebrow::before { background: var(--brass-lt); }
.hero h1 { margin-top: 1.15rem; max-width: 15ch; }
.hero h1 em { color: var(--brass-lt); }
.hero__sub { margin-top: 1.9rem; max-width: 46ch; color: rgba(244,241,234,.76); font-weight: 300; font-size: clamp(1rem, 1.2vw, 1.16rem); }
.hero__acts { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__acts .btn:not(.btn--ghost) { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.hero__acts .btn:not(.btn--ghost):hover { background: var(--brass); border-color: var(--brass); }
.hero__acts .btn--ghost { color: var(--bone); border-color: rgba(244,241,234,.4); background: transparent; }
.hero__acts .btn--ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }

.hero__bar {
  margin-top: clamp(46px, 6vw, 92px);
  border-top: 1px solid var(--line-inv);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stat { padding: 26px 26px 34px 0; border-right: 1px solid var(--line-inv); }
.hero__stat:last-child { border-right: 0; }
.hero__stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1; font-variation-settings: "SOFT" 0, "WONK" 0; }
.hero__stat span { display: block; margin-top: .7rem; font-size: .688rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,241,234,.6); }
.hero__scroll { position: absolute; right: var(--gut); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .625rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,241,234,.6); }
.hero__scroll i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--brass), transparent); }

/* page hero (inner pages) */
.phero { position: relative; padding-block: 190px clamp(56px, 6vw, 96px); color: var(--bone); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,24,21,.80), rgba(26,24,21,.55) 55%, rgba(26,24,21,.80)); }
.phero__in { position: relative; }
.phero h1 { margin-top: 1.1rem; max-width: 18ch; }
.phero__sub { margin-top: 1.5rem; max-width: 52ch; color: rgba(244,241,234,.72); font-weight: 300; }
.crumbs { display: flex; gap: .7em; font-size: .688rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,241,234,.55); }
.crumbs span { color: var(--brass-lt); }

/* ---------- 9. Statement ---------- */
.stmt__l { grid-column: 1 / 4; }
.stmt__m { grid-column: 4 / 10; }
.stmt__r { grid-column: 10 / 13; }
.stmt p + p { margin-top: 1.4rem; }
.sig { margin-top: 2.4rem; display: flex; align-items: center; gap: 1rem; }
.sig__name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 300; }
.sig__role { font-size: .688rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }

/* ---------- 10. Disciplines ---------- */
.disc { border-top: 1px solid var(--line); }
.disc__row {
  display: grid; grid-template-columns: 3.2rem 1fr minmax(0, 34ch) 3rem;
  gap: clamp(18px, 3vw, 48px); align-items: center;
  padding-block: clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  transition: padding-inline .55s var(--ease), background .55s var(--ease);
  position: relative;
}
.disc__row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.disc__row:hover::before { transform: scaleX(1); }
.disc__row:hover { padding-inline: clamp(6px, 1.2vw, 20px); }
.disc__ico svg { width: 34px; height: 34px; stroke-width: 1; color: var(--brass-dk); }
.disc__t { display: flex; align-items: baseline; gap: 1.1rem; }
.disc__go svg { width: 20px; height: 20px; opacity: .35; transition: transform .5s var(--ease-out), opacity .4s; }
.disc__row:hover .disc__go svg { opacity: 1; transform: translate(4px, -4px); }

/* ---------- 11. Work ---------- */
.work__item { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: center; }
.work__item + .work__item { margin-top: clamp(70px, 8vw, 130px); }
.work__fig { grid-column: 1 / 8; }
.work__txt { grid-column: 9 / 13; }
.work__item--alt .work__fig { grid-column: 6 / 13; order: 2; }
.work__item--alt .work__txt { grid-column: 1 / 5; order: 1; }
.work__fig .imgwrap { aspect-ratio: 4 / 3; }
.work__meta { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1rem; }
.work__t { margin-top: .2rem; }
.work__d { margin-top: 1rem; color: var(--stone); font-weight: 300; }
.work__spec { margin-top: 1.7rem; border-top: 1px solid var(--line); }
.work__spec div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .72rem; border-bottom: 1px solid var(--line); font-size: .875rem; }
.work__spec dt, .work__spec span:first-child { color: var(--stone); letter-spacing: .04em; }
.work__cta { margin-top: 1.9rem; }

/* ---------- 12. Process ---------- */
.proc { position: relative; overflow: hidden; }
.proc__bg { position: absolute; inset: 0; }
.proc__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.proc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(26,24,21,.72) 40%, var(--ink)); }
.proc__in { position: relative; }
.proc__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-inv); margin-top: clamp(44px, 5vw, 76px); }
.proc__step { padding: clamp(28px, 2.6vw, 42px) clamp(18px, 1.8vw, 30px) clamp(34px, 3.4vw, 52px) 0; border-right: 1px solid var(--line-inv); position: relative; }
.proc__step:last-child { border-right: 0; padding-right: 0; }
.proc__step::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.proc__step.in::before { transform: scaleX(1); }
.proc__step:nth-child(2)::before { transition-delay: .12s; }
.proc__step:nth-child(3)::before { transition-delay: .24s; }
.proc__step:nth-child(4)::before { transition-delay: .36s; }
.proc__step:nth-child(5)::before { transition-delay: .48s; }
.proc__ico { margin: 1.6rem 0 1.4rem; }
.proc__ico svg { width: 42px; height: 42px; stroke-width: .9; color: var(--brass); }
.proc__step p { margin-top: .7rem; font-size: .9375rem; color: rgba(244,241,234,.62); font-weight: 300; }

/* ---------- 13. FAQ ---------- */
.faq__l { grid-column: 1 / 5; position: sticky; top: 128px; align-self: start; }
.faq__r { grid-column: 6 / 13; }
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  padding-block: clamp(20px, 2.2vw, 30px); text-align: left;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.12rem, 1.5vw, 1.42rem); line-height: 1.32;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  transition: color .4s var(--ease);
}
.acc__q:hover { color: var(--brass-dk); }
.acc__q span:first-child { display: flex; gap: 1.1rem; }
.acc__q .idx { padding-top: .48em; flex: none; }
.acc__ico { flex: none; width: 22px; height: 22px; position: relative; margin-top: .34em; }
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; background: var(--brass-dk);
  left: 50%; top: 50%; transition: transform .5s var(--ease-out), opacity .4s;
}
.acc__ico::before { width: 15px; height: 1px; transform: translate(-50%, -50%); }
.acc__ico::after  { width: 1px; height: 15px; transform: translate(-50%, -50%); }
.acc__i.is-open .acc__ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc__i.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 3rem clamp(22px, 2.2vw, 30px) 3.1rem; color: var(--stone); font-weight: 300; max-width: 66ch; }

/* ---------- 14. Quote ---------- */
.quote { text-align: center; }
.quote__ico svg { width: 40px; height: 40px; margin-inline: auto; color: var(--brass); opacity: .8; stroke-width: .9; }
.quote blockquote { margin-top: 2rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.9vw, 2.6rem); line-height: 1.28; letter-spacing: -.018em; max-width: 22ch; margin-inline: auto; font-variation-settings: "SOFT" 0, "WONK" 0; }
.quote__by { margin-top: 2.2rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.quote__by span { color: var(--brass); display: block; margin-top: .55em; font-size: .688rem; letter-spacing: .16em; opacity: .8; }

/* ---------- 15. CTA band ---------- */
.cta { position: relative; overflow: hidden; color: var(--bone); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(26,24,21,.82); }
.cta__in { position: relative; text-align: center; padding-block: clamp(80px, 9vw, 140px); }
.cta h2 { margin-top: 1.2rem; max-width: 17ch; margin-inline: auto; }
.cta p { margin-top: 1.4rem; max-width: 48ch; margin-inline: auto; color: rgba(244,241,234,.7); font-weight: 300; }
.cta__acts { margin-top: 2.4rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 16. Footer ---------- */
.ftr { background: var(--ink); color: var(--bone); padding-block: clamp(64px, 7vw, 104px) 0; }
.ftr__top { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1.5fr; gap: clamp(28px, 3.4vw, 64px); }
.ftr__blurb { margin-top: 1.6rem; max-width: 34ch; color: rgba(244,241,234,.6); font-weight: 300; font-size: .9375rem; }
.ftr h4 { font-family: var(--sans); font-size: .688rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.5rem; }
.ftr__nav li + li { margin-top: .82rem; }
.ftr__nav a { font-size: .9375rem; color: rgba(244,241,234,.72); transition: color .35s; }
.ftr__nav a:hover { color: var(--brass); }
.ftr__cont li { display: flex; gap: .85rem; font-size: .9375rem; color: rgba(244,241,234,.72); }
.ftr__cont li + li { margin-top: 1.05rem; }
.ftr__cont svg { width: 17px; height: 17px; flex: none; margin-top: .32em; color: var(--brass); }
.soc { display: flex; gap: 10px; margin-top: 1.9rem; }
.soc a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-inv); color: var(--bone);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.soc a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.soc svg { width: 17px; height: 17px; }
.ftr__bot {
  margin-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--line-inv);
  padding-block: 26px 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  font-size: .75rem; letter-spacing: .06em; color: rgba(244,241,234,.45);
}
.ftr__bot nav { margin-left: auto; display: flex; gap: 26px; }
.ftr__bot a:hover { color: var(--brass); }

/* ---------- 17. Gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  font-size: .688rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  padding: .92em 1.5em; border: 1px solid var(--line); color: var(--stone);
  transition: all .4s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 1.8vw, 30px); }
.gal__i { position: relative; overflow: hidden; }
.gal__i.h-6 { grid-column: span 6; }
.gal__i.h-4 { grid-column: span 4; }
.gal__i.h-5 { grid-column: span 5; }
.gal__i.h-7 { grid-column: span 7; }
.gal__i.h-8 { grid-column: span 8; }
.gal__i .imgwrap { height: 100%; }
.gal__i.r-tall .imgwrap { aspect-ratio: 4 / 5; }
.gal__i.r-wide .imgwrap { aspect-ratio: 3 / 2; }
.gal__i.r-sq   .imgwrap { aspect-ratio: 1 / 1; }
.gal__i img { transition: clip-path 1.15s var(--ease-out), transform 1.1s var(--ease-out); }
.gal__i:hover img { transform: scale(1.045); }
.gal__cap {
  position: absolute; inset: auto 0 0 0; padding: clamp(20px, 2vw, 32px);
  color: var(--bone);
  background: linear-gradient(transparent, rgba(26,24,21,.86));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.gal__i:hover .gal__cap { opacity: 1; transform: none; }
.gal__cap .idx { color: var(--brass); }
.gal__cap svg { width: 20px; height: 20px; flex: none; }
.gal__i.is-hidden { display: none; }

/* ---------- 18. Contact page ---------- */
.cform__l { grid-column: 1 / 7; }
.cform__r { grid-column: 8 / 13; }
.field { position: relative; margin-bottom: 30px; }
.field label {
  display: block; font-size: .688rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone); margin-bottom: .8rem;
}
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: .55rem 0 .9rem; font-size: 1.0625rem; font-weight: 300;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-bottom-color: var(--brass-dk); }
.field select { appearance: none; cursor: pointer; }
.field--sel::after {
  content: ""; position: absolute; right: 4px; bottom: 1.3rem; width: 8px; height: 8px;
  border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone);
  transform: rotate(45deg); pointer-events: none;
}
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.consent { display: flex; gap: .9rem; align-items: flex-start; font-size: .875rem; color: var(--stone); margin-bottom: 30px; }
.consent input { width: 17px; height: 17px; margin-top: .35rem; accent-color: var(--brass-dk); flex: none; }

.info { border-top: 1px solid var(--line); }
.info__i { display: flex; gap: 1.3rem; padding-block: clamp(22px, 2.2vw, 30px); border-bottom: 1px solid var(--line); }
.info__i svg { width: 20px; height: 20px; flex: none; margin-top: .3rem; color: var(--brass-dk); }
.info__i h4 { font-family: var(--sans); font-size: .688rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: .6rem; }
.info__i p { font-size: 1.0625rem; font-weight: 300; line-height: 1.6; }
.formnote {
  margin-top: 1.6rem; padding: 1.1rem 1.3rem; font-size: .9375rem;
  background: var(--bone-3); border-left: 2px solid var(--brass-dk); color: var(--ink-75);
}
.mapbox { margin-top: 2.4rem; position: relative; }
.mapbox svg { width: 100%; height: auto; display: block; }
.mapbox .imgwrap { aspect-ratio: 16 / 10; }
.mapbox__pin {
  position: absolute; inset: 0; display: grid; place-items: end center;
  padding-bottom: 20px; pointer-events: none;
}
.mapbox__pin span {
  background: var(--ink); color: var(--bone); padding: .85em 1.4em;
  font-size: .688rem; letter-spacing: .18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .7em;
}
.mapbox__pin svg { width: 15px; height: 15px; color: var(--brass); }

/* ---------- 19. About page bits ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.nums__i { padding: clamp(28px, 3vw, 46px) clamp(18px, 2vw, 34px) clamp(30px, 3.4vw, 50px) 0; border-right: 1px solid var(--line); }
.nums__i:last-child { border-right: 0; }
.nums__i b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; font-variation-settings: "SOFT" 0, "WONK" 0; }
.nums__i span { display: block; margin-top: .9rem; font-size: .688rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.team__i .imgwrap { aspect-ratio: 3 / 4; }
/* portraits are unified with a slight desaturation so mixed sources read as one shoot */
.portrait { filter: saturate(.52) contrast(1.05) brightness(.98); }
.team__n { margin-top: 1.5rem; }
.team__r { margin-top: .5rem; font-size: .688rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dk); }
.team__b { margin-top: 1rem; font-size: .9375rem; color: var(--stone); font-weight: 300; }

.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); }
.vals__i { padding-top: 1.8rem; border-top: 1px solid var(--line); }
.vals__i svg { width: 40px; height: 40px; stroke-width: .95; color: var(--brass-dk); margin-bottom: 1.5rem; }
.vals__i p { margin-top: .9rem; color: var(--stone); font-weight: 300; font-size: .9375rem; }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: center; }
.split__fig { grid-column: 1 / 7; }
.split__txt { grid-column: 8 / 13; }
.split--r .split__fig { grid-column: 7 / 13; order: 2; }
.split--r .split__txt { grid-column: 1 / 6; order: 1; }
.split__fig .imgwrap { aspect-ratio: 5 / 6; }
.split__txt p + p { margin-top: 1.3rem; }

/* small print list w/ hairlines */
.hlist { border-top: 1px solid var(--line); margin-top: 2rem; }
.hlist li { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: .95rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.hlist li span:first-child { color: var(--stone); }
.on-ink .hlist, .on-ink .hlist li { border-color: var(--line-inv); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1180px) {
  .sechead__label { grid-column: 1 / 13; }
  .sechead__main, .sechead__aside { grid-column: 1 / 13; }
  .stmt__l { grid-column: 1 / 13; }
  .stmt__m { grid-column: 1 / 10; }
  .stmt__r { display: none; }
  .work__fig, .work__item--alt .work__fig { grid-column: 1 / 9; order: 1; }
  .work__txt, .work__item--alt .work__txt { grid-column: 1 / 10; order: 2; margin-top: 2rem; }
  .faq__l { grid-column: 1 / 13; position: static; margin-bottom: 2.4rem; }
  .faq__r { grid-column: 1 / 13; }
  .cform__l, .cform__r { grid-column: 1 / 13; }
  .cform__r { margin-top: 3.6rem; }
  .split__fig, .split--r .split__fig { grid-column: 1 / 8; order: 1; }
  .split__txt, .split--r .split__txt { grid-column: 1 / 11; order: 2; margin-top: 2.2rem; }
  .proc__grid { grid-template-columns: repeat(2, 1fr); }
  .proc__step { border-bottom: 1px solid var(--line-inv); padding-right: clamp(18px, 2.6vw, 34px); }
  .proc__step:nth-child(even) { border-right: 0; }
  .proc__step:last-child { grid-column: 1 / -1; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .gal__i.h-4, .gal__i.h-5, .gal__i.h-7, .gal__i.h-8 { grid-column: span 6; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .vals { grid-template-columns: 1fr; }
  .vals__i { padding-top: 1.4rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --sec: clamp(60px, 13vw, 88px); }
  .hero { min-height: 92svh; }
  .hero__in { padding-top: 118px; }
  .hero h1 { max-width: 12ch; }
  .hero__bar { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { padding: 20px 16px 24px 0; border-bottom: 1px solid var(--line-inv); }
  .hero__stat:nth-child(even) { border-right: 0; }
  .hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
  .hero__scroll { display: none; }
  .phero { padding-top: 148px; }

  .disc__row { grid-template-columns: 2.6rem 1fr; row-gap: 12px; padding-block: 24px; }
  .disc__row:hover { padding-inline: 0; }
  .disc__d { grid-column: 2 / 3; }
  .disc__go { display: none; }
  .disc__t { flex-direction: column; gap: .35rem; align-items: flex-start; }

  .work__fig, .work__item--alt .work__fig, .work__txt, .work__item--alt .work__txt { grid-column: 1 / 13; }
  .proc__grid { grid-template-columns: 1fr; }
  .proc__step { border-right: 0; padding-right: 0; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums__i:nth-child(even) { border-right: 0; }
  .nums__i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .team { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(6, 1fr); }
  .gal__i.h-4, .gal__i.h-5, .gal__i.h-6, .gal__i.h-7, .gal__i.h-8 { grid-column: span 6; }
  .gal__cap { opacity: 1; transform: none; }
  .f2 { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__bot nav { margin-left: 0; width: 100%; }
  .acc__q { gap: 1.2rem; font-size: 1.06rem; }
  .acc__q span:first-child { gap: .8rem; }
  .acc__a p { padding-left: 2.4rem; padding-right: 0; }
  .quote blockquote { max-width: 100%; }
  .split__fig, .split--r .split__fig, .split__txt, .split--r .split__txt { grid-column: 1 / 13; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-rv] { opacity: 1; transform: none; }
  .imgwrap > img { clip-path: none; transform: none; }
}
