/* Oceanview Cabinets — site styles. Colours from their logo: ink #1A3231, teal #22BBBB, ocean #1A83C2, mist #A8DDE1. */
:root {
  --ink: #1a3231;
  --ink-2: #4a5c5b;
  --teal: #22bbbb;
  --teal-deep: #0b7a82;
  --ocean: #1a83c2;
  --mist: #a8dde1;
  --mist-2: #e6f4f5;
  --paper: #ffffff;
  --shell: #f4f7f7;
  --rule: #d8e2e2;
  --f-display: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --head-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --horizon: 50.7%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 3px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-stretch: 75%; font-weight: 600; letter-spacing: -.01em; line-height: .9; }
.label {
  display: flex; align-items: center; gap: 14px;
  font: 600 .6875rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 18px;
}
.label .n { color: var(--teal-deep); font-variant-numeric: tabular-nums; }
/* The thin line that runs off the end of "CABINETS" in their logo */
.label::after { content: ""; flex: 1 1 auto; max-width: 160px; height: 1px; background: var(--teal); }
.answer { font-family: var(--f-display); font-stretch: 75%; font-weight: 600; letter-spacing: -.012em; line-height: .88; font-size: clamp(3.1rem, 14.5vw, 9.25rem); margin: 0 0 18px; text-wrap: balance; }
.wry { color: var(--ink-2); font-size: 1.0625rem; max-width: 34em; margin: 0 0 28px; }
.lede { font-size: clamp(1.125rem, 2.2vw, 1.3rem); line-height: 1.5; max-width: 36em; }
.small { font-size: .875rem; }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-ink: #fff; --b-line: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--b-line); border-radius: 2px;
  background: var(--b-bg); color: var(--b-ink); text-decoration: none;
  font: 600 1rem/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { color: var(--b-ink); transform: translateY(-1px); }
.btn-call { --b-bg: var(--teal); --b-ink: var(--ink); --b-line: var(--teal); }
.btn-call:hover { --b-bg: #39c7c7; }
.btn-line { --b-bg: transparent; --b-ink: var(--ink); --b-line: var(--ink); }
.btn-line:hover { --b-bg: var(--ink); --b-ink: #fff; }
.btn-white { --b-bg: #fff; --b-ink: var(--ink); --b-line: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 3px; }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; height: var(--head-h); }
.site-head .bar {
  position: absolute; inset: 0 0 auto; height: var(--head-h);
  display: flex; align-items: center; gap: 18px; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(8px)) { .site-head .bar { background: rgba(255, 255, 255, .84); backdrop-filter: blur(10px) saturate(1.2); } }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; transition: width .3s var(--ease); }
.head-call { margin-left: auto; text-decoration: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.head-call .t { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: opacity .25s, height .25s; }
.head-call .num { font: 600 1.0625rem/1.2 var(--f-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scrolled .site-head .bar { height: 56px; border-bottom-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(26, 50, 49, .4); }
.scrolled .brand img { width: 124px; }
.scrolled .head-call .t { opacity: 0; height: 0; overflow: hidden; }

.main-nav { order: 3; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; font-weight: 600; font-size: .9375rem;
}
.menu-btn i { display: grid; gap: 5px; width: 22px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 1.5px; background: var(--ink); }
.menu-btn i::after { width: 70%; justify-self: end; }
.menu {
  inset: 0 0 auto auto; margin: 0; width: min(88vw, 360px); height: 100dvh; max-height: none;
  padding: 84px 32px 32px; border: 0; background: #fff; box-shadow: -20px 0 60px -30px rgba(26, 50, 49, .45);
  overflow-y: auto;
}
.menu::backdrop { background: rgba(26, 50, 49, .28); }
.menu a { display: block; padding: 11px 0; text-decoration: none; font-family: var(--f-display); font-stretch: 75%; font-weight: 600; font-size: 1.75rem; line-height: 1.1; border-bottom: 1px solid var(--rule); }
.menu a[aria-current="page"] { color: var(--teal-deep); }
.menu .sub a { font-family: var(--f-body); font-stretch: 100%; font-size: 1rem; font-weight: 500; padding: 9px 0 9px 16px; color: var(--ink-2); }
.menu-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.75rem; line-height: 1; }
.menu .menu-quote { margin-top: 24px; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .menu { transition: translate .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete; translate: 100% 0; }
  .menu:popover-open { translate: 0 0; }
  @starting-style { .menu:popover-open { translate: 100% 0; } }
}
.head-quote { display: none; }

@media (min-width: 1000px) {
  :root { --head-h: 84px; }
  .brand img { width: 176px; }
  .scrolled .brand img { width: 140px; }
  .scrolled .site-head .bar { height: 64px; }
  .main-nav { order: 0; margin-left: auto; }
  .menu-btn, .menu-close, .menu .sub, .menu .menu-quote, .menu .m-only { display: none; }
  .menu { display: flex !important; position: static; inset: auto; width: auto; height: auto; padding: 0; background: none; box-shadow: none; overflow: visible; gap: 26px; translate: none !important; }
  .menu li { display: block; }
  .menu a { font-family: var(--f-body); font-stretch: 100%; font-size: .9375rem; font-weight: 500; border: 0; padding: 8px 0; position: relative; white-space: nowrap; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
  .menu a[aria-current="page"] { color: var(--ink); }
  .head-call { margin-left: 8px; padding-left: 22px; border-left: 1px solid var(--rule); }
  .head-quote { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: .9375rem; }
}

/* ---------- Progress line: a tape measure pulled out under the header ---------- */
.tape { display: none; }
@supports (animation-timeline: scroll()) {
  .tape {
    display: block; position: fixed; z-index: 39; left: 0; right: 0; top: var(--head-h); height: 9px; pointer-events: none;
    transition: top .3s var(--ease);
  }
  .scrolled .tape { top: 56px; }
  .tape::before { /* the blade, uncovered from the left so the marks never stretch */
    content: ""; position: absolute; inset: 0;
    background:
      repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 50px) 0 0 / 100% 9px no-repeat,
      repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) 0 0 / 100% 4px no-repeat,
      linear-gradient(var(--mist-2), var(--mist-2));
    border-bottom: 1px solid var(--teal);
    clip-path: inset(0 100% 0 0);
    animation: tape-out linear both; animation-timeline: scroll(root);
  }
  .tape::after { /* the hook at the leading end */
    content: ""; position: absolute; top: -2px; left: 0; width: 4px; height: 13px; background: var(--teal-deep); border-radius: 0 1px 1px 0;
    animation: hook-out linear both; animation-timeline: scroll(root);
  }
  @keyframes tape-out { to { clip-path: inset(0 0 0 0); } }
  @keyframes hook-out { from { translate: 0 0; } to { translate: calc(100vw - 4px) 0; } }
}
@media (min-width: 1000px) { @supports (animation-timeline: scroll()) { .scrolled .tape { top: 64px; } } }

/* ---------- Hero: the view opens from the horizon ---------- */
.hero { position: relative; isolation: isolate; height: calc(100svh - var(--head-h)); min-height: 560px; max-height: 1000px; margin-bottom: 30px; }
.hero-media {
  position: absolute; inset: 0; overflow: hidden; background: var(--shell);
  --nd: 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--nd)), calc(50% + var(--nd)) calc(100% - var(--nd)), 50% 100%, calc(50% - var(--nd)) calc(100% - var(--nd)), 0 calc(100% - var(--nd)));
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after { /* a slow band of light across the surfaces */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 47%, rgba(255, 255, 255, .03) 55%, transparent 62%) 0 0 / 260% 100%;
  mix-blend-mode: screen;
}
.hero-wash { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 24%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 50%); }
.horizon { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--horizon) - 1px); height: 1px; background: var(--teal); opacity: 0; transform-origin: 0 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 3; padding-top: clamp(22px, 5vh, 56px); }
.hero .label { margin-bottom: 12px; }
.hero h1 { margin: 0; }
.h1-place { display: block; font: 600 .75rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.h1-promise { display: block; font-family: var(--f-display); font-stretch: 75%; font-weight: 600; font-size: clamp(3.2rem, 15.5vw, 8.75rem); line-height: .86; letter-spacing: -.015em; }
.h1-promise span { display: block; }
.hero-sub { max-width: 28em; margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.5; }
.hero-actions { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(26px + 22px); display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { box-shadow: 0 10px 30px -14px rgba(10, 30, 30, .55); }
.hero-caption { position: absolute; z-index: 3; right: var(--pad); top: calc(var(--horizon) - 34px); max-width: 15em; text-align: right;
  font-size: .75rem; line-height: 1.35; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.hero-caption b { display: block; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .625rem; opacity: .9; }

@media (max-width: 999px) {
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-caption { display: none; }
}
/* Phones: the words on clean white, the view below them, the whole first screen clear of the phone bar */
@media (max-width: 699px) {
  .hero { --mt: 47%; height: calc(100svh - var(--head-h) - 66px); min-height: 590px; max-height: 760px; margin-bottom: 8px; }
  .hero-media { inset: var(--mt) 0 0 0; --nd: 22px; }
  .hero-wash { inset: var(--mt) 0 auto 0; height: 26%; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.7) 30%, rgba(255,255,255,0) 100%); }
  .horizon { top: calc(var(--mt) + (100% - var(--mt)) * .507); }
  .h1-promise { font-size: clamp(2.9rem, 13.4vw, 4.4rem); }
  .h1-place { margin-bottom: 10px; font-size: .6875rem; }
  .hero .label { margin-bottom: 10px; }
  .hero-sub { font-size: .9688rem; max-width: 24em; margin-top: 12px; }
  .hero-actions { bottom: calc(22px + 16px); }
  .hero-actions .btn-call { display: none; }
  .hero-actions .btn { flex: 0 1 auto; }
}
@media (max-width: 419px) { .head-call .t { display: none; } .brand img { width: 132px; } }
.head-call .t { white-space: nowrap; }
@media (min-width: 700px) {
  .h1-promise { font-size: clamp(3.4rem, 8.2vw, 7.6rem); }
  .h1-promise span { white-space: nowrap; }
  .hero-sub { font-size: 1.1875rem; max-width: 29em; margin: 22px 0 0 -16px; padding: 12px 16px; background: rgba(255,255,255,.88); width: fit-content; }
  .hero-wash { background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 26%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 47%); }
}
@media (min-width: 1000px) {
  .hero { min-height: 640px; }
  .hero-media { --nd: 40px; }
  .hero-actions { bottom: calc(40px + 34px); }
}
@media (min-width: 700px) and (max-height: 820px) { .h1-promise { font-size: clamp(3.2rem, min(8.2vw, 11.5vh), 7.6rem); } .hero-sub { margin-top: 14px; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: view-open 1.25s .55s var(--ease) both; }
  .hero-media img { animation: drift 24s 1s ease-out both; }
  .hero-media::after { animation: light 16s 2s ease-in-out infinite alternate; }
  .horizon { animation: horizon 1.6s .05s var(--ease) both; }
  .hero-copy > *, .hero-actions { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .hero-actions { animation-delay: 1.2s; }
  .hero-caption { animation: rise .9s 1.6s var(--ease) both; }
}
@keyframes view-open {
  from { clip-path: polygon(0 var(--horizon), 100% var(--horizon), 100% var(--horizon), calc(50% + var(--nd)) var(--horizon), 50% var(--horizon), calc(50% - var(--nd)) var(--horizon), 0 var(--horizon)); }
}
@keyframes horizon { 0% { transform: scaleX(0); opacity: 1; } 40% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes light { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Answer sections ---------- */
.q { padding-block: clamp(56px, 10vw, 128px); }
.q + .q { border-top: 1px solid var(--rule); }
.q-head { display: grid; gap: 0; }
@media (min-width: 1000px) {
  .q-head { grid-template-columns: minmax(0, 1fr) minmax(0, 26em); column-gap: 56px; align-items: end; }
  .q-head .label { grid-column: 1 / -1; }
  .q-head .wry { margin-bottom: 30px; }
}
.q-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 28px; }

/* Scroll arrivals: progressive, so nothing is ever hidden without support */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .arrive { animation: arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .answer.arrive { animation-name: arrive-big; }
  }
}
@keyframes arrive { from { opacity: 0; transform: translateY(28px); } }
@keyframes arrive-big { from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -10% 0); } }

/* ---------- Swipe rows (rooms, team, finishes) ---------- */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 4px var(--pad) 18px; margin-inline: calc(var(--pad) * -1);
  scrollbar-width: thin; scrollbar-color: var(--mist) transparent;
}
.row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .row { grid-auto-columns: 44%; } }
@media (min-width: 1000px) { .row { grid-auto-columns: calc((100% - 3 * 18px) / 3.4); gap: 18px; } }

/* ---------- Gallery by room (home) ---------- */
.rooms { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.rooms legend { padding: 0; }
.room-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 4px; }
.room-tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.room-tabs label {
  flex: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .9375rem; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;
}
.room-tabs label small { font-size: .75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.room-tabs input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.room-tabs input:checked + label small { color: var(--mist); }
.room-tabs input:focus-visible + label { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.room-strip { display: none; }
.gallery-home:has(#room-kitchens:checked) [data-room="kitchens"],
.gallery-home:has(#room-bathrooms:checked) [data-room="bathrooms"],
.gallery-home:has(#room-storage:checked) [data-room="storage"],
.gallery-home:has(#room-commercial:checked) [data-room="commercial"] { display: grid; }
/* Browsers without :has() see kitchens only */
@supports not selector(:has(*)) { .room-strip[data-room="kitchens"] { display: grid; } .room-tabs { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .room-strip .shot { animation: rise .6s var(--ease) both; }
  .room-strip .shot:nth-child(2) { animation-delay: .06s; }
  .room-strip .shot:nth-child(3) { animation-delay: .12s; }
  .room-strip .shot:nth-child(4) { animation-delay: .18s; }
}
.shot { position: relative; display: block; text-decoration: none; color: var(--ink); }
.shot .frame { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--shell); }
.room-strip .shot .frame { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .room-strip .shot .frame { aspect-ratio: 3 / 2; } }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot .cap { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; padding-top: 10px; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
/* Mitred corner: two short lines meeting at 45 degrees, from the V in their logo */
.frame::before, .frame::after { content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .35s, translate .35s var(--ease); }
.frame::before { top: 10px; left: 10px; border-top: 1px solid #fff; border-left: 1px solid #fff; translate: 6px 6px; }
.frame::after { right: 10px; bottom: 10px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; translate: -6px -6px; }
.shot:hover .frame::before, .shot:hover .frame::after, .shot:focus-visible .frame::before, .shot:focus-visible .frame::after { opacity: .9; translate: 0 0; }
.shot-more { display: grid; place-content: center; text-align: center; gap: 10px; aspect-ratio: 4 / 3; align-self: start; border: 1px solid var(--rule); text-decoration: none; padding: 24px; }
@media (min-width: 640px) { .shot-more { aspect-ratio: 3 / 2; } }
.shot-more strong { font-family: var(--f-display); font-stretch: 75%; font-size: 2.4rem; line-height: .95; }
.shot-more span { color: var(--teal-deep); font-weight: 600; }

/* Photo carry: the lead picture of each room becomes the top of its own page */
.pc-kitchens { view-transition-name: pc-kitchens; }
.pc-bathrooms { view-transition-name: pc-bathrooms; }
.pc-storage { view-transition-name: pc-storage; }
.pc-commercial { view-transition-name: pc-commercial; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
  ::view-transition-old(pc-kitchens), ::view-transition-new(pc-kitchens),
  ::view-transition-old(pc-bathrooms), ::view-transition-new(pc-bathrooms),
  ::view-transition-old(pc-storage), ::view-transition-new(pc-storage),
  ::view-transition-old(pc-commercial), ::view-transition-new(pc-commercial) { height: 100%; object-fit: cover; overflow: hidden; }
}

/* ---------- Finishes (cards + drawings) ---------- */
.finish { display: flex; flex-direction: column; border: 1px solid var(--rule); background: #fff; min-height: 100%; }
.finish .draw { aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 1px solid var(--rule); display: grid; place-items: center; padding: 10px; }
.finish .draw svg { width: 100%; height: 100%; }
.finish .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.finish .kind { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.finish h3 { font-family: var(--f-display); font-stretch: 75%; font-size: 1.75rem; line-height: 1; }
.finish p { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.finish dl { margin: 4px 0 0; display: grid; gap: 6px; font-size: .875rem; }
.finish dt { font-weight: 600; color: var(--ink); }
.finish dd { margin: 0; color: var(--ink-2); }
.note-btn {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--ink); background: #fff; border-radius: 2px; font-weight: 600; font-size: .875rem;
}
.note-btn::before { content: "+"; font-size: 1.1rem; line-height: 1; }
.note-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.note-btn[aria-pressed="true"]::before { content: "\2713"; }
html:not(.js) .note-btn { display: none; }
.draw svg .ln { fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.draw svg .ac { fill: none; stroke: var(--teal); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.draw svg .lt { fill: none; stroke: var(--ink); stroke-width: .7; stroke-linecap: round; opacity: .55; vector-effect: non-scaling-stroke; }
.draw svg .dim { fill: none; stroke: var(--teal-deep); stroke-width: .8; vector-effect: non-scaling-stroke; }
.draw svg text { font: 500 9px var(--f-body); fill: var(--teal-deep); letter-spacing: .06em; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .draw svg .ln, .draw svg .ac { stroke-dasharray: 1; animation: draw-in linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@keyframes draw-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Team ---------- */
.team .row { grid-auto-columns: 46%; }
@media (min-width: 640px) { .team .row { grid-auto-columns: 30%; } }
@media (min-width: 1000px) { .team .row { grid-auto-columns: calc((100% - 5 * 18px) / 5.5); } }
.person figure { margin: 0; }
.person .ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--shell); }
.person img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.person figcaption { padding-top: 10px; line-height: 1.3; }
.person b { display: block; font-weight: 600; }
.person span { font-size: .8125rem; color: var(--ink-2); }
.team-facts { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0 0 28px; }
.team-facts div { display: grid; }
.team-facts dt { order: 2; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.team-facts dd { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 600; font-size: 2.6rem; line-height: 1; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; }
.page-hero .ph-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--shell);
  --nd: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--nd)), calc(50% + var(--nd)) calc(100% - var(--nd)), 50% 100%, calc(50% - var(--nd)) calc(100% - var(--nd)), 0 calc(100% - var(--nd))); }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 800px) { .page-hero .ph-media { aspect-ratio: 21 / 9; max-height: 64vh; width: 100%; --nd: 34px; } }
.page-title { padding-top: clamp(36px, 6vw, 72px); }
.page-title h1 { font-family: var(--f-display); font-stretch: 75%; font-weight: 600; font-size: clamp(3rem, 12vw, 8rem); line-height: .88; letter-spacing: -.012em; margin: 0 0 20px; text-wrap: balance; }
.page-title .lede { margin-bottom: 8px; }
.crumbs { font-size: .8125rem; color: var(--ink-2); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.prose { max-width: 38em; }
.prose h2 { font-family: var(--f-display); font-stretch: 75%; font-size: clamp(2rem, 6vw, 3rem); line-height: .95; margin: 1.4em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin: 1.4em 0 .4em; }
.prose ul { margin: 0 0 1em; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-right: 1px solid var(--teal); border-bottom: 1px solid var(--teal); rotate: -45deg; translate: 0 -50%; }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.ticks li { display: grid; grid-template-columns: 2.4em 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ticks .n { font: 600 .75rem/1.9 var(--f-body); color: var(--teal-deep); letter-spacing: .1em; }
.ticks b { display: block; }
.ticks span { color: var(--ink-2); font-size: .9375rem; }
.band { background: var(--shell); }
.cta-band { padding-block: clamp(56px, 9vw, 110px); }
.cta-band .answer { font-size: clamp(2.8rem, 11vw, 7rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Service cards (what we do) */
.svc-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; } }
.svc { text-decoration: none; display: block; }
.svc .frame { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--shell); position: relative; }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc:hover img { transform: scale(1.035); }
.svc:hover .frame::before, .svc:hover .frame::after { opacity: .9; translate: 0 0; }
.svc h3 { font-family: var(--f-display); font-stretch: 75%; font-size: clamp(2rem, 6vw, 2.75rem); line-height: .95; margin: 14px 0 6px; }
.svc p { color: var(--ink-2); margin: 0; font-size: .9375rem; }
.also { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 700px) { .also { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; } }
.also li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.also b { display: block; font-size: 1.0625rem; }
.also span { font-size: .9375rem; color: var(--ink-2); }

/* Gallery page */
.g-jump { position: sticky; top: calc(var(--head-h) + 9px); z-index: 20; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--rule); }
.scrolled .g-jump { top: 65px; }
@media (min-width: 1000px) { .scrolled .g-jump { top: 73px; } }
.g-jump ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.g-jump a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.g-jump a:hover { border-color: var(--ink); color: var(--ink); }
.g-room { padding-block: clamp(44px, 7vw, 88px) 10px; }
.g-room h2 { font-family: var(--f-display); font-stretch: 75%; font-size: clamp(2.6rem, 10vw, 5.5rem); line-height: .9; margin-bottom: 8px; }
.g-room .g-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 800px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.g-grid .shot:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .g-grid .shot:first-child { grid-column: span 2; grid-row: span 2; } .g-grid .shot:first-child .frame { aspect-ratio: auto; height: 100%; } .g-grid .shot:first-child { display: flex; flex-direction: column; } .g-grid .shot:first-child .frame { flex: 1; } }
.g-grid .shot .cap { font-size: .8125rem; }
.g-grid .shot:not(:first-child) .cap { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(255, 255, 255, .98); color: var(--ink); }
.lightbox::backdrop { background: rgba(255, 255, 255, .9); }
.lb-in { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px var(--pad); }
.lb-count { font-size: .8125rem; letter-spacing: .12em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--rule); background: #fff; border-radius: 999px; font-size: 1.25rem; line-height: 1; }
.lb-btn:hover { border-color: var(--ink); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 var(--pad); min-height: 0; }
.lb-stage img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lb-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 14px var(--pad) calc(18px + env(safe-area-inset-bottom)); }
.lb-foot p { margin: 0; max-width: 40em; font-size: .9375rem; }
.lb-nav { display: flex; gap: 8px; }

/* Finishes page */
.f-group { padding-block: clamp(40px, 6vw, 80px) 0; }
.f-group > h2 { font-family: var(--f-display); font-stretch: 75%; font-size: clamp(2.4rem, 9vw, 5rem); line-height: .9; margin-bottom: 8px; }
.f-group > p { color: var(--ink-2); max-width: 38em; margin-bottom: 24px; }
.f-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.notes-dock { position: sticky; bottom: 76px; z-index: 30; display: flex; justify-content: center; pointer-events: none; margin-top: 24px; }
.notes-dock .btn { pointer-events: auto; box-shadow: 0 14px 30px -16px rgba(10, 30, 30, .6); }
@media (min-width: 1000px) { .notes-dock { bottom: 24px; } }
.carry-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: .75rem; font-weight: 700; }
.carry-count[hidden] { display: none; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.contact-list dt { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.contact-list dd { margin: 0; font-size: 1.25rem; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b9c7c7; border-radius: 2px; background: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(34, 187, 187, .25); }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-note { font-size: .8125rem; color: var(--ink-2); margin: 0; }
.carried { border: 1px solid var(--mist); background: var(--mist-2); padding: 12px 14px; border-radius: 2px; }
.carried[hidden] { display: none; }
.carried p { margin: 0 0 6px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal-deep); }
.carried ul { display: grid; gap: 6px; }
.carried li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; font-size: .9375rem; line-height: 1.35; }
.carried li b { font-weight: 600; }
.carried button { flex: none; border: 0; background: none; color: var(--ink-2); font-size: .8125rem; text-decoration: underline; padding: 2px 0; min-height: 28px; }
.next { counter-reset: n; display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.next li { counter-increment: n; display: grid; grid-template-columns: 1.6em 1fr; font-size: .875rem; color: var(--ink-2); }
.next li::before { content: counter(n); color: var(--teal-deep); font-weight: 700; }

/* ---------- Quote drawer: rises over the page ---------- */
.drawer {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 92dvh; overflow-y: auto;
  padding: 0; border: 0; border-radius: 14px 14px 0 0; background: #fff; color: var(--ink);
  box-shadow: 0 -20px 60px -20px rgba(10, 30, 30, .45);
}
.drawer::backdrop { background: rgba(26, 50, 49, .38); }
.drawer-in { position: relative; padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom)); }
.drawer-in::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--rule); }
.drawer h2 { font-family: var(--f-display); font-stretch: 75%; font-size: 2.6rem; line-height: .9; margin: 6px 0 6px; padding-right: 48px; }
.drawer .wry { font-size: .9375rem; margin-bottom: 16px; }
.drawer-close { position: absolute; top: 16px; right: 14px; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 1.4rem; line-height: 1; }
@media (min-width: 760px) {
  .drawer { inset: auto 24px 24px auto; width: 440px; border-radius: 6px; max-height: calc(100dvh - 48px); }
}
@media (prefers-reduced-motion: no-preference) {
  .drawer { transition: translate .42s var(--ease), opacity .42s, display .42s allow-discrete, overlay .42s allow-discrete; translate: 0 100%; }
  .drawer:popover-open { translate: 0 0; }
  @starting-style { .drawer:popover-open { translate: 0 100%; } }
  .drawer::backdrop { transition: opacity .42s, display .42s allow-discrete, overlay .42s allow-discrete; opacity: 0; }
  .drawer:popover-open::backdrop { opacity: 1; }
  @starting-style { .drawer:popover-open::backdrop { opacity: 0; } }
}
/* No popover support: the drawer is a normal section at the end of the page */
@supports not selector(:popover-open) { .drawer { position: static; border-radius: 0; box-shadow: none; border-top: 1px solid var(--rule); max-height: none; } .drawer-close, .menu-btn, .menu-close { display: none; } }

/* ---------- Phone bar: the number never leaves the screen ---------- */
.callbar {
  position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: flex; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--rule);
  transition: padding .3s var(--ease);
}
.callbar .btn { min-height: 50px; flex: 1 1 50%; padding: 0 12px; transition: flex-basis .35s var(--ease), flex-grow .35s var(--ease), opacity .25s, padding .35s; }
.callbar .cb-quote { overflow: hidden; min-width: 0; }
.going-down .callbar .cb-quote { flex: 0 0 0; padding: 0; opacity: 0; border-width: 0; }
.going-down .callbar { gap: 0; }
@media (min-width: 1000px) { .callbar { display: none; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: clamp(56px, 8vw, 96px) 0 calc(96px + env(safe-area-inset-bottom)); background: #fff; }
@media (min-width: 1000px) { .site-foot { padding-bottom: 40px; } }
.foot-big { font-family: var(--f-display); font-stretch: 75%; font-weight: 600; font-size: clamp(2.8rem, 11vw, 7.5rem); line-height: .88; margin: 0 0 28px; }
.foot-big a { text-decoration: none; display: inline-block; }
.foot-big a:hover { color: var(--teal-deep); }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; padding-top: 32px; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-grid h2 { font: 600 .6875rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.foot-grid li { margin-bottom: 6px; font-size: .9375rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid address { font-style: normal; font-size: .9375rem; }
.foot-logo { width: 150px; margin-bottom: 14px; }
.foot-first { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-first { grid-column: auto; } }
.ack { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--ink-2); max-width: 56em; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; margin-top: 22px; font-size: .8125rem; color: var(--ink-2); }
.legal a { color: var(--ink-2); }
.credit { font-size: .75rem; }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(48px, 10vw, 120px); }
.lost svg { width: min(420px, 100%); height: auto; margin-bottom: 18px; }
.lost svg .ln { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lost svg .ac { fill: none; stroke: var(--teal); stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .site-head, .callbar, .tape, .drawer, .hero-actions, .skip { display: none !important; }
  .hero { height: auto; min-height: 0; }
  .hero-media { position: relative; height: 50vh; clip-path: none; }
}
@media (min-width: 1000px) and (max-width: 1179px) {
  .menu { gap: 18px; }
  .head-call .t { display: none; }
  .site-head .bar { gap: 14px; }
}
/* Two-column answer heads: keep the big words inside their column */
@media (min-width: 1000px) { .q-head .answer, .split .answer { font-size: clamp(3.1rem, 8.2vw, 8.5rem); } }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 700px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
