@import url("/fonts/fonts.css");

:root {
  --ink: #0e0c0a;
  --ink-2: #171310;
  --ink-3: #221b16;
  --bone: #eee7dc;
  --bone-2: #e3d9ca;
  --text-dark: #15110e;
  --text-dark-2: #5b5047;
  --text-light: #efe8de;
  --text-light-2: #a3968a;
  --line-dark: rgba(239, 232, 222, 0.12);
  --line-light: rgba(21, 17, 14, 0.14);
  --iroko: #d0743a;
  --iroko-2: #a9531f;
  --walnut: #3a281d;
  --sawdust: #e9c79e;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(18px, 4.5vw, 72px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.02em; }
::selection { background: var(--iroko); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.label {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--iroko); }
.light .label { color: var(--text-dark-2); }

/* reveal on scroll: content is visible unless the script opts in */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- nav: floating pill ---------- */
.nav {
  position: fixed; z-index: 50;
  top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 28px), 1080px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px;
  background: rgba(20, 16, 13, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.brand i {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: repeating-radial-gradient(circle at 50% 55%, var(--iroko) 0 2px, #7a3b16 2px 3.2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset;
}
.brand small { font-weight: 400; color: var(--text-light-2); }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--text-light-2); transition: color .2s, background .2s; }
.nav ul a:hover { color: var(--text-light); background: rgba(255,255,255,.06); }
.nav .go { padding: 11px 18px; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: background .25s; }
.nav .go:hover { background: var(--iroko); }
@media (max-width: 880px) { .nav ul { display: none; } .brand small { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); padding-block: 130px 56px; display: grid; align-items: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(208, 116, 58, .20), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(208, 116, 58, .08), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
.hero h1 { font-size: clamp(50px, 7vw, 118px); margin-top: 26px; }
.hero h1 em { color: var(--sawdust); }
.hero .lede { margin-top: 30px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--text-light-2); }
.hero .lede b { color: var(--text-light); font-weight: 500; }
.actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-radius: 999px;
  font: 600 15.5px/1 var(--sans); text-decoration: none;
  background: var(--iroko); color: var(--ink);
  transition: transform .3s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--sawdust); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.line { background: transparent; color: var(--text-light); box-shadow: inset 0 0 0 1px var(--line-dark); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--text-light); background: transparent; }

.log { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.log canvas { width: 100%; height: 100%; display: block; }
.log .year {
  position: absolute; left: 0; bottom: 4%;
  font: 500 13px/1.5 var(--mono); letter-spacing: .08em; color: var(--text-light-2);
  padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: 12px;
  background: rgba(14,12,10,.6); backdrop-filter: blur(8px);
}
.log .year b { display: block; font: 500 30px/1 var(--sans); letter-spacing: -0.03em; color: var(--text-light); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 110px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .log { max-width: 460px; justify-self: center; order: -1; margin-bottom: -10px; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line-dark); overflow: hidden; padding-block: 22px; }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font: 500 clamp(30px, 4.4vw, 64px)/1 var(--sans); letter-spacing: -0.04em; padding-inline: 28px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(239, 232, 222, .45); }
.marquee span:nth-child(3n+1) { color: var(--text-light); -webkit-text-stroke: 0; }
.marquee span.dot { color: var(--iroko); -webkit-text-stroke: 0; padding-inline: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- facts ---------- */
.facts { padding-block: clamp(56px, 8vw, 110px); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.fact { padding: 6px 28px 6px 0; display: grid; gap: 14px; align-content: start; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.fact b { font: 500 clamp(44px, 5.6vw, 88px)/0.9 var(--sans); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.fact b sup { font-size: .42em; color: var(--iroko); vertical-align: top; margin-left: 2px; }
.fact > span { font-size: 15px; color: var(--text-light-2); max-width: 22ch; }
@media (max-width: 900px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- light sections ---------- */
.light { background: var(--bone); color: var(--text-dark); }
section { padding-block: clamp(80px, 11vw, 160px); }
.shead { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.shead h2 { font-size: clamp(44px, 6.6vw, 104px); margin-top: 20px; }
.shead p { font-size: clamp(17px, 1.3vw, 19px); color: var(--text-light-2); max-width: 46ch; justify-self: end; }
.light .shead p { color: var(--text-dark-2); }
@media (max-width: 900px) { .shead { grid-template-columns: 1fr; } .shead p { justify-self: start; } }

/* wood panels standing in for photos: grain drawn by SVG turbulence */
.wood {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--tone, var(--iroko-2));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0022 0.085' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.3 1.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.6'/%3E%3C/svg%3E");
  background-image: linear-gradient(160deg, rgba(255,255,255,.10), transparent 40%, rgba(0,0,0,.28)), var(--grain);
  background-size: cover;
}
.wood.walnut { --tone: var(--walnut); }
.wood > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about .band { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.about .band .wood { border-radius: 22px; aspect-ratio: 16 / 10; }
.about .band .wood:last-child { aspect-ratio: auto; }
@media (max-width: 700px) { .about .band { grid-template-columns: 1fr; } .about .band .wood:last-child { aspect-ratio: 16 / 10; } }
.wood.oak { --tone: #b98b57; }
.wood .tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(14,12,10,.45); color: rgba(255,244,230,.88); backdrop-filter: blur(6px);
}

/* ---------- what we make ---------- */
.makes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.make {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--text-light); text-decoration: none;
}
.make .wood { position: absolute; inset: 0; z-index: 0; transition: transform 1.2s var(--ease); }
.make:hover .wood { transform: scale(1.05); }
.make::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.88) 8%, rgba(10,8,6,.15) 55%, transparent); z-index: 0; }
.make .in { position: relative; z-index: 1; padding: 28px; display: grid; gap: 12px; }
.make .no { font: 500 13px/1 var(--mono); color: var(--sawdust); }
.make h3 { font-size: clamp(36px, 3.4vw, 52px); }
.make p { color: rgba(239,232,222,.78); max-width: 34ch; }
.make .wood .tag { top: 14px; bottom: auto; left: auto; right: 14px; }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line-light);
  font-size: 16px; font-weight: 500; color: var(--text-dark);
  transition: background .25s, color .25s, border-color .25s;
}
.chips span:hover { background: var(--text-dark); color: var(--bone); border-color: var(--text-dark); }
@media (max-width: 960px) {
  .makes { grid-template-columns: 1fr; }
  .make { min-height: 380px; }
}

/* ---------- projects: cards that stack as you scroll ---------- */
.stack { display: grid; gap: 28px; }
.pcard {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border-radius: 28px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  min-height: min(76vh, 680px);
  box-shadow: 0 -30px 60px rgba(0,0,0,.35);
}
.pcard:nth-child(2) { top: calc(env(safe-area-inset-top, 0px) + 116px); background: var(--ink-3); }
.pcard:nth-child(3) { top: calc(env(safe-area-inset-top, 0px) + 136px); background: #2a2019; }
.pcard .pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; gap: 4px; }
.pcard .pics .wood:first-child { grid-column: 1 / -1; }
.pcard .txt { padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.pcard .where { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard .where span { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--text-light-2); }
.pcard h3 { font-size: clamp(38px, 4.2vw, 64px); }
.pcard p { color: var(--text-light-2); font-size: 16.5px; }
.pcard dl { margin: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.pcard dt { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-light-2); }
.pcard dd { margin: 6px 0 0; font-size: 15px; line-height: 1.35; }
.pcard .ig { color: var(--sawdust); text-decoration: none; font-weight: 500; }
.pcard .ig:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .pcard, .pcard:nth-child(2), .pcard:nth-child(3) { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .pcard .pics { aspect-ratio: 4 / 3.4; }
  .pcard dl { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- doors ---------- */
.doors .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.doors h2 { font-size: clamp(44px, 6vw, 96px); margin-top: 20px; }
.doors .body { margin-top: 28px; display: grid; gap: 16px; color: var(--text-light-2); max-width: 46ch; }
.big30 { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
.big30 b { font: 600 clamp(110px, 13vw, 200px)/0.8 var(--sans); letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px var(--iroko); }
.big30 span { font-size: 16px; max-width: 18ch; color: var(--text-light); }
.doorway { perspective: 1600px; display: grid; place-items: center; }
.frame {
  width: min(100%, 360px); aspect-ratio: 9 / 18; border-radius: 6px; position: relative;
  background: radial-gradient(70% 60% at 50% 40%, rgba(233, 199, 158, .55), rgba(208,116,58,.15) 60%, transparent), var(--ink);
  box-shadow: 0 0 0 14px #2b2119, 0 40px 80px rgba(0,0,0,.5);
}
.door {
  position: absolute; inset: 0; border-radius: 4px;
  transform-origin: left center; transition: transform 1.4s var(--ease);
  box-shadow: inset 0 0 0 12px rgba(0,0,0,.16);
}
.door::before, .door::after {
  content: ""; position: absolute; left: 16%; right: 16%; border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255,240,220,.2), inset 0 0 0 8px rgba(0,0,0,.08);
}
.door::before { top: 9%; height: 38%; }
.door::after { top: 53%; height: 38%; }
.door .knob { position: absolute; right: 8%; top: 50%; width: 10px; height: 34px; border-radius: 6px; background: linear-gradient(#e7c690, #8a6531); z-index: 1; }
.doorway:hover .door, .doorway.open .door { transform: rotateY(-62deg); }
.doorway .hint { margin-top: 30px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-light-2); }
@media (max-width: 900px) { .doors .wrap { grid-template-columns: 1fr; } .frame { width: min(70%, 300px); } }

/* ---------- timber ---------- */
.timbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.timber { border-radius: 24px; overflow: hidden; background: #fff8ee; border: 1px solid var(--line-light); display: grid; grid-template-rows: 240px auto; }
.timber .copy { padding: 30px; display: grid; gap: 14px; }
.timber h3 { font-size: 52px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.timber h3 em { font-size: 20px; color: var(--text-dark-2); letter-spacing: 0; }
.timber p { color: var(--text-dark-2); }
.timber dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 15px; }
.timber dt { font: 500 11px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark-2); }
.timber dd { margin: 0; }
@media (max-width: 800px) { .timbers { grid-template-columns: 1fr; } .timber { grid-template-rows: 180px auto; } }

/* ---------- how we build ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 28px; border-radius: 22px; background: var(--bone-2); display: grid; gap: 14px; align-content: start; min-height: 260px; }
.step .n { font: 500 13px/1 var(--mono); color: var(--iroko-2); }
.step h3 { font-size: 28px; letter-spacing: -0.03em; margin-top: auto; }
.step p { color: var(--text-dark-2); font-size: 15.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* ---------- about ---------- */
.about .quote { font: 300 clamp(32px, 4.4vw, 68px)/1.08 var(--sans); letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.about .quote em { color: var(--sawdust); }
.about .cols { margin-top: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.about .cols p { color: var(--text-light-2); }
@media (max-width: 900px) { .about .cols { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding-bottom: 40px; }
.contact h2 { font-size: clamp(56px, 11vw, 190px); letter-spacing: -0.06em; }
.contact h2 em { color: var(--iroko); }
.contact .row { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.contact .row p { color: var(--text-light-2); max-width: 34ch; }
.contact dt { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-light-2); }
.contact dd { margin: 8px 0 0; font-size: 19px; line-height: 1.35; }
.contact dd a { text-decoration: none; overflow-wrap: anywhere; }
.contact dd a:hover { color: var(--iroko); }
.todo { background: rgba(208,116,58,.22); color: var(--sawdust); padding: 0 6px; border-radius: 4px; font-size: .8em; font-family: var(--mono); }
@media (max-width: 900px) { .contact .row { grid-template-columns: 1fr 1fr; } .contact .row > :first-child { grid-column: 1 / -1; } }

footer { border-top: 1px solid var(--line-dark); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; font-size: 14px; color: var(--text-light-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee .track { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .door, .make .wood { transition: none; }
}
.door.photo { box-shadow: none; }
.door.photo::before, .door.photo::after { display: none; }
.door.photo > img { border-radius: 4px; }

/* ---------- project pages ---------- */
.phero { padding-block: calc(env(safe-area-inset-top, 0px) + 130px) clamp(40px, 6vw, 80px); background: radial-gradient(60% 70% at 85% 0%, rgba(208, 116, 58, .16), transparent 70%); }
.phero .back { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-light-2); text-decoration: none; }
.phero .back:hover { color: var(--sawdust); }
.phero .where, .pcard .where { display: flex; flex-wrap: wrap; gap: 8px; }
.phero .where { margin-top: 34px; }
.phero .where span { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--text-light-2); }
.phero h1 { font-size: clamp(56px, 10vw, 160px); letter-spacing: -0.055em; margin-top: 22px; }
.pintro { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.ptext { display: grid; gap: 16px; color: var(--text-light-2); max-width: 62ch; font-size: 17.5px; }
.pintro dl { margin: 0; display: grid; gap: 18px; align-content: start; }
.pintro dt { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-light-2); }
.pintro dd { margin: 4px 0 0; font-size: 19px; line-height: 1.35; }
@media (max-width: 800px) { .pintro { grid-template-columns: 1fr; } }
.gset { padding-block: clamp(28px, 4vw, 48px); }
.gh { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; }
.gh span { font: 500 13px/1 var(--mono); color: var(--iroko); letter-spacing: 0; }
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery .ph { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease), opacity .3s; }
.gallery .ph:hover img { transform: scale(1.03); }
.gallery .ph:focus-visible { outline: 2px solid var(--iroko); outline-offset: 3px; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.vids figure { margin: 0; display: grid; gap: 10px; }
.vids video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: var(--ink-3); }
.vids figcaption { font-size: 14.5px; color: var(--text-light-2); }
.pnext { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.pnext .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(40px, 6vw, 72px); }
.nextp { text-decoration: none; display: grid; gap: 12px; }
.nextp b { font: 500 clamp(36px, 5vw, 72px)/1 var(--sans); letter-spacing: -0.045em; }
.nextp .arr { color: var(--iroko); display: inline-block; transition: transform .3s var(--ease); }
.nextp:hover .arr { transform: translateX(8px); }

/* photo viewer */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 6, 5, .96); color: var(--text-light); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(8, 6, 5, .9); }
.lb img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 8px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(20, 16, 13, .7); color: var(--text-light); font-size: 22px; cursor: pointer; }
.lb button:hover { background: var(--iroko); color: var(--ink); }
.lb .x { top: calc(env(safe-area-inset-top, 0px) + 16px); right: 16px; }
.lb .pv { left: 16px; top: 50%; transform: translateY(-50%); }
.lb .nx { right: 16px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); text-align: center; font-size: 14.5px; color: var(--text-light-2); }
@media (max-width: 700px) { .lb .pv, .lb .nx { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 52px); transform: none; } .lb img { max-height: calc(100dvh - 180px); } }

/* links from the home page to the project pages */
.pcard .more { color: var(--sawdust); text-decoration: none; font-weight: 600; display: inline-flex; gap: 8px; }
.pcard .more:hover { text-decoration: underline; }
.morework { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.morework a { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 260px; padding: 28px; border-radius: 24px; overflow: hidden; text-decoration: none; isolation: isolate; border: 1px solid var(--line-dark); }
.morework img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.morework a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,8,6,.88), rgba(10,8,6,.1) 70%); }
.morework a:hover img { transform: scale(1.05); }
.morework b { font: 500 clamp(32px, 3.4vw, 48px)/1 var(--sans); letter-spacing: -0.04em; display: block; }
.morework small { display: block; margin-top: 10px; color: rgba(239,232,222,.78); font-size: 15px; }
.morework .arr { font-size: 28px; color: var(--sawdust); }
@media (max-width: 760px) { .morework { grid-template-columns: 1fr; } }
.doors .see { margin-top: 32px; }
/* no eyebrow labels: headings start the sections */
.hero h1, .shead h2, .doors h2 { margin-top: 0; }
.nextp small { font-size: 15px; color: var(--text-light-2); }

/* ---------- questions ---------- */
.faq { padding-block: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line-dark); }
.qa { display: grid; border-top: 1px solid var(--line-dark); }
.qa details { border-bottom: 1px solid var(--line-dark); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; font: 500 clamp(20px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -0.025em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font: 300 32px/1 var(--sans); color: var(--iroko); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--sawdust); }
.qa summary:focus-visible { outline: 2px solid var(--iroko); outline-offset: 4px; border-radius: 4px; }
.qa details p { padding-bottom: 26px; max-width: 68ch; color: var(--text-light-2); }
footer a { color: var(--text-light-2); text-decoration: none; }
footer a:hover { color: var(--sawdust); }
