/* AA Bathrooms: bright, airy, mostly white. Their navy for words, their logo blue for action,
   their heart red used once a screen at most. Engraved drawings in one ink. */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #0c0c3c;          /* their headings */
  --ink-2: #3b3c58;
  --muted: #5a5b70;
  --blue: #2a5ac0;         /* logo hands */
  --blue-deep: #1f4699;
  --red: #a23030;          /* logo heart */
  --paper: #ffffff;
  --stone: #f6f5f1;
  --stone-2: #eceae4;
  --rule: #d9d7d0;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(1rem, 4.4vw, 3rem);
  --max: 76rem;
  --ease: cubic-bezier(.22, .7, .16, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --bar: 0px;
}
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word;
  padding-bottom: var(--bar);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.012em; margin: 0; text-wrap: balance; hyphens: none; overflow-wrap: normal; }
em { font-style: italic; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.engr-defs { position: absolute; width: 0; height: 0; }

.skip { position: absolute; left: .75rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 3px; transition: transform .2s; }
.skip:focus { transform: translateY(4.75rem); color: #fff; }

/* ---------- type ---------- */
.label { font: 600 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem; }
.label::before { content: ""; width: .42em; height: .42em; border-radius: 50%; background: var(--red); flex: none; }
.label.plain::before { display: none; }
.display { font-size: clamp(3.25rem, 15.5vw, 9.6rem); }
.h2 { font-size: clamp(2.6rem, 11vw, 6.2rem); }
.h3 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.04; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.small { font-size: .9rem; color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; }

.open-grid > *, .proof > *, .area > *, .split > *, .pair > *, .ft-grid > *, .cta-band > *, .timeline > li > * { min-width: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(3.5rem, 11vw, 8rem) 0; }
.sec.tint { background: var(--stone); }
.sec .h2 { margin-bottom: clamp(1.4rem, 5vw, 2.5rem); }
.job-head .h2, .job-head h2 { margin-bottom: 0; }
.cradle { width: min(15rem, 60%); color: var(--blue); margin: 0 0 1.6rem; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .8rem 1.5rem;
  font: 600 1rem/1.15 var(--sans); color: #fff; background: var(--b); border: 1px solid var(--b); border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { --b: var(--blue-deep); color: #fff; box-shadow: 0 8px 22px -12px rgba(31, 70, 153, .7); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.go { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color .25s, gap .3s var(--ease); }
.go:hover { color: var(--ink); border-color: var(--ink); gap: .85rem; }
.go::after { content: "→"; color: var(--blue); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s; }
.hd.is-scrolled { border-color: var(--rule); box-shadow: 0 10px 30px -26px rgba(12, 12, 60, .6); }
.hd.is-away { transform: translateY(-100%); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.logo { display: block; flex: none; padding: .35rem 0; }
.logo img { width: auto; height: 2.5rem; }
.nav-wide { display: none; }
.hd-tel { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.9rem; min-width: 2.9rem; padding: 0 .3rem 0 .9rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff;
  font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.menu-btn i { display: grid; gap: 5px; width: 2.2rem; height: 2.2rem; place-content: center; border-radius: 50%; background: var(--ink); }
.menu-btn i::before, .menu-btn i::after { content: ""; width: 14px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; flex-direction: column; padding: 4.75rem var(--gut) calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateY(-102%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; overflow-y: auto; }
.menu.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.menu li { border-bottom: 1px solid var(--rule); }
.menu li a { display: flex; justify-content: space-between; align-items: baseline; padding: .62rem 0; min-height: 2.9rem; font: 400 clamp(1.65rem, 7vw, 2.4rem)/1.05 var(--serif); color: var(--ink); text-decoration: none; }
.menu li a span { font: 600 .7rem var(--sans); letter-spacing: .14em; color: var(--muted); }
.menu li a[aria-current="page"] { color: var(--blue); }
.menu-foot { margin-top: auto; padding-top: 1.25rem; display: grid; gap: .6rem; }
.menu-foot p { margin: 0; }
html.locked .pbar { visibility: hidden; }
.menu-close { position: absolute; top: .85rem; right: var(--gut); }
.menu-foot .btn { width: 100%; }

/* ---------- phone bar: the number never leaves the screen ---------- */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.18fr .82fr; gap: .5rem;
  padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--rule);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s, transform .45s var(--ease); }
.pbar.is-scrolled { box-shadow: 0 -12px 30px -24px rgba(12, 12, 60, .55); }
.pbar .btn { min-height: 3rem; padding: .6rem .8rem; font-size: .95rem; width: 100%; }
.pbar .btn { white-space: nowrap; gap: .45rem; }
.pbar .btn.call { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
:root { --bar: calc(4.2rem + env(safe-area-inset-bottom)); }

/* ---------- hero ---------- */
.open { padding: clamp(1.1rem, 4vw, 3rem) 0 clamp(2.5rem, 8vw, 5rem); }
.open-grid { display: grid; gap: 1.15rem; }
.open h1 { font-size: clamp(3.3rem, 16.6vw, 8.8rem); line-height: .92; }
.open h1 em { color: var(--blue); }
.open .lede { margin: 0; }
.open-cta { display: none; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.plate { position: relative; margin: 0; height: clamp(13rem, 33svh, 30rem); border-radius: 2px; overflow: hidden; background: #fbfaf7; isolation: isolate; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate .plate-photo { opacity: 1; }
.plate figcaption { position: absolute; left: .75rem; bottom: .7rem; z-index: 3; font: 600 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(12, 12, 60, .62); padding: .45rem .6rem; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .plate .plate-engr { animation: plate-in 1.2s var(--ease-in-out) both; }
  .plate::after { content: ""; position: absolute; inset: 0; z-index: 2; background: #fbfaf7; border-top: 2px solid var(--blue); transform: translateY(0); animation: plate-wipe 1.15s var(--ease-in-out) .1s forwards; }
  .plate .plate-photo { animation: develop 1.5s var(--ease) 1.35s both; }
  .plate figcaption { animation: fade 0.6s var(--ease) 2.6s both; }
}
@keyframes plate-wipe { to { transform: translateY(101%); } }
@keyframes plate-in { from { transform: scale(1.04); } to { transform: none; } }
@keyframes develop { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.doors { margin-top: 1.25rem; display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; border-top: 1px solid var(--ink);
  scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
.doors::-webkit-scrollbar { display: none; }
.doors a { scroll-snap-align: start; display: grid; gap: .2rem; padding: .9rem 1rem .9rem 0; margin-right: 1rem; border-right: 1px solid var(--rule); text-decoration: none; color: var(--ink); min-height: 4.5rem; }
.doors a:last-child { border-right: 0; }
.doors b { font: 400 1.45rem/1.05 var(--serif); }
.doors span { font: 600 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doors a:hover b { color: var(--blue); }

/* ---------- the compare (before and after) ---------- */
.job-head { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.cmp { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: var(--stone-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --p: 50%; }
.cmp > img, .cmp-before img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cmp > img { display: block; }
.cmp.r32 { aspect-ratio: 3 / 2; } .cmp.r45 { aspect-ratio: 4 / 5; } .cmp.r11 { aspect-ratio: 1; }
.cmp-before { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--p) - 100%)); will-change: transform; }
.cmp-before img { position: absolute; inset: 0; transform: translateX(calc(100% - var(--p))); will-change: transform; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; pointer-events: none; transform: translateX(calc(var(--p) - 50%)); will-change: transform; }
.cmp-line::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 0 .5px rgba(12, 12, 60, .25); }
.cmp-grip { position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px -10px rgba(12, 12, 60, .55), inset 0 0 0 1px rgba(12, 12, 60, .1); transition: transform .3s var(--ease); }
.cmp-grip svg { width: 1.9rem; height: 1.9rem; color: var(--ink); }
.cmp.is-drag .cmp-grip { transform: scale(1.1); }
.cmp:focus-within .cmp-grip { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.cmp-tag { position: absolute; top: .75rem; z-index: 2; font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: .5rem .65rem; border-radius: 2px; pointer-events: none; transition: opacity .3s; }
.cmp-tag.b { left: .75rem; background: rgba(255, 255, 255, .92); color: var(--ink); }
.cmp-tag.a { right: .75rem; background: var(--ink); color: #fff; }
.cmp-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 2.75rem; opacity: 0; margin: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.cmp-ctl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; }
.seg button { min-height: 2.75rem; min-width: 5rem; padding: 0 1rem; border: 0; border-radius: 999px; background: transparent; font: 600 .9rem var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.changed { margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.changed li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.changed li b { font: 600 .68rem/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- the job, told (steps row) ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gut) * -1); padding: .25rem var(--gut) 1rem; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.step { display: grid; align-content: start; gap: .5rem; padding: 1.1rem 1.1rem 1.3rem; background: #fff; border: 1px solid var(--rule); border-radius: 2px; }
.step .engr { width: 100%; aspect-ratio: 4 / 3; margin-bottom: .25rem; }
.step .n { font: 600 .68rem var(--sans); letter-spacing: .16em; color: var(--red); }
.step h3 { font-size: 1.85rem; line-height: 1.02; }
.step p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.row-hint { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .25rem; }
.dots { display: flex; gap: .35rem; }
.dots i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--rule); transition: background-color .3s, transform .3s; }
.dots i.on { background: var(--ink); transform: scale(1.2); }

/* ---------- two doors ---------- */
.pair { display: grid; gap: 1rem; }
.room { position: relative; display: block; overflow: hidden; border-radius: 2px; color: #fff; text-decoration: none; aspect-ratio: 4 / 5; background: var(--ink); }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 36, .82) 0%, rgba(8, 8, 36, .5) 30%, rgba(8, 8, 36, 0) 58%); }
.room > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem 1.25rem 1.35rem; display: grid; gap: .4rem; }
.room .label { color: #fff; margin: 0; }
.room h3 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
.room p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1rem; max-width: 26em; }
.room:hover img { transform: scale(1.035); }
.room:hover, .room:focus-visible { color: #fff; }
.vt-acc { view-transition-name: room-acc; }
.vt-new { view-transition-name: room-new; }
.vt-job1 { view-transition-name: job-1; }

/* ---------- proof ---------- */
.proof { display: grid; gap: 2rem; align-items: start; }
.num { font: 400 clamp(8rem, 44vw, 15rem)/.8 var(--serif); letter-spacing: -.04em; margin: 0;
  background: repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 5px); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-cap { font: 400 1.6rem/1.15 var(--serif); margin: .4rem 0 0; max-width: 14em; }
.quotes { grid-auto-columns: 88%; }
.quote { margin: 0; padding: 1.4rem 1.3rem; border-left: 2px solid var(--blue); background: #fff; }
.quote p { font: 400 clamp(1.4rem, 5.6vw, 1.85rem)/1.2 var(--serif); margin: 0 0 1rem; }
.quote footer { font: 600 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- area ---------- */
.area { display: grid; gap: 2rem; align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: .4rem .5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.towns li { border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .8rem; font-size: .92rem; }
.coast { width: 100%; max-width: 27rem; margin: 0 auto; font-family: var(--sans); }
.coast-pin circle:first-child { transition: transform .4s var(--ease); transform-box: fill-box; transform-origin: center; }

/* ---------- inner pages ---------- */
.page-top { padding: clamp(1.25rem, 5vw, 3.5rem) 0 clamp(1.75rem, 6vw, 3.5rem); }
.page-top h1 { font-size: clamp(3rem, 13vw, 7.6rem); line-height: .94; margin-bottom: 1.1rem; }
.page-top .lede { margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--muted); }
.page-photo { margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--stone-2); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; gap: 2rem; }
.prose { max-width: 40rem; }
.prose h2 { font-size: clamp(2.1rem, 8vw, 3.4rem); margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.7rem; margin: 1.8rem 0 .6rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: .45rem; }
.ticks { list-style: none; padding: 0 !important; margin: 0 0 1.25rem; border-top: 1px solid var(--rule); }
.ticks li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--rule); margin: 0 !important; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: 1.2rem; width: .9rem; height: .5rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ticks li b { display: block; font-weight: 600; }
.fold { border-top: 1px solid var(--rule); }
.fold details { border-bottom: 1px solid var(--rule); }
.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .9rem 0; font: 400 1.5rem/1.15 var(--serif); }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--blue); transition: transform .3s var(--ease); flex: none; }
.fold details[open] summary::after { transform: rotate(45deg); }
.fold details > div { padding: 0 0 1.2rem; color: var(--ink-2); max-width: 40rem; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.timeline > li { display: grid; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--rule); }
.timeline .engr { width: 100%; max-width: 22rem; }
.timeline h2 { font-size: clamp(2.2rem, 8.5vw, 3.6rem); margin: .2rem 0 .8rem; }
.timeline .when { font: 600 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.timeline p { color: var(--ink-2); max-width: 36rem; }
.jobs-index { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.jobs-index a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.jobs-index a:hover { border-color: var(--ink); }
.jobs-index a b { font: 600 .68rem var(--sans); letter-spacing: .14em; color: var(--red); }
.job { padding: clamp(2.5rem, 8vw, 5rem) 0; border-top: 1px solid var(--rule); }
.job h2 { font-size: clamp(2.4rem, 10vw, 5rem); }
.job .cmp { max-height: 82svh; }
.job .cmp.r11, .job .cmp.r45 { max-width: 40rem; }
.gallery { grid-auto-columns: 78%; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding-top: .6rem; }
.note { border: 1px solid var(--rule); padding: 1.1rem 1.2rem; border-radius: 2px; background: var(--stone); font-size: 1rem; }
.cta-band { display: grid; gap: 1.25rem; padding: clamp(2.5rem, 8vw, 4.5rem) 0; border-top: 1px solid var(--ink); }
.cta-band h2 { font-size: clamp(2.4rem, 10vw, 4.8rem); }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- forms and the quote drawer ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form label span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form input, .form textarea { width: 100%; font: 400 1rem/1.4 var(--sans); font-size: max(16px, 1rem); color: var(--ink); background: #fff; border: 1px solid #b9b7c4; border-radius: 3px; padding: .8rem .9rem; min-height: 3.1rem;
  transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 7.5rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 90, 192, .2); }
.form .btn { width: 100%; }
.form .fine { font-size: .85rem; color: var(--muted); margin: 0; }
.form-msg { display: none; padding: .9rem 1rem; border-radius: 3px; font-size: .98rem; }
.form.is-error .form-msg.err { display: block; background: #fbeeee; color: #7d2222; border: 1px solid #e7c4c4; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.sent { display: none; text-align: left; }
.form-wrap.is-sent .form { display: none; }
.form-wrap.is-sent .sent { display: block; }
.sent h3 { font-size: 2.4rem; margin: .4rem 0 .6rem; }
.carried { display: none; padding: .8rem .9rem; border-left: 2px solid var(--blue); background: var(--stone); font-size: .92rem; color: var(--ink-2); }
.carried.on { display: block; }

.drawer { position: fixed; inset: 0; z-index: 70; display: grid; align-items: end; visibility: hidden; transition: visibility 0s .5s; }
.drawer.open { visibility: visible; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(12, 12, 60, .45); opacity: 0; transition: opacity .45s var(--ease); border: 0; padding: 0; cursor: pointer; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-sheet { position: relative; background: #fff; border-radius: 14px 14px 0 0; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; padding: 1.1rem var(--gut) calc(1.4rem + env(safe-area-inset-bottom));
  transform: translateY(104%); transition: transform .5s var(--ease); box-shadow: 0 -20px 50px -30px rgba(12, 12, 60, .6); }
.drawer.open .drawer-sheet { transform: none; }
.drawer-sheet::before { content: ""; display: block; width: 2.6rem; height: 4px; border-radius: 4px; background: var(--rule); margin: 0 auto 1rem; }
.drawer-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.drawer-top h2 { font-size: clamp(2.1rem, 9vw, 3rem); }
.x { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--rule); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.x svg { width: 1rem; height: 1rem; }
html.locked, html.locked body { overflow: hidden; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: #dcdcea; padding: 3.5rem 0 2rem; font-size: .95rem; }
.ft a { color: #fff; }
.ft-grid { display: grid; gap: 2rem; }
.ft-logo { background: #fff; padding: .6rem .8rem; border-radius: 3px; display: inline-block; }
.ft-logo img { height: 2.6rem; width: auto; }
.ft h2 { font: 600 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #a9a9c6; margin: 0 0 .8rem; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.ft ul a { display: inline-flex; min-height: 2.5rem; align-items: center; text-decoration: none; }
.ft ul a:hover { text-decoration: underline; }
.ft-tel { font: 400 2.2rem/1 var(--serif); text-decoration: none; display: inline-block; margin: .2rem 0 .6rem; }
.ft-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #a9a9c6; }
.ft-base a { color: #c9c9de; }

/* ---------- arrival on scroll (only for what starts below the fold) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .rv.in { opacity: 1; transform: none; }
  .rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
  .step .engr path, .step .engr rect, .step .engr circle { transition: opacity .6s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*) { animation: none !important; }
}

/* ---------- wider screens ---------- */
@media (min-width: 40em) {
  .row { grid-auto-columns: 46%; }
  .quotes { grid-auto-columns: 60%; }
  .gallery { grid-auto-columns: 42%; }
  .pair { grid-template-columns: 1fr 1fr; }
  .doors { grid-auto-columns: 1fr; grid-auto-flow: column; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 60em) {
  :root { --bar: 0px; }
  body { padding-bottom: 0; }
  .pbar { left: auto; right: 1.25rem; bottom: 1.25rem; grid-template-columns: auto auto; border: 1px solid var(--rule); border-radius: 999px; padding: .4rem;
    transform: translateY(160%); box-shadow: 0 16px 40px -22px rgba(12, 12, 60, .6); }
  .pbar.is-shown { transform: none; }
  .pbar .btn { width: auto; padding: .55rem 1.2rem; }
  .hd-in { min-height: 5rem; }
  .logo img { height: 2.9rem; }
  .menu-btn { display: none; }
  .nav-wide { display: flex; gap: 1.6rem; align-items: center; }
  .nav-wide a { color: var(--ink); text-decoration: none; font-size: .96rem; padding: .5rem 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
  .nav-wide a:hover, .nav-wide a[aria-current="page"] { border-color: var(--ink); }
  .hd-tel { display: inline-flex; min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .95rem; }
  .open-grid { grid-template-columns: 1.08fr .92fr; gap: 2rem 4rem; align-items: start; }
  .open-more { align-self: end; }
  .open-copy { grid-column: 1; grid-row: 1; }
  .plate { grid-column: 2; grid-row: 1 / span 2; height: min(calc(100svh - 8rem), 46rem); margin-top: .4rem; }
  .open-cta { display: flex; }
  .doors { grid-column: 1; grid-row: 2; }
  .row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .row-hint .dots { display: none; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .proof { grid-template-columns: .8fr 1.2fr; }
  .area { grid-template-columns: 1.1fr .9fr; }
  .split { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 4rem; }
  .split.top { align-items: start; }
  .split .sticky { position: sticky; top: 6.5rem; }
  .timeline > li { grid-template-columns: 22rem 1fr; gap: 3rem; align-items: center; }
  .job-head { grid-template-columns: 1fr auto; align-items: end; }
  .drawer { align-items: stretch; justify-items: end; }
  .drawer-sheet { width: min(32rem, 100%); max-height: none; height: 100%; border-radius: 0; transform: translateX(104%); padding: 2rem 2rem 2rem; }
  .drawer-sheet::before { display: none; }
  .ft-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 60em) and (max-height: 760px) { .plate { height: 70svh; } }

/* ---------- small pieces ---------- */
.cta-line { margin: 1.25rem 0 0; }
.acts-home { margin-top: 1.5rem; }
.gap { height: 1rem; }
.contact-tel { color: var(--ink); font-size: clamp(2.4rem, 10vw, 3.4rem); margin: 1rem 0 1.5rem; }
.contact-tel:hover { color: var(--blue); }
.open-more { display: grid; gap: 1rem; }
.prose .h3, .note .h3 { margin: .2rem 0 .6rem; }
.note .btn { margin-top: .5rem; width: 100%; }
.page-top .split { align-items: end; }
@media (min-width: 60em) { .open-more { grid-column: 1; grid-row: 2; } }

/* ---------- home: phone composition ---------- */
@media (max-width: 39.99em) {
  .cmp.home { aspect-ratio: 4 / 5; margin-inline: calc(var(--gut) * -1); border-radius: 0; }
  .pair .room { aspect-ratio: 5 / 4; }
  .area .coast-home { display: none; }
}
.ft-short { display: none; }
@media (max-width: 59.99em) {
  .ft { padding-top: 2.5rem; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .ft-grid > div:first-child, .ft-where { grid-column: 1 / -1; }
  .ft-base { margin-top: 1.5rem; }
}
@media (min-width: 60em) {
  .cmp.r32, .cmp.r32 + .cmp-ctl { max-width: 54rem; }
  .hd-tel { white-space: nowrap; }
}
