/* =============================================================
   PORTER'S CUSTOM CABINETS — THE WORKSHOP LETTER
   Heirloom craftsmanship · Bone paper · Walnut ink · Brushed brass
   ============================================================= */

:root {
  /* palette */
  --bone:      #EDE8DF;
  --card:      #F4EFE7;
  --charcoal:  #1A1916;
  --charcoal-2:#2A2724;
  --ink:       #0D0C0A;
  --bronze:    #8B6A3A;
  --bronze-2:  #A8825A;
  --graphite:  #544C43;
  --line:      rgba(26,25,22,0.16);
  --line-soft: rgba(26,25,22,0.08);

  /* type */
  --serif: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --sans:  "Inter Tight", -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "Consolas", monospace;

  /* sizing */
  --max:    1340px;
  --pad-x:  clamp(20px, 4.5vw, 64px);
  --pad-y:  clamp(64px, 9vw, 130px);
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain — very subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26,25,22,0.025), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(139,106,58,0.02), transparent 50%);
  mix-blend-mode: multiply;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Type system ────────────────────────────────────────────── */
.k, .kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
}
h1, h2, h3, h4, .display {
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--charcoal);
  
}
h1, .display-xl {
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: 0.98;
}
h2, .display-lg { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; }
h3, .display-md { font-size: clamp(22px, 2.4vw, 34px); }
h4, .display-sm { font-size: clamp(18px, 1.5vw, 22px); }

em, .italic {
  font-style: italic;
  
  color: var(--bronze);
}
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Containers ─────────────────────────────────────────────── */
.wrap   { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); position: relative; z-index: 2; }
.section--dark  { background: var(--charcoal); color: var(--card); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--card); }
.section--dark .kicker { color: var(--bronze-2); opacity: 1; }
.section--card { background: var(--card); }

/* ── Header / nav ───────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(241, 236, 226, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand__mark { width: 22px; height: 32px; object-fit: contain; display: block; }
.brand__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  line-height: 1;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 4px;
}
.nav {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav a {
  color: var(--charcoal);
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 8px 0;
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav a.active { border-bottom: 1px solid var(--bronze); }

.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--charcoal); color: var(--card); }

.nav-toggle { display: none; width: 32px; height: 32px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--charcoal); margin: 6px auto; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding-top: 110px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}
.hero__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.hero__title {
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.96;
}
.hero__title .accent {
  font-style: italic;
  color: var(--bronze);
  font-weight: 300;
}
.hero__intro p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--graphite);
  max-width: 460px;
  font-weight: 300;
}
.hero__intro p + p { margin-top: 18px; }
.hero__ctas {
  display: flex; gap: 14px; margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--charcoal);
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  color: var(--charcoal);
  background: transparent;
}
.btn:hover { background: var(--charcoal); color: var(--card); transform: translateY(-1px); }
.btn--primary { background: var(--charcoal); color: var(--card); }
.btn--primary:hover { background: var(--ink); color: var(--card); }
.btn--brass { background: var(--bronze); color: var(--card); border-color: var(--bronze); }
.btn--brass:hover { background: var(--charcoal); color: var(--card); }

.hero__photo {
  margin-top: 56px;
  height: clamp(420px, 70vh, 760px);
  overflow: hidden;
  position: relative;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slow-zoom 24s ease-in-out infinite alternate;
}
@keyframes slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero__photo-cap {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(20, 17, 13, 0.65);
  color: var(--card);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Heritage bar ───────────────────────────────────────────── */
.heritage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.heritage__cell {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.heritage__cell:last-child { border-right: none; }
.heritage__cell .num {
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1;
  color: var(--charcoal);
  font-weight: 350;
  letter-spacing: -0.02em;
}
.heritage__cell .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 12px;
}

/* ── Section heading block ──────────────────────────────────── */
.head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.head__title { max-width: 540px; }
.head__intro {
  font-family: var(--serif);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--graphite);
  max-width: 540px;
  font-weight: 300;
}
.head--center {
  grid-template-columns: 1fr;
  text-align: center;
  gap: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

/* dovetail divider */
.dovetail-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  margin: 80px 0;
}
.dovetail-rule .line {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 240px;
}
.dovetail-rule svg { width: 32px; opacity: 0.7; }

/* ── Story split (image left, copy right) ───────────────────── */
.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.story__photo {
  height: clamp(420px, 60vh, 640px);
  overflow: hidden;
  background: var(--charcoal);
}
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
  margin-top: 18px;
  max-width: 520px;
}
.story__body p:first-of-type { margin-top: 32px; }
.story__body .dropcap::first-letter {
  font-family: var(--serif);
  font-size: 4.6em;
  line-height: 0.92;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--bronze);
  font-weight: 300;
  font-style: italic;
}
.story__sig {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
}
.story__sig-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--charcoal);
}
.story__sig-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
}

/* ── Portfolio grid ─────────────────────────────────────────── */
.portfolio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.proj {
  position: relative;
  background: var(--card);
  overflow: hidden;
  transition: transform 0.35s ease;
}
.proj:hover { transform: translateY(-4px); }
.proj__media {
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  overflow: hidden;
  position: relative;
}
.proj__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.proj:hover .proj__media img { transform: scale(1.04); }
.proj__placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, var(--charcoal-2) 0%, var(--charcoal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--bronze-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}
.proj__placeholder span { max-width: 220px; line-height: 1.7; }
.proj__body {
  padding: 22px 22px 26px;
}
.proj__cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.proj__title {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 8px;
  color: var(--charcoal);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.proj__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 10px;
}

.proj--xl  { grid-column: span 7; }
.proj--lg  { grid-column: span 5; }
.proj--md  { grid-column: span 4; }
.proj--sm  { grid-column: span 4; }
.proj--wide { grid-column: span 8; }

/* ── Process steps ──────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.section--dark .process { border-color: rgba(255, 255, 255, 0.14); }
.step {
  padding: 44px 36px 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-direction: column;
  min-height: 320px;
}
.step__num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--bronze-2);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
}
.step__title {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 24px;
  color: var(--card);
  font-weight: 400;
}
.step__dur {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-2);
  margin-top: 10px;
}
.step__sum {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(250, 246, 238, 0.85);
  margin-top: 22px;
}
.step__detail {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(250, 246, 238, 0.62);
  margin-top: 16px;
  flex: 1;
}

/* ── Materials ──────────────────────────────────────────────── */
.species {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.species__card {
  background: var(--card);
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  position: relative;
}
.species__swatch {
  width: 100%;
  aspect-ratio: 3 / 1;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.swatch--marble    { background: linear-gradient(135deg, #f5f0ec 0%, #e8e0d5 40%, #d4c8bc 100%); }
.swatch--quartz    { background: linear-gradient(135deg, #2a2724 0%, #3d3833 50%, #524d48 100%); }
.swatch--quartzite { background: linear-gradient(135deg, #c8b8a2 0%, #b09d87 50%, #907a62 100%); }
.swatch--porcelain { background: linear-gradient(135deg, #ede8df 0%, #d8d0c6 60%, #c2b8ad 100%); }
.swatch--granite   { background: linear-gradient(135deg, #1a1916 0%, #2c2927 50%, #3e3b37 100%); }
.swatch--wood      { background: linear-gradient(135deg, #b08560 0%, #95684a 60%, #6e4a30 100%); }
.species__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--charcoal);
  font-weight: 400;
}
.species__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--graphite);
  margin-top: 8px;
}
.species__tier {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

.finishes, .hardware {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
  margin-top: 40px;
}
.finishes .row, .hardware .row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.row__name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--charcoal);
  font-weight: 400;
  min-width: 150px;
}
.row__note {
  font-size: 14px;
  color: var(--graphite);
  flex: 1;
}
.row__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ── Visit / showroom ───────────────────────────────────────── */
.visit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.visit__photo {
  height: clamp(380px, 55vh, 580px);
  background: var(--charcoal);
  overflow: hidden;
}
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__photo .placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 30px),
    linear-gradient(135deg, var(--charcoal-2) 0%, var(--charcoal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--bronze-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.bring-list {
  margin-top: 28px;
  list-style: none;
}
.bring-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.bring-list .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bronze);
  letter-spacing: 0.18em;
  min-width: 28px;
}
.bring-list .t {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--charcoal);
  font-weight: 400;
}
.bring-list .d {
  font-size: 14px;
  color: var(--graphite);
  margin-top: 4px;
  width: 100%;
  flex-basis: 100%;
  margin-left: 44px;
}

/* ── Investment band ────────────────────────────────────────── */
.invest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.invest__cell {
  padding: 24px 0;
  border-top: 1px solid rgba(160, 118, 62, 0.4);
}
.invest__cell .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-2);
}
.invest__cell .num {
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 54px);
  color: var(--card);
  margin-top: 12px;
  line-height: 1;
  font-weight: 350;
  font-style: italic;
  letter-spacing: -0.02em;
}
.invest__cell .note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(250, 246, 238, 0.7);
  line-height: 1.6;
}

/* ── Reviews ────────────────────────────────────────────────── */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.review {
  background: var(--card);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
}
.review__stars {
  font-family: var(--serif);
  color: var(--bronze);
  font-size: 18px;
  letter-spacing: 4px;
}
.review__quote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  margin-top: 18px;
  color: var(--charcoal);
  font-weight: 350;
}
.review__name {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
}
.review__src {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ── Form ───────────────────────────────────────────────────── */
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: span 2; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
}
.field input, .field select, .field textarea {
  font-family: var(--serif);
  font-size: 18px;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--charcoal);
  color: var(--charcoal);
  outline: none;
  width: 100%;
  font-weight: 400;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--bronze);
}
.form__submit {
  grid-column: span 2;
  margin-top: 16px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(241, 236, 226, 0.7);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer__col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-2);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col p, .footer__col li {
  font-size: 14px;
  line-height: 1.8;
  list-style: none;
  color: rgba(241, 236, 226, 0.72);
}
.footer__col a:hover { color: var(--card); }
.footer__brand {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--card);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.footer__brand em { color: var(--bronze-2); font-style: italic; }
.footer__motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(241, 236, 226, 0.65);
  max-width: 280px;
  line-height: 1.5;
}
.footer__bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(241, 236, 226, 0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 236, 226, 0.5);
}
.footer__bottom a:hover { color: var(--bronze-2); }

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: clamp(96px, 12vw, 160px) var(--pad-x);
  position: relative;
}
.cta-band h2 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(36px, 5.6vw, 80px);
}
.cta-band p {
  font-family: var(--serif);
  font-style: italic;
  margin-top: 24px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: rgba(250, 246, 238, 0.8);
}
.cta-band .btns {
  display: flex; gap: 14px; justify-content: center; margin-top: 40px;
  flex-wrap: wrap;
}
.cta-band .btn { border-color: var(--bronze-2); color: var(--bronze-2); }
.cta-band .btn:hover { background: var(--bronze); color: var(--card); border-color: var(--bronze); }
.cta-band .btn--primary { background: var(--bronze); border-color: var(--bronze); color: var(--card); }
.cta-band .btn--primary:hover { background: var(--card); color: var(--charcoal); border-color: var(--card); }

/* ── Reveal animations (FAIL-OPEN) ──────────────────────────── */
.reveal--hidden { opacity: 0; transform: translateY(20px); }
.reveal--shown  { opacity: 1; transform: translateY(0); transition: opacity 1s ease, transform 1s ease; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__top { grid-template-columns: 1fr; gap: 32px; }
  .heritage { grid-template-columns: repeat(2, 1fr); }
  .heritage__cell:nth-child(2) { border-right: none; }
  .heritage__cell { border-bottom: 1px solid var(--line); }
  .heritage__cell:nth-last-child(-n+2) { border-bottom: none; }
  .head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .story { grid-template-columns: 1fr; gap: 48px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .species { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr; gap: 40px; }
  .invest { grid-template-columns: 1fr; gap: 24px; }
  .reviews { grid-template-columns: 1fr; gap: 24px; }
  .finishes, .hardware { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .portfolio { grid-template-columns: repeat(6, 1fr); }
  .proj--xl, .proj--wide { grid-column: span 6; }
  .proj--lg, .proj--md, .proj--sm { grid-column: span 3; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { padding: 8px 14px; font-size: 10px; }
  .hero__photo { height: 60vh; }
  .step { min-height: 280px; padding: 32px 24px; }
  .process { grid-template-columns: 1fr; }
  .species { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form__submit, .field--full { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .portfolio { grid-template-columns: 1fr; gap: 18px; }
  .proj--xl, .proj--lg, .proj--md, .proj--sm, .proj--wide { grid-column: span 1; }
  .heritage__cell { padding: 28px 20px; }
  .review { padding: 28px 22px; }
  .review__src { position: static; margin-bottom: 12px; }
  .brand__sub { display: none; }
  .dovetail-rule { margin: 48px 0; }
}
@media (max-width: 480px) {
  .heritage { grid-template-columns: 1fr; }
  .heritage__cell { border-right: none; }
  .heritage__cell:not(:last-child) { border-bottom: 1px solid var(--line); }
  .hero__title { font-size: 14vw; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LAYER (v2) — real logo, gallery, lightbox, micro-interactions
   ═══════════════════════════════════════════════════════════════ */

/* readability hardening — nudge lowest-contrast text up */
.step__detail { color: rgba(250, 246, 238, 0.74); }
.invest__cell .note { color: rgba(250, 246, 238, 0.82); }
.footer__col p, .footer__col li { color: rgba(241, 236, 226, 0.82); }
.hero__photo-cap, .proj__placeholder { letter-spacing: 0.18em; }

/* header logo lockup on scroll-top option: keep Idaho mark crisp */
.header { transition: padding .3s ease, background .3s ease, box-shadow .3s ease; }
.header.is-scrolled { padding: 10px 0; box-shadow: 0 1px 0 var(--line-soft), 0 12px 30px -24px rgba(20,17,13,.5); }

/* magnetic / premium buttons */
.btn, .nav-cta { will-change: transform; }
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }

/* hero — refined: brass hairline under title, kinetic underline */
.hero__title h1 { position: relative; }
.hero__intro p:first-of-type { position: relative; }

/* heading brass underline draw (for [data-underline]) */
.uline { position: relative; display: inline-block; }
.uline::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.uline.is-drawn::after { transform: scaleX(1); }

/* ── Real-photo GALLERY mosaic (index) ─────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--charcoal); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); display: block; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--card);
  background: linear-gradient(to top, rgba(20,17,13,.78), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.g-tall  { grid-row: span 2; }
.g-wide  { grid-column: span 6; }
.g-w4    { grid-column: span 4; }
.g-w3    { grid-column: span 3; }
.g-w5    { grid-column: span 5; }
.g-w7    { grid-column: span 7; }
.gallery .zoom-badge {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  border: 1px solid rgba(241,236,226,.5); border-radius: 50%;
  display: grid; place-items: center; color: var(--card);
  opacity: 0; transition: opacity .3s; font-size: 13px;
}
.gallery figure:hover .zoom-badge { opacity: 1; }

/* clickable portfolio cards */
.proj { cursor: zoom-in; }
.proj__media { cursor: zoom-in; }

/* ── Builder partners band ─────────────────────────────────────── */
.builders {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid rgba(255,255,255,.14);
}
.builder-cell {
  padding: 48px 44px; border-right: 1px solid rgba(255,255,255,.14);
}
.builder-cell:last-child { border-right: none; }
.builder-cell .role { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); }
.builder-cell .name { font-family: var(--serif); font-size: clamp(26px,3vw,40px); color: var(--card); margin-top: 14px; font-weight: 350; }
.builder-cell .where { font-family: var(--serif); font-style: italic; color: rgba(250,246,238,.7); margin-top: 10px; font-size: 17px; }
.builder-cell .blurb { font-size: 14px; line-height: 1.7; color: rgba(250,246,238,.62); margin-top: 18px; max-width: 420px; }

/* ── LIGHTBOX ──────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 12, 9, 0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  padding: 5vw;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 92vw; max-height: 82vh; object-fit: contain;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9);
  transform: scale(.96); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  background: var(--charcoal);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 28px; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(241,236,226,.85);
}
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid rgba(241,236,226,.4);
  color: var(--card); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.lightbox__close { top: 28px; right: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--bronze); border-color: var(--bronze); }
.lightbox__count { position: absolute; top: 34px; left: 32px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: rgba(241,236,226,.7); }

/* ── Footer logo lockup ────────────────────────────────────────── */
.footer__logo { width: 168px; height: auto; margin-bottom: 22px; display: block; }

/* ── Decorative accent ────────────────────────────────── */
.id-stamp { display: inline-block; width: 14px; height: 20px; vertical-align: -3px; margin: 0 2px; opacity: .8; }

/* prefers-reduced-motion: kill the moving parts */
@media (prefers-reduced-motion: reduce) {
  .hero__photo img { animation: none !important; }
  .btn::after { display: none; }
  .reveal--hidden { opacity: 1 !important; transform: none !important; }
  .uline::after { transition: none; transform: scaleX(1); }
  * { scroll-behavior: auto !important; }
}

/* ── responsive premium ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .builders { grid-template-columns: 1fr; }
  .builder-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .builder-cell:last-child { border-bottom: none; }
  .gallery { grid-auto-rows: 160px; }
  .g-wide, .g-w7 { grid-column: span 6; }
  .g-w5 { grid-column: span 6; }
  .g-w4, .g-w3 { grid-column: span 6; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery figure, .g-wide, .g-w7, .g-w5, .g-w4, .g-w3 { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .gallery figcaption { opacity: 1; transform: none; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }
  .builder-cell { padding: 36px 26px; }
}
