/* ==========================================================================
   Reliance Handyman — site styles
   One design system: tokens → base → layout → components → sections → responsive.
   Fonts are self-hosted (SIL OFL) so the site makes no third-party requests.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour: deep slate + warm paper, accented by the brand-mark orange. */
  --ink: #141c24;
  --ink-2: #1e2933;
  --ink-3: #2b3742;
  --paper: #f6f4ef;
  --sand: #ece8df;
  --surface: #ffffff;
  --muted: #55606a;
  --muted-on-dark: #b9c4cd;
  --line: #e2ded4;
  --line-strong: #cfc9bc;
  --accent: #ec7a32;          /* brand mark orange; use with --ink text */
  --accent-hover: #f48d4b;
  --accent-strong: #a8480f;   /* accessible orange for text on light surfaces */
  --accent-soft: #fbe9dc;

  /* Type */
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.6vw, 4rem);
  --fs-h1: clamp(3rem, 1.9rem + 5vw, 6.5rem);

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(20 28 36 / .05), 0 2px 8px rgb(20 28 36 / .04);
  --shadow-md: 0 2px 4px rgb(20 28 36 / .04), 0 12px 32px rgb(20 28 36 / .08);
  --shadow-lg: 0 4px 8px rgb(20 28 36 / .05), 0 24px 56px rgb(20 28 36 / .12);

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --frame: clamp(8px, 1.2vw, 16px);   /* inset of the rounded hero/panels */
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 80px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
p { color: var(--muted); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
h2 span, h2 em { color: var(--muted); font-style: normal; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: var(--ink); }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.arrow-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.125em;
  transition: transform .3s var(--ease-out);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Shared building blocks ---------- */
.section {
  padding-block: var(--section-y);
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.section h2 { font-size: var(--fs-h2); margin-top: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hero .eyebrow::before { display: none; }

.split-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 8vw, 120px);
  align-items: end;
}
.section-intro, .section-intro > p {
  font-size: var(--fs-md);
  line-height: 1.7;
  max-width: 44ch;
}
.section-intro .text-link { margin-top: 20px; }
.section-footnote, .portfolio-source {
  margin-top: 28px;
  font-size: var(--fs-sm);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-size: var(--fs-base);
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.2;
  transition: background-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.button-orange {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 20px rgb(236 122 50 / .32), inset 0 1px 0 rgb(255 255 255 / .25);
}
.button-orange:hover { background: var(--accent-hover); box-shadow: 0 10px 28px rgb(236 122 50 / .4), inset 0 1px 0 rgb(255 255 255 / .25); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--ink-3); }
.button:active { transform: scale(.98); }
.button:hover .arrow-icon,
.text-link:hover .arrow-icon,
.nav-contact:hover .arrow-icon { transform: translate(2px, -2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 2px;
  background-position: 0 calc(100% - 10px);
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease-out), color .2s;
}
.text-link:hover { color: var(--accent-strong); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  background: rgb(246 244 239 / .82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
  background: rgb(246 244 239 / .92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(20 28 36 / .06);
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand > span {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--muted);
}

.site-header nav { display: flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 600; }
.site-header nav > a:not(.nav-contact) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-3);
  transition: background-color .2s, color .2s;
}
.site-header nav > a:not(.nav-contact):hover { background: var(--sand); color: var(--ink); }
.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-left: 12px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0;
  transition: background-color .2s, transform .2s;
}
.nav-contact:hover { background: var(--ink-3); }
.menu-toggle { display: none; }

/* Privacy-page header link */
.plain-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs-sm);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 var(--frame);
  min-height: min(760px, calc(100svh - var(--header-h) - 40px));
  display: flex;
  align-items: center;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  z-index: -2;
  background: var(--ink-2);
}
.hero-photo img,
.hero-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 44%, rgb(20 28 36 / .86) 50%, rgb(20 28 36 / .55) 58%, rgb(20 28 36 / .22) 68%, rgb(20 28 36 / 0) 80%),
    linear-gradient(0deg, rgb(20 28 36 / .55), transparent 30%),
    radial-gradient(60% 80% at 0% 0%, rgb(236 122 50 / .14), transparent 60%);
}
.hero-content {
  width: 100%;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5.5vw, 80px);
}
.hero .eyebrow { color: #e6ebef; letter-spacing: 0.16em; }
.signal {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(236 122 50 / .6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(236 122 50 / .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgb(236 122 50 / 0); }
}
.hero h1 {
  max-width: 9ch;
  margin: 24px 0 24px;
  font-size: clamp(3rem, 1.6rem + 4.2vw, 5.75rem);
  font-weight: 750;
  line-height: .95;
  letter-spacing: -0.045em;
  color: #fff;
}
.hero h1 > span {
  color: var(--accent);
  background: linear-gradient(100deg, #f7a066, var(--accent) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-intro {
  max-width: 40ch;
  font-size: var(--fs-md);
  line-height: 1.65;
  color: #d3dbe1;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 999px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s, border-color .2s;
}
.hero-phone::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-phone:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .4); }
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 999px;
  background: rgb(255 255 255 / .06);
  color: #e6ebef;
  font-size: var(--fs-sm);
  font-weight: 500;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.trust-pills li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23141c24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-motion-bar {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-motion-bar > p {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(20 28 36 / .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
}
#motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 132px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 999px;
  background: rgb(20 28 36 / .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background-color .2s;
}
#motion-toggle[hidden] { display: none; }
#motion-toggle:hover { background: var(--ink); }
.motion-symbol { min-width: 14px; font-size: 0.75rem; }

/* ---------- Customer review strip ---------- */
.customer-reviews {
  padding: clamp(56px, 7vw, 88px) max(var(--gutter), calc((100% - var(--max)) / 2)) 24px;
  overflow: hidden;
}
.review-strip-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.review-strip-heading h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.rating-summary a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: border-color .2s, box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.rating-summary a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.rating-stars { color: var(--accent); letter-spacing: 1px; font-size: 0.875rem; }
.rating-summary strong { font-weight: 750; }
.rating-count { color: var(--muted); }
.rating-count::before { content: "·"; margin-right: 8px; }
.review-strip-tools { display: flex; align-items: center; gap: 16px; }
.review-strip-tools > p { font-size: var(--fs-sm); }
.review-arrows { display: flex; gap: 8px; }
.review-arrows[hidden] { display: none; }
.review-arrows button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.review-arrows button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.review-arrows button:disabled { opacity: .35; cursor: default; }
.review-arrows svg { width: 20px; height: 20px; }

.review-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  padding: 4px 2px 28px;
  margin-inline: -2px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.review-track::-webkit-scrollbar { height: 6px; }
.review-track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
.review-track:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }

.quote-card {
  position: relative;
  flex: 0 0 min(360px, 84%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.quote-card::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 28px;
  background: var(--accent-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V16C0 6.6 5 1.3 14 0l1.6 4.4C10.8 5.8 8.4 9 8.2 14H15v14zm21 0V16C21 6.6 26 1.3 35 0l1 4.4c-4.8 1.4-7.2 4.6-7.4 9.6H36v14z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V16C0 6.6 5 1.3 14 0l1.6 4.4C10.8 5.8 8.4 9 8.2 14H15v14zm21 0V16C21 6.6 26 1.3 35 0l1 4.4c-4.8 1.4-7.2 4.6-7.4 9.6H36v14z'/%3E%3C/svg%3E") center / contain no-repeat;
  background-color: var(--accent);
  opacity: .22;
}
@media (hover: hover) {
  .quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
.quote-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.quote-card blockquote { margin: 18px 0 24px; }
.quote-card blockquote p {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote-source cite {
  font-style: normal;
  font-weight: 650;
  color: var(--ink);
}
.quote-source > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.quote-source > a:hover { color: var(--accent-strong); }
.review-strip-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: var(--fs-base);
}
.review-strip-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-weight: 650;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .2s;
}
.review-strip-bottom a:hover { color: var(--accent-strong); }
.review-strip-bottom .arrow-icon { width: .85em; height: .85em; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, rgb(236 122 50 / .08), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.service-top > span {
  order: 2;
  font-size: var(--fs-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #8b949b;
}
.service-icon {
  width: 56px;
  height: 56px;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: var(--fs-base); line-height: 1.65; }
.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-top: auto;
  padding-top: 20px;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
}
.service-cta .arrow-icon {
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 50%;
  background: var(--sand);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-lg);
  }
  .service-card:hover::after { opacity: 1; }
  .service-card:hover .service-icon { background: var(--accent); color: var(--ink); transform: rotate(-6deg); }
  .service-card:hover .service-cta .arrow-icon { background: var(--ink); color: #fff; transform: rotate(45deg); }
}

/* ---------- Portfolio ---------- */
.portfolio-section { padding-top: 0; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 48px;
}
.portfolio-grid + .portfolio-grid { margin-top: 40px; }
.project-card { min-width: 0; }
.project-image-link,
.project-video {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--sand);
}
.project-image-link { aspect-ratio: 4 / 5; }
.supplied-media-grid .project-image-link,
.project-video { aspect-ratio: 9 / 16; }
.project-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.project-image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(20 28 36 / .35), transparent 40%);
  opacity: 0;
  transition: opacity .4s;
}
.project-video { width: 100%; height: auto; object-fit: cover; background: var(--ink); }
.project-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / .92);
  color: var(--ink);
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease-out), background-color .2s;
}
@media (hover: hover) {
  .project-image-link:hover img { transform: scale(1.05); }
  .project-image-link:hover::after { opacity: 1; }
  .project-image-link:hover .project-open { transform: scale(1.08); background: var(--accent); }
}
.project-card figcaption { padding: 16px 4px 0; }
.project-card h3 { font-size: 1.1875rem; }
.project-card figcaption p { margin-top: 4px; font-size: var(--fs-sm); }
.project-related {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 4px;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.portfolio-source a {
  margin-left: 6px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- About ---------- */
.about-section {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 8vw, 112px);
  align-items: center;
  padding-top: 0;
}
.about-heading { margin-bottom: 28px; }
.about-heading h2 span,
.service-area-copy h2 span { color: var(--accent-strong); }
.about-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.about-identity > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.about-story { max-width: 640px; }
.about-story > p { margin-bottom: 20px; font-size: var(--fs-md); line-height: 1.75; }
.about-story > .about-lead {
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.about-photo {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 24px -16px -16px 24px;
  z-index: -1;
  border-radius: var(--r-xl);
  background: repeating-linear-gradient(135deg, var(--accent-soft) 0 10px, transparent 10px 20px);
  border: 1px solid #f3d3bd;
}
.about-photo img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.about-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ---------- Service area ---------- */
.service-area-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  padding-top: 0;
}
.service-area-copy > p:not(.eyebrow) { max-width: 42ch; margin-top: 16px; font-size: var(--fs-md); line-height: 1.7; }
.service-area-copy h2 { margin-bottom: 8px; }
.service-area-copy .text-link { margin-top: 20px; }
.service-area-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.service-area-map img { width: 100%; }

/* ---------- How it works ---------- */
.approach-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
  margin-inline: var(--frame);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
}
.approach-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 0% 100%, rgb(236 122 50 / .16), transparent 70%),
    linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 40px 40px;
}
.approach-section .eyebrow { color: var(--accent); }
.approach-section h2 { color: #fff; }
.approach-section h2 span { color: #8794a0; }
.approach-statement > p:not(.eyebrow) { max-width: 40ch; margin-top: 24px; font-size: var(--fs-md); color: var(--muted-on-dark); }
.approach-points { display: grid; gap: 14px; counter-reset: step; }
.approach-points article {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / .04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
@media (hover: hover) {
  .approach-points article:hover { background: rgb(255 255 255 / .07); border-color: rgb(236 122 50 / .4); transform: translateX(4px); }
}
.approach-points article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 750;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.approach-points h3 { margin-bottom: 8px; color: #fff; font-size: 1.25rem; }
.approach-points p { color: var(--muted-on-dark); }

/* ---------- TV mounting ---------- */
.tv-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
}
.tv-copy h2 { margin-bottom: 24px; }
.tv-copy > p:not(.eyebrow) { max-width: 44ch; font-size: var(--fs-md); line-height: 1.7; }
.tv-copy .small-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--accent-soft);
  color: var(--ink-3);
  font-size: var(--fs-base) !important;
}
.tv-copy .text-link { margin-top: 20px; }
.tv-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.05;
  padding: 56px 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fbfaf7, var(--sand));
  box-shadow: var(--shadow-md);
}
.diagram-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(20 28 36 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(20 28 36 / .05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at center, #000 40%, transparent 85%);
  mask-image: radial-gradient(circle at center, #000 40%, transparent 85%);
}
.diagram-label {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.dimension-line {
  position: relative;
  width: 85%;
  height: 12px;
  margin-bottom: 20px;
  border: 1.5px solid var(--accent-strong);
  border-bottom: 0;
  opacity: .6;
}
.diagram-tv {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85%;
  aspect-ratio: 1.7;
  border: 7px solid var(--ink);
  border-radius: 10px;
  background: radial-gradient(100% 100% at 30% 20%, #2f3d49, var(--ink-2));
  box-shadow: var(--shadow-lg);
}
.diagram-tv span {
  position: absolute;
  bottom: 14px;
  color: #9aa7b2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.tv-crosshair {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(236 122 50 / .55);
  border-radius: 50%;
}
.tv-crosshair::before,
.tv-crosshair::after { content: ""; position: absolute; background: var(--accent); }
.tv-crosshair::before { width: 60px; height: 1px; left: -11px; top: 19px; }
.tv-crosshair::after { width: 1px; height: 60px; top: -11px; left: 19px; }
.diagram-console {
  position: relative;
  width: 94%;
  height: 44px;
  margin-top: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.diagram-console::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 14px;
  right: 14px;
  height: 14px;
  border-inline: 2px solid var(--line-strong);
}
.diagram-footnote {
  position: absolute;
  bottom: 18px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* ---------- FAQ ---------- */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 8vw, 112px);
  align-items: start;
}
.faq-section > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faqs { display: grid; gap: 12px; }
.faqs details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: box-shadow .3s, border-color .3s;
}
.faqs details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.faqs summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 20px 16px 24px;
  font-size: var(--fs-md);
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--sand);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.faqs details[open] summary > span { transform: rotate(45deg); background: var(--accent); }
.faqs details p { padding: 0 64px 22px 24px; font-size: var(--fs-base); line-height: 1.7; }
.faqs details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete;
}
.faqs details[open]::details-content { block-size: auto; }

/* ---------- Contact ---------- */
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip; /* clip, not hidden, so the sticky copy tracks the viewport */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
  margin-inline: var(--frame);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
}
.contact-copy { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 24px; }
.contact-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  left: -240px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(236 122 50 / .28), transparent 65%);
  filter: blur(10px);
}
.contact-section .eyebrow { color: var(--accent); }
.contact-copy h2 { font-size: clamp(2.75rem, 1.8rem + 4vw, 5.5rem); line-height: .98; margin-bottom: 24px; color: #fff; }
.contact-copy h2 em { color: #8794a0; font-style: normal; }
.contact-copy > p:not(.eyebrow) { max-width: 36ch; font-size: var(--fs-md); color: var(--muted-on-dark); }
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 6px;
  transition: color .2s;
}
.contact-phone:hover { color: var(--accent); }
.contact-phone .arrow-icon { width: 0.8em; height: 0.8em; }
.contact-phone:hover .arrow-icon { transform: translate(3px, -3px); }
.contact-copy .contact-location { margin-top: 14px; font-size: var(--fs-sm); color: var(--muted-on-dark); }
.estimate-note {
  max-width: 420px;
  margin-top: 40px;
  padding: 20px 22px;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--r-md);
  background: rgb(255 255 255 / .04);
}
.estimate-note strong { color: #fff; font-size: var(--fs-sm); letter-spacing: 0.06em; }
.estimate-note p { margin-top: 6px; font-size: var(--fs-base); color: var(--muted-on-dark); }

.contact-panel {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgb(0 0 0 / .35);
}
.contact-panel > h3 { font-size: 1.75rem; }
.form-intro { margin: 10px 0 8px; font-size: var(--fs-base); line-height: 1.6; }
.field { margin: 18px 0; }
.field label,
#copy-fallback label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
}
.field input,
.field select,
.field textarea,
#message-preview {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #c9c4b8;
  border-radius: 12px;
  background: #fbfaf7;
  color: var(--ink);
  font-size: var(--fs-base);
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141c24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field #preferredTimes { min-height: 76px; }
.field input::placeholder,
.field textarea::placeholder { color: #7d858c; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #a9a294; }
.field input:focus,
.field select:focus,
.field textarea:focus,
#message-preview:focus {
  outline: none;
  border-color: var(--accent-strong);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(236 122 50 / .2);
}
.form-submit { width: 100%; justify-content: center; font-size: var(--fs-base); }
.form-submit.button-dark { background: var(--accent); color: var(--ink); box-shadow: 0 6px 20px rgb(236 122 50 / .3); }
.form-submit.button-dark:hover { background: var(--accent-hover); }
.copy-button {
  display: block;
  min-height: 44px;
  margin: 10px auto 0;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copy-button:hover { color: var(--ink); }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--ink-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.form-status:empty { display: none; }
#copy-fallback { margin-top: 16px; }

.reply-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #e8f3ec;
  color: #1f5a37;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.reply-time > span {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9a5c;
  box-shadow: 0 0 0 3px rgb(47 154 92 / .2);
}

/* Inquiry form layout */
#inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  margin-top: 8px;
}
#inquiry-form > * { grid-column: 1 / -1; }
#inquiry-form > .field-half { grid-column: auto; }
#inquiry-form .field { margin: 0 0 16px; }
.optional {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.field-note { margin-top: 6px; font-size: var(--fs-sm); line-height: 1.5; }
.field input[type="file"] {
  min-height: 0;
  padding: 10px;
  border-style: dashed;
  background: #fbfaf7;
  color: var(--muted);
  font-size: var(--fs-sm);
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .2s;
}
.field input[type="file"]:hover::file-selector-button { background: var(--ink-3); }
.field.is-prefilled select { animation: prefilled 1.6s var(--ease-out); }
@keyframes prefilled {
  0%, 35% { border-color: var(--accent-strong); box-shadow: 0 0 0 5px rgb(236 122 50 / .3); background-color: #fff6ef; }
  100% { box-shadow: 0 0 0 0 rgb(236 122 50 / 0); }
}
.cf-turnstile { margin: 4px 0 14px; min-height: 0; }
.cf-turnstile:empty { display: none; }
.form-consent { margin-bottom: 16px; font-size: var(--fs-sm); line-height: 1.55; }
.form-consent a,
.form-alt a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.form-alt { margin-top: 16px; text-align: center; font-size: var(--fs-sm); }
.form-alt a { white-space: nowrap; font-variant-numeric: tabular-nums; }
.form-submit:disabled { transform: none; box-shadow: none; }

/* ---------- Footer ---------- */
footer {
  padding: 56px max(var(--gutter), calc((100% - var(--max)) / 2)) 24px;
  color: var(--ink);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-top > p {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.footer-top > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s;
}
.footer-top > a:last-child:hover { background: var(--ink-3); }
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.footer-bottom > span:nth-child(2) { margin-right: auto; font-size: var(--fs-xs); letter-spacing: 0.12em; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
.footer-bottom a:hover { color: var(--ink); }

.mobile-contact { display: none; }

/* ---------- Privacy page ---------- */
.privacy-content {
  max-width: 760px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 64px var(--gutter);
}
.privacy-content h1 { margin: 16px 0 28px; font-size: clamp(2.5rem, 2rem + 2.5vw, 3.5rem); }
.privacy-content h2 { margin: 36px 0 12px; font-size: 1.5rem; }
.privacy-content p { margin-bottom: 16px; font-size: var(--fs-md); line-height: 1.75; }
.privacy-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.privacy-content ~ footer { border-top: 1px solid var(--line); }
.privacy-content ~ footer > p { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.privacy-content ~ footer > div { margin-top: 6px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Scroll reveal (added by app.js only for below-the-fold content) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .site-header nav > a:not(.nav-contact) { padding: 0 10px; }
  .hero-photo { width: 52%; }
  .hero h1 { font-size: clamp(3rem, 2rem + 4.5vw, 4.75rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > p { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  /* Collapsible navigation */
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .3s var(--ease-out);
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--frame);
    right: var(--frame);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    font-size: var(--fs-md);
  }
  .site-header nav.is-open { display: flex; animation: menu-in .3s var(--ease-out); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
  .site-header nav > a:not(.nav-contact) { min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); }
  .nav-contact { justify-content: space-between; min-height: 56px; margin: 8px 0 0; padding: 0 20px; font-size: var(--fs-base); border-radius: var(--r-md); }

  .split-heading,
  .about-section,
  .service-area-section,
  .approach-section,
  .tv-section,
  .faq-section,
  .contact-section { grid-template-columns: 1fr; }
  .split-heading { gap: 20px; align-items: start; }
  .faq-section > div:first-child,
  .contact-copy { position: static; padding-top: 0; }

  .about-photo { justify-self: start; max-width: 420px; }
  .tv-diagram { order: 2; }

  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplied-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .supplied-media-grid figcaption p { display: none; }
  .supplied-media-grid .project-related { display: inline-flex; }

  .hero-photo { width: 44%; }

  /* Floating contact bar */
  body { padding-bottom: 88px; }
  .mobile-contact {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgb(255 255 255 / .6);
    border-radius: 999px;
    background: rgb(255 255 255 / .82);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 10px 40px rgb(20 28 36 / .2);
    transition: transform .35s var(--ease-out), opacity .25s;
  }
  .mobile-contact.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
  .mobile-contact > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .mobile-contact > a:first-child { background: var(--ink); color: #fff; }
  .mobile-contact > a:last-child { background: var(--accent); color: var(--ink); }
  .privacy-content ~ footer { padding-bottom: 24px; }
}

@media (max-width: 680px) {
  .brand img { width: 38px; height: 38px; }
  .brand > span { font-size: 1.3125rem; }

  /* Hero stacks: copy above, footage below */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; border-radius: var(--r-lg); }
  .hero-photo { position: relative; inset: auto; order: 2; width: 100%; aspect-ratio: 4 / 3; }
  .hero-shade { background: radial-gradient(80% 50% at 0% 0%, rgb(236 122 50 / .16), transparent 70%); }
  .hero-content { padding: 32px 22px 28px; }
  .hero h1 { font-size: clamp(2.25rem, 0.5rem + 9.4vw, 4rem); margin: 18px 0; max-width: none; }
  .hero-intro { font-size: var(--fs-base); }
  .hero .eyebrow { font-size: 0.625rem; letter-spacing: 0.1em; }
  .actions { gap: 10px; }
  .actions > a { flex: 1 1 100%; }
  .hero-motion-bar { right: 12px; bottom: 12px; }
  .hero-motion-bar > p { display: none; }

  .review-strip-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
  .review-strip-heading > div:first-child { display: contents; }
  .review-strip-heading .eyebrow { grid-column: 1 / -1; }
  .review-strip-heading h2 { grid-column: 1; }
  .review-strip-tools { grid-column: 2; grid-row: 2; }
  .rating-summary { grid-column: 1 / -1; }
  .rating-summary a { font-size: 0.8125rem; padding-inline: 10px 14px; }
  .review-strip-tools > p { display: none; }
  .quote-card { flex-basis: 86%; padding: 24px; min-height: 240px; }
  .quote-card blockquote p { font-size: 1.25rem; }

  .service-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .service-card { min-height: 0; padding: 24px; }
  .service-top { margin-bottom: 20px; }

  .portfolio-grid { gap: 28px 14px; margin-top: 36px; }
  .supplied-media-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; gap: 28px; }
  .supplied-media-grid figcaption p { display: block; }
  .project-card h3 { font-size: 1.0625rem; }
  .project-card figcaption { padding-top: 12px; }
  .project-card figcaption p { font-size: 0.8125rem; }
  .project-open { width: 38px; height: 38px; right: 10px; bottom: 10px; }

  .about-photo { max-width: none; margin-right: 16px; }
  .faqs summary { padding: 14px 16px 14px 18px; font-size: var(--fs-base); }
  .faqs details p { padding: 0 18px 18px; }
  .approach-points article { padding: 20px; gap: 16px; }
  .tv-diagram { padding: 48px 20px; aspect-ratio: .9; }
  .diagram-label { font-size: 0.5625rem; }

  .footer-top { flex-wrap: wrap; }
  #inquiry-form { grid-template-columns: 1fr; }
  .review-strip-bottom { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-bottom > span:nth-child(2) { margin-right: 0; flex-basis: 100%; order: -1; }
}

@media (max-width: 380px) {
  .trust-pills li { font-size: var(--fs-xs); }
  .mobile-contact { grid-template-columns: 1fr 1.5fr; }
  .mobile-contact > a { font-size: 0.8125rem; padding: 0 10px; }
}

@media (min-width: 1600px) {
  .hero { max-width: 1680px; margin-inline: auto; }
  .approach-section,
  .contact-section { max-width: 1680px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html, .review-track { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


.inquiry-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-submit:disabled{opacity:.65;cursor:wait}


/* Review refinements: clearer hierarchy and useful, optional interactions. */
[hidden] { display: none !important; }
.hero h1 { font-size: clamp(3rem, 1.5rem + 4vw, 5.25rem); line-height: 1; max-width: 11ch; }
.hero h1 > span { background: none; -webkit-text-fill-color: currentColor; }
.hero-content { padding-block: clamp(40px, 4.5vw, 64px); }
.signal { animation: none; }
.hero .actions { margin-top: 24px; }
.hero .trust-pills { gap: 8px; }
.hero .trust-pills li { background: transparent; border: 0; padding: 4px 0; margin-right: 10px; }
.section h2 { text-wrap: balance; }
.contact-text { color: #fff; min-height: 48px; margin-top: 8px; }
.contact-text:hover { color: var(--accent); }
.form-alt a, .form-consent a { display: inline-flex; align-items: center; min-height: 48px; }
.contact-phone, .portfolio-source a { min-height: 48px; }
.field input::placeholder, .field textarea::placeholder { color: #636d75; }
.field input[type="file"]::file-selector-button { min-height: 48px; }
.field-error { color: #9c2920; font-size: .875rem; margin-top: 8px; }
.field [aria-invalid="true"] { border: 2px solid #9c2920; }
.form-status[data-state="error"] { background: #fff2ed; color: #84281e; border-left: 4px solid #9c2920; }
.form-status[data-state="success"] { background: #eef6f0; color: #214c33; border-left: 4px solid #35734f; }
#form-status:focus { outline: 2px solid var(--ink); outline-offset: 4px; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; margin-top: 12px; }
.photo-preview { min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--paper); }
.photo-preview img { width: 100%; height: 96px; object-fit: cover; }
.photo-preview span { display: block; overflow-wrap: anywhere; font-size: .75rem; padding: 8px; }
.photo-preview button { width: 100%; min-height: 48px; border: 0; border-top: 1px solid var(--line-strong); color: var(--ink); background: #fff; font: inherit; font-size: .875rem; cursor: pointer; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; }
.project-filters button { min-height: 48px; padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.project-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.project-filters button:hover { border-color: var(--accent-strong); }
#project-count { margin-left: auto; font-size: .875rem; }
.viewer-open { overflow: hidden; }
#project-viewer { border: 1px solid #55606a; border-radius: 20px; padding: 16px; max-width: min(1080px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); width: fit-content; background: var(--ink); color: #fff; }
#project-viewer::backdrop { background: rgb(9 14 19 / .9); }
.viewer-toolbar, .viewer-controls { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
#viewer-title { color: #fff; font-size: 1.125rem; font-weight: 650; }
#viewer-image { width: auto; max-width: 100%; height: min(68dvh, 760px); object-fit: contain; margin: 12px auto; border-radius: 8px; }
#project-viewer button { min-height: 48px; min-width: 48px; border: 1px solid #67737e; border-radius: 24px; background: transparent; color: #fff; padding: 8px 16px; font: inherit; cursor: pointer; }
#project-viewer button:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
#viewer-count { color: #d3dbe1; font-size: .875rem; }
.approach-points { position: relative; }
.approach-points::before { content: ''; position: absolute; left: 51px; top: 40px; bottom: 40px; width: 2px; background: #65727d; }
.approach-points article { position: relative; }
.approach-points article > span { position: relative; background: var(--ink); z-index: 1; }
@media (max-width: 680px) {
  .hero h1 { font-size: clamp(2.25rem, .5rem + 9.4vw, 4rem); max-width: none; }
  .hero-content { padding: 28px 22px 24px; }
  .hero .trust-pills { margin-top: 20px; }
  .hero .trust-pills li { font-size: .75rem; }
  .project-filters button { flex: 1 1 auto; padding: 8px 14px; }
  #project-count { flex-basis: 100%; margin: 6px 0 0; }
  .supplied-media-grid { max-width: none; }
  .supplied-media-grid .project-video { aspect-ratio: 4 / 3; object-fit: contain; }
  .supplied-media-grid .project-image-link { aspect-ratio: 4 / 3; }
  .approach-points::before { left: 41px; }
  #project-viewer { padding: 12px; }
  #viewer-image { height: min(62dvh, 600px); }
  #viewer-title { font-size: 1rem; }
  #project-viewer button { padding-inline: 12px; font-size: .875rem; }
}
@media (prefers-reduced-motion: no-preference) {
  #project-viewer[open] { animation: viewer-in .2s ease-out; }
  @keyframes viewer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.contact-panel, #inquiry-form, #inquiry-form > .field { min-width: 0; }
@media (max-width: 900px) { .contact-section { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) {
  .contact-section { padding-inline: 16px; }
  .contact-panel { padding: 20px 16px; }
  .contact-phone { font-size: 1.5rem; }
  .form-alt a { white-space: normal; }
}
.contact-text { display: flex; width: fit-content; }
.form-consent a { margin-inline: 4px; }
.form-consent .privacy-caution { display: block; }

.rating-summary a { min-height:48px; }
.rating-summary li { min-width: 0; max-width: 100%; }
.rating-summary a { max-width: 100%; flex-wrap: wrap; white-space: normal; row-gap: 2px; }

/* A small workshop illustration stays in the left column, clear of the steps. */
.handyman-corner { width: 300px; max-width: 100%; margin-top: 26px; }
.handyman-scene { display: block; width: 100%; height: auto; overflow: visible; }
.handyman-arm { transform-origin: 104px 84px; transform: rotate(42deg); }
.handyman-tap { opacity: 0; }
.handyman-motion { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 12px; border: 1px solid #61717f; border-radius: 24px; background: transparent; color: #d9e0e5; font: inherit; font-size: .75rem; cursor: pointer; transition: background .2s, color .2s; }
.handyman-motion[hidden] { display: none; }
.handyman-motion-symbol { font-size: 1.15rem; }
.handyman-motion:hover { background: #ec7a32; border-color: #ec7a32; color: #141c24; }
.handyman-motion:focus-visible { outline: 3px solid #ffb77d; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .handyman-corner.is-animated .handyman-arm { animation: handyman-hammer 3.8s ease-in-out infinite; animation-play-state: paused; }
  .handyman-corner.is-animated .handyman-tap { animation: handyman-tap 3.8s linear infinite; animation-play-state: paused; }
  .handyman-corner.is-animated.is-working .handyman-arm, .handyman-corner.is-animated.is-working .handyman-tap { animation-play-state: running; }
}
@keyframes handyman-hammer {
  0%, 12%, 37%, 61%, 85%, 100% { transform: rotate(42deg); }
  25%, 49%, 73% { transform: rotate(-14deg); }
  34%, 58%, 82% { transform: rotate(47deg); }
}
@keyframes handyman-tap {
  0%, 33%, 39%, 57%, 63%, 81%, 87%, 100% { opacity: 0; }
  34%, 58%, 82% { opacity: .9; }
}
@media (max-width: 680px) { .handyman-corner { width: 220px; margin-top: 20px; } }
@media (prefers-reduced-motion: reduce) { .handyman-motion { display: none; } }

/* Illustrated steps retain a small sequence badge and the connecting line. */
.approach-points article > .approach-icon { width: 56px; height: 56px; flex-basis: 56px; color: #ffb77d; background: #1c2832; border: 1px solid #815331; border-radius: 16px; }
.approach-icon svg { display: block; }
.approach-icon small { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 23px; height: 23px; border: 2px solid #141c24; border-radius: 50%; background: #ec7a32; color: #141c24; font: 750 10px/1 Inter, sans-serif; }
@media (max-width: 680px) { .approach-points::before { left: 47px; } }
