/* ==========================================================================
   ProTec Dental Laboratory — Version 3
   Editorial lab layout inspired by a geometric dental-site direction.
   Accent is ProTec orange #f04725 (not the reference mint). Pale warm
   tint for light sections, near-black bands, deep footer.
   ========================================================================== */

:root {
  --brand: #f04725;
  --brand-deep: #c73718;
  --tint: #f6f1eb;
  --tint-2: #efe6de;
  --ink: #14110f;
  --footer: #120e0c;
  --text: #4e4842;
  --muted: #7d766f;
  --line: #e4dcd4;
  --white: #fff;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --container: 1140px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --topbar-h: 42px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--tint);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 .55em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 400;
  background: var(--brand); color: #fff; padding: .55rem .9rem; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.4rem, 7vw, 5.6rem); }
.lede { font-size: 1.05rem; color: var(--text); max-width: 42rem; }
.kicker {
  margin: 0 0 .7rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}

.placeholder {
  background: repeating-linear-gradient(135deg, rgba(240,71,37,.14) 0 6px, rgba(240,71,37,.28) 6px 12px);
  color: var(--brand-deep); padding: 0 .22em; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Top bar + header */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--topbar-h); background: var(--tint); color: var(--ink); }
.topbar__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__rest { display: flex; gap: 1rem; align-items: center; font-size: .78rem; color: var(--muted); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.version-switch { display: flex; align-items: center; gap: .15rem; flex: 0 0 auto; }
.version-switch a {
  color: inherit; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: .18rem .48rem; border-radius: 999px;
}
.version-switch a:hover { color: var(--brand-deep); }
.version-switch a[aria-current="page"] { background: var(--brand); color: #fff; }

.site-header {
  position: sticky; top: var(--topbar-h); z-index: 40;
  height: var(--header-h); background: rgba(246,241,235,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.header__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__list { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  color: var(--ink); text-decoration: none; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--brand); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: .45rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative;
}
.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 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.page-home .topbar { background: rgba(12,10,9,.55); color: #fff; }
.page-home .topbar a:hover { color: #fff; }
.page-home .site-header { background: transparent; border: 0; }
.page-home .site-header.is-scrolled { background: rgba(16,12,10,.94); border: 0; }
.page-home .nav__list a, .page-home .nav-cta, .page-home .nav-toggle span,
.page-home .nav-toggle span::before, .page-home .nav-toggle span::after { color: #fff; border-color: #fff; background-color: transparent; }
.page-home .nav-toggle span, .page-home .nav-toggle span::before, .page-home .nav-toggle span::after { background: #fff; }
.page-home .nav__list a:hover, .page-home .nav__list a[aria-current="page"] { color: #ffd0c4; }
.page-home .nav-cta:hover { background: #fff; color: var(--ink); }
.page-home .hero { margin-top: calc(-1 * var(--header-h)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px;
  background: var(--brand); color: #fff; border: 1.5px solid var(--brand);
  text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.88); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.or { font-size: .85rem; opacity: .8; }

/* Hero */
.hero {
  position: relative; min-height: clamp(560px, 82vh, 840px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,6,5,.72) 0%, rgba(8,6,5,.38) 36%, rgba(8,6,5,.08) 68%, rgba(8,6,5,0) 100%);
}
.hero__copy { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 2.2rem); padding-bottom: 5.2rem; container-type: inline-size; }
.hero h1 {
  color: #fff; font-weight: 500; text-transform: uppercase;
  font-size: min(5.15rem, max(1.85rem, 8.6cqi));
  letter-spacing: -0.04em; line-height: .94; max-width: 12em; margin-bottom: 1.3rem;
}
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; }
.hero__note { margin: 0; max-width: 22rem; font-size: .95rem; color: rgba(255,255,255,.88); }
.photo-note { margin: .85rem 0 0; font-size: .75rem; letter-spacing: .01em; color: rgba(255,255,255,.78); }
.hero__portrait {
  position: absolute; z-index: 2; width: 168px; height: 168px; border-radius: 50%;
  object-fit: cover; object-position: center 20%;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + 8%));
  bottom: -58px; border: 7px solid var(--tint);
}

/* Intro + scattered rounds */
.intro { position: relative; padding-top: clamp(4.8rem, 8vw, 6.5rem); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.intro h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); max-width: 16ch; }
.scatter { position: relative; min-height: 440px; }
.orb { position: absolute; border-radius: 50%; object-fit: cover; }
.orb--lg { width: 220px; height: 220px; right: 6%; top: 16%; }
.orb--md { width: 128px; height: 128px; left: 4%; bottom: 14%; object-position: center 30%; }
.orb--sm { width: 96px; height: 96px; right: 22%; bottom: 4%; }
.blob { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); left: 42%; top: 6%; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(240,71,37,.7); }
.ring--1 { width: 110px; height: 110px; left: 8%; top: 8%; }
.ring--2 { width: 54px; height: 54px; right: 2%; top: 42%; }

/* Dark photo band */
.band { position: relative; color: #fff; min-height: 480px; display: grid; align-items: center; overflow: hidden; background: var(--ink); }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,6,5,.8), rgba(8,6,5,.38) 70%); }
.band__copy { position: relative; z-index: 1; max-width: 38rem; padding-block: clamp(3.2rem, 7vw, 5rem); }
.band h2, .band p { color: #fff; }
.band p { color: rgba(255,255,255,.88); }

/* Numbered service list */
.index { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.index a {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) 76px; gap: .8rem 1rem; align-items: center;
  padding: .85rem 1rem; background: #fff; border-radius: 18px; text-decoration: none; color: inherit;
  border: 1px solid var(--line);
}
.index a:hover { border-color: #d9cfc6; }
.index a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.index .n { font-weight: 600; font-size: 1.05rem; }
.index strong { display: block; color: inherit; font-size: 1.05rem; }
.index .sub { display: block; color: var(--muted); font-size: .9rem; }
.index a.is-on .sub { color: rgba(255,255,255,.88); }
.index img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }

/* Milling rounds */
.mills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.mill img { width: min(210px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: .9rem; }
.mill h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); white-space: nowrap; margin-bottom: .3rem; }
.mill p { margin: 0; font-size: .95rem; }

/* Before / after + gallery */
.compare { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #1a1614; }
.compare__after, .compare__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.compare__before { position: absolute; inset: 0 auto 0 0; width: 56%; overflow: hidden; border-right: 2px solid #fff; }
.compare input[type="range"] {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 14px; width: calc(100% - 24px); margin: 0;
  accent-color: var(--brand);
}
.compare__tag {
  position: absolute; top: 12px; z-index: 2; background: rgba(16,12,10,.7); color: #fff;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px;
}
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.gallery figcaption { margin-top: .35rem; font-size: .82rem; color: var(--muted); }

/* Testimonial */
.quote {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 3vw, 2rem);
}
.quote blockquote { margin: 0 0 .8rem; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }
.stars { color: var(--brand); letter-spacing: .12em; font-size: 1rem; margin: 0 0 .6rem; }
.quote figcaption { color: var(--muted); font-size: .92rem; }

/* CTA */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
}
.cta__copy { padding: clamp(1.5rem, 4vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; }
.cta img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

/* Footer */
.site-footer { background: var(--footer); color: #d5cdc6; padding-top: clamp(2.8rem, 6vw, 4rem); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 1.6rem; }
.site-footer h2 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #a39890; font-weight: 600; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: #f3ece6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.footer-brand img { height: 34px; width: auto; margin-bottom: .8rem; }
.social a { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid #3a322e; border-radius: 50%; color: #fff; margin-top: .6rem; }
.social a:hover { background: var(--brand); border-color: var(--brand); }
.social svg { width: 16px; height: 16px; }
.footer-mark {
  margin: 1.6rem 0 0; padding-bottom: .2rem;
  font-size: clamp(2rem, 7vw, 6.4rem); font-weight: 600; line-height: .88; letter-spacing: -0.045em;
  text-transform: uppercase; color: rgba(255,255,255,.07);
}
.footer-bottom {
  border-top: 1px solid #2a2420; margin-top: 1.2rem; padding-block: 1rem 1.3rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: #a39890;
}
.site-footer .placeholder { color: #ffb09c; }

/* Inner pages */
.crumbs { list-style: none; display: flex; gap: .45rem; padding: 0; margin: 0 0 1rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; }
.page-hero { padding-top: clamp(2.2rem, 5vw, 3.6rem); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.4rem, 4vw, 3.2rem); align-items: center; }
.cluster { position: relative; min-height: 420px; }
.cluster .orb--a { width: 250px; height: 250px; right: 6%; top: 12%; }
.cluster .orb--b { width: 120px; height: 120px; left: 0; bottom: 18%; }
.cluster .orb--c { width: 86px; height: 86px; right: 8%; bottom: 6%; }
.cluster .blob { width: 56px; height: 56px; left: 38%; top: 4%; }
.cluster .ring--1 { width: 140px; height: 140px; left: 8%; top: 6%; }

.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.feats article { min-width: 0; }
.ic {
  width: 64px; height: 64px; border-radius: 50%; background: #fde7e1; color: var(--brand);
  display: grid; place-items: center; margin-bottom: .7rem;
}
.ic svg { width: 26px; height: 26px; }
.feats h3 { margin-bottom: .25rem; }
.feats p { margin: 0; font-size: .92rem; }

.benefit { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.benefit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.benefit__shade { position: absolute; inset: 0; background: rgba(10,8,7,.72); }
.benefit .container { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 4.6rem); }
.benefit h2, .benefit p, .benefit h3 { color: #fff; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.nums strong { display: block; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin-bottom: .4rem; }
.nums p { margin: 0; color: rgba(255,255,255,.86); font-size: .95rem; }

.sheet { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.sheet th, .sheet td { text-align: left; padding: .6rem .2rem; border-top: 1px solid var(--line); vertical-align: top; }
.sheet th { width: 28%; color: var(--muted); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.chips a, .chips span {
  display: inline-flex; align-items: center; min-height: 36px; padding: .3rem .75rem;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-size: .85rem;
}
.chips a:hover { border-color: var(--brand); color: var(--brand-deep); }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .5rem; }
.faq summary { cursor: pointer; list-style: none; padding: .95rem 1rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 1rem 1rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .85rem .9rem 1.15rem;
  container-type: inline-size; min-width: 0;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 12px; margin-bottom: .8rem; }
.card img.is-scene { object-fit: cover; }
.card h2 { font-size: clamp(1.15rem, 9cqi, 1.5rem); white-space: nowrap; margin-bottom: .35rem; }
.card p { font-size: .92rem; }
.ticks { list-style: none; margin: .6rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 1rem; margin: .35rem 0; font-size: .92rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.adv p { margin: 0; font-size: .95rem; }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.team figure { margin: 0; }
.team img, .team .ph {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #e7dfd7; margin-bottom: .6rem;
}
.team h3 { margin: 0; font-size: 1rem; }
.team p { margin: .15rem 0 0; font-size: .88rem; }

.locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.locs article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.15rem; }
.locs h3 { margin-bottom: .3rem; }
.locs address { font-style: normal; color: var(--text); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr); gap: 1.2rem; align-items: start; }
.form-panel, .side-spec { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.2rem, 3vw, 1.8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.field label, .field legend { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.req { color: var(--brand); }
.hint { font-size: .82rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; color: var(--ink);
  background: var(--tint); border: 1px solid transparent; border-radius: 12px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .35rem; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--ink); font-weight: 500; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 1rem; }
.checkbox input { margin-top: .25rem; accent-color: var(--brand); }
.side-spec dl { margin: 0; }
.side-spec dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
.side-spec dd { margin: .15rem 0 0; }
.side-spec a { color: var(--ink); }
.note { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .92rem; }
.form-status { margin-top: .6rem; }
.form-status[hidden] { display: none; }

.page-hero--photo { position: relative; color: #fff; min-height: 420px; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.page-hero--photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,6,7,.75), rgba(8,6,7,.25)); }
.page-hero--photo .container { position: relative; z-index: 1; padding-block: 3.2rem; }
.page-hero--photo h1, .page-hero--photo p, .page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: #fff; }

.error { min-height: 52vh; padding-block: 4rem; }
.error h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .intro__grid, .split, .cta, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .mills, .feats, .nums, .cards, .adv, .team, .locs, .gallery { grid-template-columns: 1fr 1fr; }
  .cluster, .scatter { min-height: 360px; }
  .hero__portrait { width: 120px; height: 120px; bottom: -40px; }
  .footer-grid { gap: 1.4rem; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: .4rem var(--gutter) 1rem; background: #fff; border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; pointer-events: none;
  }
  .page-home .nav { background: #161311; border-color: #2a2420; }
  .nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .page-home .nav__list a { border-bottom-color: #2a2420; color: #fff; }
  .nav-cta { margin-top: .7rem; justify-content: center; }
  .page-home .nav-cta { color: #fff; border-color: #fff; }
  .topbar__hours { display: none; }
}
@media (max-width: 680px) {
  .mills, .feats, .nums, .cards, .adv, .team, .locs, .gallery, .form-grid { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .index img { display: none; }
  .scatter { min-height: 0; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
  .scatter .orb, .scatter .blob, .scatter .ring { position: static; }
  .scatter .ring { display: none; }
  .scatter .blob { width: 36px; height: 36px; }
  .scatter .orb--lg { width: 132px; height: 132px; }
  .scatter .orb--md { width: 96px; height: 96px; }
  .scatter .orb--sm { width: 78px; height: 78px; }
  .cluster { min-height: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
  .cluster .orb, .cluster .blob, .cluster .ring { position: static; }
  .cluster .ring { display: none; }
  .cluster .orb--a { width: 160px; height: 160px; }
  .cluster .orb--b { width: 96px; height: 96px; }
  .cluster .orb--c { width: 72px; height: 72px; }
  .hero { min-height: 0; }
  .hero__copy { padding-bottom: 4.2rem; }
  .hero__portrait { right: var(--gutter); }
  .topbar__email { display: none; }
  .brand img { height: 28px; }
  .btn-row { align-items: stretch; }
  .footer-bottom { flex-direction: column; }
  .mill h3, .card h2 { white-space: normal; }
}
