/* KC Trim & Finish. Plain CSS, no framework, self-hosted Plus Jakarta Sans.
   Look: calm, modern architectural craftsmanship, full-bleed photography, thin headlines, navy buttons, subtle gold accent. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b1d1f;
  --text: #3d4248;
  --muted: #596068;
  --navy: #1f2d4b;
  --navy-dk: #152038;
  --mist: #f4f5f6;
  --mist-2: #eceef0;
  --line: #dfe3e7;
  --white: #ffffff;
  --accent: #d9a62e;
  --wrap: 1200px;
  --radius: 2px;
  --sans: "Plus Jakarta Sans", "Avenir Next", "Helvetica Neue", Helvetica, "Segoe UI", Roboto, Arial, sans-serif;
  --head: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 4px; transition: color .2s ease; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 300;
  line-height: 1.12;
  margin: 0 0 .6em;
  color: var(--ink);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); }
h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1.15em; }
strong { font-weight: 500; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 46rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}
.lede { font-size: clamp(1.08rem, 1.9vw, 1.26rem); color: var(--text); max-width: 58ch; line-height: 1.68; }
.muted { color: var(--muted); }
.center { justify-content: center; }
.mt1 { margin-top: 1rem; }
.mt2 { margin-top: 1.75rem; }

/* Subtle scroll reveals */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s cubic-bezier(.22, .61, .36, 1), transform .65s cubic-bezier(.22, .61, .36, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Header & Refined Typographic Lockup */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--ink);
  gap: .28rem;
}
.brand:hover { color: var(--ink); }
.brand-main {
  font-family: var(--head);
  font-weight: 400;
  font-size: 1.32rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-rule {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  line-height: 1;
}
.brand-rule::before {
  content: "";
  display: inline-block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--accent);
}

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav ul { display: flex; gap: 2.1rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  font-size: .94rem;
  letter-spacing: .01em;
  padding: .6rem 0;
  display: inline-block;
  position: relative;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .35rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav ul a:hover::after,
.nav ul a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav .btn-nav {
  padding: .78rem 1.55rem;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav .btn-nav:hover { background: var(--navy-dk); border-color: var(--navy-dk); color: #fff; }

.nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 400;
  cursor: pointer;
}

.hero-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.hero-page .brand,
.hero-page .nav-toggle { color: #fff; }
.hero-page .brand-rule { color: rgba(255, 255, 255, .82); }
.hero-page .nav ul a { color: #fff; }
.hero-page .nav .btn-nav { background: #fff; color: var(--ink); border-color: #fff; }
.hero-page .nav .btn-nav:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .82rem 1.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--navy-dk); border-color: var(--navy-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn-line { background: rgba(14, 18, 24, .24); border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.85rem; }

/* Hero (full-bleed photography, light type) */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 86vh, 880px);
  overflow: hidden;
  background: #1e2226;
}
.hero.sm { min-height: clamp(400px, 56vh, 560px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 22, .78) 0%, rgba(12, 16, 22, .48) 58%, rgba(12, 16, 22, .22) 100%),
    linear-gradient(180deg, rgba(12, 16, 22, .52) 0%, rgba(12, 16, 22, .12) 42%, rgba(12, 16, 22, .56) 100%);
}
@media (max-width: 899px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(12, 16, 22, .74) 0%, rgba(12, 16, 22, .58) 50%, rgba(12, 16, 22, .82) 100%);
  }
}
.hero-in { position: relative; z-index: 2; padding-top: 7.5rem; padding-bottom: clamp(2.75rem, 7vw, 5.25rem); }
.hero h1, .hero .lede, .hero .eyebrow, .hero a { color: #fff; }
.hero h1 { max-width: 19ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .28); }
.hero.sm h1 { max-width: 22ch; font-size: clamp(2.05rem, 4.5vw, 3.45rem); }
.hero .eyebrow { color: #eceff3; }
.hero .lede { max-width: 52ch; color: #f2f4f7; }
.hero .crumbs, .hero .crumbs a { color: #e2e6ec; }
.hero .btn-light { color: var(--ink); }
.hero .btn-light:hover { color: var(--ink); }
.hero .btn-line, .hero .btn-line:hover { color: #fff; }
.hero .btn-line:hover { color: var(--ink); }
.hero .text-link { display: inline-block; margin-top: 1.35rem; color: #f2f4f7; }
.hero .text-link:hover { color: #fff; }

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  list-style: none;
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.proof li { display: inline-flex; align-items: center; }
.proof li::before {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  background: var(--accent);
  margin-right: .65rem;
}

/* Sections & Grids */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.alt { background: var(--mist); }
.dark { background: var(--navy); color: #e8ecf3; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #c4cde0; }
.dark .lede { color: #e8ecf3; }
.dark a { color: #fff; }
.dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn:hover { background: var(--mist); border-color: var(--mist); }
.dark .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); }

.section-head { max-width: 48rem; margin-bottom: 2.75rem; }
.grid { display: grid; gap: 2.25rem 1.75rem; }

/* Service & Project Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.35rem;
  transition: border-color .25s ease;
}
.alt .card { background: transparent; }
.card:hover { border-bottom-color: var(--accent); }
.card-media { overflow: hidden; background: var(--mist-2); }
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}
.card:hover img { transform: scale(1.025); }
.card-body { padding: 1.35rem 0 0; display: flex; flex-direction: column; flex: 1; }
.card-kicker {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .35rem;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text); margin-bottom: 1rem; font-size: .98rem; }
.card a.more {
  margin-top: auto;
  font-weight: 400;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
}
.card a.more::after {
  content: "\2192";
  color: var(--accent);
  transition: transform .2s ease;
}
.card:hover a.more::after { transform: translateX(4px); }
.card a.stretch::before { content: ""; position: absolute; inset: 0; }

/* Value Pillars */
.feature { padding: 1.5rem 0 0; border-top: 1px solid var(--ink); position: relative; }
.feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
}
.feature h3 { margin-bottom: .4rem; }
.feature p { font-size: .98rem; margin: 0; }

/* Process Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.65rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.6rem; }
.steps li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--white);
}
.dark .steps li::before { border-color: rgba(255, 255, 255, .3); border-left-color: var(--accent); color: #fff; background: transparent; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; font-size: .98rem; }

.two { display: grid; gap: 2.75rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checks li { padding-left: 1.9rem; position: relative; margin-bottom: .65rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 1rem; height: 1.5px; background: var(--accent); }

figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.crumbs { font-size: .84rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.plain-head { padding: clamp(2.75rem, 6vw, 4.75rem) 0 1.25rem; border-bottom: 1px solid var(--line); }
.plain-head h1 { margin-bottom: .4em; }
.text-link { font-weight: 400; }
.reviews-band { text-align: center; }
.reviews-band .eyebrow { justify-content: center; }
.reviews-band .lede { margin-left: auto; margin-right: auto; }

/* Remodeling Before & After Comparison */
.ba-section { border-top: 1px solid var(--line); }
.ba-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--mist-2);
  border: 1px solid var(--line);
}
.ba-side { margin: 0; position: relative; }
.ba-side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.ba-badge {
  position: absolute;
  top: 1rem;
  z-index: 4;
  background: rgba(21, 32, 56, .86);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .38rem .75rem;
  border-left: 2px solid var(--accent);
}
.ba-before .ba-badge { left: 1rem; }
.ba-after .ba-badge { right: 1rem; }

/* No-JS fallback: clean two-up side-by-side / stacked pair */
.no-js .ba-frame {
  aspect-ratio: auto;
  display: grid;
  gap: 1.25rem;
  background: transparent;
  border: 0;
}
@media (min-width: 720px) {
  .no-js .ba-frame { grid-template-columns: 1fr 1fr; }
}
.no-js .ba-range,
.no-js .ba-handle { display: none; }

/* JS interactive split mode */
.js .ba-frame.is-ready .ba-before,
.js .ba-frame.is-ready .ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.js .ba-frame.is-ready .ba-after {
  clip-path: inset(0 0 0 50%);
}
.ba-handle {
  display: none;
}
.js .ba-frame.is-ready .ba-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, .35);
}
.ba-knob {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
  letter-spacing: -.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.ba-range {
  display: none;
}
.js .ba-frame.is-ready .ba-range {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  -webkit-appearance: none;
  appearance: none;
}
.js .ba-frame.is-ready:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Projects Filter Bar & Lightbox */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2.25rem;
}
.filter-btn {
  min-height: 44px;
  padding: .55rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 400;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.project-card[hidden] { display: none; }
.project-trigger {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.project-trigger:hover .card-media img { transform: scale(1.025); }
.project-trigger:hover { border-bottom-color: var(--accent); }

dialog.lightbox {
  border: 0;
  padding: 0;
  max-width: min(1040px, 94vw);
  width: 100%;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}
dialog.lightbox::backdrop {
  background: rgba(12, 16, 22, .84);
}
.lb-inner { display: flex; flex-direction: column; }
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.lb-cat {
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.lb-close {
  min-width: 44px;
  min-height: 44px;
  padding: .4rem .9rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.lb-close:hover { background: #fff; color: var(--ink); }
.lb-stage {
  position: relative;
  background: #111315;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}
.lb-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.lb-title { color: #fff; font-size: 1.2rem; margin: 0 0 .2rem; }
.lb-desc { color: #cfd5dd; font-size: .95rem; margin: 0; }
.lb-nav { display: flex; gap: .5rem; }
.lb-prev, .lb-next {
  min-width: 44px;
  min-height: 44px;
  padding: .5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font: inherit;
  border-radius: var(--radius);
  cursor: pointer;
}
.lb-prev:hover, .lb-next:hover { background: #fff; color: var(--ink); }

/* Our Team Editorial Layout */
.team-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .team-grid { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; }
}
.owner-card {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 1.25rem;
}
.owner-portrait {
  aspect-ratio: 4/3;
  background: var(--white);
  border: 1px dashed #b9c0c8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
}
.owner-portrait span {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: .35rem;
}
.story-slot {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--mist);
  border-left: 3px solid var(--accent);
}

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: .5rem 0; }
details.faq summary {
  cursor: pointer;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink);
  list-style: none;
  padding: .65rem 2.25rem .65rem 0;
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 300;
  color: var(--navy);
}
details.faq[open] summary::after { content: "\2212"; color: var(--accent); }
details.faq p { margin: .25rem 0 1.1rem; max-width: 62ch; }

/* Form */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(1.35rem, 3vw, 2.5rem); }
.field { margin-bottom: 1.25rem; }
label { display: block; font-weight: 400; color: var(--ink); margin-bottom: .38rem; font-size: .95rem; }
.hint { font-weight: 300; color: var(--muted); font-size: .9rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8b929a;
  border-radius: var(--radius);
  padding: .75rem .9rem;
  min-height: 50px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid var(--accent); outline-offset: 1px; }
.row2 { display: grid; gap: 0 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: .9rem 1rem; border-radius: var(--radius); margin: 1rem 0; font-weight: 400; }
.status[hidden] { display: none; }
.status.err { background: #fdecea; color: #7a1c14; border: 1px solid #e9a9a2; }
.status.ok { background: #e9f3ec; color: #1d4a2a; border: 1px solid #a9d1b4; }
.status.info { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.code-input { font-size: 1.75rem; letter-spacing: .5em; text-align: center; max-width: 14rem; }
.step[hidden] { display: none; }
.cf-turnstile { margin: 1rem 0; min-height: 65px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin-bottom: 1.2rem; }
.contact-list strong { display: block; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-list a { font-size: 1.4rem; font-weight: 300; color: var(--ink); }
.sample-tag { display: inline-block; background: var(--mist); border: 1px solid var(--line); font-size: .74rem; padding: .1rem .55rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--mist);
  color: var(--text);
  padding: 4rem 0 6.5rem;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 {
  font-size: .76rem;
  font-family: var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.foot-grid { display: grid; gap: 2.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; font-size: .96rem; }
.foot-brand-wrap { margin-bottom: .85rem; }
.foot-brand-main {
  font-family: var(--head);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
}
.foot-brand-rule {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: .25rem;
}
.foot-brand-rule::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--accent);
}
.legal {
  border-top: 1px solid var(--line);
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  font-size: .88rem;
  color: var(--muted);
}

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .js .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.5rem 1.5rem;
    gap: .25rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a, .hero-page .nav ul a {
    color: var(--ink);
    padding: .85rem 0;
    min-height: 48px;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav ul a::after { display: none; }
  .nav .btn-nav, .hero-page .nav .btn-nav {
    margin-top: .9rem;
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    width: 100%;
  }
  .no-js .bar { flex-wrap: wrap; padding: .5rem 0; }
  .no-js .nav { flex-direction: column; align-items: flex-start; width: 100%; }
  .no-js .nav-toggle { display: none; }
  .no-js .hero-page .nav a { color: var(--ink); }
  .hero-page .site-header .nav { color: var(--ink); }
  .mbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: var(--navy);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: .9rem;
    text-align: center;
    padding: .85rem .25rem;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #3a4968;
  }
  .mbar a:last-child { border-right: 0; }
  .mbar a.q { background: #fff; color: var(--navy); font-weight: 500; }
}

@media (min-width: 600px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .two { grid-template-columns: 1fr 1fr; }
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .grid.c4 { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.45fr 1fr 1fr 1fr; }
  .site-footer { padding-bottom: 4rem; }
  .contact-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
}
@media (max-width: 359px) {
  .brand-main { font-size: 1.1rem; }
  .brand-rule { font-size: .56rem; letter-spacing: .16em; }
  .btn { padding: .8rem 1.1rem; }
  .code-input { letter-spacing: .3em; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .hero, .hero.sm { min-height: 0; }
  .hero-in { padding-top: 6rem; }
  .site-header { position: static; }
  .hero-page .site-header { position: absolute; }
  .mbar { position: static; }
  .site-footer { padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media print {
  .site-header, .mbar, .btn-row { display: none; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::after, .hero-bg { display: none; }
  .hero h1, .hero .lede, .hero a { color: #000; }
}
