/* Detail Carpentry Corp. — site styles
   Brand: white base, carbon #181818 for text/structure, accent #AD8938 for
   large type, rules and graphics only (3.3:1 on white). Inter per brand manual. */

:root {
  --white: #ffffff;
  --ivory: #faf8f4;
  --sand: #f3efe7;
  --line: #e7e2d8;
  --line-strong: #d6cfc1;
  --ink: #181818;
  --ink-2: #474540;
  --ink-3: #6b6760;
  --accent: #ad8938;
  --accent-soft: #efe6d2;
  --on-dark: #f4f1ea;
  --on-dark-2: #e6e3dc;
  --radius: 2px;
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(24, 24, 24, .04), 0 12px 32px -12px rgba(24, 24, 24, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent-soft); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--ivory { background: var(--ivory); }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Eyebrow: carbon text + accent rule (keeps small text at full contrast) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }
.section--dark .eyebrow { color: var(--on-dark-2); }

.lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); line-height: 1.6; max-width: 40em; }
.muted { color: var(--ink-3); }
.accent-text { color: var(--accent); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head p { margin: 0; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-size: 15.5px; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  border: 1px solid var(--ink); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--ivory); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15.5px;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(24,24,24,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 70px; height: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  position: relative; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.header-phone svg { width: 17px; height: 17px; color: var(--accent); }
.header-cta { display: none; min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1080px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: #fff; display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.drawer nav ul { list-style: none; border-top: 1px solid var(--line); }
.drawer nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line);
  font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; text-decoration: none;
}
.drawer nav a svg { width: 18px; height: 18px; color: var(--accent); }
.drawer nav a[aria-current="page"] { color: var(--accent); }
.drawer-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.drawer-foot .btn { width: 100%; }
.drawer-foot p { margin: 8px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
body.no-scroll { overflow: hidden; }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(24,24,24,.3);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
@media (min-width: 1080px) { .mobile-bar { display: none; } }
@media (max-width: 1079px) { body { padding-bottom: 72px; } }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { margin-bottom: 24px; max-width: 13.5em; }
.hero h1 .accent-text { display: block; }
.hero .lede { margin-bottom: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.hero-note a { text-decoration: none; font-weight: 500; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }
.hero-media { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand);
}
.hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.is-active img { animation: kenburns 7.5s linear forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.14) translate(-1.2%, -1%); } }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 56px 20px 18px; color: #fff; font-size: 13.5px; line-height: 1.4;
  background: linear-gradient(to top, rgba(18,18,18,.62), rgba(18,18,18,0));
}
.hero-caption span { max-width: 26em; }
.hero-dots { display: flex; gap: 6px; flex: none; }
.hero-dots button {
  width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative;
}
.hero-dots button::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: rgba(255,255,255,.45); transition: background .3s;
}
.hero-dots button[aria-current="true"]::after { background: #fff; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 72px; }
  .hero-frame { aspect-ratio: 4 / 5; }
}
@media (max-width: 959px) {
  .hero-frame { aspect-ratio: 5 / 4; }
  .hero-media { margin-right: 18px; }
}

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.facts li { padding: 26px 16px 24px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-last-child(-n+1) { border-bottom: 0; }
.facts strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.facts strong .accent-text { font-weight: 600; }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 719px) {
  .facts li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
  .facts li:nth-child(even) { padding-left: 16px; }
  .facts li:last-child { grid-column: 1 / -1; padding-left: 0; border-right: 0; }
}
@media (min-width: 720px) {
  .facts ul { grid-template-columns: repeat(5, 1fr); }
  .facts li { border-bottom: 0; border-right: 1px solid var(--line); padding: 30px 20px; }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
}

/* Ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding: 18px 0; background: #fff; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.ticker-track span::after { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.svc-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-card-media img { transform: scale(1.045); }
.svc-card-body { padding: 26px 26px 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.svc-card .num { font-size: 13px; letter-spacing: .14em; color: var(--accent); font-weight: 600; }
.svc-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.svc-card .link-arrow { margin-top: 8px; justify-self: start; }

.svc-mini { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .svc-mini { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.svc-mini a {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: border-color .3s;
}
.svc-mini a:hover { border-color: var(--ink); }
.svc-mini h3 { font-size: 1.1rem; margin-bottom: 4px; }
.svc-mini p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.svc-mini .arr { width: 18px; height: 18px; color: var(--ink-3); }
.icon-box {
  width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink);
}
.icon-box svg { width: 22px; height: 22px; }
.section--dark .icon-box { border-color: rgba(255,255,255,.22); color: #fff; }

/* ---------- Detail showcase (hotspots) ---------- */
.showcase { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .showcase { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.showcase-media { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.showcase-media img { width: 100%; border-radius: var(--radius); }
.hotspot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: background .25s, color .25s, transform .25s var(--ease);
}
.hotspot::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75);
  animation: pulse 2.4s var(--ease) infinite;
}
.hotspot.is-active, .hotspot:hover { background: var(--accent); color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.detail-list { list-style: none; counter-reset: d; display: grid; gap: 0; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.14); }
.detail-list li { border-bottom: 1px solid rgba(255,255,255,.14); }
.detail-list button {
  width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; text-align: left; padding: 20px 0;
  background: none; border: 0; color: var(--on-dark-2); cursor: pointer;
}
.detail-list .n { font-size: 13px; font-weight: 600; color: var(--accent); padding-top: 3px; letter-spacing: .08em; }
.detail-list strong { display: block; color: #fff; font-weight: 500; font-size: 1.08rem; margin-bottom: 4px; }
.detail-list span.t { font-size: 15px; line-height: 1.55; display: block; }
.detail-list li.is-active strong { color: var(--accent); }
.showcase-note { font-size: 13px; color: #bdb8ae; margin-top: 20px; }

/* ---------- Projects ---------- */
.project-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
.project-sheet {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(28px, 3.5vw, 44px);
}
.project-sheet::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 3px; background: var(--accent); }
.project-sheet .loc { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin-bottom: 18px; }
.project-sheet .loc svg { width: 16px; height: 16px; color: var(--accent); }
.project-sheet h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: 14px; }
.project-sheet p { color: var(--ink-2); }
.spec { list-style: none; margin: 8px 0 0; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec li span:first-child { color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 40px; color: var(--ink-2); }

/* ---------- Mosaic / gallery ---------- */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic .tall { grid-row: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
  .mosaic .wide { grid-column: span 2; }
}
@media (max-width: 899px) { .mosaic { grid-auto-rows: 180px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); background: #fff; border-radius: 40px; cursor: pointer;
  font-size: 14.5px; color: var(--ink-2); transition: all .25s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; } }
.g-item { break-inside: avoid; margin: 0 0 16px; }
.g-item[hidden] { display: none; }
.g-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; transition: transform .9s var(--ease); }
.g-item button:hover img { transform: scale(1.035); }
.g-item figcaption { padding: 12px 2px 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.g-item figcaption b { display: block; font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(14,14,14,.94); display: none; align-items: center; justify-content: center; padding: 64px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 180px); width: auto; max-width: 100%; border-radius: var(--radius); }
.lightbox figcaption { color: var(--on-dark-2); font-size: 15px; text-align: center; max-width: 40em; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.3); color: #fff; border-radius: 50%; cursor: pointer;
}
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Reasons / values ---------- */
.reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.reason { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .reason { padding: 36px 32px 40px; border-right: 1px solid var(--line); }
  .reason:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1080px) {
  .reason { border-bottom: 0; }
  .reason:nth-child(2n) { border-right: 1px solid var(--line); }
  .reason:first-child { padding-left: 0; }
  .reason:last-child { border-right: 0; }
}
.reason .icon-box { margin-bottom: 24px; }
.reason h3 { font-size: 1.15rem; margin-bottom: 10px; }
.reason p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Process */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.steps li { position: relative; padding: 28px 24px 30px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.steps li::before {
  counter-increment: s; content: "0" counter(s); display: block; font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; color: var(--accent); line-height: 1; margin-bottom: 22px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--on-dark-2); }

/* Split (about teaser etc.) */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--rev > :first-child { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-media .inset {
  position: absolute; right: -8px; bottom: -28px; width: 44%; border: 8px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (max-width: 959px) { .split-media .inset { right: 12px; bottom: -24px; } .split-media { margin-bottom: 24px; } }

.logo-panel { display: flex; align-items: center; gap: 28px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 32px; }
.logo-panel img { width: 160px; flex: none; }
.logo-panel p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 560px) { .logo-panel { flex-direction: column; align-items: flex-start; } }

/* Coverage */
.rings { display: grid; gap: 16px; }
.ring {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.ring-mark { width: 56px; height: 56px; }
.ring h3 { font-size: 1.2rem; margin-bottom: 6px; }
.ring p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ring--home { border-color: var(--ink); }
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.town-list li { font-size: 14px; padding: 6px 12px; background: var(--ivory); border: 1px solid var(--line); border-radius: 40px; color: var(--ink-2); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); }
.cta-band-inner { position: relative; z-index: 1; display: grid; gap: 32px; padding: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1.3fr .7fr; align-items: end; } }
.cta-band h2 { color: #fff; max-width: 14em; }
.cta-band p { color: var(--on-dark-2); margin: 16px 0 0; max-width: 34em; }
.cta-band .contact-lines { display: grid; gap: 12px; }
.cta-band .contact-lines a { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 500; font-size: 1.05rem; word-break: break-word; }
.cta-band .contact-lines svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border: 1px solid rgba(173,137,56,.4); border-radius: 50%;
}
.cta-band .btn-row { margin-top: 28px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); }
.crumbs { display: flex; gap: 8px; list-style: none; font-size: 13.5px; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-hero h1 { max-width: 16em; margin-bottom: 22px; }
.page-hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.3fr .7fr; gap: 64px; } }
.page-band { height: clamp(260px, 42vw, 520px); overflow: hidden; background: var(--sand); }
.page-band img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* ---------- Services page ---------- */
.svc-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-toc a { font-size: 14.5px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 40px; text-decoration: none; color: var(--ink-2); transition: all .25s; }
.svc-toc a:hover { border-color: var(--ink); color: var(--ink); }
.svc-detail { display: grid; gap: 40px; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-detail:first-of-type { border-top: 0; }
@media (min-width: 960px) {
  .svc-detail { grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
  .svc-detail--rev .svc-detail-media { order: 2; }
  .svc-detail-media { position: sticky; top: calc(var(--header-h) + 24px); }
}
.svc-detail-media { display: grid; gap: 12px; }
.svc-detail-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-detail-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.svc-detail-media .main { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.svc-detail-media .pair > div { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.svc-detail .num { font-size: 13px; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 14px; display: block; }
.svc-detail h2 { margin-bottom: 18px; }
.svc-cols { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 640px) { .svc-cols { grid-template-columns: 1fr 1fr; } }
.svc-cols h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.checks svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.note {
  margin-top: 28px; padding: 16px 20px; background: var(--ivory); border-left: 2px solid var(--accent); font-size: 15px; color: var(--ink-2);
}
.note p:last-child { margin: 0; }

.comp-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .comp-grid { grid-template-columns: 1fr 1fr; } }
.comp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
@media (min-width: 560px) { .comp-card { grid-template-columns: 200px 1fr; } }
.comp-card .media { min-height: 220px; background: var(--sand); }
.comp-card .media img { width: 100%; height: 100%; object-fit: cover; }
.comp-card .body { padding: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.comp-card h3 { margin-bottom: 10px; }
.comp-card p { font-size: 15.5px; color: var(--ink-2); }
.comp-card .checks li { font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; transition: transform .3s var(--ease), border-color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .pm { border-color: var(--accent); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 48px 26px 0; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }

/* About */
.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .values li { grid-template-columns: 220px 1fr; gap: 32px; } }
.values strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.values span { color: var(--ink-2); }
.facts-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.facts-table th, .facts-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { font-weight: 500; color: var(--ink-3); width: 42%; padding-right: 16px; }
.facts-table tr:first-child th, .facts-table tr:first-child td { border-top: 1px solid var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; } }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14.5px; font-weight: 500; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23181818' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(173,137,56,.22); }
.field input[type="file"] { padding: 12px; min-height: 0; font-size: 14.5px; background: var(--ivory); border-style: dashed; cursor: pointer; }
.field .hint { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.field .err { display: none; font-size: 13.5px; color: #b3261e; }
.field.is-invalid .err { display: block; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-weight: 400; font-size: 15px; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--ink); appearance: auto; -webkit-appearance: auto; }
.radio-row label:has(input:checked) { border-color: var(--ink); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.form-foot { display: grid; gap: 14px; margin-top: 28px; }
.form-foot .btn { width: 100%; }
@media (min-width: 640px) { .form-foot { grid-template-columns: auto 1fr; align-items: center; gap: 20px; } .form-foot .btn { width: auto; } }
.form-foot p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); font-size: 15px; display: none; }
.form-status.is-shown { display: block; }
.form-status.info { background: var(--ivory); border: 1px solid var(--line-strong); }
.form-status.ok { background: #f1f6ef; border: 1px solid #b9d3ae; }
.form-status.bad { background: #fbf0ef; border: 1px solid #e3b4b0; }
.form-status p { margin: 0 0 8px; } .form-status p:last-child { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-side { display: grid; gap: 16px; }
.c-card { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s; background: #fff; }
a.c-card:hover { border-color: var(--ink); }
.c-card small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.c-card strong { font-weight: 500; font-size: 1.05rem; word-break: break-word; }
.side-block { padding: 26px; background: var(--ivory); border-radius: var(--radius); }
.side-block h3 { font-size: 1.05rem; margin-bottom: 14px; }
.side-block .checks li { font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(64px, 8vw, 96px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 48px; } }
.footer-brand img { width: 160px; }
.footer-brand p { margin: 24px 0 0; font-size: 15px; max-width: 22em; color: #e6eaf4; }
.site-footer h2 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #e6eaf4; text-decoration: none; font-size: 15px; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.site-footer li { font-size: 15px; color: #e6eaf4; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: #c9c5bc; }
.footer-bottom .credit { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9b978f; }
.footer-bottom .credit a { color: #c9c5bc; font-size: 11px; }

/* ---------- Reveal (content visible by default; JS opts in) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .08s; } html.js .reveal-d2 { transition-delay: .16s; } html.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
.facts strong span.accent-text { display: inline; margin: 0; font-size: inherit; color: var(--accent); }
ol { margin: 0; padding: 0; }
.showcase-media { max-width: 440px; }
/* Logo PNG has an opaque white field: on carbon it sits in a white panel with its safe zone (brand manual p.7) */
.footer-brand img { width: 200px; padding: 20px; background: #fff; border-radius: var(--radius); }
.hero-grid > *, .split > *, .showcase > *, .page-hero-grid > *, .contact-grid > * { min-width: 0; }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } .btn { white-space: normal; text-align: center; } }
