/* Aspiring Kitchens & Bathrooms. Their navy glowing on near-black, beside warm stone-white. System sans only. */
:root {
  --night: #0c0f17; --night2: #141a27; --paper: #f3f1ec; --paper2: #e8e3da;
  --text: #161a23; --muted: #585e6c; --blue: #184392; --blue-deep: #10306c; --glow: #8ea8f2; --on-night: #e9ebf1; --muted-night: #a9b1c3;
  --line: rgba(22, 26, 35, .14); --line-night: rgba(233, 235, 241, .16);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 64px); --max: 1240px; --bar: 64px;
  --sweep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M4 34C160 30 380 18 596 4' fill='none' stroke='%238ea8f2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.no-js .tool-room[hidden] { display: block !important; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.night { background: var(--night); color: var(--on-night); }
.paper { background: var(--paper); }
.sec { padding: clamp(52px, 11vw, 140px) 0; }

/* type: one big, confident sans */
.mega { font-size: clamp(2.7rem, 9.2vw, 7rem); line-height: .95; font-weight: 800; letter-spacing: -.035em; margin: 0 0 .3em; text-wrap: balance; }
.h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; margin: 0 0 .5em; text-wrap: balance; }
.h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.08; font-weight: 750; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
.lead { font-size: clamp(1.15rem, 2.1vw, 1.4rem); line-height: 1.45; }
.kicker { font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1em; }
.kicker.glow, .night .kicker, .foot .kicker { color: var(--glow); }
.night .lead, .night p { color: var(--on-night); }
.night .trust, .night .fine { color: var(--muted-night); }
.fine { font-size: .875rem; color: var(--muted); }
.arrow { display: inline-flex; gap: .5em; align-items: baseline; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-right: 1.6em; }
.arrow::after { content: "→"; transition: transform .25s ease; }
.arrow:hover::after { transform: translateX(4px); }
.night .arrow { color: var(--glow); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; font: 650 1rem var(--sans); text-decoration: none; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: background .2s, box-shadow .3s, border-color .2s; }
.btn-glow { background: var(--blue); color: #fff; box-shadow: 0 0 0 1px #3d64c6, 0 10px 40px rgba(46, 96, 214, .45); }
.btn-glow:hover { background: #1d50ad; box-shadow: 0 0 0 1px #5b7fd8, 0 12px 50px rgba(70, 120, 235, .6); }
.btn-ghost, .btn-line { color: var(--on-night); border-color: var(--line-night); background: transparent; }
.btn-ghost:hover, .btn-line:hover { border-color: var(--glow); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }

/* header */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 12px var(--pad); background: rgba(243, 241, 236, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: padding .3s ease, border-color .3s; }
.scrolled .top { padding-top: 6px; padding-bottom: 6px; border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 46px; transition: height .3s ease; }
.scrolled .brand img { height: 36px; }
.brand span { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.25; max-width: 9em; }
.nav-wide { display: none; gap: 22px; font-size: .95rem; }
.nav-wide a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-wide a:hover, .nav-wide a[aria-current] { border-bottom-color: var(--blue); }
.top-call { display: none; font-weight: 750; text-decoration: none; color: var(--blue); white-space: nowrap; }
.menu summary { list-style: none; cursor: pointer; font-weight: 650; padding: 10px 14px; border: 1px solid var(--line); border-radius: 2px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; display: grid; }
.menu nav a { padding: 12px 0; font-size: 1.25rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .nav-wide, .top-call { display: flex; } .menu { display: none; } }

/* phone bar: the number never leaves the screen */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.35fr 1fr; height: var(--bar); background: var(--night); border-top: 1px solid var(--line-night); transition: box-shadow .3s, background .3s; padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; }
.callbar-call { background: var(--blue); }
.callbar-call svg { width: 18px; fill: currentColor; }
.raised .callbar { box-shadow: 0 -10px 30px rgba(12, 15, 23, .35); }
.raised .callbar-call { box-shadow: inset 0 0 24px rgba(142, 168, 242, .35); }
body { padding-bottom: var(--bar); }
@media (min-width: 1100px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* home hero: one detail done properly, before anything is explained */
.hero { position: relative; min-height: calc(100svh - 74px - var(--bar)); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: push 14s cubic-bezier(.2, .6, .2, 1) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 15, 23, .05) 0%, rgba(12, 15, 23, .2) 35%, rgba(12, 15, 23, .92) 72%, var(--night) 100%), radial-gradient(120% 60% at 15% 100%, rgba(24, 67, 146, .55), transparent 70%); }
.hero-text { padding: 0 var(--pad) clamp(32px, 6vh, 64px); max-width: 760px; }
.hero .mega { font-size: clamp(2.35rem, 10.2vw, 6.4rem); margin-bottom: .15em; }
.hero .lead { font-size: 1.08rem; margin-bottom: .6em; }
.hero .kicker { margin-bottom: .8em; }
@media (max-width: 1099px) { .hero-btns .btn-glow { display: none; } }
.sweep { width: min(78%, 460px); height: 22px; margin: 0 0 .9rem; overflow: visible; }
.sweep path { fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 1.8s .5s cubic-bezier(.6, 0, .2, 1) forwards; filter: drop-shadow(0 0 6px rgba(142, 168, 242, .8)); }
.trust { font-size: .86rem; margin-bottom: 1.1rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-cap { position: absolute; right: var(--pad); top: 20px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin: 0; }
@media (min-width: 900px) {
  .hero .lead { font-size: 1.3rem; }
  .hero { grid-template-columns: 1fr 1fr; align-items: center; min-height: calc(100vh - 70px); }
  .hero-photo { position: relative; grid-column: 2; grid-row: 1; height: 100%; min-height: calc(100vh - 70px); z-index: 0; }
  .hero-text { grid-column: 1; grid-row: 1; padding: 64px var(--pad); max-width: 720px; }
  .hero::before { background: radial-gradient(70% 70% at 12% 85%, rgba(24, 67, 146, .6), transparent 70%); }
  .hero .mega { font-size: clamp(3.4rem, 6.4vw, 6.6rem); }
  .hero-cap { right: 24px; top: auto; bottom: 20px; }
}
@keyframes push { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* the tool */
.tool-intro { max-width: 760px; margin-bottom: 28px; }
.tool-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tool-tabs button { font: 700 1rem var(--sans); background: none; border: 0; padding: 12px 18px; min-height: 48px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tool-tabs [aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.no-js .tool-tabs { display: none; }
.no-js .tool-room[hidden] { display: block; margin-top: 48px; }
.tool-photo { position: relative; margin: 0; }
.pan { overflow-x: auto; scroll-snap-type: none; border-radius: 2px; scrollbar-width: none; }
.pan::-webkit-scrollbar { display: none; }
.stage { position: relative; width: 175%; }
.no-js .stage { width: 100%; }
.stage img { width: 100%; }
.pan-hint { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
@media (min-width: 700px) { .stage { width: 100%; } .pan-hint { display: none; } }
.tool-photo figcaption, figcaption { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.spots { margin: 22px 0 0; padding-left: 1.4em; columns: 2 300px; column-gap: 40px; }
.spots li { break-inside: avoid; margin-bottom: 14px; }
.spots b { display: block; }
.js .spots { display: none; }
.dot { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: rgba(12, 15, 23, .55); border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); transition: transform .25s, background .25s; }
.dot::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: ping 2.8s ease-out infinite; animation-delay: calc(var(--i) * .2s); }
.dot.kept::before { background: var(--blue); border-color: #fff; box-shadow: 0 0 0 4px rgba(142, 168, 242, .55), 0 2px 10px rgba(0, 0, 0, .35); }
.dot[aria-expanded="true"]::before { transform: scale(1.35); background: #fff; border-color: var(--blue); }
.dot:hover::before { transform: scale(1.2); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(2.2); opacity: 0; } }
.tool-card { margin-top: 18px; padding: 22px 22px 18px; background: #fff; border-left: 3px solid var(--blue); box-shadow: 0 10px 40px rgba(22, 26, 35, .08); }
.tool-card .n { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-bottom: .5em; }
.tool-card h3 { font-size: 1.45rem; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .4em; }
.tool-card .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.keep { min-height: 46px; padding: 0 18px; font: 700 .95rem var(--sans); border: 1px solid var(--blue); background: #fff; color: var(--blue); border-radius: 2px; cursor: pointer; }
.keep[aria-pressed="true"] { background: var(--blue); color: #fff; }
.nextdot { min-height: 46px; padding: 0 14px; font: 650 .95rem var(--sans); border: 0; background: none; color: var(--text); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.tool-list { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px 18px; background: var(--night); color: var(--on-night); border-radius: 2px; }
.tool-list p { margin: 0; font-weight: 650; }
.tool-list #tool-count { color: var(--glow); font-size: 1.3em; }
@media (min-width: 1100px) {
  .tool .wrap { display: grid; grid-template-columns: 1fr 340px; grid-template-rows: auto auto auto 1fr; column-gap: 40px; }
  .tool-intro, .tool-tabs { grid-column: 1 / -1; }
  .tool-room { grid-column: 1; grid-row: 3 / span 2; }
  .tool-card { grid-column: 2; grid-row: 3; align-self: start; margin-top: 0; }
  .tool-list { grid-column: 2; grid-row: 4; align-self: start; }
}

/* stone, edge on */
.edge-grid { display: grid; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); align-items: center; }
.edge-photo { margin: 0 calc(var(--pad) * -1); }
.edge-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) { .edge-photo img { aspect-ratio: 4 / 5; } }
.edge-photo figcaption { padding: 0 var(--pad); color: var(--muted-night); }
.edge .mega { font-size: clamp(3.4rem, 14vw, 9rem); text-shadow: 0 0 40px rgba(46, 96, 214, .55); }
@media (min-width: 900px) { .edge-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .edge-photo { margin: 0; } .edge-photo figcaption { padding: 0; } }

/* rows that swipe on a phone */
.row { list-style: none; margin: 0; padding: 0 var(--pad) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); scrollbar-width: thin; }
.row { scroll-padding-inline: var(--pad); }
.row > li { scroll-snap-align: start; }
.card { display: block; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.card:hover img { transform: scale(1.02); }
.card-t { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 1.2rem; font-weight: 750; letter-spacing: -.01em; }
.card-t::after { content: "→"; color: var(--blue); }
@media (min-width: 900px) { .row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding: 0; gap: 24px; } }
[data-vt="room-bathrooms"] { view-transition-name: room-bathrooms; }
[data-vt="room-kitchens"] { view-transition-name: room-kitchens; }
[data-vt="room-laundries"] { view-transition-name: room-laundries; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .6, .2, 1); }
::view-transition-old(root) { animation: .35s ease both vt-out; }
::view-transition-new(root) { animation: .45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: perspective(1200px) translateZ(-60px); } }
@keyframes vt-in { from { opacity: 0; transform: perspective(1200px) translateZ(40px); } }

/* Mark */
.mark-grid { display: grid; gap: 36px; align-items: center; }
.mark-photo { margin: 0; max-width: 200px; }
.mark-photo img { border-radius: 2px; filter: grayscale(.15) contrast(1.05); }
.quote { margin: 0 0 1.4em; }
.quote p { font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.12; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
.quote footer { color: var(--glow); font-weight: 650; }
@media (min-width: 900px) { .mark-grid { grid-template-columns: 340px 1fr; gap: 72px; } }

/* coast */
.map-pan { overflow-x: auto; margin: 12px calc(var(--pad) * -1) 28px; padding: 0 var(--pad); scrollbar-width: none; }
.map-pan::-webkit-scrollbar { display: none; }
.coast-map { width: 100%; min-width: 860px; }
@media (min-width: 900px) { .map-pan { margin-inline: 0; padding: 0; } .coast-map { min-width: 0; } }
.links { display: flex; flex-wrap: wrap; row-gap: 14px; }

/* inner page heads */
.phero { position: relative; min-height: 62svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.phero-photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
.phero-photo img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(12, 15, 23, .88) 85%), radial-gradient(80% 50% at 10% 100%, rgba(24, 67, 146, .5), transparent 70%); }
.phero-text { width: 100%; padding-bottom: clamp(28px, 6vw, 64px); }
.ptitle .mega::after, .phero .mega::after { content: ""; display: block; width: min(60%, 380px); height: 22px; margin-top: .25em; background: var(--sweep) no-repeat 0 0 / 100% 100%; filter: drop-shadow(0 0 6px rgba(142, 168, 242, .7)); }
.ptitle { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 8vw, 100px); background: radial-gradient(70% 90% at 0% 100%, rgba(24, 67, 146, .45), transparent 70%), var(--night); }
.phone-big { text-decoration: none; }
.intro .lead { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; letter-spacing: -.01em; }

/* galleries */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid figure { margin: 0; }
.grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.grid figcaption { font-size: .68rem; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.next-grid { display: grid; gap: 2px; }
.next-a { display: block; padding: 28px 0; text-decoration: none; border-top: 1px solid var(--line-night); }
.next-a .h2 { display: block; margin: 0; }
.next-a:hover .h2 { color: var(--glow); }
@media (min-width: 900px) { .next-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.mitre-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .mitre-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 1.15rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--blue); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* our rooms: an index of homes */
.job { padding: 44px 0; border-top: 1px solid var(--line); }
.job-head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.job-n { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; grid-row: span 2; }
.job-head .h2 { margin: 0; }
.job-when { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.job-text { max-width: 720px; margin: 18px 0 22px; }
.job-row { grid-auto-columns: 78%; }
.job-row figure { margin: 0; }
.job-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
@media (min-width: 900px) { .job-row { grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); grid-template-columns: none; overflow-x: auto; } }

/* what happens when */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { padding: clamp(48px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.step:nth-child(even) { background: var(--paper2); }
.step-grid { display: grid; gap: 24px; align-items: center; }
.step-n { font-size: clamp(3.4rem, 10vw, 6rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--blue); margin: 0 0 .1em; }
.step-art { width: 100%; background: #f7f5f0; border: 1px solid var(--line); }
@media (min-width: 900px) { .step-grid { grid-template-columns: 1fr 1.35fr; gap: 64px; } }

/* about */
.about-grid { display: grid; gap: 40px; align-items: end; }
.about-photo { margin: 0; max-width: 360px; }
.about-photo figcaption { color: var(--muted-night); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.prose h2 { margin-top: 1.6em; }

/* forms */
.form, .drawer-form { display: grid; gap: 6px; }
label { font-weight: 650; font-size: .95rem; margin-top: 10px; }
input, textarea { font: 400 1.05rem var(--sans); padding: 13px 14px; border: 1px solid #b9b4aa; border-radius: 2px; background: #fff; color: var(--text); width: 100%; }
textarea { resize: vertical; min-height: 120px; }
.form .btn, .drawer-form .btn { margin-top: 10px; justify-self: start; }
.contact-grid { display: grid; gap: 48px; }
.contact-facts p:not(.kicker) { font-size: 1.1rem; margin-bottom: 1.4em; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; } }

/* the quote form rises over the page */
.drawer { width: min(600px, 100%); max-width: 100%; max-height: 92svh; margin: auto auto 0; padding: 0; border: 0; border-radius: 10px 10px 0 0; background: var(--paper); color: var(--text); transform: translateY(102%); transition: transform .45s cubic-bezier(.2, .7, .2, 1), overlay .45s allow-discrete, display .45s allow-discrete; }
.drawer.show { transform: none; }
.drawer::backdrop { background: rgba(12, 15, 23, .55); backdrop-filter: blur(3px); }
.drawer-form { padding: 22px var(--pad) 28px; overflow: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.drawer-head h2 { font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.drawer-x { width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; border: 0; background: none; cursor: pointer; color: var(--text); }
.drawer-lead { color: var(--muted); margin: 6px 0 4px; }
@media (min-width: 700px) { .drawer { margin-bottom: auto; border-radius: 6px; } }

/* footer */
.foot { background: var(--night); color: var(--on-night); padding: clamp(48px, 10vw, 120px) var(--pad) 28px; }
.foot-call { max-width: var(--max); margin: 0 auto 40px; }
.foot-big { font-size: clamp(2.6rem, 9vw, 6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: .35em; }
.foot-big a { text-decoration: none; text-shadow: 0 0 40px rgba(46, 96, 214, .6); }
.foot-big a::after { content: ""; display: block; width: min(70%, 420px); height: 22px; background: var(--sweep) no-repeat 0 0 / 100% 100%; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 20px 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding-top: 32px; border-top: 1px solid var(--line-night); font-size: .95rem; }
.foot-grid p { color: var(--muted-night); }
.foot-grid nav { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 16px; grid-column: 1 / -1; }
.foot-grid nav .kicker { flex-basis: 100%; margin: 0; }
@media (min-width: 900px) { .foot-grid nav { display: grid; grid-column: auto; gap: 8px; } }
.foot-grid nav a { color: var(--muted-night); text-decoration: none; }
.foot-grid nav a:hover { color: #fff; }
.ack { max-width: var(--max); margin: 40px auto 0; font-size: .85rem; color: var(--muted-night); }
.credit { max-width: var(--max); margin: 18px auto 0; font-size: .8rem; }
.credit a { color: var(--muted-night); }

/* arrivals, only when scripts run */
.reveal.pre { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .6, .2, 1); }
.reveal.pre.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sweep path { stroke-dashoffset: 0; }
  .reveal.pre { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
