/* All Phase Electric. Blue hour before the work, pumice once the lights are on, lamplight for the current. */
:root {
  --night: #111A26;
  --basalt: #1A2431;
  --basalt-2: #223041;
  --snow: #ECE9E2;
  --haze: #A7B3C4;
  --lamp: #F2A65A;
  --lamp-hi: #F7B877;
  --pumice: #E5E3DD;
  --card: #F1F0EC;
  --ink: #141A23;
  --slate: #4A5361;
  --copper: #97451A;
  --line-n: rgba(236, 233, 226, .14);
  --line-n2: rgba(236, 233, 226, .26);
  --line-l: rgba(20, 26, 35, .13);
  --line-l2: rgba(20, 26, 35, .26);
  --sa-accent: #F2A65A;
  --sa-accent-ink: #141A23;
  --display: "Libre Caslon Condensed", "Iowan Old Style", Georgia, serif;
  --sans: "Gantari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "B612 Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --top: 84px;
  --wrap: 1320px;
  /* the ground an element sits on decides its button: lamplight on night, ink on pumice */
  --btn-bg: var(--lamp);
  --btn-fg: var(--ink);
  --btn-hover: var(--lamp-hi);
  --fg: var(--snow);
  --fg-2: var(--haze);
  --link: var(--snow);
  --rule: var(--line-n);
  --rule-2: var(--line-n2);
  --focus: var(--lamp);
  color-scheme: dark light;
}
.lit {
  --btn-bg: var(--ink);
  --btn-fg: var(--snow);
  --btn-hover: #26303D;
  --fg: var(--ink);
  --fg-2: var(--slate);
  --link: var(--copper);
  --rule: var(--line-l);
  --rule-2: var(--line-l2);
  --focus: var(--copper);
  background: var(--pumice);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--snow);
  font: 400 18px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: .95; margin: 0; text-wrap: balance; }
h3 { font-weight: 500; line-height: 1.05; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--lamp); color: var(--ink); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: .01em; }

/* ---------- buttons: solid, rectangular, no icons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--btn-bg); color: var(--btn-fg); border: 0; border-radius: 3px;
  font: 600 16px/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn--quiet { background: var(--basalt-2); color: var(--snow); box-shadow: inset 0 0 0 1px var(--line-n2); }
.btn--quiet:hover { background: #2B3A4E; }
.tel { font: 400 17px/1 var(--mono); letter-spacing: .01em; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 5px; white-space: nowrap; }
.tel:hover { border-color: currentColor; }
.textlink { color: var(--link); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink:hover { border-bottom-width: 2px; }
.lit .textlink { font-weight: 500; }

/* the little breaker toggle used in the directory cards: a handle in a slot, switched on for the current page */
.tog { display: inline-block; position: relative; width: 22px; height: 12px; border-radius: 2px; background: rgba(236, 233, 226, .12); box-shadow: inset 0 0 0 1px var(--line-n2); flex: none; }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 9px; height: 8px; border-radius: 1px; background: var(--haze); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background .2s ease; }
.is-on > .tog::after, .tog.is-on::after, [aria-current="page"] > .tog::after, [aria-current="true"] > .tog::after { transform: translateX(9px); background: var(--lamp); box-shadow: 0 0 8px rgba(242, 166, 90, .7); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter);
  transition: background .35s ease, box-shadow .35s ease;
}
.top.is-solid { background: rgba(17, 26, 38, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-n); }
.brand { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-decoration: none; color: var(--snow); }
.brand__mark { grid-row: 1 / span 2; width: 60px; height: 66px; object-fit: contain; }
.brand__name { font: 400 29px/1 var(--display); letter-spacing: -.005em; align-self: end; }
.brand__sub { font: 400 14px/1.2 var(--mono); color: var(--haze); align-self: start; margin-top: 4px; }
.top__actions { display: flex; align-items: center; gap: 12px; }
.top__tel { margin-right: 14px; font: 400 16px/1 var(--mono); color: var(--snow); text-decoration: none; border-bottom: 1px solid var(--line-n2); padding-bottom: 4px; }
.top__tel:hover { border-color: var(--snow); }
.dir-btn { min-width: 112px; }
.short { display: none; }
@media (max-width: 760px) { .short { display: inline; } }

/* ---------- the directory (menu): the card from the inside of a panel door ---------- */
.directory { position: fixed; inset: 0; z-index: 60; background: rgba(12, 18, 27, .96); overflow-y: auto; padding: 28px var(--gutter) 40px; }
.directory[hidden] { display: none; }
.directory__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 56px; }
.directory__close { position: absolute; top: 16px; right: var(--gutter); }
.dircard { background: var(--card); color: var(--ink); border-radius: 4px; padding: 26px clamp(20px, 3vw, 36px) 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.dircard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 4px; }
.dircard__head h2 { font-size: clamp(40px, 4.4vw, 60px); }
.dircard__head span { font: 400 14px/1 var(--mono); color: var(--slate); }
.dircard ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 36px; }
.dircard li { break-inside: avoid; border-bottom: 1px solid var(--line-l); }
.dircard li a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 0; text-decoration: none; font: 400 21px/1.2 var(--sans); color: var(--ink); }
.dircard li a:hover { color: var(--copper); }
.dircard .tog { background: rgba(20, 26, 35, .08); box-shadow: inset 0 0 0 1px var(--line-l2); }
.dircard .tog::after { background: var(--slate); }
.dircard [aria-current="page"] { font-weight: 600; }
.dircard [aria-current="page"] > .tog::after { background: var(--copper); box-shadow: none; }
.directory__side { color: var(--snow); padding-top: 8px; }
.directory__side h2 { font-size: 15px; font: 500 15px/1.3 var(--sans); color: var(--haze); margin: 0 0 10px; }
.directory__side address { font-style: normal; line-height: 1.7; margin-bottom: 26px; }
.directory__side .tel { font-size: 22px; color: var(--snow); }
.directory__side p { color: var(--haze); }
.directory__side .btn { margin: 4px 0 26px; }
body.menu-open { overflow: hidden; }

/* ================================ HOME ================================ */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.world-live #world { opacity: 1; }
.scrim { display: none; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--top) + 12px) var(--gutter) 30px; overflow: hidden; }
.hero__still { position: absolute; inset: 0; z-index: 0; background: var(--night); }
.hero__still picture, .hero__still img { display: block; width: 100%; height: 100%; }
.hero__still img { object-fit: cover; object-position: 50% 50%; }
.world-live .hero__still { opacity: 0; transition: opacity 1s ease .2s; }
.hero__still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 26, 38, .35) 0%, rgba(17, 26, 38, 0) 22%, rgba(17, 26, 38, 0) 62%, rgba(17, 26, 38, .72) 88%, var(--night)); }
/* the headline splits around the panel, which stands in its gap */
.hero__title { position: relative; z-index: 2; align-self: start; display: grid; grid-template-columns: 1fr var(--gap, calc(28vh + 56px)) 1fr; align-items: center; margin-top: calc(25vh - var(--top) - 12px); }
.hero h1 { display: contents; font-size: clamp(64px, 7.6vw, 128px); line-height: .88; letter-spacing: -.012em; }
.hero h1 .h1a { grid-column: 1; text-align: right; font-size: clamp(64px, 7.6vw, 128px); }
.hero h1 .h1b { grid-column: 3; text-align: left; font-size: clamp(64px, 7.6vw, 128px); }
.hero h1 span > span { display: block; }
.hero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px; }
.hero__aside { max-width: 420px; }
.hero__aside p { color: var(--snow); font-size: 18px; margin: 0; text-shadow: 0 1px 12px rgba(17, 26, 38, .8); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px 24px; grid-column: 3; }
.hero__cue { font: 400 14px/1 var(--mono); color: var(--haze); white-space: nowrap; padding-bottom: 18px; transition: opacity .4s ease; }
.is-scrolled .hero__cue { opacity: 0; }
html:not(.has-3d) .hero__cue { visibility: hidden; }

/* the journey: static by default (no JS, no WebGL, reduced motion) */
.journey { position: relative; z-index: 2; }
.stop { position: relative; padding: clamp(72px, 12vh, 140px) var(--gutter); border-top: 1px solid var(--line-n); }
.stop:nth-child(odd) { background: var(--basalt); }
.stop__grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: var(--wrap); margin: 0 auto; }
.stop__copy h2 { font-size: clamp(52px, 6vw, 96px); margin-bottom: 24px; }
.stop__lede { font-size: 21px; line-height: 1.5; margin-bottom: 18px; }
.stop__copy p { color: var(--snow); }
.stop__copy .muted { color: var(--haze); }
.stop__list { list-style: none; margin: 6px 0 28px; padding: 0; border-top: 1px solid var(--line-n); }
.stop__list li { padding: 9px 0; border-bottom: 1px solid var(--line-n); font-size: 17px; }
.stop__more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.stop__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stop__figs figure { margin: 0; }
.stop__figs figure.wide { grid-column: 1 / -1; }
.stop__figs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--basalt-2); }
.stop__figs figure.wide img { aspect-ratio: 16 / 10; }
.stop__figs figcaption { font: 400 14px/1.45 var(--mono); color: var(--haze); margin-top: 8px; }
.safety { border-left: 3px solid var(--lamp); padding: 4px 0 4px 16px; margin: 0 0 24px; }
.safety a { color: var(--lamp); font-weight: 600; }
.lit .safety { border-left-color: var(--copper); }
.lit .safety a { color: var(--copper); }


/* ---------- 3D mode ---------- */
.has-3d .hero { background: transparent; }
.has-3d .stop { background: transparent; border-top: 0; min-height: 150vh; padding-top: 0; padding-bottom: 0; }
.has-3d .stop--more { min-height: 190vh; }
.has-3d .stop__grid { display: block; max-width: none; margin: 0; min-height: inherit; }
.has-3d .stop__copy { position: sticky; top: calc(var(--top) + 6vh); max-width: 470px; padding: 12px 0 48px; }
.has-3d .stop__figs { display: none; }
.has-3d .scrim {
  display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: var(--scrim, 0);
  background: linear-gradient(90deg, rgba(17, 26, 38, .94) 0%, rgba(17, 26, 38, .88) 28%, rgba(17, 26, 38, .5) 40%, rgba(17, 26, 38, 0) 52%);
}
/* ---------- after the journey: the lights are on ---------- */
.after { position: relative; z-index: 3; }
.band { padding: clamp(72px, 11vh, 128px) var(--gutter); }
.band + .band { border-top: 1px solid var(--rule); }
.band--night { background: var(--night); color: var(--snow); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 20px 64px; align-items: end; margin-bottom: 44px; }
.band__head h2 { font-size: clamp(44px, 5.4vw, 84px); }
.band__head p { color: var(--fg-2); margin: 0; }

/* proof: the Google rating once, and the nameplate */
.proof { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rating { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 26px; }
.rating strong { font: 400 clamp(110px, 12vw, 184px)/.8 var(--display); letter-spacing: -.03em; }
.rating span { font-size: 20px; line-height: 1.35; padding-bottom: 8px; max-width: 16ch; }
.stars { color: var(--copper); letter-spacing: 3px; font-size: 18px; }
.band--night .stars { color: var(--lamp); }
.wall { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line-l2); }
.wall li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 22px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.wall b { font-weight: 600; font-size: 19px; }
.wall time { font: 400 14px/1 var(--mono); color: var(--slate); min-width: 9.5em; text-align: right; }
.wall .reply { grid-column: 1 / -1; margin: 8px 0 2px; padding: 12px 16px; background: var(--card); border-left: 3px solid var(--copper); font-size: 17px; color: var(--ink); }
.wall .reply b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--slate); }
.proof__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }

.nameplate {
  position: relative; background: var(--basalt); color: var(--snow); border-radius: 6px; padding: 30px 30px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(20, 26, 35, .25);
}
.nameplate::before, .nameplate::after { content: ""; position: absolute; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8C97A6, #3A4655 70%); }
.nameplate::before { left: 12px; } .nameplate::after { right: 12px; }
.nameplate__foot::before, .nameplate__foot::after { content: ""; position: absolute; bottom: 12px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8C97A6, #3A4655 70%); }
.nameplate__foot::before { left: 12px; } .nameplate__foot::after { right: 12px; }
.nameplate h3 { font-size: 34px; margin-bottom: 4px; }
.nameplate > p { font: 400 14px/1.4 var(--mono); color: var(--haze); margin: 0 0 18px; }
.nameplate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line-n2); }
.nameplate dt, .nameplate dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-n); font: 400 15px/1.4 var(--mono); }
.nameplate dt { color: var(--haze); padding-right: 22px; }
.nameplate dd { color: var(--snow); }

/* work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.work figure { margin: 0; grid-column: span 4; }
.work figure.w6 { grid-column: span 6; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #D4D1C9; }
.work figure.w6 img { aspect-ratio: 16 / 11; }
.work figcaption { margin-top: 10px; font: 400 14px/1.45 var(--mono); color: var(--slate); }

/* questions */
.faq { max-width: 920px; border-top: 1px solid var(--rule-2); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; font: 400 clamp(26px, 2.4vw, 34px)/1.12 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 68ch; color: var(--fg-2); }
.faq details > div p { color: var(--fg); }

/* closer */
.closer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.closer h2 { font-size: clamp(52px, 7vw, 116px); }
.closer p { color: var(--haze); max-width: 56ch; margin: 20px 0 0; }
.closer__actions { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }

/* ---------- footer: the end of the day ---------- */
.foot { position: relative; z-index: 3; background: var(--night); color: var(--snow); border-top: 1px solid var(--line-n); padding: 64px var(--gutter) 36px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.2fr; gap: 36px; max-width: var(--wrap); margin: 0 auto; }
.foot__brand img { width: 84px; height: 93px; margin-bottom: 16px; }
.foot__brand p { color: var(--haze); font-size: 16px; max-width: 30ch; }
.foot h2 { font: 500 15px/1.3 var(--sans); letter-spacing: 0; color: var(--haze); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; font-size: 16px; }
.foot li a, .foot address a { text-decoration: none; }
.foot li a:hover, .foot address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot address { font-style: normal; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.foot address span { color: var(--haze); }
.foot__base { max-width: var(--wrap); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--line-n); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; color: var(--haze); font-size: 14px; }
.foot__base a { color: var(--haze); }

/* ================================ INNER PAGES ================================ */
.plate { position: relative; min-height: min(76vh, 760px); display: grid; align-content: end; padding: calc(var(--top) + 36px) var(--gutter) clamp(44px, 7vh, 76px); overflow: hidden; background: var(--night); }
.plate__img { position: absolute; inset: 0; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.plate__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 26, 38, .7) 0%, rgba(17, 26, 38, 0) 20%), linear-gradient(90deg, rgba(17, 26, 38, .94) 0%, rgba(17, 26, 38, .82) 30%, rgba(17, 26, 38, .2) 58%, rgba(17, 26, 38, 0) 72%), linear-gradient(0deg, rgba(17, 26, 38, .7), rgba(17, 26, 38, 0) 36%); }
.plate__copy { position: relative; z-index: 1; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font: 400 14px/1.4 var(--mono); color: var(--haze); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.plate h1 { font-size: clamp(60px, 8vw, 132px); line-height: .9; max-width: 12ch; }
.plate__lede { max-width: 600px; margin-top: 24px; font-size: 21px; line-height: 1.5; color: var(--snow); }
.plate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 28px; }

/* the lit body of an inner page: a directory card of this page beside the content */
.page { padding: clamp(56px, 9vh, 104px) var(--gutter); }
.page__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.toc { position: sticky; top: calc(var(--top) + 24px); background: var(--card); border-radius: 4px; padding: 18px 20px 12px; box-shadow: inset 0 0 0 1px var(--line-l); }
.toc h2 { font: 400 14px/1 var(--mono); color: var(--slate); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 2px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { border-bottom: 1px solid var(--line-l); }
.toc li:last-child { border-bottom: 0; }
.toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-size: 17px; color: var(--ink); }
.toc a:hover { color: var(--copper); }
.toc .tog { background: rgba(20, 26, 35, .08); box-shadow: inset 0 0 0 1px var(--line-l2); }
.toc .tog::after { background: var(--slate); }
.toc a.is-on > .tog::after { background: var(--copper); box-shadow: none; }
.content > section + section { margin-top: clamp(64px, 9vh, 112px); padding-top: clamp(40px, 5vh, 56px); border-top: 1px solid var(--line-l2); }
.content h2 { font-size: clamp(40px, 4.6vw, 70px); margin-bottom: 22px; }
.content h3 { font-size: 30px; margin: 28px 0 10px; }
.content p { max-width: 68ch; }
.content .lede { font-size: 21px; line-height: 1.5; }
.prose p + p { margin-top: 0; }
.twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }

/* the services: a schedule of the six circuits, each switched on */
.svcs { list-style: none; margin: 0 0 8px; padding: 0; border-top: 2px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line-l); }
.svc__link { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 24px; align-items: baseline; padding: 22px 0; text-decoration: none; color: var(--ink); }
.svc__link .tog { align-self: center; background: rgba(20, 26, 35, .08); box-shadow: inset 0 0 0 1px var(--line-l2); }
.svc__link .tog.is-on::after { background: var(--copper); box-shadow: none; }
.svc__name { font: 400 clamp(30px, 3vw, 42px)/1 var(--display); }
.svc__line { color: var(--slate); font-size: 17px; }
.svc__link:hover .svc__name { color: var(--copper); }

/* a directory card used for lists of work */
.dirlist { background: var(--card); border-radius: 4px; padding: 20px clamp(18px, 2.4vw, 30px) 16px; box-shadow: inset 0 0 0 1px var(--line-l); margin: 8px 0 24px; }
.dirlist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.dirlist__head h3 { font-size: 28px; margin: 0; }
.dirlist__head span { font: 400 14px/1 var(--mono); color: var(--slate); }
.dirlist ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.dirlist li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line-l); font-size: 17px; line-height: 1.35; }
.dirlist--three ul { columns: 3; }

.figs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }
.figs figure { margin: 0; grid-column: span 4; }
.figs figure.w6 { grid-column: span 6; } .figs figure.w8 { grid-column: span 8; } .figs figure.w12 { grid-column: span 12; }
.figs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #D4D1C9; }
.figs figure.w6 img, .figs figure.w8 img, .figs figure.w12 img { aspect-ratio: 16 / 11; }
.figs figure.tall img { aspect-ratio: 3 / 4; }
.figs figcaption { margin-top: 10px; font: 400 14px/1.45 var(--mono); color: var(--slate); }

.callout { background: var(--basalt); color: var(--snow); border-radius: 4px; padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 36px; align-items: center; --btn-bg: var(--lamp); --btn-fg: var(--ink); --btn-hover: var(--lamp-hi); --fg: var(--snow); --rule-2: var(--line-n2); }
.callout h2, .callout h3 { font-size: clamp(34px, 3.4vw, 52px); margin: 0 0 10px; }
.callout p { color: var(--haze); margin: 0; max-width: 54ch; }
.callout__actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }
.callout .tel { color: var(--snow); }

.mascot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 36px; align-items: center; }
.mascot img { width: 100%; max-width: 360px; justify-self: center; }

/* reviews page */
.wall--big li { padding: 18px 0; }
.wall--big b { font-size: 22px; }

/* gallery and lightbox: a masonry of every photograph at its own shape */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { margin: 0 0 22px; break-inside: avoid; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; background: #D4D1C9; transition: filter .3s ease; }
.gallery button:hover img { filter: brightness(1.06); }
.gallery figcaption { margin-top: 10px; font: 400 14px/1.45 var(--mono); color: var(--slate); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 15, 22, .96); display: grid; grid-template-rows: auto 1fr auto; padding: 16px var(--gutter) 24px; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: flex-end; gap: 10px; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 12px 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 190px); width: auto; height: auto; object-fit: contain; }
.lightbox__cap { text-align: center; color: var(--snow); font: 400 15px/1.5 var(--mono); max-width: 70ch; margin: 0 auto; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: 17px; }
.form input, .form textarea { width: 100%; font: 400 18px/1.4 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line-l2); border-radius: 3px; padding: 14px 14px; min-height: 52px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.form__status { min-height: 1.6em; font-weight: 500; margin: 0; }
.form__status.is-err { color: #9E2A1C; }
.form__status.is-ok { color: #2E5E36; }
.facts { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line-l2); }
.facts li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.facts li > span:first-child { font: 400 14px/1.6 var(--mono); color: var(--slate); }
.map { margin-top: 12px; border-radius: 4px; overflow: hidden; background: #D4D1C9; box-shadow: inset 0 0 0 1px var(--line-l); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
.map p { margin: 0; padding: 12px 16px; font-size: 15px; color: var(--slate); background: var(--card); }

/* ================================ RESPONSIVE ================================ */
@media (max-width: 1100px) {
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .proof { grid-template-columns: 1fr; }
  .page__grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { columns: 2; column-gap: 24px; }
  .toc li { break-inside: avoid; }
}
@media (max-width: 900px) {
  .top__tel { display: none; }
  .band__head, .closer, .contact, .twocol, .mascot, .callout { grid-template-columns: 1fr; }
  .work figure, .work figure.w6, .figs figure, .figs figure.w6, .figs figure.w8 { grid-column: span 6; }
  .directory__inner { grid-template-columns: 1fr; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__actions { grid-column: 1; justify-content: flex-start; }
  .hero__cue { display: none; }
}
@media (max-width: 760px) {
  :root { --top: 68px; }
  body { font-size: 17px; }
  .brand__mark { width: 46px; height: 51px; }
  .brand__name { font-size: 21px; line-height: .95; }
  .brand__name > span { display: block; }
  .brand { column-gap: 9px; }
  .top__actions { gap: 8px; }
  .long { display: none; }
  .brand__sub { display: none; }
  .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .top .btn--talk { padding: 0 14px; }
  .dir-btn { min-width: 0; }
  .dircard ul { columns: 1; }
  .hero { grid-template-rows: auto auto; align-content: end; padding-bottom: 28px; }
  .hero__title { display: block; margin: 0 0 20px; }
  .hero h1 { display: block; font-size: clamp(48px, 13.4vw, 64px); }
  .hero h1 .h1a, .hero h1 .h1b { display: inline; font-size: inherit; text-align: left; }
  .hero h1 span > span { display: inline; }
  .hero__aside p { font-size: 17px; }
  .stop__grid { grid-template-columns: 1fr; }
  .stop__figs { grid-template-columns: 1fr 1fr; }
  .has-3d .stop { min-height: 150vh; }
  .has-3d .stop--more { min-height: 170vh; }
  /* 3D on a phone: the panel plays in the top half; the words hold in the bottom half over a scrim */
  .has-3d .stop__copy { position: sticky; top: 47vh; max-width: none; padding: 18px 0 22px; }
  .has-3d .stop__copy::before { content: ""; position: absolute; inset: -7vh -16px -18vh; z-index: -1; background: linear-gradient(180deg, rgba(17, 26, 38, 0), rgba(17, 26, 38, .9) 7vh, rgba(17, 26, 38, .97)); }
  .has-3d .stop__list, .has-3d .stop__copy .muted { display: none; }
  .has-3d .stop__copy h2 { font-size: clamp(42px, 11vw, 54px); margin-bottom: 14px; }
  .has-3d .stop__lede { font-size: 17px; margin-bottom: 16px; }
  .has-3d .scrim { display: none; }
  .has-3d   .stop__copy h2 { font-size: clamp(46px, 12vw, 60px); }
  .stop__lede { font-size: 19px; }
  .work figure, .figs figure { grid-column: span 6; }
  .work figure.w6, .figs figure.w6, .figs figure.w8 { grid-column: span 12; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 14px; }
  .figs, .gallery, .work { gap: 10px; }
  .figs figcaption, .gallery figcaption, .work figcaption { font-size: 13px; }
  .dirlist__head { flex-direction: column; gap: 6px; }
  .rating strong { font-size: 104px; }
  .wall li { grid-template-columns: 1fr auto; }
  .wall time { grid-column: 1 / -1; text-align: left; min-width: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .dirlist ul, .dirlist--three ul, .toc ul { columns: 1; }
  .svc__link { grid-template-columns: auto minmax(0, 1fr); }
  .svc__line { grid-column: 2; }
  .plate { min-height: 0; padding-top: calc(var(--top) + 42vh); }
  .plate__img img { object-position: 74% 30%; }
  .plate__img::after { background: linear-gradient(0deg, rgba(17, 26, 38, .97) 0%, rgba(17, 26, 38, .9) 38%, rgba(17, 26, 38, .25) 62%, rgba(17, 26, 38, .1) 100%); }
  .plate h1 { font-size: clamp(50px, 13.5vw, 72px); }
  .plate__lede { font-size: 18px; }
  .map iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* QA: ?still=<coord> renders one moment of the 3D story with the words hidden */
.still-mode .top, .still-mode main, .still-mode .scrim, .still-mode .foot, .still-mode .skip { visibility: hidden !important; }
.still-mode #world { opacity: 1 !important; transition: none !important; }
