/* ==========================================================================
   ProTec Dental Laboratory — Version 2
   Layout follows the Ecovia / green-business reference (rounded hero frame,
   split buttons, impact sentence, stat row, dark photo band, staggered
   gallery, centred process photo, FAQ, giant footer wordmark).
   Their lime accent is ProTec orange. No build step.
   ========================================================================== */

:root {
  --bg: #FBFBFC;
  --ink: #0D151C;
  --muted: #5C6B78;
  --fade: #9AA4AE;
  --line: #E6EAEF;
  --card: #ffffff;
  --brand: #f04725;
  --brand-deep: #d63b1c;
  --brand-ink: #0D151C;
  --dark: #0D151C;
  --topbar-h: 40px;
  --shell: 16px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 16px 40px rgba(13, 21, 28, 0.08);
  --font: "Manrope", "Inter", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { overflow-wrap: normal; word-break: normal; hyphens: manual; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
::selection { background: rgba(240, 71, 37, 0.22); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 80;
  background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 10px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.wrap--narrow { width: min(760px, calc(100% - 48px)); margin-inline: auto; }

/* Placeholders stay visibly marked */
.placeholder {
  background: repeating-linear-gradient(135deg, rgba(240, 71, 37, 0.1) 0 6px, rgba(240, 71, 37, 0.2) 6px 12px);
  color: #c73718;
  border-radius: 4px;
  padding: 0 0.28em;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.site-footer .placeholder,
.services-band .placeholder { color: #ffd0c4; background: rgba(255, 255, 255, 0.08); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Top bar + version switcher
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--topbar-h);
  display: flex; align-items: center;
  padding: 0 14px;
  background: var(--bg);
}
.version-switch { display: flex; gap: 4px; align-items: center; }
.version-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 26px; padding: 0 8px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink);
}
.version-switch a:hover { background: rgba(13, 21, 28, 0.06); }
.version-switch a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: var(--topbar-h); z-index: 50;
  background: rgba(251, 251, 252, 0.92);
  backdrop-filter: blur(14px);
}
.header__row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: var(--header-h);
  padding: 0 22px;
}
.brand { display: flex; align-items: center; flex: none; text-decoration: none; z-index: 2; }
.logo { height: 30px; width: auto; }
.logo--light { display: none; }

.nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 12px; }
.nav__list {
  display: flex; align-items: center; gap: 1.55rem;
  list-style: none;
}
.nav__list a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.nav__list a[aria-current="page"] { font-weight: 800; }
.nav__list a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0; background: transparent; color: inherit;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Home: nav sits over the rounded hero */
.page-home .site-header {
  position: absolute;
  top: calc(var(--topbar-h) + 10px);
  left: var(--shell);
  right: var(--shell);
  background: transparent;
  backdrop-filter: none;
  color: #fff;
}
.page-home .site-header .nav__list a { color: #fff; }
.page-home .site-header .nav__list a:hover { color: #fff; opacity: 0.75; }
.page-home .site-header .logo--light { display: block; }
.page-home .site-header .logo--dark { display: none; }
.page-home .site-header.is-scrolled {
  position: fixed;
  top: var(--topbar-h);
  left: 12px; right: 12px;
  background: rgba(251, 251, 252, 0.96);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(13, 21, 28, 0.1);
}
.page-home .site-header.is-scrolled .nav__list a { color: var(--ink); }
.page-home .site-header.is-scrolled .nav__list a:hover { color: var(--brand); opacity: 1; }
.page-home .site-header.is-scrolled .logo--light { display: none; }
.page-home .site-header.is-scrolled .logo--dark { display: block; }

@media (min-width: 921px) {
  .nav__list {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* --------------------------------------------------------------------------
   Split button — label + separate square arrow
   -------------------------------------------------------------------------- */
.split { display: inline-flex; align-items: center; gap: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px;
  background: var(--brand); color: var(--brand-ink);
  border: 0; border-radius: 12px;
  text-decoration: none;
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--brand-deep); color: #fff; }
.btn--sq {
  width: 48px; height: 48px; min-height: 48px; padding: 0;
  flex: none;
}
.btn--sq svg { width: 18px; height: 18px; }
.btn--ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: #fff; color: var(--ink); }
.split--nav .btn { min-height: 44px; height: 44px; }
.split--nav .btn--sq { width: 44px; height: 44px; }

/* Pill tags */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 32px; padding: 0 12px 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
  font-size: 0.82rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink);
}
.tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); flex: none;
}
.tag--on-dark {
  background: rgba(8, 14, 20, 0.45);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lede { color: var(--muted); font-size: 1.05rem; line-height: 1.6; font-weight: 500; }
.section { padding: clamp(4.2rem, 8vw, 6.5rem) 0; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-shell {
  margin: 10px var(--shell) 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(13, 21, 28, 0.06);
}
.hero__frame {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(640px, 84vh, 880px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  color: #fff;
}
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 72% center;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 18, 0.82) 0%, rgba(6, 12, 18, 0.55) 42%, rgba(6, 12, 18, 0.15) 72%, rgba(6, 12, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 12, 18, 0.45) 0%, rgba(6, 12, 18, 0) 26%);
}
.hero__body {
  position: relative; z-index: 1;
  padding: 118px 56px 8px;
  max-width: 760px;
}
.hero__body h1 {
  font-size: clamp(2.35rem, 4.85vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1.02;
  color: #fff;
  max-width: 11em;
}
.hero__body .lede {
  margin-top: 1.15rem;
  max-width: 38em;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  font-weight: 500;
}
.hero__body .split { margin-top: 1.6rem; }
.hero__foot {
  position: relative; z-index: 1;
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  padding: 28px 40px 32px;
}
.trust { display: flex; align-items: center; gap: 14px; max-width: 280px; }
.avatars { display: flex; flex: none; }
.avatars img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
  margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }
.trust p { color: #fff; font-size: 0.92rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }
.hero-card {
  display: flex; align-items: center; gap: 12px;
  width: min(320px, 100%);
  padding: 10px 16px 10px 10px;
  background: #fff; color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}
.hero-card img {
  width: 78px; height: 64px; flex: none;
  object-fit: cover; border-radius: 10px;
}
.hero-card strong { display: block; font-size: 0.92rem; letter-spacing: -0.02em; font-weight: 700; }
.hero-card span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8rem; line-height: 1.35; font-weight: 500; }

.wordmarks { padding: 28px 28px 8px; }
.wordmarks ul {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.wordmarks li {
  flex: 1; text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #8B97A3;
}
.photo-note {
  margin: 0;
  padding: 4px 28px 22px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Impact + stats
   -------------------------------------------------------------------------- */
.impact { padding-top: clamp(4.5rem, 8vw, 7rem); }
.impact .tag { margin-bottom: 1.25rem; }
.impact__title {
  font-size: clamp(1.85rem, 3.35vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.042em;
  line-height: 1.16;
  max-width: 18em;
  color: var(--ink);
}
.impact__title .fade { color: var(--fade); }
.impact .split { margin-top: 1.7rem; }
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.4rem;
}
.stats li { padding: 4px 28px 4px 26px; border-left: 1px solid var(--line); min-width: 0; }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats svg { width: 28px; height: 28px; margin-bottom: 16px; }
.stat__value {
  display: block;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stats p { color: var(--muted); font-size: 0.92rem; line-height: 1.45; max-width: 24ch; }

/* --------------------------------------------------------------------------
   Services band
   -------------------------------------------------------------------------- */
.band-block { padding-top: clamp(3.5rem, 6vw, 5rem); }
.services-band {
  position: relative;
  margin: 0 var(--shell);
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
}
.services-band__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 60%;
}
.services-band__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.55), rgba(8, 14, 20, 0.78));
}
.services-band__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
  min-height: 460px;
  padding: 48px 48px 128px;
}
.services-band h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 12em;
  color: #fff;
}
.services-band__side { justify-self: end; max-width: 360px; }
.services-band__side p { color: rgba(255, 255, 255, 0.86); margin-bottom: 1.2rem; }

.service-cards {
  width: min(1120px, calc(100% - 64px));
  margin: -88px auto 0;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 240px;
  padding: 26px 24px 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
}
.svc-card:hover { transform: translateY(-3px); }
.svc-card svg { width: 32px; height: 32px; margin-bottom: 22px; }
.svc-card h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 0.95rem; }
.svc-card__more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 0.9rem; color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.center-intro { text-align: center; }
.center-intro h2 {
  margin: 14px auto 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  max-width: 16em;
}
.center-intro .lede { margin: 14px auto 0; max-width: 40em; }
.gallery {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  align-items: start;
}
.shot { margin: 0; min-width: 0; }
.gallery .shot:nth-child(even) { margin-top: 72px; }
.shot__media { border-radius: 20px; overflow: hidden; background: #e7ebf0; }
.shot__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { padding: 14px 4px 0; }
.shot strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; font-weight: 700; }
.shot figcaption span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Split feature
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); max-width: 12em; }
.feature .lede { margin-top: 1rem; }
.feature__list { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.feature__list li { padding-left: 1.1rem; position: relative; color: var(--ink); }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.feature__photo { border-radius: 24px; overflow: hidden; min-width: 0; }
.feature__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* --------------------------------------------------------------------------
   Bento
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
}
.bento__stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
  min-width: 0;
}
.bento__value {
  display: block;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 8px 0 12px;
}
.bento__stat p { color: var(--muted); max-width: 28ch; }
.bento__photo {
  grid-column: 3; grid-row: 1 / span 2;
  border-radius: 22px; overflow: hidden; min-height: 280px; min-width: 0;
  height: 100%;
}
.bento__photo img { width: 100%; height: 100%; object-fit: cover; }
.bento__go {
  grid-column: 1 / span 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 96px;
  padding: 22px 26px;
  background: var(--brand); color: var(--brand-ink);
  border-radius: 22px;
  text-decoration: none;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700; letter-spacing: -0.03em;
}
.bento__go:hover { background: var(--brand-deep); color: #fff; }
.bento__go svg { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process__grid {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 1.05fr) 1fr;
  grid-template-areas:
    "s1 photo s3"
    "s2 photo s4";
  gap: 28px 36px;
  align-items: center;
}
.process__photo { grid-area: photo; margin: 0; border-radius: 28px; overflow: hidden; min-width: 0; }
.process__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.step { min-width: 0; }
.step--1 { grid-area: s1; }
.step--2 { grid-area: s2; }
.step--3 { grid-area: s3; }
.step--4 { grid-area: s4; }
.step__n {
  display: block;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--brand-deep); margin-bottom: 6px;
}
.step h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; }
.step p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 861px) {
  .step--1, .step--2 { text-align: right; }
  .step--1 p, .step--2 p { margin-left: auto; }
  .step p { max-width: 32ch; }
}

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */
.results {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.results h2 { font-size: clamp(1.9rem, 3vw, 2.85rem); max-width: 14em; }
.results .lede { margin-top: 1rem; }
.example {
  margin: 1.4rem 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.example blockquote {
  margin: 10px 0 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.45;
  font-weight: 600;
}
.example figcaption { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.results .split { margin-top: 1.4rem; }
.results__photo { border-radius: 24px; overflow: hidden; min-width: 0; }
.results__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__list { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 1.15rem 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--brand-deep); }
.plus {
  width: 28px; height: 28px; flex: none;
  border: 1px solid var(--line); border-radius: 8px;
  position: relative;
}
.plus::before, .plus::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
}
.plus::before { width: 12px; height: 1.6px; left: 7px; top: 12px; }
.plus::after { width: 1.6px; height: 12px; left: 12px; top: 7px; }
.faq__list details[open] .plus { background: var(--brand); border-color: var(--brand); }
.faq__list details[open] .plus::after { opacity: 0; }
.faq__list details p { margin: 0 0 1.15rem; padding-right: 40px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.footer-cta {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.2rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  max-width: 12em;
  color: #fff;
}
.footer-cta p { margin-top: 8px; color: rgba(255, 255, 255, 0.72); max-width: 36em; }
.footer-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 2.4rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 0.9fr;
  gap: 28px;
}
.footer-lead { color: rgba(255, 255, 255, 0.78); max-width: 28ch; font-size: 0.98rem; }
.site-footer h3 {
  font-family: var(--font);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.9rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(255, 255, 255, 0.88); }
.footer-bottom {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0.4rem 0 0.2rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.footer-word {
  margin: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.78;
  font-size: clamp(5.2rem, 22.5vw, 17.5rem);
  color: rgba(255, 255, 255, 0.07);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-hero { padding: clamp(2.2rem, 5vw, 4rem) 0 0.4rem; }
.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  max-width: 14em;
}
.page-hero .lede { margin-top: 1rem; max-width: 40em; }
.page-photo { margin-top: 1.8rem; border-radius: 24px; overflow: hidden; }
.page-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

.jump {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 1.4rem;
}
.jump a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}
.jump a:hover { border-color: var(--brand); color: var(--brand-deep); }

.stack { display: grid; gap: 16px; }
.chapter, .equip, .value, .place, .person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-width: 0;
}
.chapter {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  padding: 32px;
  scroll-margin-top: 130px;
}
.chapter h2, .equip h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin-top: 10px; }
.chapter .lede, .equip .lede { margin-top: 0.7rem; }
.included h3 { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.included ul { list-style: none; display: grid; gap: 0.45rem; }
.included li { padding-left: 1rem; position: relative; color: var(--muted); }
.included li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}

.equip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8px;
  overflow: hidden;
  scroll-margin-top: 130px;
}
.equip__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.equip__body { padding: 28px 28px 24px; }
.spec { list-style: none; margin-top: 1rem; display: grid; gap: 0; }
.spec li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec li span:first-child { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.chips li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.values, .places, .people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.places { grid-template-columns: repeat(3, 1fr); }
.value, .place, .person { padding: 22px; }
.value .n, .person .n {
  display: block; color: var(--brand-deep); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 10px;
}
.value h3, .place h3, .person h3 { font-size: 1.2rem; font-weight: 600; }
.value p, .place p, .person p { margin-top: 8px; color: var(--muted); }
.place address { font-style: normal; margin-top: 8px; }
.place a { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--brand-deep); text-decoration: none; }
.avatar-ph {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: #F3F5F7; color: var(--muted);
  margin-bottom: 14px;
}
.avatar-ph svg { width: 32px; height: 32px; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
}
.form-card, .aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.form-card h2, .aside-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 1.1rem; }
.field.full, fieldset.full, .full { grid-column: 1 / -1; }
.field label, .field legend, fieldset legend { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
fieldset { border: 0; margin: 0; padding: 0; }
.req { color: var(--brand); }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid rgba(240, 71, 37, 0.25); outline-offset: 0; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: 0.82rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.radio-row label { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.radio-row input { width: auto; min-height: 0; accent-color: var(--brand); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checkbox input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form-status { margin-top: 1rem; }
.form-status[hidden] { display: none; }
.note {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F6F7F9;
  border: 1px solid var(--line);
}
.note p { margin: 0; }
.colophon { list-style: none; display: grid; gap: 0.9rem; margin-top: 1rem; }
.colophon strong { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.colophon a { color: var(--ink); font-weight: 700; text-decoration: none; }
.colophon address { font-style: normal; }
.aside-card .page-photo { margin-top: 1rem; border-radius: 16px; }
.aside-card .page-photo img { aspect-ratio: 16 / 10; }

/* 404 */
.error { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.error .code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--fade);
}
.error h1 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.error .lede { margin: 12px auto 0; }
.error .split { margin-top: 1.4rem; }

[id] { scroll-margin-top: 120px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__photo { position: relative; grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .bento__go { grid-column: 1 / -1; }
  .values, .people { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 10px; right: 10px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px 14px;
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(13, 21, 28, 0.16);
    z-index: 40;
  }
  .nav.is-open { display: flex; }
  .nav__list {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav__list a { display: block; padding: 12px 4px; color: var(--ink); }
  .page-home .site-header .nav.is-open .nav__list a,
  .page-home .site-header.is-scrolled .nav__list a { color: var(--ink); }
  .split--nav { margin-top: 8px; }
  .page-home .site-header:has(.nav.is-open) {
    background: rgba(251, 251, 252, 0.96);
    color: var(--ink);
    border-radius: 16px;
  }
  .page-home .site-header:has(.nav.is-open) .logo--light { display: none; }
  .page-home .site-header:has(.nav.is-open) .logo--dark { display: block; }

  .services-band__inner, .feature, .results, .chapter, .equip, .contact-layout {
    grid-template-columns: 1fr;
  }
  .services-band__side { justify-self: start; }
  .service-cards { grid-template-columns: 1fr; width: min(560px, calc(100% - 32px)); margin-top: -64px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .places { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap, .wrap--narrow, .footer-cta, .footer-grid, .footer-bottom { width: min(100% - 32px, var(--max)); }
  .hero-shell { margin: 8px 8px 0; border-radius: 20px; }
  .hero__frame { min-height: 0; border-radius: 20px 20px 0 0; }
  .hero__body { padding: 96px 20px 8px; }
  .hero__body h1 { font-size: clamp(2.05rem, 9vw, 2.7rem); }
  .hero__foot { flex-direction: column; align-items: flex-start; padding: 20px 16px 20px; }
  .hero-card { width: 100%; }
  .wordmarks { padding: 22px 16px 4px; }
  .wordmarks ul { justify-content: center; }
  .wordmarks li { flex: none; }
  .photo-note { padding: 6px 16px 16px; }
  .page-home .site-header { left: 8px; right: 8px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .shot:nth-child(even) { margin-top: 0; }
  .process__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "s1" "s2" "photo" "s3" "s4";
  }
  .step--1, .step--2 { text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .stats li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .stats li:first-child { border-top: 0; }
  .services-band { margin: 0 8px; border-radius: 20px; }
  .services-band__inner { padding: 28px 20px 100px; min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .values, .people { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header__row { padding: 0 12px; }
  .chapter { padding: 22px 18px; }
  .equip__body, .form-card, .aside-card { padding: 20px 16px; }
}
