/* ASCSS site styles.
   White + light grey with dark-grey text; logo green and mint as the two brand bands.
   Square corners throughout. Photography runs full width. */

:root {
  --paper: #ffffff;
  --mist: #f3f3f2;
  --stone: #e2e3e1;
  --graphite: #2e3033;
  --slate: #66696f;
  --ink-soft: #4a4d52;
  --brand: #285e46;        /* logo green */
  --brand-deep: #1e4836;
  --mint: #c2e8b9;         /* logo mint */
  --mint-soft: #e6f4e2;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --tabbar-h: 0px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; overscroll-behavior-y: none; }
html.snap { scroll-snap-type: y mandatory; scroll-padding-top: var(--header-h); }
html.snap body { padding-top: var(--header-h); padding-bottom: var(--tabbar-h); }
body {
  margin: 0; background: var(--paper); color: var(--graphite);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; overflow-x: clip;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.025em; color: inherit; text-wrap: balance; }
.display { font-size: clamp(44px, 6.2vw, 92px); line-height: 1.02; }
h2, .h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.06; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--slate); max-width: 34em; margin: 18px 0 0; }
p { margin: 0; }
.section-title { margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-deep); }
.btn-light { background: #fff; color: var(--graphite); }
.btn-light:hover { background: var(--mint); }
.btn-line { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.14); }
.btn-ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-ghost:hover { background: var(--graphite); color: #fff; }
.text-link { display: inline-block; align-self: flex-start; margin-top: 26px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--stone); }
.header-in { height: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; margin-right: auto; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: 15.5px; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--graphite); }
.nav a[aria-current="page"] { color: var(--graphite); border-bottom-color: var(--brand); }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--mist); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home panels ---------- */
.panel {
  position: relative; min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh;
  padding: 0;
  scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column;
}
.panel > .frame { flex: 1; }

.hero .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,22,20,0) 30%, rgba(18,22,20,.62) 100%), linear-gradient(90deg, rgba(18,22,20,.35), rgba(18,22,20,0) 60%);
}
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; padding: 0 clamp(24px, 5vw, 72px); color: #fff; }
.hero-copy h1 { max-width: 10.5em; }
.hero-copy p { margin-top: 18px; max-width: 30em; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-sectors {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 0 clamp(24px, 5vw, 72px);
  list-style: none; display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); font-size: 14px;
}
.hero-sectors li { flex: 1; padding: 14px 0; }
.hero-sectors li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.3); }

.feature .frame::after { content: ""; position: absolute; inset: 0; background: rgba(18,22,20,.44); }
.feature-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--gutter); color: #fff; }
.feature-copy h2 { max-width: 14em; }
.feature-copy .lead { color: rgba(255,255,255,.92); margin-left: auto; margin-right: auto; max-width: 30em; }
.feature-copy .text-link { align-self: center; }
.feature-copy .btn { margin-top: 28px; }

/* bands */
.band-mint { background: var(--mint-soft); }
.band-mist { background: var(--mist); }
.band-green { background: var(--brand); color: #fff; }
.band-green .lead { color: rgba(255,255,255,.82); }

/* home services */
.svc-home { flex: 1; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc-home-head .btn { margin-top: 28px; }

/* ---------- Service tiles ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); }
.tile { background: #fff; padding: 28px 26px 30px; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: background .2s; }
.tile .ic { width: 40px; height: 40px; color: var(--brand); margin-bottom: 10px; }
.tile p { color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.tile:hover { background: var(--mint-soft); }
.tile-cta { grid-column: span 3; background: var(--brand); color: #fff; justify-content: center; padding: 32px clamp(24px, 3vw, 44px); }
.tile-cta:hover { background: var(--brand); }
.tile-cta h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; }
.tile-cta p { color: rgba(255,255,255,.82); }
.tile-cta .btn { align-self: flex-start; margin-top: 8px; }
.tiles-home { border-color: rgba(40,94,70,.18); }
.tiles-home .tile { border-color: rgba(40,94,70,.18); padding: 26px 22px; aspect-ratio: 1 / .9; justify-content: space-between; }
.tiles-home .tile:hover { background: #fff; }
.tiles-home .tile .ic { margin-bottom: 0; }

/* tabs */
.tabs-bar { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--stone);
  display: flex; gap: 8px; padding: 0 var(--gutter); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tabbtn { border: 0; background: none; cursor: pointer; padding: 20px 6px 18px; margin-right: 24px; font-size: 17px; font-weight: 500; color: var(--slate); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabbtn[aria-selected="true"] { color: var(--graphite); border-bottom-color: var(--brand); }
.count-hint { font-weight: 400; font-size: 14px; color: var(--slate); margin-left: 6px; }

/* steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 clamp(20px, 3vw, 40px) 0 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid rgba(40,94,70,.25); }
.steps .ic { width: 36px; height: 36px; color: var(--brand); }
.steps h3::before { content: counter(s) ". "; color: var(--brand); }
.steps p { color: var(--ink-soft); }

/* ---------- Inner pages ---------- */
.page { padding-top: var(--header-h); }
.wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.page-banner .frame { height: min(56svh, 560px); }
.page-banner.tall .frame { height: min(76svh, 760px); }
.page-banner .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,22,20,.05), rgba(18,22,20,.55)); }
.banner-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(32px, 5vw, 64px); color: #fff; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.banner-copy p { margin-top: 14px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.9); max-width: 32em; }
.cta-image .frame { height: min(70svh, 640px); }
.cta-image .frame::after, .spaces .frame::after { content: ""; position: absolute; inset: 0; background: rgba(18,22,20,.45); }
.spaces .frame::after { background: linear-gradient(180deg, rgba(18,22,20,0) 55%, rgba(18,22,20,.35)); }

/* about */
.statement { display: grid; grid-template-columns: 1fr 3fr; }
.statement-text { grid-column: 2; font-size: clamp(26px, 3vw, 42px); line-height: 1.3; font-weight: 300; letter-spacing: -0.02em; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stone); }
.values li { padding: 30px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.values li + li { padding-left: 28px; border-left: 1px solid var(--stone); }
.values .ic { width: 36px; height: 36px; color: var(--brand); }
.values p { color: var(--slate); font-size: 15.5px; }
.spaces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spaces .frame { aspect-ratio: 3 / 4; max-width: 100%; }
.spaces h3 { margin-top: 14px; font-weight: 400; font-size: 20px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* contact page */
.contact-split { display: grid; grid-template-columns: 1fr 1.15fr; min-height: calc(100svh - var(--header-h)); }
.contact-visual .frame { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); }
.contact-visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,22,20,.15), rgba(18,22,20,.7)); }
.contact-overlay { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(28px, 4vw, 56px); color: #fff; }
.contact-overlay h1 { font-size: clamp(40px, 4.6vw, 68px); max-width: 9em; }
.contact-form { padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 96px); max-width: 760px; }
.contact-form .form { margin-top: 36px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.contact-list .ic { width: 22px; height: 22px; flex: none; color: var(--mint); }

/* home quote panel */
.quote-panel { height: auto; min-height: calc(100svh - var(--header-h) - var(--tabbar-h)); }
.quote-home { flex: 1; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.form-card { background: #fff; color: var(--graphite); padding: clamp(24px, 3vw, 40px); }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px;
  padding: 18px var(--gutter); font-size: 14px; color: var(--slate); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; width: 100%; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--graphite); }
.foot-contact { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.sep { width: 1px; height: 12px; background: currentColor; opacity: .4; }
.footer-page { border-top: 1px solid var(--stone); padding-bottom: calc(18px + var(--tabbar-h)); }
.on-green { color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.2); }
.on-green a:hover { color: #fff; }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.opt { color: var(--slate); font-weight: 400; }
.input, .select-btn, .date-btn {
  width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--stone); background: #fff; font-size: 16px; color: var(--graphite);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
textarea.input { padding: 13px 15px; min-height: 0; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #9a9ca1; }
.input:hover, .select-btn:hover, .date-btn:hover { border-color: #c5c7c4; }
.input:focus, .select-btn:focus-visible, .date-btn:focus-visible, .select.open .select-btn, .datepicker.open .date-btn { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(40,94,70,.12); }
.field.invalid .input, .field.invalid .select-btn { border-color: #b4483c; }
.err { font-size: 13.5px; color: #a23d32; }
.err:empty { display: none; }
.quote-form .field:last-of-type textarea { min-height: 52px; }

.select, .datepicker { position: relative; }
.select-btn, .date-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.select-btn .val, .date-btn .val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph { color: #9a9ca1; }
.chev { flex: none; width: 18px; height: 18px; color: var(--slate); transition: transform .2s var(--ease); }
.select.open .chev { transform: rotate(180deg); }
.pop {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--stone);
  box-shadow: 0 18px 40px -18px rgba(30,32,36,.3); opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden;
  transition: opacity .16s, transform .16s var(--ease), visibility 0s .16s;
}
.open > .pop { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .16s, transform .16s var(--ease); }
.listbox { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; margin: 0; list-style: none; -webkit-overflow-scrolling: touch; }
.listbox .grp { font-size: 12.5px; color: var(--slate); padding: 12px 12px 6px; }
.listbox [role="option"] { padding: 11px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 15.5px; }
.listbox [role="option"].active { background: var(--mint-soft); }
.listbox [role="option"][aria-selected="true"] { font-weight: 500; }
.listbox [role="option"][aria-selected="true"]::after { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--brand); flex: none; }

.cal { padding: 14px; width: 320px; right: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-weight: 500; }
.cal-nav { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.cal-nav:hover { background: var(--mist); }
.cal-nav:disabled { opacity: .3; cursor: default; background: transparent; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 12.5px; color: var(--slate); text-align: center; padding: 6px 0; }
.cal-day { aspect-ratio: 1; border: 0; background: transparent; cursor: pointer; font-size: 15px; }
.cal-day:hover:not(:disabled) { background: var(--mint-soft); }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--stone); }
.cal-day[aria-selected="true"] { background: var(--brand); color: #fff; }
.cal-day:disabled { color: #c3c4c6; cursor: default; }
.cal-day.pad { visibility: hidden; }
.cal-foot { display: flex; justify-content: space-between; margin-top: 8px; }
.cal-foot button { border: 0; background: transparent; padding: 8px 10px; cursor: pointer; color: var(--ink-soft); font-size: 14.5px; }
.cal-foot button:hover { background: var(--mist); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--slate); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; background: var(--mint-soft); color: var(--brand-deep); }
.form-status:empty { display: none; }
.form-status.bad { background: #f8ecea; color: #7d2f26; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Mobile app chrome (hidden on desktop) ---------- */
.tabbar, .sheet { display: none; }

/* ---------- One page-load moment ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .frame > img { animation: settle 1.6s var(--ease) both; }
  .hero-copy { animation: rise 1s .25s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile-cta { grid-column: span 2; }
  #p-hygiene .tile-cta { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- Tablet & phone: app layout ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 62px; --tabbar-h: calc(68px + env(safe-area-inset-bottom)); }
  html.snap { scroll-snap-type: y proximity; }
  body { font-size: 16px; }
  .nav, .header-cta { display: none; }
  .logo img { height: 36px; }

  .hero-copy { bottom: 58px; }
  .hero-sectors { font-size: 12.5px; }
  .hero-sectors li + li { padding-left: 10px; }

  .svc-home, .quote-home { grid-template-columns: 1fr; align-content: center; gap: 24px; }
  .svc-home .lead { margin-top: 10px; }
  .svc-home-head .btn { display: none; }
  .tiles-home { grid-template-columns: repeat(4, 1fr); }
  .tiles-home .tile { aspect-ratio: auto; padding: 18px 14px; gap: 12px; }
  .tiles-home .tile h3 { font-size: 14.5px; }
  .tiles-home .tile .ic { width: 30px; height: 30px; }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile-cta, #p-hygiene .tile-cta { grid-column: span 1; }
  #p-hygiene .tile-cta { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li + li { padding-left: 0; border-left: 0; }
  .statement { grid-template-columns: 1fr; }
  .statement-text { grid-column: 1; }
  .spaces { grid-template-columns: repeat(2, 1fr); }

  .contact-split { grid-template-columns: 1fr; }
  .contact-visual .frame { position: relative; top: 0; height: 52svh; }
  .contact-form { max-width: none; }

  .site-footer { padding: 14px var(--gutter); font-size: 13px; }
  .site-footer nav { display: none; }

  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    height: var(--tabbar-h); padding: 6px 8px env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--stone);
  }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 12px; color: var(--slate); border: 0; background: none; cursor: pointer; padding: 0; }
  .tab svg { width: 24px; height: 24px; }
  .tab[aria-current="page"], .tab.on { color: var(--brand); font-weight: 600; }

  .sheet {
    display: flex; flex-direction: column; position: fixed; z-index: 55; inset: 0; background: #fff;
    padding: calc(var(--header-h) + 8px) var(--gutter) calc(var(--tabbar-h) + 24px);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .sheet nav { display: grid; }
  .sheet nav a { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--stone); }
  .sheet nav a[aria-current="page"] { font-weight: 500; color: var(--brand); }
  .sheet-contact { margin-top: auto; padding-top: 32px; display: grid; gap: 6px; color: var(--ink-soft); }
  .sheet-contact .btn { margin-top: 16px; }

  .select .pop, .datepicker .pop {
    position: fixed; z-index: 70; left: 10px; right: 10px; top: auto; width: auto; bottom: calc(var(--tabbar-h) + 10px);
    box-shadow: 0 -8px 40px -12px rgba(30,32,36,.35); transform: translateY(16px);
  }
  .select .listbox { max-height: min(56vh, 420px); }
}

@media (max-width: 599px) {
  .form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-sectors li:nth-child(n+4) { display: none; }
  .tiles, .tiles-home { grid-template-columns: repeat(2, 1fr); }
  .tile-cta, #p-hygiene .tile-cta { grid-column: span 1; }
  .tile-cta .btn { width: 100%; padding: 0 10px; font-size: 14.5px; }
  .tiles-home .tile { flex-direction: row; align-items: center; gap: 10px; padding: 14px 12px; }
  .tiles-home .tile h3 { font-size: 13.5px; line-height: 1.25; }
  .tiles-home .tile .ic { width: 26px; height: 26px; flex: none; }
  .tile { padding: 20px 16px 22px; }
  .tile p { font-size: 14px; }
  .tile .ic { width: 32px; height: 32px; margin-bottom: 4px; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 24px 0 4px; border-left: 0; }
  .values li + li { border-top: 1px solid var(--stone); }
  .quote-home .lead, .quote-home .contact-list { display: none; }
  .form-card { padding: 20px 16px; }
  .quote-home .form .field[data-field="date"], .quote-home .form .field:has(textarea) { grid-column: auto; }
}
@media (max-height: 560px) {
  html.snap { scroll-snap-type: none; }
  .panel { height: auto; min-height: 100svh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* =========================================================
   Glass layer: photo backgrounds with frosted panels on top
   ========================================================= */
.glass-panel { color: #fff; isolation: isolate; }
.panel-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.panel-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,24,19,.72), rgba(14,24,19,.42)); }
.glass-panel .lead { color: rgba(255,255,255,.86); }

.tiles.glass { border: 0; gap: 10px; }
.tiles.glass .tile {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: background .25s, border-color .25s;
}
.tiles.glass .tile .ic { color: var(--mint); }
.tiles.glass .tile:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }

.glass-light {
  background: rgba(255,255,255,.74); color: var(--graphite);
  border: 1px solid rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.5);
}
.glass-light .input, .glass-light .select-btn, .glass-light .date-btn { background: rgba(255,255,255,.82); border-color: rgba(46,48,51,.14); }
.glass-light .input:focus, .glass-light .select.open .select-btn, .glass-light .datepicker.open .date-btn { background: #fff; }

.hero-sectors { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255,255,255,.08); }
.btn-line { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(255,255,255,.08); }

.on-dark { color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.2); }
.on-dark a:hover { color: #fff; }
.contact-list .ic { color: var(--mint); }

/* Contact page: one screen, photo behind, glass form */
.contact-page { position: relative; isolation: isolate; color: #fff; }
.contact-page .panel-bg { position: fixed; }
.contact-stage {
  min-height: calc(100svh - var(--header-h)); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) var(--gutter); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.contact-intro h1 { font-size: clamp(40px, 4.6vw, 68px); max-width: 9em; }
.contact-intro .lead { color: rgba(255,255,255,.86); }
.contact-page .form-card { padding: clamp(20px, 2.4vw, 32px); }
.contact-page .form { gap: 10px 14px; }
.contact-page .input, .contact-page .select-btn, .contact-page .date-btn { min-height: 46px; }
.contact-page .field > label, .contact-page .field > .label { font-size: 13px; }
.contact-page textarea.input { height: 76px; min-height: 0; }
.contact-page .form-actions { margin-top: 2px; }

@media (max-width: 1023px) {
  .contact-stage { grid-template-columns: 1fr; align-content: start; gap: 24px; padding-top: 28px; padding-bottom: calc(var(--tabbar-h) + 24px); }
  .contact-intro .lead { display: none; }
  .contact-list { margin-top: 18px; }
  .tiles.glass { gap: 8px; }
}
@media (max-width: 599px) {
  .contact-intro h1 { font-size: 38px; }
  .contact-list li { font-size: 15px; }
  .contact-page .form-card { padding: 18px 14px; }
}
.tiles-home { grid-auto-rows: 1fr; }
.tiles-home .tile { aspect-ratio: auto; min-height: 150px; }
.contact-page textarea.input { height: 46px; }
@media (max-width: 1023px) { .tiles-home .tile { min-height: 0; } }

/* Contact page: details card only, centred over the photo */
.contact-stage.single { grid-template-columns: 1fr; justify-items: center; }
.contact-card { width: min(560px, 100%); padding: clamp(28px, 3.4vw, 48px); text-align: left; }
.contact-card .lead { color: var(--slate); }
.contact-list.dark li { color: var(--graphite); }
.contact-list.dark .ic { color: var(--brand); }
.contact-card .btn { margin-top: 30px; }
@media (max-width: 1023px) {
  .contact-stage.single { align-content: center; min-height: calc(100svh - var(--header-h) - var(--tabbar-h)); padding-bottom: 24px; }
  .contact-card .btn { width: 100%; }
}

/* =========== Services & About: same full-screen panel system as Home =========== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.glass-wrap { flex: 1; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(20px, 3.5vh, 48px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5vh, 40px); min-height: 0; }
.glass-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.glass-head .lead { margin: 0; max-width: 28em; }
.tiles.glass.cols-5 { grid-template-columns: repeat(5, 1fr); }
.tiles.glass .tile { padding: clamp(14px, 2vh, 22px) 18px; gap: 8px; }
.tiles.glass .tile .ic { width: 30px; height: 30px; margin-bottom: 4px; }
.tiles.glass .tile h3 { font-size: 16px; }
.tiles.glass .tile p { color: rgba(255,255,255,.75); font-size: 13.5px; line-height: 1.45; }
.tiles.glass .tile-more { justify-content: center; align-items: flex-start; background: rgba(255,255,255,.06); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps-g { grid-template-columns: repeat(3, 1fr); }
.values-g { grid-template-columns: repeat(4, 1fr); }
.gcard {
  padding: clamp(22px, 3vh, 34px) 26px; display: grid; gap: 12px; align-content: start; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.gcard .ic { width: 36px; height: 36px; color: var(--mint); }
.gcard p { color: rgba(255,255,255,.8); font-size: 15.5px; }
.steps-g { counter-reset: s; }
.steps-g .gcard { counter-increment: s; }
.steps-g .gcard h3::before { content: counter(s) ". "; color: var(--mint); }

.feature .statement-text { color: #fff; max-width: 22em; text-align: center; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.25; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }

.spaces-panel { padding-left: 0; padding-right: 0; }
.spaces-row { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.spaces-row li { position: relative; min-height: 0; }
.spaces-row .frame { height: 100%; }
.spaces-row .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,19,0) 50%, rgba(14,24,19,.6)); transition: background .3s; }
.spaces-row li:hover .frame::after { background: linear-gradient(180deg, rgba(14,24,19,.1) 30%, rgba(14,24,19,.7)); }
.space-label { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 28px; color: #fff; font-size: clamp(20px, 1.8vw, 28px); font-weight: 300; letter-spacing: -0.01em;
  padding: 10px 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); justify-self: start; display: inline-block; width: max-content; max-width: calc(100% - 48px); }
.spaces-row li + li { border-left: 1px solid rgba(255,255,255,.6); }

.cta-panel .cta-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--gutter); }
.cta-panel .cta-center .lead { margin-left: auto; margin-right: auto; }
.cta-panel .cta-center .btn { margin-top: 30px; }

@media (max-width: 1199px) {
  .tiles.glass.cols-5 { grid-template-columns: repeat(4, 1fr); }
  .values-g { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .panel.dense, .glass-panel { height: auto; min-height: calc(100svh - var(--header-h) - var(--tabbar-h)); }
  .tiles.glass.cols-5 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tiles.glass .tile p { display: none; }
  .tiles.glass .tile { flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
  .tiles.glass .tile .ic { width: 24px; height: 24px; margin: 0; flex: none; }
  .tiles.glass .tile h3 { font-size: 13.5px; line-height: 1.25; }
  .tiles.glass .tile-more { grid-column: 1 / -1; }
  .tiles.glass .tile-more .btn { width: 100%; }
  .steps-g, .values-g { grid-template-columns: 1fr; gap: 8px; }
  .gcard { padding: 16px; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; }
  .gcard .ic { grid-row: span 2; width: 28px; height: 28px; }
  .gcard p { font-size: 14px; }
  .glass-head .lead { display: none; }
  .spaces-row { grid-template-columns: repeat(2, 1fr); }
  .spaces-row li:nth-child(3) { border-left: 0; }
  .spaces-row li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.6); }
  .space-label { left: 12px; bottom: 14px; font-size: 17px; padding: 8px 10px; max-width: calc(100% - 24px); }
}

/* "Request a quote" tile: same box as the service tiles, whole tile is the link */
.tiles.glass .tile-link { padding: 0; background: rgba(194,232,185,.22); border-color: rgba(194,232,185,.55); }
.tiles.glass .tile-link:hover { background: rgba(194,232,185,.34); }
.tile-link a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(14px, 2vh, 22px) 18px; color: #fff; text-decoration: none; }
.tile-link h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tiles.glass .tile-link.wide { grid-column: span 2; }
@media (max-width: 1199px) { .tiles.glass .tile-link.wide { grid-column: span 3; } .tiles.glass .tile-link:not(.wide) { grid-column: span 3; } }
@media (max-width: 1023px) {
  .tiles.glass .tile-link, .tiles.glass .tile-link.wide, .tiles.glass .tile-link:not(.wide) { grid-column: span 1; }
  .tile-link a { flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
}

/* Full-screen panels sit flush under the header and above the tab bar, no gaps */
.panel { min-height: 0; height: calc(100vh - var(--header-h) - var(--tabbar-h)); height: calc(100svh - var(--header-h) - var(--tabbar-h)); }
.quote-panel, .glass-panel.dense { height: auto; }
@media (max-width: 1023px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); padding-left: 4px; padding-right: 4px; }
  .tab { font-size: 11px; }
  .tab svg { width: 22px; height: 22px; }
}
@media (max-width: 1023px) {
  .glass-panel, .panel.dense { height: auto; min-height: calc(100svh - var(--header-h) - var(--tabbar-h)); }
}
@media (max-height: 560px) { .panel { height: auto; min-height: calc(100svh - var(--header-h)); } }

/* =========================================================
   Mixed layout: split (vertical crop) and band (horizontal crop)
   Full-screen photos are kept for heroes and closing CTAs only.
   ========================================================= */
.split--paper, .band--paper { background: var(--paper); }
.split--mist, .band--mist { background: var(--mist); }

/* Split: tall photo runs to the screen edge, content on the other side */
.split { display: grid; grid-template-columns: 45fr 55fr; flex-direction: initial; }
.split.split--wide-body { grid-template-columns: 38fr 62fr; }
.split--rev .split-media { order: 2; }
.split-media { min-height: 0; height: 100%; }
.split-body { min-width: 0; align-self: center; padding: clamp(32px, 5vh, 64px) clamp(28px, 5vw, 88px);
  max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; }
.split--rev .split-body { justify-self: end; }
.split-body h2 { max-width: 13em; }
.split-body .lead { max-width: 30em; }
.split-body .tiles { margin-top: clamp(24px, 3.5vh, 40px); width: 100%; }
.split-body > .btn { margin-top: 28px; }
.split-body .statement-text { font-size: clamp(28px, 2.9vw, 46px); line-height: 1.25; font-weight: 300; letter-spacing: -0.02em; color: var(--graphite); max-width: 17em; text-wrap: balance; }
.split-body .contact-list { margin-top: 30px; }
.split-body .contact-list li { font-size: 17px; }
.split-body .form { margin-top: 28px; width: 100%; }
.split-foot { grid-column: 1 / -1; border-top: 1px solid var(--stone); max-width: none; }

/* Band: content, then a wide letterbox photo strip that fills the rest of the screen */
.band { display: flex; flex-direction: column; }
.band-body { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(36px, 6vh, 72px) var(--gutter); display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.band-body > h2 { max-width: 12em; }
.band-side .lead { margin-top: 0; }
.band-side .text-link { margin-top: 20px; }
.band-media { flex: 1; min-height: 220px; }
.band--media-first .band-body { align-items: start; }
.band-body > .steps, .band-body > .values, .band-body > .tiles, .band-body > .band-head + .tiles { grid-column: 1 / -1; }
.band-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.band-head .lead { margin: 0; max-width: 28em; }
.band .steps { margin-top: 8px; }
.band .values { margin-top: 8px; }
.band--mist .values, .band--mist .tiles { border-color: rgba(46,48,51,.12); }

/* Solid tile grids (no glass) */
.tiles.cols-5 { grid-template-columns: repeat(5, 1fr); }
.tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tiles .tile { padding: 22px 20px 24px; gap: 8px; }
.tiles .tile .ic { width: 32px; height: 32px; margin-bottom: 6px; }
.tiles .tile h3 { font-size: 16.5px; }
.tiles .tile p { font-size: 14.5px; line-height: 1.5; }
.tiles-home .tile { min-height: 132px; }
.tile.tile-link { padding: 0; background: var(--mint-soft); }
.tile.tile-link:hover { background: var(--mint); }
.tiles:not(.glass) .tile-link a { color: var(--brand-deep); padding: 22px 20px 24px; }
.tiles:not(.glass) .tile-link .ic { color: var(--brand); }
.tiles:not(.glass) .tile-link p { color: var(--ink-soft); }
.tile-link h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Desktop: sections stay one screen; content-heavy ones grow and still snap at their top */
.panel.tall, .quote-panel { height: auto; min-height: calc(100svh - var(--header-h) - var(--tabbar-h)); }
.panel.band.tall .band-media { flex: none; height: clamp(220px, 30vh, 320px); }
.quote-panel .split-body { padding-top: clamp(28px, 4vh, 48px); padding-bottom: clamp(28px, 4vh, 48px); }
.quote-panel .split-body h2 { font-size: clamp(32px, 3.4vw, 52px); }
.quote-panel .form { gap: 12px 14px; }
.quote-panel .input, .quote-panel .select-btn, .quote-panel .date-btn { min-height: 48px; }
.contact-split2 .split-body .btn { margin-top: 32px; }

@media (max-width: 1199px) {
  .tiles.cols-5 { grid-template-columns: repeat(4, 1fr); }
  .tiles.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .split .tiles-home { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet & phone: natural scrolling, splits stack with the photo on top */
@media (max-width: 1023px) {
  html.snap { scroll-snap-type: none; }
  .split, .split.split--wide-body { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .split--rev .split-media { order: 0; }
  .split-media { height: 44svh; min-height: 260px; }
  .split-body, .split--rev .split-body { justify-self: stretch; max-width: none; padding: 36px var(--gutter) 44px; }
  .band { height: auto; min-height: 0; }
  .band-body { grid-template-columns: 1fr; padding: 36px var(--gutter) 32px; gap: 16px; }
  .band-media, .panel.band.tall .band-media { flex: none; height: 30svh; min-height: 200px; }
  .band--media-first .band-media { order: 0; }
  .panel.tall, .quote-panel { min-height: 0; }
  .contact-split2 { min-height: calc(100svh - var(--header-h) - var(--tabbar-h)); align-content: start; }
  .contact-split2 .split-media { height: 34svh; min-height: 200px; }
  .contact-split2 .split-body .btn { width: 100%; }
  .split-foot { padding-bottom: 18px; }
  .tiles.cols-5, .tiles.cols-3, .split .tiles-home { grid-template-columns: repeat(3, 1fr); }
  .split-body .statement-text { font-size: 28px; }
}
@media (max-width: 599px) {
  .split-media { height: 40svh; min-height: 240px; }
  .tiles.cols-5, .tiles.cols-3, .split .tiles-home { grid-template-columns: repeat(2, 1fr); }
  .tiles .tile p { display: none; }
  .tiles .tile { flex-direction: row; align-items: center; gap: 10px; padding: 14px 12px; }
  .tiles .tile .ic { width: 24px; height: 24px; margin: 0; flex: none; }
  .tiles .tile h3 { font-size: 13.5px; line-height: 1.25; }
  .tiles:not(.glass) .tile-link a { flex-direction: row; align-items: center; gap: 10px; padding: 14px 12px; }
  .split-body > .btn { width: 100%; }
  .quote-panel .lead { display: block; }
  .split-body .statement-text { font-size: 24px; }
}
.split--rev { grid-template-columns: 55fr 45fr; }
.split--rev.split--wide-body { grid-template-columns: 62fr 38fr; }
@media (max-width: 1023px) {
  .split--rev, .split--rev.split--wide-body { grid-template-columns: 1fr; }
  .tiles-home { grid-auto-rows: auto; }
  .tiles-home .tile { min-height: 0; aspect-ratio: auto; }
}

/* Compact tiles: icon + name only, so a full service list fits one screen */
.tiles--compact .tile p { display: none; }
.tiles--compact .tile, .tiles--compact .tile-link a { flex-direction: row; align-items: center; gap: 12px; padding: clamp(12px, 1.8vh, 18px) 16px; }
.tiles--compact .tile.tile-link { padding: 0; }
.tiles--compact .tile .ic { width: 26px; height: 26px; margin: 0; flex: none; }
.tiles--compact .tile h3 { font-size: 15px; line-height: 1.3; }
.band .tiles--compact { margin-top: 4px; }
.split-body .tiles--compact { margin-top: clamp(18px, 3vh, 32px); }
