/* SK Luxe Innovations — the one stylesheet.
   Direction: quiet luxury, built precisely. Warm limestone, ink and charcoal,
   the logo's grey and gold. A light serif for voice, a tight grotesk for
   reading, a mono for spec-sheet labels. Photography carries the colour. */

@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond-italic-var.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-var.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Stand-ins while the web fonts load: system faces scaled to the same average letter
   width and line metrics (measured with fontTools), so text keeps its line breaks when
   the real fonts arrive instead of jumping. */
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"); font-style: normal; size-adjust: 97.07%; ascent-override: 95.19%; descent-override: 29.57%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"); font-style: italic; size-adjust: 87.13%; ascent-override: 106.05%; descent-override: 32.94%; line-gap-override: 0%; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"), local("ArialMT"); font-style: normal; size-adjust: 96.96%; ascent-override: 99.91%; descent-override: 24.88%; line-gap-override: 0%; }

:root {
  --limestone: #F2F0EB;
  --paper: #F8F7F3;
  --stone: #E7E4DD;
  --ink: #171615;
  --graphite: #3E3D3A;
  --slate: #6B6964;          /* 4.8:1 on limestone: captions, never on stone */
  --grey: #848282;           /* the logo's SK. 3.4:1: large display text only */
  --char: #1C1B1A;
  --char-2: #262523;
  --bone: #EEEBE5;
  --bone-mute: #A9A59C;      /* 7:1 on charcoal */
  --gold: #C1AB33;           /* the logo's Luxe. Rules and marks on light; text on dark */
  --gold-text: #7A6714;      /* gold that passes AA as small text on limestone */
  --rule: rgba(23, 22, 21, .16);
  --rule-dark: rgba(238, 235, 229, .16);

  --serif: "Cormorant Garamond", "Cormorant Fallback", Cormorant, Garamond, "Times New Roman", serif;
  --sans: "Inter Tight", "Inter Tight Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-reveal: cubic-bezier(.2, .6, .3, 1);
  --ease-wipe: cubic-bezier(.65, 0, 0, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --header-h: 92px;
}
@media (max-width: 760px) { :root { --header-h: 72px; } }

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--limestone);
  color: var(--graphite);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; color: var(--ink); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.on-dark :focus-visible, .menu :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
html.menu-open { overflow: hidden; }

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: var(--bone);
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- type */
.display {
  font: 300 clamp(54px, 7.6vw, 124px)/.98 var(--serif);
  letter-spacing: -.02em;
  color: var(--ink);
}
.h2 {
  font: 300 clamp(38px, 4.6vw, 70px)/1.04 var(--serif);
  letter-spacing: -.012em;
  color: var(--ink);
}
.h3 {
  font: 400 clamp(26px, 2.3vw, 36px)/1.12 var(--serif);
  letter-spacing: -.005em;
  color: var(--ink);
}
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--graphite); font-weight: 300; }
.lead a:not([class]), .faq-item p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--ink); white-space: nowrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 11.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--graphite);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.eyebrow--square::before { width: 7px; height: 7px; }
.mono { font: 400 11.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.on-dark { color: var(--bone-mute); }
.on-dark .display, .on-dark .h2, .on-dark .h3 { color: var(--bone); }
.on-dark .eyebrow, .on-dark .lead { color: var(--bone-mute); }

/* ------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.section { padding: clamp(96px, 13vw, 200px) 0; }
.section--tight { padding: clamp(72px, 9vw, 136px) 0; }
/* phones: two sections back to back made ~190px of blank screen; this keeps the air without the dead scroll */
@media (max-width: 760px) { .section { padding: 76px 0; } .section--tight { padding: 60px 0; } }
.rule { height: 1px; background: var(--rule); transform-origin: left; }
.on-dark .rule { background: var(--rule-dark); }

/* ------------------------------------------------------------- links & buttons */
.link {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); padding: 8px 0; position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 26px; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transform: scaleX(.35);
  transition: transform .6s var(--ease);
}
.link svg { width: 14px; height: 14px; transition: transform .6s var(--ease); }
@media (hover: hover) { .link:hover::after { transform: scaleX(1); } }
@media (hover: hover) { .link:hover svg { transform: translateX(6px); } }
.link::before { content: ""; position: absolute; inset: -7px -4px; } /* taller tap area; the underline stays put */
.on-dark .link { color: var(--bone); }

.btn {
  --fg: var(--ink); --bg: transparent; --fill: var(--ink); --fg-hover: var(--bone);
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  padding: 20px 30px; overflow: hidden; isolation: isolate;
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1px solid var(--fill);
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-wipe);
}
.btn .arrows { position: relative; width: 14px; height: 14px; overflow: hidden; }
.btn .arrows svg { position: absolute; inset: 0; width: 14px; height: 14px; transition: transform .6s var(--ease-wipe); }
.btn .arrows svg + svg { transform: translateX(-140%); }
@media (hover: hover) { .btn:hover { color: var(--fg-hover); } }
@media (hover: hover) { .btn:hover::before { transform: scaleY(1); } }
@media (hover: hover) { .btn:hover .arrows svg { transform: translateX(140%); } }
@media (hover: hover) { .btn:hover .arrows svg + svg { transform: none; } }
.btn--solid { --fg: var(--bone); --bg: var(--ink); --fill: var(--ink); }
.btn--solid::before { background: var(--gold); }
@media (hover: hover) { .btn--solid:hover { color: var(--ink); } }
.btn--light { --fg: var(--bone); --fill: var(--bone); --fg-hover: var(--ink); }
.btn--gold { --fg: var(--ink); --bg: var(--gold); --fill: var(--gold); --fg-hover: var(--ink); }
.btn--gold::before { background: var(--bone); }

/* ------------------------------------------------------------- curtain (page wipe) */
.curtain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
  background: var(--char); display: grid; place-items: center;
  transform: translateY(100%);
}
.curtain-mark { width: 54px; opacity: 0; transition: opacity .4s var(--ease); }
html.is-arriving .curtain { transform: none; }
html.is-arriving .curtain-mark { opacity: .9; }
html.is-arrived .curtain { transform: translateY(-100%); transition: transform .9s var(--ease-wipe) .1s; }
html.is-leaving .curtain { transform: none; transition: transform .7s var(--ease-wipe); pointer-events: auto; }
html.is-leaving .curtain-mark { opacity: .9; transition-delay: .35s; }

/* ------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  color: var(--ink);
  transition: transform .45s var(--ease), background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-solid { background: rgba(242, 240, 235, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--rule); }
.site-header.is-on-dark:not(.is-solid) { color: var(--bone); }
.brand { position: relative; display: block; height: calc(var(--header-h) - 14px); aspect-ratio: 1; flex: none; }
.brand-logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s var(--ease); }
.brand-logo--bone { opacity: 0; }
.site-header.is-on-dark:not(.is-solid) .brand-logo--ink { opacity: 0; }
.site-header.is-on-dark:not(.is-solid) .brand-logo--bone { opacity: 1; }
.site-header.is-solid .brand { height: calc(var(--header-h) - 30px); }
.home .site-header:not(.is-solid) .brand { opacity: 0; pointer-events: none; }
.home.menu-open .site-header .brand { opacity: 1; pointer-events: auto; }
.brand { transition: height .45s var(--ease), opacity .45s var(--ease); }

.nav { display: flex; gap: clamp(24px, 3vw, 48px); margin: 0 auto; }
.nav a {
  position: relative; padding: 10px 0;
  font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.header-phone { font-size: 12px; letter-spacing: .08em; white-space: nowrap; padding: 10px 0; transition: opacity .3s var(--ease); }
@media (hover: hover) { .header-phone:hover { opacity: .65; } }
@media (max-width: 1180px) { .header-phone { display: none; } }
.header-cta {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px;
  border: 1px solid currentColor;
  font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.header-cta svg { width: 13px; height: 13px; transition: transform .5s var(--ease); }
@media (hover: hover) { .header-cta:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); } }
@media (hover: hover) { .site-header.is-on-dark:not(.is-solid) .header-cta:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); } }
@media (hover: hover) { .header-cta:hover svg { transform: translateX(4px); } }

.menu-toggle { display: none; align-items: center; gap: 14px; margin-left: auto; padding: 12px 0; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.menu-toggle-lines { position: relative; width: 26px; height: 8px; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease-wipe), top .5s var(--ease-wipe); }
.menu-toggle-lines::before { top: 0; }
.menu-toggle-lines::after { top: 7px; }
.menu-open .menu-toggle-lines::before { top: 4px; transform: rotate(20deg); }
.menu-open .menu-toggle-lines::after { top: 4px; transform: rotate(-20deg); }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
.menu-open .site-header { color: var(--bone); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .site-header .brand-logo--ink { opacity: 0; }
.menu-open .site-header .brand-logo--bone { opacity: 1; }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--char); color: var(--bone);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) 36px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-wipe), visibility 0s linear .8s; visibility: hidden;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-wipe); }
.menu-links { list-style: none; margin: 0 0 auto; padding: 0; border-top: 1px solid var(--rule-dark); }
.menu-links li { border-bottom: 1px solid var(--rule-dark); overflow: hidden; }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  font: 300 clamp(40px, 10vw, 72px)/1.05 var(--serif); color: var(--bone);
  transform: translateY(105%); transition: transform .9s var(--ease-reveal);
}
.menu-links a span { font: 400 11px/1 var(--mono); letter-spacing: .16em; color: var(--gold); transform: translateY(-1.4em); }
.menu.is-open .menu-links a { transform: none; }
.menu.is-open .menu-links li:nth-child(2) a { transition-delay: .06s; }
.menu.is-open .menu-links li:nth-child(3) a { transition-delay: .12s; }
.menu.is-open .menu-links li:nth-child(4) a { transition-delay: .18s; }
.menu.is-open .menu-links li:nth-child(5) a { transition-delay: .24s; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 32px; color: var(--bone-mute); opacity: 0; transition: opacity .6s var(--ease) .3s; }
.menu.is-open .menu-foot { opacity: 1; }
.menu-foot a { color: var(--bone); }

/* phones and small tablets: call and estimate stay one tap away once the
   visitor scrolls (main.js shows it; pages with the form leave it out) */
.menu-foot a[href^="mailto:"] { text-transform: none; letter-spacing: .04em; }
.quickbar { display: none; }
@media (max-width: 960px) {
  .has-quickbar .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(242, 240, 235, .94); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
    border-top: 1px solid var(--rule);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .has-quickbar .quickbar.is-on { transform: none; }
  .menu-open .quickbar { transform: translateY(110%) !important; }
  .quickbar a {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 10px;
    font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
    border: 1px solid var(--ink);
  }
  .quickbar-call { color: var(--ink); }
  .quickbar-call::before { content: "Call"; color: var(--gold-text); }
  .quickbar-cta { background: var(--ink); color: var(--bone); }
  .has-quickbar .site-footer { padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom, 0px)); }
}
/* on the narrowest phones the number does not fit: just "Call" */
@media (max-width: 374px) { .quickbar-call { font-size: 0 !important; gap: 0 !important; } .quickbar-call::before { font-size: 11.5px; } }

/* touch screens have no hover, so a press shows itself instead. Hover effects above
   only run with a real pointer, so nothing stays "hovered" after a tap on a phone.
   main.js adds a passive touchstart listener, which iOS Safari needs before it
   applies :active at all. */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active { color: var(--fg-hover); }
  .btn--solid:active { color: var(--ink); }
  .btn:active::before { transform: scaleY(1); transition-duration: .25s; }
  .header-cta:active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
  .quickbar a { transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
  .quickbar a:active { transform: scale(.97); }
  .quickbar-call:active { background: var(--stone); }
  .quickbar-cta:active { background: var(--graphite); }
  .jump a:active { background: var(--ink); border-color: var(--ink); color: var(--bone); }
  .jump a:active span { color: var(--gold); }
  .link:active::after { transform: scaleX(1); }
  .svc-row a:active { transform: scale(.985); }
  .footer-col a:active, .footer-base a:active, .menu-links a:active { color: var(--gold); }
  .craft-arrow:active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  .faq-item summary:active { color: var(--graphite); }
}

/* corners: softened a little, never pill-shaped. Small controls 6px, photos 10px, wide
   photos, cards and panels 14px. Anything full bleed (the image bands, the hero film once
   it opens, the craft gallery once it fills the screen) keeps square edges. */
:root { --r-sm: 6px; --r: 10px; --r-lg: 14px; --lift: 0 34px 70px -44px rgba(23, 22, 21, .5); }
.skip-link, .btn, .header-cta, .jump a, .choice span, .quickbar a { border-radius: var(--r-sm); }
.frame, .file { border-radius: var(--r); }
.page-image, .form, .step { border-radius: var(--r-lg); }
.band > .frame { border-radius: 0; }

/* ------------------------------------------------------------- reveals */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-reveal); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transition: transform 1.2s var(--ease-wipe); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }
/* the clip sits on the picture, not the observed element: Chrome's IntersectionObserver
   counts a target's own clip-path, so a fully clipped target would never intersect */
.js [data-reveal="image"] { opacity: 1; transform: none; background: transparent; }
.js [data-reveal="image"] picture { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-wipe) var(--d, 0ms); }
.js [data-reveal="image"].is-in picture { clip-path: inset(0); }
.js [data-reveal="image"] img { transform: scale(1.12); transition: transform 1.8s var(--ease-reveal); }
.js [data-reveal="image"].is-in img { transform: scale(1); }
.js [data-reveal] { transition-delay: var(--d, 0ms); }
/* split headings: each word masked (clip-path so italic overhangs survive), lines staggered */
.js [data-split] .w { display: inline-block; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; clip-path: inset(-.4em -.4em 0 -.4em); }
.js [data-split] .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease-reveal); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js [data-split].is-in .w > span { transform: none; }
.js-motion [data-split]:not(.is-split) { opacity: 0; }
/* The opening lines of an inner page rise in by CSS alone, from the first paint:
   waiting for the script (and the fonts) kept the largest text on a phone invisible
   for over a second. After a page wipe they wait for the curtain to lift. */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.js-motion :is(.page-hero, .message, .contact-intro) [data-reveal]:not([data-reveal="image"], [data-reveal="rule"]) { animation: rise 1s var(--ease-reveal) var(--hd, 0s) both; transition: none; }
.js-motion :is(.page-hero, .message, .contact-intro) .lead[data-reveal] { --hd: .12s; }
.js-motion :is(.page-hero, .message, .contact-intro) .lead[data-reveal] ~ [data-reveal] { --hd: .24s; }
html.is-arriving.js-motion :is(.page-hero, .message, .contact-intro) [data-reveal]:not([data-reveal="image"], [data-reveal="rule"]) { animation-delay: calc(var(--hd, 0s) + .6s); }
/* no motion wanted: everything is simply there, without waiting for the script */
.js:not(.js-motion) [data-reveal] { opacity: 1; transform: none; }
.js:not(.js-motion) [data-reveal="image"] picture { clip-path: none; }
.js:not(.js-motion) [data-reveal="image"] img { transform: none; }

/* ------------------------------------------------------------- media */
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame picture, .craft-slide picture { width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
/* the photo is 20% taller than its frame and starts 10% above it, so the parallax drift
   (up to 6% of the photo either way, main.js) never shows the frame's edge. top: is measured
   from the frame's height; the old margin-top: -8% was measured from its width, which on the
   wide 21:9 page photos pulled the photo up past its own bottom edge. */
.frame--parallax img { position: absolute; left: 0; top: -10%; height: 120%; will-change: transform; }
.zoom img { transition: transform 1.1s var(--ease); }
@media (hover: hover) { .zoom:hover img { transform: scale(1.05); } }
.caption { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; color: var(--slate); }

/* rotating badge */
/* a true circle in every engine: the ring is a block (an inline svg sits on a text baseline,
   and Safari let that line's descender make the badge 118 x 134 on iPhones), and the height
   is stated rather than left to aspect-ratio */
.badge { width: clamp(118px, 11vw, 156px); height: clamp(118px, 11vw, 156px); aspect-ratio: 1; position: relative; color: var(--ink); }
.badge-ring { display: block; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.badge-ring text { font: 400 8.6px var(--mono); letter-spacing: .28em; text-transform: uppercase; fill: currentColor; }
.badge-mark { position: absolute; inset: 30%; width: 40%; height: 40%; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ============================================================= HOME */

/* hero: the logo on limestone, then a film frame rises over it.
   Without JS (or with reduced motion) the two simply stack. */
.hero-intro {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
}
.hero-logo { align-self: center; justify-self: center; width: min(66vw, 58svh, 560px); }
@media (max-width: 760px) { .hero-logo { width: min(76vw, 40svh); } }
.hero-logo img { width: 100%; height: auto; }
.hero-statement { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 36px); max-width: 330px; display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--graphite); }
.hero-statement::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 7px; background: var(--gold); }
.hero-meta { display: flex; justify-content: space-between; align-items: end; gap: 24px; color: var(--graphite); }
.hero-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-cue i { width: 1px; height: 38px; background: var(--rule); position: relative; overflow: hidden; }
.hero-cue i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.hero-film { position: relative; height: 100svh; overflow: hidden; background: var(--char); color: var(--bone); }
.hero-film picture, .hero-film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 13, 12, .35) 0%, rgba(14, 13, 12, 0) 30%, rgba(14, 13, 12, .12) 55%, rgba(14, 13, 12, .72) 100%); pointer-events: none; }
.hero-film-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.hero-film-copy .display { color: var(--bone); max-width: 19ch; font-size: clamp(48px, 6.6vw, 112px); text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.hero-film-tags { color: var(--bone-mute); text-align: right; }

.js-motion .hero { height: 260svh; position: relative; }
.js-motion .hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.js-motion .hero-intro { position: absolute; inset: 0; min-height: 0; }
.js-motion .hero-logo { transform: translateY(calc(var(--p, 0) * -9svh)) scale(calc(1 - var(--p, 0) * .08)); opacity: calc(1 - var(--p, 0) * 1.2); }
.js-motion .hero-film {
  position: absolute; inset: 0; height: auto;
  clip-path: inset(calc((1 - var(--p, 0)) * 86svh) calc((1 - var(--p, 0)) * var(--gutter)) calc((1 - var(--p, 0)) * 28px) calc((1 - var(--p, 0)) * var(--gutter)) round calc((1 - var(--p, 0)) * var(--r-lg)));
}
.js-motion .hero-film img { transform: scale(calc(1.18 - var(--p, 0) * .18)); transform-origin: 50% 70%; }
.js-motion .hero-film-copy { opacity: calc((var(--p, 0) - .78) * 5); transform: translateY(calc((1 - var(--p, 0)) * 60px)); }
.js-motion .hero-meta { opacity: calc(1 - var(--p, 0) * 3); }

.js-motion .hero-intro { padding-bottom: calc(14svh + 18px); }
@media (max-width: 760px) {
  .hero-intro { grid-template-rows: auto 1fr auto; }
  .hero-statement { position: relative; right: auto; top: auto; order: -1; max-width: 34ch; margin: 4px 0 0; }
  .hero-meta > span:last-child { display: none; }
  .hero-film-copy { grid-template-columns: 1fr; }
  .hero-film-tags { text-align: left; }
}

/* trust strip under the hero: the client's own four promises */
.trust { border-bottom: 1px solid var(--rule); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-list li { display: grid; gap: 10px; align-content: start; padding: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); }
.trust-list li:first-child { border-left: 0; padding-left: 0; }
.trust-list .mono { color: var(--gold-text); }
.trust-list .mono::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--gold); vertical-align: 1px; }
.trust-list .stat { font: 300 clamp(56px, 5.6vw, 92px)/.9 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; color: var(--ink); }
.trust-list .stat span { color: var(--gold); }
.trust-list p { margin: 2px 0 0; max-width: 28ch; font-size: 15px; line-height: 1.5; color: var(--slate); }
.trust-note { margin: 0; padding: 18px 0 22px; border-top: 1px solid var(--rule); color: var(--slate); }
@media (max-width: 900px) {
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { padding: 24px 16px; border-left: 0; border-top: 1px solid var(--rule); }
  .trust-list li:nth-child(-n+2) { border-top: 0; }
  .trust-list li:nth-child(odd) { padding-left: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--rule); }
  /* side by side, the labels share a row, so a two-line label never pushes its value below its neighbour's */
  .trust-list li { grid-row: span 3; grid-template-rows: subgrid; }
}

/* the firm */
.firm { align-items: start; row-gap: 56px; }
.firm-copy { grid-column: 1 / span 6; }
.firm-copy .h2 { margin: 28px 0 36px; max-width: 13ch; }
.firm-copy p { max-width: 54ch; }
.firm-copy .link { margin-top: 18px; }
.firm-media { grid-column: 8 / -1; position: relative; }
.firm-media .frame { aspect-ratio: 4 / 5; }
.firm-media .badge { position: absolute; left: clamp(-64px, -4vw, -28px); bottom: clamp(-56px, -4vw, -32px); background: var(--limestone); border-radius: 50%; padding: 8px; }
@media (max-width: 900px) {
  .firm-copy, .firm-media { grid-column: 1 / -1; }
  .firm-media { width: min(100%, 520px); margin-left: auto; }
  .firm-media .badge { left: -12px; }
}

/* craft gallery: two words, an image between them that grows to full bleed as the
   page scrolls (pinned); then a gallery the visitor drives: the photo's name and
   count, arrows, four progress tabs, swipe and a pause button (main.js) */
.craft { position: relative; background: var(--limestone); }
.craft-stage { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.craft-words { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); pointer-events: none; }
.craft-words span { font: 300 clamp(40px, 6.4vw, 112px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.craft-words span:last-child { font-style: italic; }
.craft-top { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 20px); text-align: center; color: var(--graphite); z-index: 3; transition: color .4s var(--ease); }
.craft.is-full .craft-top { color: var(--bone); }
.craft-frame { position: relative; z-index: 2; width: min(24vw, 340px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--char); touch-action: pan-y; border-radius: calc(var(--r-lg) * (1 - var(--g, 0))); }
.craft-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(14, 13, 12, .45), rgba(14, 13, 12, 0) 22%, rgba(14, 13, 12, 0) 40%, rgba(14, 13, 12, .5) 70%, rgba(14, 13, 12, .82)); opacity: var(--g, 0); }
.craft-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.craft-slide.is-active { opacity: 1; }
.craft-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-reveal); }
.craft-slide.is-active img { transform: none; }
.craft:not(.is-ready) .craft-slide:first-child { opacity: 1; }
.craft:not(.is-ready) .craft-slide:first-child img { transform: none; }
.js-motion .craft { height: 230svh; }
.js-motion .craft-stage { position: sticky; top: 0; }
.js-motion .craft-frame {
  width: calc(min(24vw, 340px) + (100vw - min(24vw, 340px)) * var(--g, 0));
  aspect-ratio: auto;
  height: calc(min(24vw, 340px) * 1.25 + (100svh - min(24vw, 340px) * 1.25) * var(--g, 0));
}
.js-motion .craft-words span:first-child { transform: translateX(calc(var(--g, 0) * -60vw)); }
.js-motion .craft-words span:last-child { transform: translateX(calc(var(--g, 0) * 60vw)); }
/* reduced motion: no pinning and no growing; the gallery simply sits full bleed */
.craft.is-static { --g: 1; }
.craft.is-static .craft-words { display: none; }
.craft.is-static .craft-frame { width: 100%; height: 100%; aspect-ratio: auto; }

/* the controls appear once the photo fills the screen */
.craft-ui { display: none; }
.js .craft-ui { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; color: var(--bone); text-shadow: 0 1px 14px rgba(14, 13, 12, .35); }
.js-motion .craft-ui { opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s var(--ease), transform .9s var(--ease-reveal); }
.js-motion .craft.is-full .craft-ui, .js-motion .craft-ui:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.craft-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.craft-name { flex: 1 1 auto; display: grid; gap: 14px; min-width: 0; }
.craft-count { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: rgba(238, 235, 229, .72); font-variant-numeric: tabular-nums; }
.craft-count b { font-weight: 500; color: var(--bone); }
.craft-labels { position: relative; display: block; height: 1.2em; overflow: hidden; font: 300 clamp(36px, 3.8vw, 58px)/1.2 var(--serif); letter-spacing: -.015em; color: var(--bone); }
.craft-labels span { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(110%); transition: transform .9s var(--ease-reveal); }
.craft-labels span.is-active { transform: none; }
.craft-labels span.is-past { transform: translateY(-110%); }
.craft-arrows { display: flex; gap: 10px; flex: none; }
.craft-arrow {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(238, 235, 229, .5); color: var(--bone); background: rgba(14, 13, 12, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.craft-arrow svg { width: 15px; height: 15px; }
.craft-arrow--prev svg { transform: scaleX(-1); }
.craft-arrow:active { transform: scale(.92); }
.craft-bar { display: flex; align-items: center; gap: 14px; }
.craft-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 22px); }
.craft-tabs button { display: grid; gap: 13px; align-content: center; min-width: 0; min-height: 44px; padding: 0; text-align: left; color: rgba(238, 235, 229, .62); transition: color .3s var(--ease); }
.craft-tabs i { position: relative; display: block; height: 2px; overflow: hidden; background: rgba(238, 235, 229, .28); }
.craft-tabs i::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.craft-tabs .is-past i::after { transform: none; }
.craft-tabs [aria-current="true"] { color: var(--bone); }
.craft-tabs [aria-current="true"] i::after { background: var(--gold); transform: scaleX(var(--t, 1)); }
.craft-tabs span { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.craft-tabs b { font-weight: 500; color: var(--gold); margin-right: .7em; }
.craft-toggle { flex: none; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -12px; color: var(--bone); }
.craft-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.craft-toggle .craft-play, .craft-toggle.is-paused .craft-pause { display: none; }
.craft-toggle.is-paused .craft-play { display: block; }
.craft-toggle[hidden] { display: none; }
.craft :focus-visible { outline-color: var(--gold); }
@media (hover: hover) {
  .craft-arrow:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  .craft-tabs button:hover { color: var(--bone); }
}
@media (max-width: 960px) {
  /* clear of the call / estimate bar */
  .has-quickbar.quickbar-on .craft-ui { bottom: calc(69px + 18px + env(safe-area-inset-bottom, 0px)); }
  .has-quickbar.quickbar-on .hero-film-copy { bottom: calc(69px + 24px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 760px) {
  .craft-frame { width: 46vw; }
  .js-motion .craft-frame { width: calc(46vw + 54vw * var(--g, 0)); height: calc(57.5vw + (100svh - 57.5vw) * var(--g, 0)); }
  .craft-words { align-items: flex-start; flex-direction: column; justify-content: center; gap: calc(57.5vw + 32px); }
  .craft-words span:last-child { align-self: flex-end; }
  .craft-ui { gap: 10px; }
  .craft-name { gap: 10px; }
  .craft-labels { font-size: min(36px, 8.4vw); } /* "Outdoor living" fits beside the arrows down to 320px */
  .craft-arrow { width: 46px; height: 46px; }
  /* on a phone the tabs are just the four lines; their names stay for screen readers */
  .craft-tabs span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* service pages (kitchen-bath-remodeling, dry-rot-repair, siding): a breadcrumb in
   place of the eyebrow, a numbered "signs" list, and a row of related services */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--gold-text); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .3s var(--ease); }
@media (hover: hover) { .crumbs a:hover { text-decoration-color: currentColor; } }
.crumbs i { font-style: normal; color: var(--slate); }
.statement-wrap .signs-body { grid-column: 4 / -1; }
.signs-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--rule); counter-reset: sign; }
.signs-list li { counter-increment: sign; display: grid; grid-template-columns: 3.4em minmax(0, 1fr); align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); font: 300 clamp(22px, 2.3vw, 32px)/1.3 var(--serif); color: var(--ink); }
.signs-list li::before { content: counter(sign, decimal-leading-zero); font: 400 11px/1 var(--mono); letter-spacing: .1em; color: var(--gold-text); }
.signs-body p { max-width: 52ch; color: var(--graphite); }
.signs-body p a { text-decoration: underline; text-underline-offset: 3px; }
.related .eyebrow { margin-bottom: 24px; }
.related .jump { margin-top: 0; }
@media (max-width: 900px) { .statement-wrap .signs-body { grid-column: 1 / -1; } }
@media (max-width: 760px) { .signs-list li { grid-template-columns: 2.6em minmax(0, 1fr); padding: 15px 0; } }

.message-jump { justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.message-jump a { text-align: left; }

/* statement whose words fill in as it scrolls past */
.statement { max-width: 22ch; font: 300 clamp(30px, 3.6vw, 54px)/1.18 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.js-motion [data-fill] .word { opacity: .2; transition: opacity .35s linear; }
.js-motion [data-fill] .word.is-on { opacity: 1; }
.statement-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.statement-wrap .eyebrow { grid-column: 1 / span 3; padding-top: 14px; }
.statement-wrap .statement { grid-column: 4 / -1; max-width: 26ch; }
@media (max-width: 900px) { .statement-wrap .eyebrow, .statement-wrap .statement { grid-column: 1 / -1; } .statement-wrap .eyebrow { margin-bottom: 28px; } }

/* services list: numbered rows with a floating preview */
.svc-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.svc-head > div { grid-column: 1 / span 7; }
.svc-head .h2 { margin-top: 26px; }
.svc-head p { grid-column: 9 / -1; color: var(--graphite); }
@media (max-width: 900px) { .svc-head > div, .svc-head p { grid-column: 1 / -1; } .svc-head p { margin-top: 24px; } }
/* the three service groups as photo cards: a rounded print with its title over the image */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.svc-row a {
  position: relative; isolation: isolate; display: grid; align-content: end; justify-items: start; gap: 10px;
  aspect-ratio: 4 / 5; padding: clamp(22px, 2.2vw, 32px); overflow: hidden;
  border-radius: var(--r-lg); background: var(--char); color: var(--bone); box-shadow: var(--lift);
  transition: transform .5s var(--ease);
}
.svc-row a::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(14, 13, 12, 0) 28%, rgba(14, 13, 12, .42) 54%, rgba(14, 13, 12, .86)); }
.svc-row .svc-thumb { position: absolute; inset: 0; z-index: -2; border-radius: 0; background: var(--char); }
.svc-row .svc-thumb img { transition: transform 1.2s var(--ease); }
.svc-row .svc-num { color: var(--gold); text-shadow: 0 1px 10px rgba(14, 13, 12, .5); }
.svc-title { font: 300 clamp(30px, 2.7vw, 44px)/1.05 var(--serif); letter-spacing: -.01em; color: var(--bone); }
.svc-desc { color: rgba(238, 235, 229, .8); max-width: 34ch; font-size: 15px; line-height: 1.5; }
.svc-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--bone); }
.svc-go svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .svc-row a:hover .svc-thumb img { transform: scale(1.04); }
  .svc-row a:hover .svc-go svg { transform: translateX(5px); }
}
@media (max-width: 900px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-row a { aspect-ratio: 5 / 4; }
  /* a short card puts its words higher on the photo, so the shade starts sooner */
  .svc-row a::after { background: linear-gradient(180deg, rgba(14, 13, 12, 0) 16%, rgba(14, 13, 12, .5) 46%, rgba(14, 13, 12, .88)); }
}
@media (min-width: 600px) and (max-width: 900px) { .svc-row a { aspect-ratio: 16 / 9; } }

/* process: stacking cards on charcoal */
.process { background: var(--char); color: var(--bone-mute); }
.process-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); margin-bottom: clamp(56px, 7vw, 104px); }
.process-head > div { grid-column: 1 / span 7; }
.process-head .h2 { margin-top: 26px; }
.process-head p { grid-column: 9 / -1; align-self: end; }
@media (max-width: 900px) { .process-head > div, .process-head p { grid-column: 1 / -1; } .process-head p { margin-top: 24px; } }
/* Every card is the same height (1fr rows take the tallest card's height),
   so a card never shows below the one stacked over it. --stack is how much
   of each covered card's top edge stays visible; main.js reads it. */
.steps { --stack: 18px; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 20px; }
.step {
  position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * var(--stack));
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px);
  min-height: min(56svh, 480px); padding: clamp(28px, 3.4vw, 52px);
  background: var(--char-2); border: 1px solid var(--rule-dark);
  box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, .55);
  transform-origin: 50% 0;
}
/* as the next card slides over, the one beneath sinks back into the stack (--depth from main.js) */
.step::after { content: ""; position: absolute; inset: 0; background: var(--char); opacity: 0; pointer-events: none; }
.js-motion .step { transform: scale(calc(1 - var(--depth, 0) * .035)); will-change: transform; }
.js-motion .step::after { opacity: min(.55, calc(var(--depth, 0) * .3)); }
.step-num { font: 300 clamp(72px, 9vw, 150px)/.8 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); letter-spacing: -.03em; }
.step-body { align-self: center; }
.step-body .h3 { color: var(--bone); margin: 16px 0 18px; font-size: clamp(32px, 3.2vw, 50px); font-weight: 300; }
.step-body p { max-width: 44ch; }
/* the photo fills its cell instead of sizing the card (a portrait photo made its card taller) */
.step .frame { align-self: stretch; min-height: 220px; }
.step .frame picture { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .steps { --stack: 12px; }
  .step { top: calc(var(--header-h) + 16px + var(--i, 0) * var(--stack)); grid-template-columns: 1fr; align-content: start; row-gap: 20px; min-height: 0; }
  /* the photo leads and the gold numeral sits on its lower corner, which keeps every
     card's words above the call bar while it is pinned, even on an iPhone SE with
     Safari's bars showing (they take about 120-160px of the screen) */
  .step .frame { grid-area: 1 / 1; aspect-ratio: 16 / 10; min-height: 0; align-self: start; }
  .step .frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14, 13, 12, 0) 42%, rgba(14, 13, 12, .62)); }
  .step-num { grid-area: 1 / 1; align-self: end; justify-self: start; position: relative; z-index: 1; margin: 0 0 14px 16px; font-size: 64px; text-shadow: 0 2px 24px rgba(14, 13, 12, .45); }
  .step-body .h3 { margin: 12px 0 12px; }
}
/* short screens: a tighter card and a shallower photo */
@media (max-width: 900px) and (max-height: 640px) {
  .step { padding: 22px 22px 24px; row-gap: 16px; }
  .step .frame { aspect-ratio: 2 / 1; }
  .step-num { font-size: 54px; margin: 0 0 10px 14px; }
  .step-body .h3 { font-size: 28px; margin: 10px 0; }
}
@media (max-width: 900px) and (max-height: 560px) { .step .frame { aspect-ratio: 3 / 1; } }

/* full-bleed image band with a single line */
.band { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; color: var(--bone); background: var(--char); }
.band > .frame { position: absolute; inset: 0; background: var(--char); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 12, .72) 0%, rgba(14, 13, 12, .35) 45%, rgba(14, 13, 12, 0) 75%), linear-gradient(180deg, rgba(14, 13, 12, 0) 40%, rgba(14, 13, 12, .55)); pointer-events: none; }
/* a bright photograph: shade only the side the words sit on, so the rest stays light */
.band--bright::after { background: linear-gradient(90deg, rgba(14, 13, 12, .86) 0%, rgba(14, 13, 12, .68) 28%, rgba(14, 13, 12, .28) 52%, rgba(14, 13, 12, 0) 72%), linear-gradient(180deg, rgba(14, 13, 12, 0) 55%, rgba(14, 13, 12, .4)); }
@media (max-width: 760px) { .band--bright::after { background: linear-gradient(180deg, rgba(14, 13, 12, .15) 0%, rgba(14, 13, 12, .45) 40%, rgba(14, 13, 12, .85) 100%); } }
.band-copy { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 104px); }
.band-copy .h2 { color: var(--bone); max-width: 18ch; margin: 24px 0 36px; }
.band-copy .eyebrow { color: var(--bone-mute); }

/* closing CTA */
.cta { text-align: center; }
.cta .display { max-width: 12ch; margin: 28px auto 44px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; align-items: center; }
.cta-hours { margin: 32px 0 0; color: var(--slate); }
.cta-strip { background: var(--stone); padding: 44px 0; }
.cta-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 56px; }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--char); color: var(--bone-mute); padding: clamp(72px, 9vw, 128px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand p { font: 300 clamp(24px, 2vw, 30px)/1.25 var(--serif); color: var(--bone); max-width: 18ch; }
.footer-col { grid-column: span 2; }
.footer-top > :nth-child(2) { grid-column: 5 / span 2; }
.footer-col--services { grid-column: span 3; }
.footer-col--wide { grid-column: span 3; }
.footer-col h2 { font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--bone); transition: color .3s var(--ease); }
@media (hover: hover) { .footer-col a:hover { color: var(--gold); } }
.footer-col p { font-size: 15.5px; }
.footer-key a { display: inline-grid; grid-template-columns: 2.1em auto; align-items: baseline; line-height: 1.4; }
.footer-key a span { font: 400 11px/1 var(--mono); letter-spacing: .06em; color: var(--bone-mute); transition: color .3s var(--ease); }
@media (hover: hover) { .footer-key a:hover span { color: var(--gold); } }
@media (max-width: 900px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-top > :nth-child(2), .footer-col--services, .footer-col--wide { grid-column: span 6; }
  .footer-col--wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* a finger-sized row for every footer link (44px or so) */
  .footer-col ul { gap: 0; }
  .footer-col li { padding: 9px 0; }
  .footer-col li > a { display: block; margin: -9px 0; padding: 9px 0; }
  .footer-key li > a { display: grid; }
  .footer-base a { display: inline-block; padding: 10px 0; }
}
.footer-extra { display: inline; }
/* phones: one column in the order people need it. Contact first (call or email
   in one tap), then the links as two even columns of finger-sized rows. */
@media (max-width: 760px) {
  .site-footer { padding-top: 64px; }
  .footer-top { display: flex; flex-direction: column; gap: 0; }
  .footer-brand { padding-bottom: 40px; }
  .footer-brand p { font-size: 27px; }
  .footer-col { padding: 22px 0 26px; border-top: 1px solid var(--rule-dark); }
  .footer-col--wide { order: 1; }
  .footer-top > :nth-child(2) { order: 2; }
  .footer-col--services { order: 3; }
  .footer-col h2 { margin-bottom: 10px; }
  .footer-col ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-col li { padding: 0; }
  .footer-col li > a { margin: 0; padding: 12px 0; line-height: 1.35; }
  .footer-key li > a { display: block; }
  .footer-key a span { display: none; } /* two columns of names read better than numbered rows here */
  /* contact: the number and address large enough to tap without aiming, the rest as a quiet spec line */
  .footer-contact { grid-template-columns: 1fr !important; }
  .footer-contact li { font: 400 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-mute); padding: 2px 0; text-wrap: balance; }
  .footer-contact .footer-call, .footer-contact .footer-mail { font: 300 30px/1.1 var(--serif); letter-spacing: 0; text-transform: none; padding: 0; }
  .footer-contact .footer-mail { font-size: 21px; margin-bottom: 14px; }
  .footer-contact li > a { display: block; padding: 8px 0; overflow-wrap: anywhere; }
  .footer-base { flex-direction: column; align-items: stretch; gap: 0; padding-top: 14px; }
  .footer-extra { display: none; }
  .footer-base > span:first-child { padding: 10px 0 2px; }
  .footer-links { display: flex; justify-content: space-between; }
  .footer-links i { display: none; }
}
/* the sign-off: the client's own logo, centred between two fine gold rules.
   Its three layers (tools/build.mjs inlines logo-reverse.svg: the SK, the Luxe
   script, INNOVATIONS) come in one after another the first time it scrolls into
   view: the rules draw out from the logo, the SK settles, the gold script signs
   itself from left to right, then the small capitals arrive. */
.footer-sign { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 56px); margin: clamp(88px, 11vw, 150px) 0 clamp(56px, 7vw, 96px); }
.footer-sign-rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(193, 171, 51, 0), rgba(193, 171, 51, .6)); }
.footer-sign-rule:last-child { background: linear-gradient(270deg, rgba(193, 171, 51, 0), rgba(193, 171, 51, .6)); }
.footer-sign-logo { flex: none; display: block; width: clamp(172px, 18vw, 260px); height: auto; overflow: visible; }
.js-motion .footer-sign-rule { transform: scaleX(0); transform-origin: right; transition: transform 1.8s var(--ease-wipe) .15s; }
.js-motion .footer-sign-rule:last-child { transform-origin: left; }
.js-motion .footer-sign-logo path:nth-of-type(1) { opacity: 0; transform: translateY(8px); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease-reveal); }
.js-motion .footer-sign-logo path:nth-of-type(2) { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.6s cubic-bezier(.5, .05, .25, 1) .55s; }
.js-motion .footer-sign-logo path:nth-of-type(3) { opacity: 0; transition: opacity 1.2s var(--ease) 1.7s; }
.js-motion .footer-sign.is-signed .footer-sign-rule { transform: none; }
.js-motion .footer-sign.is-signed .footer-sign-logo path:nth-of-type(1) { opacity: 1; transform: none; }
.js-motion .footer-sign.is-signed .footer-sign-logo path:nth-of-type(2) { clip-path: inset(-10% -2% -10% 0); }
.js-motion .footer-sign.is-signed .footer-sign-logo path:nth-of-type(3) { opacity: 1; }
@media (max-width: 760px) {
  .footer-sign { margin: 64px 0 44px; gap: 18px; }
  .footer-sign-logo { width: 164px; }
}
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--rule-dark); }
@media (hover: hover) { .footer-base a:hover { color: var(--bone); } }

/* ============================================================= INNER PAGES */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 140px)) 0 clamp(56px, 7vw, 96px); }
.page-hero .display { margin: 28px 0 0; max-width: 13ch; }
.page-hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.page-hero-row > div { grid-column: 1 / span 8; }
.page-hero-row .lead { grid-column: 9 / -1; }
.jump { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(44px, 5vw, 72px); }
.jump a {
  display: inline-flex; align-items: baseline; gap: 12px; padding: 15px 20px;
  border: 1px solid var(--rule); font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.jump a span { color: var(--gold-text); letter-spacing: .06em; transition: color .35s var(--ease); }
@media (hover: hover) { .jump a:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); } }
@media (hover: hover) { .jump a:hover span { color: var(--gold); } }
@media (max-width: 760px) { .jump { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .jump a { padding: 14px; min-height: 56px; align-items: center; } }
@media (max-width: 900px) { .page-hero-row > div, .page-hero-row .lead { grid-column: 1 / -1; } .page-hero-row .lead { margin-top: 32px; } }
.page-image { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .page-image { aspect-ratio: 4 / 3; } }

/* split rows (services detail, philosophy) */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; align-items: center; }
.split-media { grid-column: 1 / span 6; }
.split-copy { grid-column: 8 / -1; }
.split--flip .split-media { grid-column: 7 / -1; order: 2; }
.split--flip .split-copy { grid-column: 1 / span 5; }
.split-media .frame { aspect-ratio: 4 / 5; }
.split-media--pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(12px, 1.6vw, 24px); align-items: end; }
.split-media--pair .frame:last-child { aspect-ratio: 3 / 4; margin-bottom: 18%; }
.split-copy .h2 { margin: 18px 0 26px; }
.split-copy .svc-num { display: block; }
@media (max-width: 900px) {
  .split-media, .split-copy, .split--flip .split-media, .split--flip .split-copy { grid-column: 1 / -1; order: 0; }
}
.spec { list-style: none; margin: 32px 0 36px; padding: 0; border-top: 1px solid var(--rule); }
.spec li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--graphite); }
.spec li span:first-child { flex: none; white-space: nowrap; }
.spec li span:last-child { font: 400 11px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); text-align: right; }
.svc-section + .svc-section { border-top: 1px solid var(--rule); }
/* the individual services inside a group (services page) */
.svc-items { margin: 32px 0 0; border-top: 1px solid var(--rule); }
.svc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding: 24px 0 22px; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 32px); }
.svc-item h3 { grid-column: 1; font: 400 clamp(26px, 2.2vw, 34px)/1.1 var(--serif); color: var(--ink); margin-bottom: 10px; }
.svc-item p { grid-column: 1; margin: 0; font-size: 16px; line-height: 1.6; color: var(--graphite); max-width: 52ch; }
.svc-item .link { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
.svc-item .link--more { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin-top: 14px; color: var(--gold-text); }
.svc-item:target h3 { color: var(--gold-text); }
@media (max-width: 640px) { .svc-item { grid-template-columns: 1fr; } .svc-item .link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; } }

/* FAQ (services page) */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: start; }
.faq-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .h2 { margin: 24px 0 22px; }
.faq-head a { text-decoration: underline; text-underline-offset: 3px; }
.faq-list { grid-column: 6 / -1; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font: 400 clamp(23px, 2vw, 30px)/1.2 var(--serif); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 15px; height: 15px; color: var(--gold-text);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .faq-item summary:hover { color: var(--graphite); } }
.faq-item p { margin: -6px 0 0; padding: 0 0 28px; max-width: 60ch; color: var(--graphite); }
@media (max-width: 900px) { .faq-head, .faq-list { grid-column: 1 / -1; } .faq-head { position: static; } }

/* long-form text (privacy) */
.prose { max-width: 68ch; }
.prose h2 { font: 400 clamp(26px, 2.4vw, 34px)/1.15 var(--serif); color: var(--ink); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose a, .form-foot a { text-decoration: underline; text-underline-offset: 3px; }

/* values / hairline list */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.values li { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.values .h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 300; }
@media (max-width: 760px) { .values li { grid-template-columns: 1fr; gap: 10px; } }

/* timeline (about page process) */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: clamp(32px, 3.4vw, 52px) 0; border-bottom: 1px solid var(--rule-dark); align-items: baseline; }
.timeline .num { font: 300 56px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); }
.timeline .h3 { color: var(--bone); }
@media (max-width: 760px) { .timeline li { grid-template-columns: 1fr; gap: 12px; } }

/* contact */
.contact { padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(96px, 12vw, 180px); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 64px; }
.contact-intro { grid-column: 1 / span 5; }
.contact-intro .display { font-size: clamp(50px, 6vw, 96px); margin: 28px 0 32px; }
.contact-facts { margin-top: 48px; display: grid; gap: 22px; }
.contact-facts div { display: grid; gap: 4px; }
.contact-facts dt { color: var(--slate); }
.contact-facts dd { margin: 0; font: 300 26px/1.25 var(--serif); color: var(--ink); }
.contact-next { margin-top: 56px; counter-reset: next; list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.contact-next li { counter-increment: next; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.contact-next li::before { content: "0" counter(next); font: 400 11px/2 var(--mono); letter-spacing: .14em; color: var(--gold-text); }
.contact-form { grid-column: 7 / -1; }
@media (max-width: 960px) { .contact-intro, .contact-form { grid-column: 1 / -1; } }
@media (max-width: 960px) {
  /* phones: introduction, then the form, then what happens next and the details */
  .contact-grid { row-gap: 0; }
  .contact-intro { display: contents; }
  .contact-intro > * { grid-column: 1 / -1; }
  .contact-intro .lead { margin-bottom: 36px; }
  .contact-form { order: 1; }
  .contact-next { order: 2; }
  .contact-facts { order: 3; }
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; background: var(--paper); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--rule); }
.field { display: grid; gap: 10px; grid-column: span 2; position: relative; }
.field--half { grid-column: span 1; grid-template-rows: 1fr auto auto; } /* side-by-side fields: inputs line up even when one label wraps */
.field--half > label { align-self: end; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .field, .field--half { grid-column: 1 / -1; } }
.field > label:not(.file), .field > legend, .field-label { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); padding: 0; }
.field .opt { color: var(--slate); font-weight: 400; letter-spacing: .1em; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(23, 22, 21, .35); border-radius: 0;
  padding: 10px 0 12px; transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23171615' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field-error { font-size: 13.5px; color: #9B2C1F; min-height: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #9B2C1F; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 11px 16px; border: 1px solid rgba(23, 22, 21, .3); font-size: 15px; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.choice input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.file { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px dashed rgba(23, 22, 21, .35); cursor: pointer; font-size: 15px; color: var(--graphite); }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file:focus-within { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.file svg { width: 20px; height: 20px; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 6px; }
.form-foot p { font-size: 13.5px; color: var(--slate); max-width: 40ch; margin: 0; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

/* simple message pages (thanks, 404) */
.message { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) var(--gutter) 96px; }
.message .display { margin: 28px auto 24px; max-width: 12ch; }
.message p { max-width: 46ch; margin: 0 auto 40px; }

/* ------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .badge-ring { animation: none; }
}
