@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/gabarito-latin.woff2") format("woff2");
}

:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --ink-3: #2c2c2c;
  --text-2: #3b3b3b;
  --muted: #5f5f5f;
  --line: #e1e1df;
  --mist: #f4f4f2;
  --paper: #ffffff;
  --orange: #eb6120;
  --orange-hover: #f27235;
  --orange-deep: #b0430b;
  --on-dark-muted: #b4b4b0;
  --on-dark-line: rgba(255, 255, 255, 0.14);

  --font: "Gabarito", "Helvetica Neue", Arial, sans-serif;

  /* The icon's board miter: one diagonal cut, top-left and bottom-right */
  --cut-s: 10px;
  --cut: 18px;
  --cut-l: 28px;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --section: clamp(72px, 8.5vw, 124px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #b9b9b6 var(--mist);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main, footer { overflow-x: clip; }

::selection { background: var(--orange); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #c4c4c0; border: 3px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: #9d9d99; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-weight: 700; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: square; stroke-linejoin: miter;
}

/* ---------- Board frame (the icon, around content) ---------- */

.frame {
  --t: clamp(12px, 1.6vw, 20px);
  --g: clamp(5px, 0.6vw, 8px);
  --d: calc(var(--g) * 0.72);
  --v: var(--ink);
  --h: var(--orange);
  position: relative;
  padding: calc(var(--t) + var(--g));
}
.frame > .fb {
  position: absolute;
  display: block;
  transition: transform 0.9s var(--ease-out), opacity 0.6s var(--ease-out);
}
.fb-top {
  left: 0; top: 0;
  width: calc(100% - var(--t) - var(--g));
  height: var(--t);
  background: var(--h);
  clip-path: polygon(var(--d) 0, 100% 0, 100% 100%, calc(var(--t) + var(--d)) 100%);
}
.fb-left {
  left: 0; top: 0;
  width: var(--t);
  height: calc(100% - var(--t) - var(--g));
  background: var(--v);
  clip-path: polygon(0 var(--d), 100% calc(var(--t) + var(--d)), 100% 100%, 0 100%);
}
.fb-right {
  right: 0; top: 0;
  width: var(--t);
  height: 100%;
  background: var(--v);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--d)), 0 calc(100% - var(--t) - var(--d)));
}
.fb-bottom {
  left: 0; bottom: 0;
  width: 100%;
  height: var(--t);
  background: var(--h);
  clip-path: polygon(0 0, calc(100% - var(--t) - var(--d)) 0, calc(100% - var(--d)) 100%, 0 100%);
}
.frame-inner { position: relative; overflow: hidden; height: 100%; }
.frame-inner > img { width: 100%; height: 100%; object-fit: cover; }

.on-dark .frame { --v: #fff; }

/* Boards assemble when the frame enters: the page's one motion idea */
.frame .frame-inner { transition: clip-path 1.1s var(--ease-in-out) 0.15s; clip-path: inset(0 0 0 0); }
.js .frame.will-build .fb-top { transform: translateX(-24%); opacity: 0; }
.js .frame.will-build .fb-right { transform: translateY(-24%); opacity: 0; }
.js .frame.will-build .fb-bottom { transform: translateX(24%); opacity: 0; }
.js .frame.will-build .fb-left { transform: translateY(24%); opacity: 0; }
.js .frame.will-build .frame-inner { clip-path: inset(0 0 100% 0); }
.frame.built .fb-right { transition-delay: 0.08s; }
.frame.built .fb-bottom { transition-delay: 0.16s; }
.frame.built .fb-left { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .frame.will-build .fb,
  .js .frame.will-build .frame-inner { transform: none; opacity: 1; clip-path: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--font); margin: 0; text-wrap: balance; color: inherit; }

h1 {
  font-size: clamp(2.45rem, 1.5rem + 3.2vw, 4.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.1rem, 1.45rem + 2.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p { margin: 0; text-wrap: pretty; }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 38ch;
}

/* Heading rule: a short orange board with the miter, under each section title */
.board-rule {
  display: block;
  width: 64px; height: 9px;
  background: var(--orange);
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  background: none;
  color: var(--fg);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, transform 0.25s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  clip-path: polygon(var(--cut-s) 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%, 0 var(--cut-s));
  transition: background-color 0.2s;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.3s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-primary .icon { color: var(--orange); }
.btn-primary:hover::before { background: #000; }

.btn-orange { --bg: var(--orange); --fg: var(--ink); }
.btn-orange:hover::before { background: var(--orange-hover); }

.btn-line { --fg: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line::after {
  content: "";
  position: absolute; inset: 2px; z-index: -1;
  background: var(--paper);
  clip-path: polygon(calc(var(--cut-s) - 1px) 0, 100% 0, 100% calc(100% - var(--cut-s) + 1px), calc(100% - var(--cut-s) + 1px) 100%, 0 100%, 0 calc(var(--cut-s) - 1px));
  transition: background-color 0.2s;
}
.btn-line:hover { --fg: #fff; }
.btn-line:hover::after { background: var(--ink); }
.btn-line .icon { color: var(--orange-deep); }
.btn-line:hover .icon { color: var(--orange); }

.on-dark .btn-primary { --fg: var(--ink); }
.on-dark .btn-primary::before { background: #fff; }
.on-dark .btn-primary:hover::before { background: #e9e9e6; }
.on-dark .btn-primary .icon { color: var(--orange-deep); }
.on-dark .btn-line { --fg: #fff; }
.on-dark .btn-line::before { background: rgba(255, 255, 255, 0.6); }
.on-dark .btn-line::after { background: var(--ink); }
.on-dark .btn-line:hover { --fg: var(--ink); }
.on-dark .btn-line:hover::after { background: #fff; }

.btn-sm { min-height: 46px; padding: 0 18px; font-size: 0.9375rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Small square controls ---------- */

.sq-btn {
  position: relative; isolation: isolate;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; background: none; color: var(--ink);
  cursor: pointer; text-decoration: none;
}
.sq-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--mist);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.2s;
}
.sq-btn:hover::before { background: var(--line); }

/* ---------- Header: floating capsule ---------- */

.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav-shell {
  position: relative; isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  pointer-events: auto;
  color: #fff;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}
.nav-shell::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(17, 14, 12, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: background-color 0.3s;
}
.site-header.scrolled .nav-shell::before { background: rgba(17, 14, 12, 0.9); }

.nav { display: flex; align-items: center; gap: 20px; height: 66px; padding: 0 10px 0 26px; }
.brand { display: block; flex: none; padding: 8px 0; }
.brand img { height: 30px; width: auto; }

.nav-links { display: none; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 8px; }

.site-header .sq-btn { color: #fff; }
.site-header .sq-btn::before { background: rgba(255, 255, 255, 0.1); }
.site-header .sq-btn:hover::before { background: rgba(255, 255, 255, 0.18); }

.menu-btn .icon-close { display: none; }
.menu-open .menu-btn .icon-open { display: none; }
.menu-open .menu-btn .icon-close { display: block; }

.mobile-menu {
  display: none;
  position: relative; isolation: isolate;
  max-width: var(--max);
  margin: 8px auto 0;
  padding: 8px 22px 22px;
  pointer-events: auto;
  color: #fff;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(17, 14, 12, 0.96);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.menu-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--on-dark-line);
  font-weight: 700; font-size: 1.1875rem; text-decoration: none;
}
.mobile-menu a.m-link .icon { color: var(--orange); }
.mobile-menu .m-meta { margin-top: 16px; color: var(--on-dark-muted); font-size: 0.9375rem; }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .menu-btn, .call-btn { display: none; }
}
@media (max-width: 639px) {
  .nav .btn-sm { display: none; }
  .nav { height: 58px; padding: 0 8px 0 18px; }
  .brand img { height: 25px; }
}

/* ---------- Hero: graded floor plates + display type ---------- */

.hero {
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2));
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(104px, 15svh, 150px) var(--edge) clamp(24px, 5svh, 64px);
  background: #0c0806;
  color: #f3eee6;
  overflow: hidden;
  isolation: isolate;
}

.hx-media { position: absolute; overflow: hidden; background: #140804; }
.hx-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.95);
}
.hx-media::after {
  content: ""; position: absolute; inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hx-top { inset: 0; }
.hx-top img { object-position: 60% 40%; }
.hx-top::after { background: linear-gradient(115deg, #1a0602 0%, #6e1d05 30%, #e2581a 62%, #f58a3c 78%, #3a0e03 100%); }
.hx-top::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8, 5, 4, 0.55) 0%, rgba(8, 5, 4, 0) 26%, rgba(8, 5, 4, 0) 70%, rgba(8, 5, 4, 0.5) 100%);
  pointer-events: none;
}

.hx-band, .hx-low { display: none; }

.grain {
  position: absolute; inset: -40%; z-index: 2;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.mega {
  position: relative; z-index: 3;
  margin: auto 0;
  font-weight: 700;
  font-size: calc(clamp(2.6rem, min(15.2vw, 9.5svh), 8.5rem) * var(--fit, 1));
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #f3eee6;
  pointer-events: none;
}
.mega span { display: block; overflow: hidden; padding-bottom: 0.04em; }
.mega span > i { display: inline-block; font-style: normal; white-space: nowrap; }
.mega-measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }

/* Rotating service names: each line wipes out left to right, the next wipes in left to right */
.js .hero.ready .mega.rotating i {
  transform: none;
  clip-path: inset(-15% 0 -15% 0);
  transition: clip-path 0.6s var(--ease-in-out);
}
.js .hero.ready .mega.rotating .m2 i { transition-delay: 0.1s; }
.js .hero.ready .mega.rotating.is-out i { clip-path: inset(-15% 0 -15% 100%); }
.js .hero.ready .mega.rotating.is-pre i { clip-path: inset(-15% 100% -15% 0); transition: none; }
.mega .m2 { padding-left: 10vw; }

.hx-copy {
  position: relative; z-index: 3;
  display: grid; gap: clamp(12px, 2svh, 18px); justify-items: start;
  max-width: 34rem;
}
.hx-copy h1 {
  font-size: clamp(1.25rem, min(1.1rem + 1vw, 3.7svh), 1.875rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
}
.hx-copy p { color: rgba(243, 238, 230, 0.82); font-size: 1.0625rem; max-width: 40ch; }
.hx-copy .cta-row { margin-top: 6px; }

.hero .btn-line { --fg: #fff; }
.hero .btn-line::before { background: rgba(255, 255, 255, 0.7); }
.hero .btn-line::after { background: rgba(12, 8, 6, 0.55); }
.hero .btn-line:hover { --fg: var(--ink); }
.hero .btn-line:hover::after { background: #fff; }
.hero .btn-line .icon { color: var(--orange); }

.hx-side {
  position: absolute; z-index: 3;
  right: var(--edge); bottom: clamp(32px, 6svh, 64px);
  display: none;
  justify-items: end; gap: 14px;
  text-align: right;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.hx-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hx-side a { text-decoration: none; }
.hx-side a:hover { color: var(--orange); }
.hx-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hx-scroll::after {
  content: ""; width: 2px; height: 34px;
  background: linear-gradient(var(--orange), var(--orange)) 0 -12px / 2px 12px no-repeat, rgba(255, 255, 255, 0.28);
  animation: drip 1.8s var(--ease-in-out) infinite;
}
@keyframes drip {
  from { background-position: 0 -12px, 0 0; }
  to { background-position: 0 40px, 0 0; }
}
.photo-tag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; color: rgba(243, 238, 230, 0.6); }

/* Load sequence: plates wipe in, display type rises */
.js .hero .hx-media { clip-path: inset(0 0 100% 0); }
.js .hero.ready .hx-media { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-in-out); }
.js .hero.ready .hx-band { transition-delay: 0.2s; }
.js .hero.ready .hx-low { transition-delay: 0.35s; }
.js .hero .hx-top img { transform: scale(1.12); }
.js .hero.ready .hx-top img { transform: scale(1.02); transition: transform 2.6s var(--ease-out); }
.js .hero .mega i { transform: translateY(105%); }
.js .hero.ready .mega i { transform: none; transition: transform 1.1s var(--ease-out) 0.45s; }
.js .hero.ready .mega .m2 i { transition-delay: 0.6s; }
.js .hero .hx-copy,
.js .hero .hx-side { opacity: 0; transform: translateY(12px); }
.js .hero.ready .hx-copy,
.js .hero.ready .hx-side { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out) 0.9s, transform 0.8s var(--ease-out) 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .grain, .hx-scroll::after { animation: none; }
  .js .hero .hx-media, .js .hero .mega i, .js .hero .hx-copy, .js .hero .hx-side, .js .hero .hx-top img { clip-path: none; transform: none; opacity: 1; }
}

@media (min-width: 900px) and (orientation: landscape) {
  .hx-band, .hx-low { display: block; }
  .hx-band { left: 0; top: 49%; width: 46%; height: 13%; }
  .hx-low { left: 0; top: 62%; width: 46%; bottom: 0; }
  .hx-band img { object-position: 50% 62%; }
  .hx-band::after { background: linear-gradient(100deg, #5a1503 0%, #ef6a24 55%, #ffa060 100%); }
  .hx-low::after { background: linear-gradient(160deg, #e2581a 0%, #7a2306 45%, #140503 100%); }
  .hx-low::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(8, 5, 4, 0.72) 0%, rgba(8, 5, 4, 0.2) 60%, rgba(8, 5, 4, 0) 100%);
  }
  .hero { justify-content: flex-end; gap: clamp(20px, 4svh, 44px); }
  .hero .mega { margin: 0; }
  .mega {
    font-size: calc(clamp(3.5rem, min(9.2vw, 16svh), 10.5rem) * var(--fit, 1));
    line-height: 0.84;
  }
  .mega .m1 { padding-left: 0; }
  .mega .m2 { padding-left: 40%; padding-top: 0.04em; }
  .hx-copy { max-width: min(max(40vw, 470px), 36rem); }
  .hx-side { display: grid; }
}
@media (max-height: 760px) {
  .hx-copy p { display: none; }
}
@media (max-height: 640px) {
  .hx-copy .btn { min-height: 48px; }
}

/* ---------- Strip: service marquee, icon between items ---------- */

.strip { background: #0c0806; color: #fff; border-top: 1px solid var(--on-dark-line); overflow: hidden; }
.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip ul { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.strip li {
  display: inline-flex; align-items: center;
  padding: 22px 0;
  font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: -0.01em;
  white-space: nowrap;
}
.strip li::after {
  content: "";
  width: 24px; height: 23px;
  margin: 0 clamp(24px, 3vw, 40px);
  background: url("../logo/fortunato-icon-white.webp") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section.alt { background: var(--mist); }

.on-dark { background: var(--ink); color: #fff; }

.sec-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(44px, 6vw, 72px);
  max-width: 52rem;
}
.sec-head p { color: var(--text-2); max-width: 60ch; }
.on-dark .sec-head p { color: var(--on-dark-muted); }

.sec-head.split { max-width: none; }
@media (min-width: 960px) {
  .sec-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; column-gap: 64px; }
  .sec-head.split h2 { grid-column: 1; }
  .sec-head.split .board-rule { grid-column: 1; }
  .sec-head.split > p,
  .sec-head.split > .head-side { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

.sec-foot {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sec-foot p { font-weight: 600; color: var(--text-2); max-width: 46ch; font-size: 1.125rem; }
.on-dark .sec-foot { border-color: var(--on-dark-line); }
.on-dark .sec-foot p { color: var(--on-dark-muted); }

/* ---------- About ---------- */

.about-grid { display: grid; gap: 48px; align-items: center; }
.about-media .frame { aspect-ratio: 5 / 4.4; }
.about-copy { display: grid; gap: 22px; justify-items: start; }
.about-copy p { color: var(--text-2); max-width: 58ch; }

.facts {
  display: flex; flex-wrap: wrap;
  gap: 12px 0; margin: 8px 0 6px; padding: 0; list-style: none;
}
.facts li {
  padding: 2px 22px 2px 0; margin-right: 22px;
  border-right: 1px solid var(--line);
  display: grid; gap: 2px;
}
.facts li:last-child { border: 0; margin: 0; padding-right: 0; }
.facts strong { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.facts span { font-size: 0.875rem; color: var(--muted); font-weight: 500; }

@media (max-width: 560px) {
  .facts { flex-direction: column; gap: 12px; }
  .facts li { border-right: 0; margin: 0; padding: 0; }
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 112px); }
}

/* ---------- Services: bento cards, description on hover ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 14px;
}
.svc-card {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 260px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.svc-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  background: #120c09;
  clip-path: polygon(var(--cut-l) 0, 100% 0, 100% calc(100% - var(--cut-l)), calc(100% - var(--cut-l)) 100%, 0 100%, 0 var(--cut-l));
}
.svc-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.62;
  transition: transform 0.9s var(--ease-out), opacity 0.5s var(--ease-out);
}
.svc-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 10, 8, 0.94) 0%, rgba(14, 10, 8, 0.55) 45%, rgba(14, 10, 8, 0.12) 100%);
  transition: background-color 0.5s var(--ease-out);
}
.svc-body {
  display: grid; gap: 10px; justify-items: start;
  padding: clamp(20px, 2.4vw, 30px);
  width: 100%;
}
.svc-ico {
  position: relative; isolation: isolate;
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--ink);
  margin-bottom: 4px;
}
.svc-ico::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.svc-ico .icon { width: 22px; height: 22px; }
.svc-card .svc-tag {
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
}
.svc-card h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  color: #fff;
  max-width: 20ch;
}
.svc-card.s1 h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }

.svc-reveal { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease-out); }
.svc-reveal > span { overflow: hidden; display: grid; gap: 14px; }
.svc-desc { color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; line-height: 1.5; max-width: 52ch; }
.svc-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9375rem;
  color: #fff;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  justify-self: start;
}
.svc-more .icon { width: 16px; height: 16px; color: var(--orange); transition: transform 0.3s var(--ease-out); }

.svc-card:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  .svc-reveal { grid-template-rows: 0fr; }
  .svc-reveal > span { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
  .svc-card:hover .svc-reveal,
  .svc-card:focus-visible .svc-reveal { grid-template-rows: 1fr; }
  .svc-card:hover .svc-reveal > span,
  .svc-card:focus-visible .svc-reveal > span { opacity: 1; transform: none; transition-delay: 0.08s; }
  .svc-card:hover .svc-bg img,
  .svc-card:focus-visible .svc-bg img { transform: scale(1.06); opacity: 0.4; }
  .svc-card:hover .svc-bg::after,
  .svc-card:focus-visible .svc-bg::after { background-color: rgba(14, 10, 8, 0.25); }
  .svc-card:hover .svc-more .icon { transform: translateX(4px); }
  .svc-card:not(.s1):hover .svc-tag,
  .svc-card:not(.s1):focus-visible .svc-tag { display: none; }
}

@media (min-width: 680px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(280px, auto); }
  .svc-card.s1 { grid-column: 1 / -1; min-height: 380px; }
}
@media (min-width: 1040px) {
  .svc-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(280px, 22vw, 320px);
  }
  .svc-card { min-height: 0; }
  .svc-card.s1 { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
  .svc-card.s2 { grid-column: 3; grid-row: 1; }
  .svc-card.s3 { grid-column: 4; grid-row: 1; }
  .svc-card.s4 { grid-column: 3 / 5; grid-row: 2; }
  .svc-card.s5 { grid-column: 1; grid-row: 3; }
  .svc-card.s6 { grid-column: 2; grid-row: 3; }
  .svc-card.s7 { grid-column: 3 / 5; grid-row: 3; }
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery button {
  position: relative; padding: 0; border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery button img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: filter 0.4s;
}
.gallery button:hover img { filter: brightness(1.06) saturate(1.05); }
.gallery .cap {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 12px 7px 14px;
  font-size: 0.8125rem; font-weight: 700; line-height: 1.2; color: #fff;
  isolation: isolate;
  text-align: left;
}
.gallery .cap::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(17, 17, 17, 0.88);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.g-a { grid-column: span 2; grid-row: span 2; }
.g-b { grid-row: span 2; }
@media (max-width: 759px) { .gallery button:last-child { grid-column: span 2; } }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
  .g-c { grid-column: span 2; }
}
@media (min-width: 1100px) { .gallery { grid-auto-rows: 228px; } }

.note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

.lightbox {
  width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; background: var(--ink); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 10, 10, 0.86); }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #000; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 12px 22px; font-weight: 700; }
.lightbox .sq-btn { color: #fff; }
.lightbox .sq-btn::before { background: var(--ink-3); }

/* ---------- Reviews ---------- */

.reviews { display: grid; gap: 16px; }
.review {
  position: relative; isolation: isolate;
  display: grid; gap: 22px; align-content: space-between;
  margin: 0;
  padding: 32px 28px 28px;
}
.review::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.review blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.5; font-weight: 500; }
.review blockquote::before {
  content: ""; display: block; width: 34px; height: 8px; margin-bottom: 18px;
  background: var(--ink);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; font-size: 0.9375rem; line-height: 1.2; }
.review figcaption span { font-size: 0.8125rem; color: var(--muted); }
.sample-tag {
  margin-left: auto;
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange-deep);
}
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Why (dark) ---------- */

.why-grid { display: grid; gap: 56px; }
.why-left { display: grid; gap: 32px; justify-items: start; }
.head-side { display: grid; gap: 22px; justify-items: start; }
.why-lead {
  font-weight: 600;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem);
  line-height: 1.32; letter-spacing: -0.015em;
  max-width: 34ch;
}
.why-lead span { color: var(--on-dark-muted); }

.diffs { display: grid; margin: 0; padding: 0; list-style: none; }
.diffs li {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 20px;
  padding: 24px 0; border-top: 1px solid var(--on-dark-line);
}
.diffs li:last-child { border-bottom: 1px solid var(--on-dark-line); }
.diffs .tick {
  grid-row: span 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--orange);
  position: relative; isolation: isolate;
}
.diffs .tick::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink-3);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.diffs .tick .icon { stroke-width: 2.6; }
.diffs strong { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.diffs span { color: var(--on-dark-muted); }

.chain { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 14px; }
.chain-row {
  position: relative; isolation: isolate;
  display: grid; gap: 14px; padding: 24px;
}
.chain-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.chain-row.direct { color: var(--ink); }
.chain-row.direct::before { background: #fff; }
.chain-label { font-weight: 700; font-size: 0.9375rem; color: var(--on-dark-muted); }
.chain-row.direct .chain-label { color: var(--orange-deep); }
.chain-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chain-steps li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.node {
  position: relative; isolation: isolate;
  padding: 8px 14px; font-size: 0.9375rem; color: #fff;
}
.node::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink-3);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.chain-row.direct .node::before { background: var(--ink); }
.chain-row.direct .node.you { color: var(--ink); }
.chain-row.direct .node.you::before { background: var(--orange); }
.chain-steps .icon { width: 18px; height: 18px; color: var(--on-dark-muted); }
.chain-row.direct .chain-steps .icon { color: var(--orange-deep); }

@media (min-width: 980px) {
  .why-grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(56px, 7vw, 120px); align-items: start; }
  .chain { grid-template-columns: 1fr 1fr; }
}

/* ---------- Process: three boards laid end to end ---------- */

.steps { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 16px; align-content: start; }
.step-board {
  height: 18px;
  background: var(--ink);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.step:nth-child(2) .step-board { background: var(--orange); }
.step-num {
  font-weight: 800; font-size: clamp(3.25rem, 2.6rem + 2.4vw, 4.75rem);
  line-height: 0.9; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.step p { color: var(--text-2); max-width: 32ch; }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .step { padding-right: clamp(20px, 3vw, 44px); }
  .step .step-board { margin-right: calc(clamp(20px, 3vw, 44px) * -1 + 6px); }
}

/* ---------- FAQ: dark, textured, hairline list ---------- */

.faq-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0c0a09;
}
.faq-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/worn-planks.webp") center / cover no-repeat;
  filter: grayscale(1) contrast(1.35) brightness(0.55);
  opacity: 0.32;
}
.faq-sec::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 30%, rgba(12, 10, 9, 0.2), rgba(12, 10, 9, 0.85) 75%);
}
.faq-sec .grain { z-index: 0; opacity: 0.14; }
.faq-sec .wrap { position: relative; z-index: 1; }

.faq-grid { display: grid; gap: 40px; }
.faq-aside h2 {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem);
  line-height: 0.98;
  max-width: 11ch;
  color: #fff;
}

.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.faq { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-weight: 700;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange); }
.faq .plus {
  flex: none;
  width: 28px; height: 28px; display: grid; place-items: center;
  color: var(--orange);
  transition: transform 0.4s var(--ease-out);
}
.faq .plus .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.faq[open] .plus { transform: rotate(45deg); }
.faq-a { padding: 0 56px 28px 0; color: var(--on-dark-muted); max-width: 64ch; }
.faq[open] .faq-a { animation: rise 0.45s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (min-width: 980px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(56px, 7vw, 112px); align-items: start; }
}

/* ---------- Estimate ---------- */

.contact-grid { display: grid; gap: 40px; }

.est { position: relative; isolation: isolate; }
.est::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--mist);
  clip-path: polygon(var(--cut-l) 0, 100% 0, 100% calc(100% - var(--cut-l)), calc(100% - var(--cut-l)) 100%, 0 100%, 0 var(--cut-l));
}

.est-top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 28px 20px 34px;
  border-bottom: 1px solid var(--line);
}
.est-top strong { color: var(--ink); white-space: nowrap; display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.est-top span { font-size: 0.875rem; color: var(--muted); font-weight: 600; }

.progress { display: flex; gap: 4px; }
.progress i {
  width: 40px; height: 9px;
  background: var(--line);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: background-color 0.3s;
}
.progress i.on { background: var(--ink); }
.progress i.on:last-child { background: var(--orange); }

.est-body { padding: 26px 28px 6px; }

.est-step { display: none; flex-direction: column; gap: 10px; }
.est-step.is-active { display: flex; }

.q { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; margin-top: 8px; }
.q:first-child { margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; padding: 0; border: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.chip span {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  font-size: 0.9375rem; font-weight: 600;
  transition: color 0.15s;
}
.chip span::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: #cfcfcb;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background-color 0.15s;
}
.chip span::after {
  content: ""; position: absolute; inset: 1.5px; z-index: -1;
  background: #fff;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: background-color 0.15s;
}
.chip:hover span::before { background: var(--ink); }
.chip input:checked + span { color: #fff; }
.chip input:checked + span::before,
.chip input:checked + span::after { background: var(--ink); }
.chip input:focus-visible + span { outline: 2.5px solid var(--orange); outline-offset: 2px; }

.fields { display: grid; gap: 12px; margin: 2px 0 10px; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 700; color: var(--text-2); }
.field input,
.field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 0; border-radius: 0;
  background: var(--mist);
  box-shadow: inset 0 -2px 0 #cfcfcb;
  font: inherit; font-size: 1rem; color: var(--ink);
  caret-color: var(--orange);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #737370; }
.field input:hover,
.field textarea:hover { box-shadow: inset 0 -2px 0 #9d9d99; }
.field input:focus,
.field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 -3px 0 var(--orange), inset 0 0 0 1px #cfcfcb; }
.est .field input,
.est .field textarea { background: #fff; }
.field.invalid input { box-shadow: inset 0 -3px 0 #c2321b; background: #fff6f3; }

/* Anti-spam honeypot: off screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.err { display: none; font-size: 0.875rem; font-weight: 600; color: #b02a14; }
.err.show { display: block; }

.file-drop {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border: 1.5px dashed #bdbdb8;
  font-size: 0.9375rem; color: var(--text-2); font-weight: 600;
  cursor: pointer;
}
.file-drop:hover { border-color: var(--ink); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .icon { color: var(--orange-deep); }

.est-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 28px 28px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.link-btn {
  border: 0; background: none; cursor: pointer;
  font-weight: 700; font-size: 0.9375rem; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 4px;
}
.link-btn:hover { color: var(--ink); text-decoration: underline; }
.link-btn[hidden] { display: none; }
.est-nav .btn[disabled] { opacity: 0.55; cursor: progress; }

.est-done { display: none; gap: 24px; padding: 8px 0 26px; min-width: 0; }
.est-done.is-active { display: grid; }
.done-heading { display: flex; align-items: center; gap: 18px; min-width: 0; }
.done-heading > div { min-width: 0; }
.done-eyebrow { display: block; color: var(--orange-deep); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.done-mark {
  width: 60px; height: 60px; flex: 0 0 60px; display: grid; place-items: center;
  color: var(--ink); position: relative; isolation: isolate;
}
.done-mark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.done-mark .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.est-done h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.est-done p { color: var(--text-2); max-width: 48ch; }
.done-hours { display: grid; gap: 4px; border-left: 3px solid var(--orange); padding-left: 16px; }
.done-hours > span { color: var(--muted); font-size: 0.8125rem; }
.done-hours strong { font-size: 0.9375rem; font-weight: 600; }
.done-hours strong span { display: inline-block; margin-left: 12px; color: var(--muted); font-weight: 400; }
.done-photos { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px 12px; background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.done-photo-icon { color: var(--orange-deep); padding-top: 2px; }
.done-photos h4 { margin: 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.done-photos p { font-size: 0.9375rem; line-height: 1.5; margin-top: 4px; }
.done-photos .btn { grid-column: 1 / -1; justify-self: start; margin-top: 12px; max-width: 100%; white-space: normal; text-align: left; }
@media (max-width: 480px) {
  .done-photos { padding: 18px; }
  .done-photos .btn { width: 100%; padding: 12px 16px; font-size: 0.9375rem; }
  .done-hours strong span { display: block; margin-left: 0; }
}

.fineprint { font-size: 0.8125rem; color: var(--muted); padding: 0 28px 28px; }

.area { display: grid; gap: 32px; align-content: start; }
.map-frame { aspect-ratio: 4 / 3; }
.map-frame .frame-inner { background: var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); display: block; }

.area h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.towns {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px; margin: 0; padding: 0; list-style: none;
}
.towns li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 0.9375rem;
}
.towns li::before {
  content: ""; width: 10px; height: 4px; flex: none;
  background: var(--ink);
  clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 560px) { .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) and (max-width: 1199px) { .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.contact-lines { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.contact-lines li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-lines .icon { color: var(--orange-deep); }
.contact-lines a { text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-lines a:hover { text-decoration: underline; }

@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
}

/* ---------- Close: graded floor mosaic ---------- */

.close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0c0806;
  color: #f3eee6;
  min-height: clamp(560px, 78svh, 760px);
  display: grid;
  place-items: center;
}
.mosaic {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 22% 56% 22%;
}
.mosaic .hx-media { position: relative; }
.mosaic .hx-media img { filter: grayscale(1) contrast(1.1) brightness(1.25); }
.mosaic .t1 { grid-column: 1; grid-row: 1; }
.mosaic .t2 { grid-column: 2; grid-row: 1; }
.mosaic .t3 { grid-column: 1 / -1; grid-row: 2; }
.mosaic .t4 { display: none; }
.mosaic .t5 { grid-column: 1; grid-row: 3; }
.mosaic .t6 { grid-column: 2; grid-row: 3; }

.mosaic .t1::after { background: linear-gradient(120deg, #140503 0%, #7a2306 55%, #e2581a 100%); }
.mosaic .t2::after { background: linear-gradient(200deg, #f58a3c 0%, #a8330a 45%, #1a0602 100%); }
.mosaic .t3::after { background: linear-gradient(100deg, #f07a2e 0%, #c4430f 32%, #3a0e03 62%, #0c0403 82%); }
.mosaic .t4::after { background: linear-gradient(160deg, #3a0e03 0%, #120403 60%, #080302 100%); }
.mosaic .t5::after { background: linear-gradient(45deg, #ffa060 0%, #ef6a24 50%, #7a2306 100%); }
.mosaic .t6::after { background: linear-gradient(250deg, #1a0602 0%, #6e1d05 40%, #e2581a 100%); }
.mosaic .t3 img { object-position: 50% 60%; }
.mosaic .t5 img { object-position: 50% 80%; }

.close-copy {
  position: relative; z-index: 3;
  display: grid; justify-items: center; gap: 22px;
  text-align: center;
  padding: 56px var(--gutter);
  max-width: 46rem;
}
.close-copy::before {
  content: ""; position: absolute; inset: -10% -30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 6, 4, 0.82), rgba(10, 6, 4, 0.55) 55%, rgba(10, 6, 4, 0));
}
.close h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.close p { font-size: 1.125rem; color: rgba(243, 238, 230, 0.82); max-width: 40ch; }
.close .cta-row { justify-content: center; margin-top: 4px; }
.close .btn-line { --fg: #fff; }
.close .btn-line::before { background: rgba(255, 255, 255, 0.7); }
.close .btn-line::after { background: rgba(12, 8, 6, 0.7); }
.close .btn-line:hover { --fg: var(--ink); }
.close .btn-line:hover::after { background: #fff; }
.close .btn-line .icon { color: var(--orange); }

.js .close .hx-media { clip-path: inset(0 0 100% 0); }
.js .close.ready .hx-media { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-in-out); }
.js .close.ready .t2, .js .close.ready .t6 { transition-delay: 0.12s; }
.js .close.ready .t3 { transition-delay: 0.2s; }
.js .close.ready .t4 { transition-delay: 0.28s; }
.js .close .close-copy { opacity: 0; transform: translateY(14px); }
.js .close.ready .close-copy { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .js .close .hx-media, .js .close .close-copy { clip-path: none; opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .mosaic {
    grid-template-columns: 25fr 50fr 25fr;
    grid-template-rows: 24% 52% 24%;
  }
  .mosaic .t1 { grid-column: 1 / 3; grid-row: 1; }
  .mosaic .t2 { grid-column: 3; grid-row: 1; }
  .mosaic .t3 { grid-column: 1 / 3; grid-row: 2; }
  .mosaic .t4 { display: block; grid-column: 3; grid-row: 2; }
  .mosaic .t5 { grid-column: 1; grid-row: 3; }
  .mosaic .t6 { grid-column: 2 / 4; grid-row: 3; }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative; z-index: 1;
  background: var(--ink); color: #fff;
  padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--on-dark-line);
}
.foot-grid { display: grid; gap: 40px; }
.foot-brand img { width: 220px; height: auto; }
.foot-brand p { margin-top: 18px; color: var(--on-dark-muted); max-width: 34ch; }
.site-footer h3 { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; color: var(--on-dark-muted); margin-bottom: 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { text-decoration: underline; color: var(--orange); }
.foot-areas { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--on-dark-line); }
.foot-areas p { color: var(--on-dark-muted); font-size: 0.9375rem; line-height: 1.8; max-width: 120ch; }
.foot-areas strong { color: #fff; }
.foot-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--on-dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.8125rem; color: var(--on-dark-muted);
}
.social { display: flex; gap: 8px; margin-top: 20px; }
.social .sq-btn { color: #fff; }
.social .sq-btn::before { background: var(--ink-3); }
.social .sq-btn:hover { color: var(--ink); }
.social .sq-btn:hover::before { background: var(--orange); }
.social .icon { width: 18px; height: 18px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Mobile contact bar ---------- */

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.mbar.show { transform: none; }
.mbar .btn { min-height: 50px; padding: 0 14px; font-size: 1rem; }
@media (min-width: 900px) { .mbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 74px; } }

/* ---------- Section endings without the repeated closer row ---------- */

.after-block { margin-top: clamp(36px, 5vw, 56px); }
.work-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px;
  margin-top: 22px;
}
.work-foot .note { margin: 0; }

.sec-head.centered { max-width: none; justify-items: center; text-align: center; }
.sec-head.centered h2 { max-width: none; text-wrap: balance; }
@media (min-width: 760px) { .sec-head.centered h2 { white-space: nowrap; } }
.after-block.centered { display: flex; justify-content: center; }
.work-foot.centered { justify-content: center; }

/* ---------- Why: centered intro + benefit cards ---------- */

.why-sec { padding: clamp(64px, 8vw, 104px) 0; }
.why-sec .sec-head { margin-bottom: clamp(32px, 4vw, 48px); gap: 18px; }
.why-sec .sec-head.centered h2 { white-space: normal; }
.why-sec .sec-head .why-lead {
  max-width: 60ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: #fff;
}
.why-sec .why-lead span { color: var(--on-dark-muted); }

.diff-cards {
  display: grid; gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.diff-cards li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  padding: 24px 24px 26px;
}
.diff-cards li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.diff-cards .tick {
  grid-row: span 2;
  position: relative; isolation: isolate;
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--ink);
}
.diff-cards .tick::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.diff-cards .tick .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.diff-cards strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; padding-top: 2px; }
.diff-cards span { color: var(--on-dark-muted); font-size: 0.9375rem; line-height: 1.5; }
.why-sec .after-block { margin-top: clamp(28px, 4vw, 44px); }

@media (min-width: 860px) {
  .diff-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ---------- Contact cards (estimate section) ---------- */

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 20px 22px;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out);
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--mist);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color 0.2s;
}
.contact-card:hover::before { background: var(--line); }
.contact-card:hover { transform: translateY(-2px); }
.cc-icon {
  position: relative; isolation: isolate;
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--ink);
}
.cc-icon::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.cc-icon .icon { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.contact-card strong {
  display: block; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); font-weight: 800; letter-spacing: -0.01em;
  overflow-wrap: normal; word-break: normal; font-variant-numeric: tabular-nums;
}


/* ---------- One continuous hardwood texture behind every light section ---------- */

main { position: relative; isolation: isolate; background: #fff; }
main::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: url("../img/texture-wood.webp") center / cover no-repeat;
  filter: grayscale(1) contrast(1.35);
  opacity: 0.11;
  pointer-events: none;
}
.section.alt { background: transparent; }

.foot-bottom a { display: inline-block; padding: 10px 0; }
@media (max-width: 420px) { .est-top { padding: 22px 20px 18px 26px; } .est-body { padding: 22px 20px 6px; } .est-nav { padding: 16px 20px 24px; } .progress i { width: 26px; } }

/* ---------- Footer legal links ---------- */

.foot-bottom { align-items: center; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--orange); text-decoration: underline; }

/* ---------- Inner page head (legal pages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0c0a09;
  color: #fff;
  padding: clamp(136px, 18vw, 196px) 0 clamp(56px, 7vw, 88px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/worn-planks.webp") center 70% / cover no-repeat;
  filter: grayscale(1) contrast(1.35) brightness(0.55);
  opacity: 0.32;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 15% 40%, rgba(12, 10, 9, 0.25), rgba(12, 10, 9, 0.88) 70%);
}
.page-hero .grain { z-index: 0; opacity: 0.14; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { color: var(--on-dark-muted); max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; font-weight: 600; color: var(--on-dark-muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 10px; height: 4px; background: var(--orange); clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-meta { font-size: 0.9375rem; font-weight: 600; }

/* ---------- Legal body: contents rail + readable prose ---------- */

.legal { display: grid; gap: 40px; }

.toc {
  position: relative; isolation: isolate;
  padding: 24px 26px 26px;
  align-self: start;
}
.toc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--mist);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.toc h2 { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 12px; }
.toc ol { counter-reset: toc; margin: 0; padding: 0; list-style: none; display: grid; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 2.1em 1fr; gap: 4px;
  padding: 7px 0;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.35;
  color: var(--text-2); text-decoration: none;
}
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--orange-deep); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

.prose { max-width: 70ch; color: var(--text-2); }
.prose > section { scroll-margin-top: 110px; }
.prose > section + section { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.prose h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}
.prose h2 span { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; color: var(--orange-deep); font-variant-numeric: tabular-nums; }
.prose h3 { font-size: 1.125rem; font-weight: 800; color: var(--ink); margin: 24px 0 8px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 10px; height: 4px; background: var(--ink);
  clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%);
}
.prose strong { color: var(--ink); }
.prose a { color: var(--orange-deep); font-weight: 600; }
.prose a:hover { color: var(--ink); }
.prose .contact-cards { margin-top: 22px; }

.legal-note { margin-top: clamp(40px, 5vw, 56px); font-size: 0.875rem; color: var(--muted); }

@media (min-width: 980px) {
  .legal { grid-template-columns: 300px minmax(0, 1fr); gap: clamp(56px, 7vw, 104px); align-items: start; }
  .toc { position: sticky; top: 104px; }
}

/* ---------- 404: the closing mosaic, full screen ---------- */

.close.nf { min-height: 100vh; min-height: 100svh; padding-top: 80px; }
.nf-code {
  font-size: clamp(6rem, 4rem + 14vw, 13rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--orange);
}
.close h1 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 8px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 0.9375rem; }
.nf-links a { display: inline-block; padding: 8px 0; color: rgba(243, 238, 230, 0.82); text-decoration: none; }
.nf-links a:hover { color: var(--orange); text-decoration: underline; }
