/* J. Fortune Carpentry & Interiors. Colours, type and voice follow the brand kit (brand-tokens.css). */

@font-face { font-family: "Cormorant Garamond"; src: url(fonts/CormorantGaramond-normal.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/CormorantGaramond-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/Manrope-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --charcoal: #171714;
  --taupe: #40362E;
  --gold: #C2A47C;
  --limestone: #F1EDE5;
  --white: #FFFFFF;

  --on-dark: rgba(241, 237, 229, .78);
  --on-light: rgba(64, 54, 46, .92);
  --line-dark: rgba(241, 237, 229, .16);
  --line-light: rgba(64, 54, 46, .2);

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --edge: max(var(--gutter), calc((100vw - 1280px) / 2));
  --radius: 4px;
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--charcoal); }
body { margin: 0; background: var(--charcoal); color: var(--charcoal); font: 400 16px/1.65 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.04; }
h2 { font-size: clamp(38px, 4.6vw, 68px); letter-spacing: -.008em; }
p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.strip :focus-visible, .statement :focus-visible, .turn :focus-visible, .about :focus-visible, .filters :focus-visible, .pjs :focus-visible { outline-color: var(--taupe); }
[tabindex="-1"]:focus { outline: none; }

.skip { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--charcoal); border-radius: var(--radius); transform: translateY(-200%); text-decoration: none; font-weight: 700; }
.skip:focus { transform: none; }

.ln-mask { padding-bottom: .14em; margin-bottom: -.14em; }

/* Labels */
.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: currentColor; }
.eyebrow--trail { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.eyebrow--trail::after { content: ""; width: 48px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--stack::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--gold); }

/* Buttons */
.ico { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: #D3B893; }
.btn--line { border-color: var(--limestone); color: var(--limestone); background: transparent; }
.btn--line:hover { background: var(--limestone); color: var(--charcoal); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 12px; padding-block: 10px; margin-block: -10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.more .ico { color: var(--gold); }
.more:hover .ico { transform: translateX(5px); }

/* Parallax inside a frame: the picture is taller than its frame and travels within it. */
.plx { position: relative; display: block; overflow: hidden; }
.plx > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; will-change: transform; }
.plx--x > img { left: -9%; top: 0; width: 118%; height: 100%; }

/* Curtain: the page opens and closes on timber slats */
.curtain { display: none; }
.js .curtain { position: fixed; inset: 0; z-index: 150; display: flex; overflow: hidden; pointer-events: none; animation: curtain-failsafe .01s 5s forwards; }
.curtain i { flex: 1 1 0; height: 100%; background: var(--charcoal); margin-right: -1px; }
.curtain__mark { position: absolute; left: 50%; top: 50%; width: clamp(84px, 9vw, 130px); height: auto; transform: translate(-50%, -50%); }
@keyframes curtain-failsafe { to { visibility: hidden; } }

/* Header */
.head { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 18px var(--gutter); color: var(--limestone); transition: transform .45s var(--ease), background .35s, padding .35s; }
.head.is-solid { background: rgba(23, 23, 20, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 10px; }
.head.is-hidden { transform: translateY(-100%); }
.head:focus-within { transform: none; }
html:not(.js) .head { position: absolute; }
html:not(.js) .head__menu, html:not(.js) .filters, html:not(.js) .ba__range, html:not(.js) .ba__handle { display: none; }
.head__logo { display: block; width: clamp(180px, 20vw, 262px); margin-left: -8px; margin-right: auto; transition: width .35s; }
.head.is-solid .head__logo { width: clamp(160px, 16vw, 210px); }
.head__logo img { width: 100%; height: auto; }
.head__nav { display: flex; gap: clamp(20px, 2.6vw, 38px); }
.head__nav a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 500; text-decoration: none; }
.head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.head__nav a:hover::after, .head__nav a[aria-current]::after { transform: scaleX(1); }
.head__menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.head__menu span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.head__menu span:first-child { top: 17px; }
.head__menu span:last-child { top: 25px; }
.head__menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.head__menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 96px var(--gutter) 48px; background: var(--charcoal); color: var(--limestone); }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 500 clamp(36px, 10vw, 54px)/1.16 var(--display); text-decoration: none; }
.menu .btn { align-self: flex-start; }

/* Hero. Sticks while the page slides up over it. */
.hero-wrap { position: relative; height: 200vh; height: 200svh; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--charcoal); color: var(--limestone); }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 78%; }
.hero__img, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__img { transform: scale(1.053); }
.hero__canvas { opacity: 0; transition: opacity .6s; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--charcoal) 22%, rgba(23, 23, 20, .93) 33%, rgba(23, 23, 20, .5) 47%, rgba(23, 23, 20, 0) 66%),
  linear-gradient(180deg, rgba(23, 23, 20, .72), rgba(23, 23, 20, 0) 24%),
  linear-gradient(0deg, rgba(23, 23, 20, .5), rgba(23, 23, 20, 0) 26%); }
.hero__rules { position: absolute; inset: -12% clamp(14px, 2.4vw, 36px) -12% auto; display: flex; gap: clamp(8px, 1.1vw, 16px); pointer-events: none; }
.hero__rules i { width: 1px; height: 100%; background: linear-gradient(180deg, rgba(194, 164, 124, 0), rgba(194, 164, 124, .34) 30%, rgba(194, 164, 124, .34) 70%, rgba(194, 164, 124, 0)); }
.hero__copy { position: absolute; left: 0; top: 50%; width: min(66vw, 1000px); transform: translateY(-50%); padding-inline: var(--gutter) 0; padding-top: 56px; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(44px, 4.9vw, 88px); font-weight: 400; line-height: 1.03; letter-spacing: -.012em; }
.hero__sub { margin-top: 26px; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--limestone); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__cue { position: absolute; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.hero__cue i { position: relative; display: block; width: 56px; height: 1px; background: var(--line-dark); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

main { position: relative; z-index: 2; }
.hero-wrap + main { margin-top: -100vh; margin-top: -100svh; }

/* Slatted edge between grounds: bars close up as the next section arrives */
.comb { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(48px, 10vh, 120px); display: flex; overflow: hidden; pointer-events: none; }
.comb i { flex: 1 1 0; margin-right: -1px; transform-origin: bottom; background: var(--comb); will-change: transform; }

/* Services strip */
.strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(28px, 3vw, 44px) var(--edge); background: var(--limestone); }
.strip__item { display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 24px); padding: 8px clamp(14px, 2vw, 32px); border-left: 1px solid var(--line-light); text-decoration: none; }
.strip__item:first-of-type { border-left: 0; padding-left: 0; }
.strip__item svg { width: clamp(40px, 3.8vw, 54px); height: auto; flex: none; fill: none; stroke: var(--taupe); stroke-width: 1.8; transition: transform .45s var(--ease), stroke .3s; overflow: visible; }
.strip__item:hover svg { transform: translateY(-4px); }
.strip__item b { display: block; font: 600 18px/1.25 var(--body); }
.strip__item small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--on-light); }

/* Statement with floating details */
.statement { position: relative; padding: clamp(100px, 13vw, 200px) var(--gutter) clamp(180px, 25vw, 520px); background: var(--limestone); overflow: hidden; }
.statement__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.statement .eyebrow { color: var(--taupe); }
.statement__text { font: 400 clamp(44px, 5.3vw, 92px)/1.08 var(--display); letter-spacing: -.012em; }
.statement__text span { display: block; }
.statement__by { width: fit-content; margin-top: 32px; font-size: 15px; color: var(--on-light); }
.float { position: absolute; z-index: 1; overflow: hidden; border-radius: var(--radius); background: var(--taupe); }
.float--a { right: 5vw; top: 16%; width: clamp(180px, 25vw, 420px); aspect-ratio: 4 / 5; }
.float--b { left: 34vw; bottom: 7%; width: clamp(120px, 15vw, 240px); aspect-ratio: 3 / 4; }
.float--c { right: 33vw; bottom: 3%; width: clamp(110px, 12vw, 200px); aspect-ratio: 9 / 16; z-index: 3; }

/* Recent projects */
.work { position: relative; padding: clamp(64px, 7vw, 104px) 0 clamp(90px, 12vw, 180px); background: var(--charcoal); color: var(--limestone); }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-inline: var(--edge); margin-bottom: clamp(32px, 4vw, 56px); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); padding-inline: clamp(16px, 2.6vw, 38px); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5.4; overflow: hidden; border-radius: var(--radius); background: var(--taupe); text-decoration: none; }
.tile:nth-child(even) { margin-top: clamp(0px, 4vw, 64px); }
.tile .plx { position: absolute; inset: 0; }
.tile .plx > img { transition: scale .9s var(--ease); }
.tile:hover .plx > img { scale: 1.045; }
.tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(23, 23, 20, .9) 24%, rgba(23, 23, 20, .62) 58%, rgba(23, 23, 20, 0)); pointer-events: none; }
.tile__cap { position: absolute; z-index: 2; left: clamp(12px, 1.5vw, 22px); right: clamp(12px, 1.5vw, 22px); bottom: clamp(12px, 1.4vw, 20px); }
.tile__cap small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--limestone); }
.tile__cap b { display: block; margin-top: 4px; font: 500 clamp(20px, 2vw, 30px)/1.1 var(--display); }

/* Walnut bar: vertical scroll travels sideways along the details */
.rail-sec { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: clip; display: flex; align-items: center; background: var(--charcoal); color: var(--limestone); }
.rail-sec__word { position: absolute; top: 50%; left: 8vw; transform: translateY(-50%); margin: 0; font: 400 clamp(180px, 34vw, 560px)/.8 var(--display); letter-spacing: -.02em; white-space: nowrap; color: rgba(241, 237, 229, .1); pointer-events: none; }
.rail { --h: min(66svh, 860px); position: relative; display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 48px); padding-inline: var(--gutter) 12vw; width: max-content; will-change: transform; }
.rail__intro { width: min(36vw, 520px); align-self: center; padding-right: clamp(0px, 3vw, 48px); }
.rail__intro > p:not(.eyebrow) { margin-top: 20px; color: var(--on-dark); max-width: 30em; }
.rail__intro h2 { font-size: clamp(44px, 5.4vw, 84px); }
.rail__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gold) !important; }
.rail__card { flex: none; width: calc(var(--h) * .78); }
.rail__card--low { margin-top: 6svh; }
.rail__card--wide { width: calc(var(--h) * 1.3); }
.rail__card .plx { height: var(--h); border-radius: var(--radius); background: var(--taupe); }
.rail__card--low .plx { height: calc(var(--h) - 6svh); }
.rail__card figcaption { margin-top: 12px; font-size: 14px; color: var(--on-dark); }
.rail__end { flex: none; width: min(32vw, 440px); align-self: center; padding-left: clamp(0px, 2vw, 32px); }
.rail__end blockquote { font: 400 clamp(30px, 3.2vw, 48px)/1.1 var(--display); }
.rail__by { margin-top: 14px; font-size: 14px; color: var(--on-dark); }
.rail__sup { margin: 24px 0; font-size: 13px; line-height: 1.7; color: var(--on-dark); overflow-wrap: anywhere; }
.rail__sup b { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.rail__hint .for-swipe { display: none; }
@media (min-width: 900px) and (min-height: 561px) {
  html:not(.has-rail) .rail-sec { height: auto; min-height: 0; display: block; padding: 72px 0 56px; }
  html:not(.has-rail) .rail { width: auto; flex-wrap: wrap; row-gap: 40px; padding-inline: var(--gutter); }
  html:not(.has-rail) .rail__hint, html:not(.has-rail) .rail-sec__progress { display: none; }
  html:not(.has-rail) .rail__card--low { margin-top: 0; }
  html { overflow-anchor: none; }
}
.rail-sec__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; height: 1px; background: var(--line-dark); }
.rail-sec__progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* Before and after */
.turn { position: relative; padding: clamp(80px, 10vw, 150px) var(--gutter); background: var(--limestone); }
.turn__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--max); margin: 0 auto; }
.turn .eyebrow { color: var(--taupe); }
.turn h2 { font-size: clamp(44px, 5.6vw, 88px); }
.turn blockquote { margin-top: 26px; font: 400 clamp(22px, 2vw, 30px)/1.25 var(--display); color: var(--taupe); }
.turn__by { margin-top: 12px; font-size: 14px; color: var(--on-light); }
.turn__note { margin-top: 26px; max-width: 30em; font-size: 13px; line-height: 1.55; color: var(--on-light); }
.ba { position: relative; width: 100%; aspect-ratio: 1100 / 1336; overflow: hidden; border-radius: var(--radius); background: var(--taupe); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: var(--radius); background: rgba(23, 23, 20, .72); color: var(--limestone); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; pointer-events: none; }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--limestone); pointer-events: none; }
.ba__handle i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--gold); color: var(--charcoal); box-shadow: 0 6px 22px rgba(23, 23, 20, .35); }
.ba__handle svg { width: 24px; height: 24px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; pointer-events: none; }
.ba:has(.ba__range:focus-visible) .ba__handle i { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.turn__float { margin-top: clamp(36px, 4vw, 60px); width: clamp(130px, 15vw, 240px); aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--taupe); }

/* Services in depth */
.svc { position: relative; padding: clamp(70px, 8vw, 120px) var(--gutter) clamp(60px, 7vw, 100px); background: var(--charcoal); color: var(--limestone); }
.svc__head { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 72px); }
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); max-width: var(--max); margin: 0 auto; }
.svc__media { position: sticky; top: 12svh; height: 76svh; align-self: start; }
.svc__stack { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--taupe); }
.svc__stack-in { position: absolute; inset: 0; will-change: transform; }
.svc__stack-in > img, .svc__stack-in .sl { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.svc__stack-in .sl { overflow: hidden; }
.svc__stack-in .sl img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; }
.svc__item { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: clamp(32px, 5vw, 60px); border-top: 1px solid var(--line-dark); transition: opacity .5s; }
.svc__item:first-child { border-top: 0; }
.svc__pic { display: none; }
.svc__num { font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--gold); }
.svc__item h3 { margin-top: 10px; font-size: clamp(38px, 4.2vw, 64px); }
.svc__item > p:not(.svc__num) { margin-top: 16px; max-width: 30em; color: var(--on-dark); }
.svc__item ul { margin: 18px 0 0; width: min(100%, 26em); }
.svc__item li { padding: 9px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.svc__item .more { margin-top: 24px; }
.svc__stat { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); margin-top: 22px; text-decoration: none; }
.svc__stat img { width: clamp(104px, 10vw, 156px); aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); transition: transform .5s var(--ease); }
.svc__stat:hover img { transform: scale(1.04); }
.svc__stat b { display: block; font: 400 clamp(44px, 4.6vw, 72px)/1 var(--display); color: var(--gold); }
.svc__stat small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--on-dark); }
.has-motion .svc__item { opacity: .5; }
.has-motion .svc__item.is-active { opacity: 1; }
@media (min-width: 900px) and (min-height: 561px) {
  html:not(.has-motion) .svc__media { display: none; }
  html:not(.has-motion) .svc__grid { grid-template-columns: 1fr; }
  html:not(.has-motion) .svc__item { min-height: 0; }
  html:not(.has-motion) .svc__pic { display: block; width: min(100%, 720px); aspect-ratio: 4 / 3; margin-bottom: 22px; border-radius: var(--radius); background: var(--taupe); }
}

/* Walk-through */
.walk { position: relative; background: var(--taupe); color: var(--limestone); }
.walk__pin { height: 100vh; height: 100svh; min-height: 560px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(32px, 6vw, 96px); padding: 72px max(var(--gutter), calc((100vw - var(--max)) / 2)) 40px; }
.walk h2 { font-size: clamp(42px, 5.2vw, 80px); max-width: 9.5em; }
.walk__caps { margin-top: clamp(24px, 3vw, 40px); min-height: 56px; position: relative; }
.walk__caps li { font: 400 clamp(24px, 2.4vw, 36px)/1.2 var(--display); color: var(--gold); }
.has-scrub .walk__caps li { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease); }
.has-scrub .walk__caps li.is-on { opacity: 1; transform: none; }
.walk__frame { position: relative; height: min(84svh, 1100px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); }
.walk__video { width: 100%; height: 100%; object-fit: cover; }
.walk__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(241, 237, 229, .22); }
.walk__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* About */
.about { position: relative; padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(72px, 8vw, 110px); background: var(--limestone); }
.about__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 8vw, 130px); align-items: center; max-width: var(--max); margin: 0 auto; }
.about__pics { position: relative; padding: 0 16% 12% 0; }
.about__big { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--taupe); }
.about__small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--taupe); box-shadow: 0 0 0 clamp(6px, .8vw, 12px) var(--limestone); }
.about .eyebrow { color: var(--taupe); }
.about h2 { font-size: clamp(50px, 6.6vw, 100px); }
.about__role { margin: 8px 0 26px; font-size: 16px; font-weight: 600; color: var(--taupe); }
.about__copy > p:not(.eyebrow):not(.about__role):not(.about__quote):not(.about__links) { margin-top: 14px; max-width: 32em; color: var(--on-light); }
.about__quote { margin-top: 28px; font: 400 clamp(30px, 3.2vw, 46px)/1.1 var(--display); color: var(--taupe); }
.about__links { display: flex; gap: 22px; margin-top: 26px; font-weight: 600; }
.about__links a { display: inline-block; padding-block: 10px; margin-block: -10px; text-underline-offset: 5px; text-decoration-color: var(--gold); }

/* Band: layers of walnut slats at different depths */
.band { position: relative; min-height: clamp(460px, 80svh, 760px); display: grid; place-items: center; overflow: hidden; background: var(--charcoal) url(img/grain-walnut.webp) center / 340px auto; color: var(--limestone); }
.band__slats { position: absolute; inset: 0; }
.band__layer { position: absolute; left: -12%; right: -12%; top: -22%; bottom: -22%; display: flex; will-change: transform; }
.band__layer i { display: block; flex: none; height: 100%; background: url(img/grain-walnut.webp) center top / 340px auto; box-shadow: inset 5px 0 8px -5px rgba(255, 226, 180, .4), inset -7px 0 9px -5px rgba(10, 8, 6, .8), 12px 0 22px rgba(8, 6, 4, .6); }
.band__layer--back { filter: brightness(.34); }
.band__layer--mid { filter: brightness(.82); }
.band__layer--front { filter: brightness(1.02); }
.band__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 54% 70% at 50% 50%, rgba(23, 23, 20, .62) 24%, rgba(23, 23, 20, .5) 62%, rgba(23, 23, 20, .06) 100%); }
.band__copy { position: relative; z-index: 2; padding: 48px var(--gutter); text-align: center; }
.band h2 { font-size: clamp(42px, 5vw, 76px); font-weight: 400; }
.band p { margin: 14px 0 28px; font-size: clamp(16px, 1.3vw, 19px); color: var(--limestone); }
.ico--lead { width: 20px; height: 20px; }
.btn:hover .ico--lead { transform: none; }

/* Contact */
.contact { position: relative; padding: clamp(80px, 9vw, 130px) var(--gutter); background: var(--charcoal); color: var(--limestone); }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); max-width: var(--max); margin: 0 auto; }
.contact__copy > p:not(.eyebrow) { margin-top: 20px; color: var(--on-dark); max-width: 30em; }
.contact__direct { margin-top: 32px; }
.contact__direct li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 13px 0; border-top: 1px solid var(--line-dark); }
.contact__direct span { color: var(--on-dark); font-size: 14px; }
.contact__direct a { display: inline-block; padding-block: 10px; margin-block: -10px; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--gold); overflow-wrap: anywhere; }
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--on-dark); }
.form input, .form select, .form textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(241, 237, 229, .4); border-radius: 0; background: transparent; color: var(--limestone); font: 500 16px/1.4 var(--body); transition: border-color .25s; }
.form select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23C2A47C' stroke-width='1.6'/%3E%3C/svg%3E") right center / 18px no-repeat; }
.form select option { background: var(--charcoal); color: var(--limestone); }
.form input::placeholder, .form textarea::placeholder { color: rgba(241, 237, 229, .55); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom: 2px solid var(--gold); margin-bottom: -1px; }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-bottom-color: #E5A58C; }
.form__error { margin: -8px 0 0; color: #F0B9A4; font-size: 14px; font-weight: 600; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__help { flex: 1 1 240px; font-size: 13px; line-height: 1.5; color: var(--on-dark); }
.form__done { display: grid; gap: 16px; justify-items: start; padding: 22px; border: 1px solid var(--gold); border-radius: var(--radius); outline: none; }
.form__done p { color: var(--limestone); }
.form__copy { width: 100%; }
.form__copy textarea { padding: 10px; border: 1px solid rgba(241, 237, 229, .4); font-size: 14px; }
.form__copy-btn { justify-self: start; margin-top: 8px; }

/* Footer */
.foot { position: relative; z-index: 2; padding: clamp(40px, 5vw, 64px) var(--edge) 32px; background: var(--charcoal); color: var(--limestone); border-top: 1px solid var(--line-dark); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px clamp(24px, 4vw, 56px); }
.foot__logo { width: clamp(200px, 22vw, 290px); margin-left: -8px; }
.foot__logo img { width: 100%; height: auto; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.4vw, 32px); font-size: 15px; font-weight: 500; }
.foot__nav a { text-decoration: none; padding: 10px 0; }
.foot__nav a:hover { color: var(--gold); }
.foot__name { margin-top: 24px; font-size: 14px; font-weight: 600; }
.foot__note { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 12.5px; line-height: 1.6; color: rgba(241, 237, 229, .72); }

/* Slat reveal cover, added by script */
.slats-cover { position: absolute; inset: 0; z-index: 4; display: flex; overflow: hidden; pointer-events: none; }
.slats-wait { background: transparent !important; }
.slats-wait img { visibility: hidden; }
.slats-cover i { flex: 1 1 0; margin-right: -1px; background: var(--cover, var(--charcoal)); }

/* Projects page */
.page-head { position: relative; min-height: min(78svh, 680px); display: flex; align-items: flex-end; padding: 120px var(--edge) clamp(36px, 5vw, 64px); background: var(--charcoal); color: var(--limestone); overflow: hidden; }
.page-head__pic { position: absolute; inset: 0 0 0 40%; }
.page-head__pic img { height: 130%; top: -15%; }
.page-head__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal), rgba(23, 23, 20, .4) 46%, rgba(23, 23, 20, .1)), linear-gradient(0deg, rgba(23, 23, 20, .6), rgba(23, 23, 20, 0) 40%), linear-gradient(180deg, rgba(23, 23, 20, .85), rgba(23, 23, 20, 0) 34%); }
.page-head__copy { position: relative; z-index: 2; max-width: 40em; }
.page-head h1 { font-size: clamp(56px, 8vw, 128px); font-weight: 400; letter-spacing: -.012em; }
.page-head p:not(.eyebrow) { margin-top: 16px; max-width: 34em; color: var(--limestone); }

.filters { position: sticky; top: 0; z-index: 60; display: flex; gap: 8px; padding: 14px var(--edge); background: var(--limestone); border-bottom: 1px solid var(--line-light); overflow-x: auto; scrollbar-width: none; transition: top .45s var(--ease); }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; padding: 9px 16px; border: 1px solid var(--line-light); border-radius: 999px; background: transparent; color: var(--charcoal); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--taupe); }
.filters button[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--limestone); }
body.head-shown .filters { top: max(64px, calc(clamp(160px, 16vw, 210px) * .2556 + 20px)); }

.pjs { background: var(--limestone); padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(60px, 8vw, 110px); }
.pj { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 28px); align-items: center; max-width: var(--max); margin: 0 auto; padding-block: clamp(44px, 7vw, 100px); border-bottom: 1px solid var(--line-light); scroll-margin-top: 120px; }
.pj:last-child { border-bottom: 0; }
.pj__pics { position: relative; grid-column: 1 / span 7; padding: 0 18% 10% 0; }
.pj:nth-child(even of :not([hidden])) .pj__pics { grid-column: 6 / span 7; grid-row: 1; padding: 0 0 10% 18%; }
.pj__copy { grid-column: 9 / span 4; }
.pj:nth-child(even of :not([hidden])) .pj__copy { grid-column: 1 / span 4; grid-row: 1; }
.pj__main { border-radius: var(--radius); background: var(--taupe); aspect-ratio: var(--ar, 4 / 5); }
.pj__side { position: absolute; right: 0; bottom: 0; width: 38%; border-radius: var(--radius); background: var(--taupe); aspect-ratio: var(--ar2, 3 / 4); box-shadow: 0 0 0 clamp(5px, .7vw, 10px) var(--limestone); }
.pj:nth-child(even of :not([hidden])) .pj__side { right: auto; left: 0; }
.pj--single .pj__pics, .pj--single:nth-child(even of :not([hidden])) .pj__pics { padding-bottom: 0; }
.pj--land .pj__pics, .pj--land:nth-child(even of :not([hidden])) .pj__pics { padding: 0; }
.pj__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.pj h2 { margin-top: 12px; font-size: clamp(34px, 3.6vw, 54px); }
.pj blockquote { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--on-light); }
.pj blockquote::before { content: "\201C"; }
.pj blockquote::after { content: "\201D"; }
.pj__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pj__tags li { padding: 4px 10px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--taupe); }
.pj__sup { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--on-light); overflow-wrap: anywhere; }
.pj__ask { margin-top: 26px; }
.pj__ask .ico { color: var(--taupe); }
.pj__more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); margin-top: clamp(24px, 3vw, 40px); }
.pj__more figure { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--taupe); }

/* Look closer */
.zoom { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom:focus-visible { outline-offset: -5px; outline-color: var(--limestone); }
.lb { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: clamp(12px, 3vw, 40px); border: 0; background: rgba(23, 23, 20, .96); color: var(--limestone); }
.lb[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lb::backdrop { background: var(--charcoal); }
.lb img { max-width: 100%; min-height: 0; flex: 0 1 auto; max-height: calc(100% - 96px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lb p { max-width: 46em; font-size: 14px; text-align: center; color: var(--on-dark); }
.lb form { align-self: flex-end; }
.lb__close { padding: 9px 16px; border: 1px solid var(--limestone); border-radius: var(--radius); background: transparent; color: var(--limestone); font-size: 14px; font-weight: 600; cursor: pointer; }

/* Phone quote bar */
.quote-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; display: none; justify-content: center; transform: translateY(170%); transition: transform .4s var(--ease); box-shadow: 0 8px 28px rgba(23, 23, 20, .4); }
.quote-bar.is-on { transform: none; }

/* Tablet and down */
@media (max-width: 1120px) {
  .head__nav { display: none; }
  .head__menu { display: block; }
  .head__cta { margin-right: -4px; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .strip__item:nth-of-type(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 899px) {
  h2 { font-size: clamp(38px, 9vw, 60px); }

  .hero__media { width: 100%; inset: 0 0 34% 0; }
  .hero__img, .hero__canvas { object-position: 50% 40%; }
  .hero__shade { background:
    linear-gradient(0deg, var(--charcoal) 34%, rgba(23, 23, 20, .7) 46%, rgba(23, 23, 20, 0) 62%),
    linear-gradient(180deg, rgba(23, 23, 20, .7), rgba(23, 23, 20, 0) 18%); }
  .hero__rules { display: none; }
  .hero__copy { top: auto; bottom: 0; right: 0; width: auto; transform: none; padding-inline: var(--gutter); padding-top: 0; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .hero__copy .eyebrow { margin-bottom: 18px; font-size: 11px; }
  .hero h1 { font-size: clamp(30px, 10vw, 72px); }
  .hero__sub { margin-top: 16px; font-size: 16px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { padding: 14px 20px; }
  .hero__cue { display: none; }

  .statement { padding-top: 88px; padding-bottom: clamp(400px, 112vw, 640px); }
  .float--a { right: var(--gutter); top: auto; bottom: 8%; width: 50vw; }
  .float--b { left: var(--gutter); top: auto; bottom: 24%; width: 30vw; }
  .float--c { right: 44vw; left: auto; bottom: 3%; width: 22vw; }

  .comb { height: 48px; }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(even) { margin-top: 28px; }

  .rail-sec { height: auto; min-height: 0; display: block; padding: 72px 0 40px; overflow: hidden; }
  .rail-sec__word { top: 8%; transform: none; left: 4vw; font-size: 34vw; }
  .rail { --h: min(112vw, 72svh); width: auto; display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; padding: 0 var(--gutter) 22px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: var(--gutter); }
  .rail::-webkit-scrollbar { display: none; }
  .rail__intro { width: 70vw; flex: none; align-self: center; padding-right: 12px; scroll-snap-align: start; }
  .rail__hint { display: inline-flex; }
  .rail__hint .for-scroll { display: none; }
  .rail__hint .for-swipe { display: inline; }
  .rail__card { width: min(78vw, 420px); scroll-snap-align: start; }
  .rail__card--low { margin-top: 0; }
  .rail__card--low .plx { height: var(--h); }
  .rail__card--wide { width: min(92vw, 520px); }
  .rail__card .plx { height: var(--h); }
  .rail__end { width: 84vw; padding-left: 8px; scroll-snap-align: start; }
  .rail-sec__progress { display: none; }

  .turn { padding-bottom: 72px; }
  .turn__grid { grid-template-columns: 1fr; }
  .turn__float { display: none; }

  .svc__grid { grid-template-columns: 1fr; gap: 0; }
  .svc__media { display: none; }
  .svc__item { min-height: 0; padding-block: 40px; }
  .svc__item:first-child { border-top: 1px solid var(--line-dark); }
  .svc__pic { display: block; width: 100%; margin-bottom: 22px; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--taupe); }
  .has-motion .svc__item { opacity: 1; }

  .walk__pin { height: auto; min-height: 0; grid-template-columns: 1fr; padding: 72px var(--gutter); gap: 28px; }
  .walk__frame { width: min(100%, 420px); height: auto; justify-self: center; }
  .walk__caps { min-height: 0; display: grid; gap: 4px; }
  .walk__caps li { font-size: 22px; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }

  .contact__grid { grid-template-columns: 1fr; }

  .page-head__pic { inset: 0; }
  .page-head__pic img { height: 112%; top: -12%; }
  .page-head__pic::after { background: linear-gradient(180deg, rgba(23, 23, 20, .92), rgba(23, 23, 20, 0) 22%), linear-gradient(0deg, var(--charcoal) 10%, rgba(23, 23, 20, .45) 64%, rgba(23, 23, 20, .6)); }

  .pj, .pj:nth-child(even of :not([hidden])) { display: block; }
  .pj__pics, .pj:nth-child(even of :not([hidden])) .pj__pics { padding: 0 14% 8% 0; }
  .pj:nth-child(even of :not([hidden])) .pj__side { left: auto; right: 0; }
  .pj__copy { margin-top: 22px; }
  .pj--single .pj__pics, .pj--single:nth-child(even of :not([hidden])) .pj__pics { padding: 0; }
  .pj__more { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .strip { grid-template-columns: 1fr; gap: 0; }
  .strip__item, .strip__item:first-of-type, .strip__item:nth-of-type(odd) { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .strip__item:first-of-type { border-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .head__cta { display: none; }
  .quote-bar { display: inline-flex; }
  .head__logo { width: 190px; }
}

@media (max-width: 899px) and (hover: hover) and (pointer: fine) {
  .rail { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
  .rail::-webkit-scrollbar { display: block; height: 8px; }
  .rail::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
}

/* Short screens: the hero stops sticking so nothing is cut off */
@media (max-height: 560px) {
  .hero-wrap { height: auto; }
  .hero { position: relative; height: auto; min-height: 100svh; }
  .hero h1 { font-size: clamp(30px, 5.4vw, 44px); }
  .hero__media { inset: 0; width: 100%; }
  .hero__copy { position: relative; top: auto; bottom: auto; transform: none; padding-top: 78px; padding-bottom: 20px; }
  .hero__shade { background: linear-gradient(90deg, var(--charcoal) 30%, rgba(23, 23, 20, .72) 60%, rgba(23, 23, 20, .35)); }
  .menu { justify-content: flex-start; overflow-y: auto; padding-top: 84px; gap: 16px; }
  .menu nav { grid-template-columns: 1fr 1fr; }
  .menu nav a { font-size: 30px; }
  .hero-wrap + main { margin-top: 0; }
  .rail-sec { height: auto; min-height: 0; display: block; padding: 56px 0 28px; }
  .rail { --h: 70svh; width: auto; overflow-x: auto; padding-bottom: 20px; }
  .rail-sec__progress { display: none; }
  .walk__pin { height: auto; }
  .walk__frame { height: 82svh; }
  .svc__media { display: none; }
  .svc__grid { grid-template-columns: 1fr; }
  .svc__pic { display: block; max-width: 420px; margin-bottom: 16px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .svc__item { min-height: 0; }
  .has-motion .svc__item { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__cue i::after { animation: none; }
  .js .curtain { display: none; }
}

@media print {
  .skip, .head, .curtain, .filters, .band, .quote-bar, .slats-cover, .zoom, .comb, .menu { display: none !important; }
  .plx > img { position: static; width: 100%; height: auto; transform: none !important; }
  .plx { aspect-ratio: auto !important; }
  .pj { break-inside: avoid; }
}
