/* GLASSORA — styles
   Fonts: Sofia Sans & Sofia Sans Extra Condensed by Lettersoup (SIL OFL 1.1), self-hosted. */

@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(../fonts/sofia-sans-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(../fonts/sofia-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(../fonts/sofia-sans-extra-condensed-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(../fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Wordmark only: Cinzel (SIL OFL 1.1), subset to the letters of GLASSORA */
@font-face {
  font-family: "Cinzel Glassora";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/cinzel-glassora.woff2) format("woff2");
}

:root {
  --night: #040d20;      /* the card's navy */
  --navy: #0b1d45;
  --blue: #2f86f6;       /* the card's electric blue */
  --accent: #8ccbff;     /* light glass blue, for lines and links on dark */
  --accent-deep: #1557c0;/* the same blue, dark enough for text on light */
  --day: #f1f4f7;        /* brushed aluminium */
  --day-2: #e4e9ef;
  --ink: #0a1733;
  --steel: #4a586a;
  --mist: #a4b3c6;
  --snow: #eef3f8;
  --rule-day: #d2dae3;
  --rule-night: rgba(140, 190, 255, .16);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e6ecf2 46%, #b7c2ce 54%, #eef2f6 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #f1f5f9 38%, #a9b6c4 55%, #eef2f6 74%, #c6d0da 100%);
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wordmark: "Cinzel Glassora", "Trajan Pro", Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;
  /* iPhone notch and home indicator (0 everywhere else) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --header-total: calc(var(--header-h) + var(--safe-top));
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-total);
}
body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font: 400 1.125rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), var(--safe-left)) max(var(--gutter), var(--safe-right));
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; border-radius: 6px;
  background: var(--accent); color: var(--night); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-day :focus-visible { outline-color: var(--accent-deep); }

/* ---------- Type ---------- */
h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3.4rem, 8.4vw, 8.2rem);
  line-height: .9;
  letter-spacing: -.005em;
}
h2 {
  font-family: var(--display);
  font-weight: 340;
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  line-height: .95;
}
h3 {
  font-family: var(--text);
  font-weight: 620;
  font-size: 1.25rem;
  line-height: 1.25;
}
.lead {
  font-size: clamp(1.15rem, 1.45vw, 1.32rem);
  line-height: 1.55;
  color: #d3deea;
  max-width: 34em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 620 1rem/1.15 var(--text);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: var(--chrome);
  color: #071433;
  border-color: rgba(255, 255, 255, .6);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px -12px rgba(47, 134, 246, .8);
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, filter .25s;
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 #fff, 0 14px 34px -10px rgba(47, 134, 246, 1); }
.btn-primary:active { filter: brightness(.94); }
.btn-quiet { background: transparent; color: inherit; border-color: rgba(238, 243, 248, .32); }
.btn-quiet:hover { border-color: rgba(238, 243, 248, .75); }
.btn-sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .94rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: var(--safe-top);
  color: var(--snow);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(4, 13, 32, .92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(140, 203, 255, .12);
}
.header-bar { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; color: var(--snow); text-decoration: none; }
.brand-emblem { width: auto; height: 48px; flex: none; }
.brand-rule { width: 1px; height: 30px; flex: none; background: linear-gradient(180deg, rgba(220, 228, 236, 0), rgba(220, 228, 236, .85), rgba(220, 228, 236, 0)); }
.brand-word, .chrome {
  background: var(--chrome-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.brand-word {
  font: 600 1.45rem/1 var(--wordmark);
  letter-spacing: .07em;
  margin-right: -.07em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
}
.header-phone { color: var(--snow); font-weight: 620; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 560px) {
  .brand-emblem { height: 40px; }
  .brand-rule { height: 24px; }
  .brand-word { font-size: 1.2rem; }
}
@media (max-width: 300px) {
  .header-bar { gap: 1rem; }
  .brand { gap: .6rem; }
  .brand-emblem { height: 34px; }
  .brand-word { font-size: 1.05rem; }
}
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  color: #c5d2e0;
  font-size: .96rem;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.menu-button {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(238, 243, 248, .28);
  border-radius: 6px;
  cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .3s, background-color .3s;
}
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: var(--header-total) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem max(var(--gutter), var(--safe-right)) calc(2rem + var(--safe-bottom)) max(var(--gutter), var(--safe-left));
  overscroll-behavior: contain;
  background: var(--night);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: .45rem 0;
  border-bottom: 1px solid var(--rule-night);
  font: 340 2.5rem/1.1 var(--display);
  text-decoration: none;
}
.mobile-menu-mail { color: var(--mist); text-decoration: none; }
@media (max-width: 980px) {
  .site-nav { display: none; }
  .menu-button { display: inline-flex; }
}
/* Tablets and phones held sideways keep the visit button in the header */
@media (min-width: 761px) and (max-width: 980px) {
  .header-cta { margin-left: auto; }
  .header-cta + .menu-button { margin-left: -1rem; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero: a glass facade on navy, like the business card ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-total) + 3rem) clamp(6.5rem, 11vw, 9.5rem);
  overflow: hidden;
  background: var(--night);
}
.hero > .wrap { width: 100%; }
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  z-index: -2;
  width: 62%;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
/* one pass of light across the glass when the page opens */
.hero-media::after {
  content: "";
  position: absolute;
  inset: -10% -40%;
  background: linear-gradient(110deg, transparent 43%, rgba(255, 255, 255, .26) 50%, transparent 57%);
  transform: translateX(-70%);
  animation: glint 2.6s .6s cubic-bezier(.3, .6, .3, 1) both;
  pointer-events: none;
}
@keyframes glint { to { transform: translateX(70%); } }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(36% 52% at 42% 62%, rgba(47, 134, 246, .16), transparent 70%),
    linear-gradient(90deg, var(--night) 0%, var(--night) 40%, rgba(4, 13, 32, .86) 48%, rgba(4, 13, 32, .36) 62%, rgba(4, 13, 32, 0) 78%),
    linear-gradient(180deg, rgba(4, 13, 32, .72) 0%, rgba(4, 13, 32, 0) 24%),
    linear-gradient(0deg, rgba(4, 13, 32, .7) 0%, rgba(4, 13, 32, 0) 28%);
}
.hero-body { max-width: min(46rem, 56%); }
.hero h1 { max-width: 11em; margin-bottom: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; margin-top: 2.2rem; }

@media (max-width: 760px) {
  /* On phones the photo is a band at the top and the text sits on navy below it */
  .hero { display: block; min-height: 0; padding: 0 0 6rem; }
  .hero-media { position: relative; inset: auto; width: 100%; height: clamp(230px, 36svh, 320px); }
  .hero-media img { object-position: 74% 50%; }
  .hero-shade {
    bottom: auto;
    height: clamp(230px, 36svh, 320px);
    background:
      linear-gradient(0deg, var(--night) 0%, rgba(4, 13, 32, 0) 58%),
      linear-gradient(180deg, rgba(4, 13, 32, .72) 0%, rgba(4, 13, 32, 0) 36%);
  }
  .hero > .wrap { margin-top: -2.2rem; }
  .hero-body { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-media::after { display: none; } }

/* ---------- Light sections ---------- */
.section { position: relative; padding-block: clamp(5rem, 10vw, 9rem); }
.section-day { background: var(--day); color: var(--ink); }
.section-night { background: var(--night); color: var(--snow); }
.section-day .btn-quiet { border-color: rgba(10, 23, 51, .28); }
.section-day .btn-quiet:hover { border-color: rgba(10, 23, 51, .7); }
.section-intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro h2 { margin-bottom: 1.25rem; }
.section-intro p { color: var(--steel); font-size: 1.2rem; max-width: 34em; }

/* The light sections start with the silver and blue wave from the card */
.wave {
  position: absolute;
  left: 0; right: 0; top: 1px;
  z-index: 3;
  width: 100%;
  height: clamp(56px, 8vw, 120px);
  transform: translateY(-100%);
  pointer-events: none;
}

/* Services as one window: panes divided by mullions */
.facade {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #95a4b0 0%, #dce3e8 38%, #b9c5ce 62%, #8494a1 100%);
  box-shadow: 0 50px 90px -60px rgba(10, 23, 51, .55);
}
.facade::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 16%, rgba(255, 255, 255, .7) 21%, transparent 27%, transparent 61%, rgba(255, 255, 255, .5) 64%, transparent 67%);
}
.pane {
  min-height: 12rem;
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fb 50%, #e7ecf2 100%);
}
.pane > * { position: relative; z-index: 1; }
.pane h3 { margin-bottom: .75rem; font-size: 1.3rem; }
.pane p { color: var(--steel); font-size: 1.03rem; line-height: 1.55; max-width: 30em; }
.sectors {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 34em;
  color: var(--ink);
  font: 300 clamp(1.7rem, 2.8vw, 2.5rem)/1.12 var(--display);
}
@media (max-width: 980px) { .facade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .facade { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .facade::after { inset: 8px; }
  .pane { min-height: 0; }
}

/* Before / after */
.section-compare { background: var(--day-2); }
.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.compare-text h2 { margin-bottom: 1.25rem; }
.compare-text > p { color: var(--steel); font-size: 1.15rem; max-width: 28em; }
.checklist { display: grid; gap: .85rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 2rem; font-size: 1.05rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .1rem; top: .38em;
  width: 1rem; height: .5rem;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.compare-frame {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: 10px;
  background: #b9c5ce;
  box-shadow: 0 50px 90px -55px rgba(10, 23, 51, .6);
  touch-action: pan-y;
  cursor: ew-resize;
  -webkit-user-select: none;
  user-select: none;
}
.compare-img, .compare-grime {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare-before .compare-img { filter: saturate(.72) brightness(.94) contrast(.94); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 0; pointer-events: none; }
.compare-handle::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 23, 51, .12), 0 0 18px rgba(255, 255, 255, .65);
}
.compare-handle span {
  position: absolute; top: 50%; left: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(10, 23, 51, .3);
}
.compare-handle svg { width: 20px; height: 20px; }
.compare-frame:has(.compare-range:focus-visible) .compare-handle span { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.compare-tag {
  position: absolute; top: 1rem;
  padding: .3rem .65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  font-size: .85rem; font-weight: 620;
  pointer-events: none;
}
.compare-tag-before { left: 1rem; }
.compare-tag-after { right: 1rem; }
.compare-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 900px) { .compare-layout { grid-template-columns: 1fr; } }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process li { position: relative; padding-top: 5.4rem; border-top: 1px solid var(--rule-day); counter-increment: step; }
.process li::before {
  content: counter(step);
  position: absolute; top: 1.1rem; left: 0;
  color: var(--accent-deep);
  font: 300 3.5rem/1 var(--display);
}
.process h3 { margin-bottom: .6rem; }
.process p { color: var(--steel); font-size: 1.03rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* What to expect */
.section-promise { background: var(--day-2); }
.promise-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.promise-quote {
  margin-top: 2rem;
  max-width: 15em;
  color: var(--accent-deep);
  font: 300 clamp(1.8rem, 2.6vw, 2.5rem)/1.12 var(--display);
}
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.promises div { padding: 1.5rem 0 1.7rem; border-top: 1px solid var(--rule-day); }
.promises dt { margin-bottom: .45rem; font-weight: 620; font-size: 1.15rem; }
.promises dd { color: var(--steel); }
@media (max-width: 900px) { .promise-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq-layout h2 { position: sticky; top: calc(var(--header-total) + 2rem); }
.faq details { border-top: 1px solid var(--rule-day); }
.faq details:last-child { border-bottom: 1px solid var(--rule-day); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 620;
  font-size: 1.15rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-deep); }
.faq details p { max-width: 40em; padding-bottom: 1.6rem; color: var(--steel); }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout h2 { position: static; }
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.contact-text h2 { margin-bottom: 1.25rem; }
.contact-text > p { max-width: 28em; color: var(--mist); font-size: 1.15rem; }
.contact-list { display: grid; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.contact-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule-night);
  overflow-wrap: anywhere;
}
.contact-list li > span:first-child { color: var(--mist); font-size: .95rem; }
.contact-list a { position: relative; text-decoration: none; border-bottom: 1px solid rgba(140, 203, 255, .45); }
.contact-list a::after { content: ""; position: absolute; inset: -8px -6px; } /* a finger-sized tap area */
.contact-list a:hover { border-bottom-color: var(--accent); }

.quote-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--rule-night);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}
.field { display: grid; gap: .45rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .chips legend { color: #c5d2e0; font-size: .92rem; }
.opt { color: var(--mist); }
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid rgba(140, 203, 255, .24);
  border-radius: 6px;
  background: rgba(3, 10, 26, .65);
  color: var(--snow);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238ccbff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.quote-form select option { background: #040d20; color: var(--snow); }
.quote-form textarea { resize: vertical; min-height: 7.5rem; }
.quote-form ::placeholder { color: #7f91a3; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140, 203, 255, .2);
}
.chips { margin: 0; padding: 0; border: 0; }
.chips legend { margin-bottom: .45rem; padding: 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips span {
  display: inline-block;
  padding: .55rem .95rem;
  border: 1px solid rgba(140, 203, 255, .26);
  border-radius: 6px;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chips label:hover span { border-color: rgba(140, 203, 255, .6); }
.chips input:checked + span { background: var(--chrome); border-color: rgba(255, 255, 255, .6); color: #071433; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: .75rem; color: var(--mist); font-size: .92rem; line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--accent); }
.consent a { color: var(--snow); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { color: var(--accent); font-size: .98rem; }
.form-status.is-error { color: #f4b9aa; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .quote-form { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--rule-night);
  background: var(--night);
  color: var(--mist);
  font-size: .98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 2rem;
}
.footer-brand p { max-width: 26em; margin-top: 1.1rem; }
.lockup { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.lockup .brand-emblem { height: 64px; }
.lockup .brand-rule { height: 48px; }
.lockup-text { display: grid; gap: .45rem; }
.lockup .brand-word { font-size: 1.9rem; }
.lockup-tag {
  display: flex; align-items: center; gap: .6rem;
  color: #c5d2e0;
  font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.lockup-tag::before, .lockup-tag::after { content: ""; width: 1.1rem; height: 1px; background: rgba(220, 228, 236, .6); }
/* On phones the tagline moves under the emblem and wordmark, so the lockup never runs wider than the screen. */
@media (max-width: 440px) {
  .lockup {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    grid-template-areas: "emblem rule word" "tag tag tag";
    align-items: center;
    column-gap: .9rem;
    row-gap: .8rem;
    max-width: 100%;
  }
  .lockup-text { display: contents; }
  .lockup .brand-emblem { grid-area: emblem; height: 56px; }
  .lockup .brand-rule { grid-area: rule; height: 42px; }
  .lockup .brand-word { grid-area: word; font-size: 1.75rem; }
  .lockup-tag { grid-area: tag; }
}
@media (max-width: 340px) {
  .lockup { column-gap: .7rem; }
  .lockup .brand-emblem { height: 46px; }
  .lockup .brand-rule { height: 36px; }
  .lockup .brand-word { font-size: 1.45rem; }
  .lockup-tag { gap: .45rem; letter-spacing: .16em; }
  .lockup-tag::before, .lockup-tag::after { width: .7rem; }
}
.footer-slogan { color: var(--snow); font: 340 1.45rem/1.15 var(--display); }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.site-footer a { color: #c5d2e0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .9rem;
}
.footer-base::before {
  content: "";
  position: absolute;
  top: 0; left: max(var(--gutter), var(--safe-left)); right: max(var(--gutter), var(--safe-right));
  height: 1px;
  background: var(--rule-night);
}
@media (min-width: 761px) and (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: calc(6.5rem + var(--safe-bottom)); }
  /* Taller links so each one is easy to hit with a finger */
  .footer-nav, .footer-contact { gap: 0; }
  .footer-nav a, .footer-contact a { padding-block: .6rem; }
  .footer-base a { padding-block: .7rem; margin-block: -.7rem; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: calc(.75rem + var(--safe-left)); right: calc(.75rem + var(--safe-right)); bottom: calc(.75rem + var(--safe-bottom));
  z-index: 40;
  display: none;
  gap: .5rem;
  padding: .5rem;
  border: 1px solid var(--rule-night);
  border-radius: 10px;
  background: rgba(4, 13, 32, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(calc(100% + 1.5rem + var(--safe-bottom)));
  transition: transform .35s ease;
}
.mobile-bar.is-visible { transform: none; }
.menu-open .mobile-bar,
.mobile-bar.is-typing { transform: translateY(calc(100% + 1.5rem + var(--safe-bottom))); }
.mobile-bar .btn { flex: 1 1 auto; min-height: 46px; padding-inline: .75rem; }
@media (max-width: 350px) { .mobile-bar .btn { padding-inline: .6rem; font-size: .94rem; } }
.mobile-bar .btn-quiet { color: var(--snow); }
@media (max-width: 760px) { .mobile-bar { display: flex; } }

/* ---------- Simple pages (privacy, thanks, 404) ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; padding-block: calc(var(--header-total) + 4rem) 5rem; }
.page-simple .site-header { background: rgba(4, 13, 32, .92); border-bottom-color: rgba(140, 203, 255, .12); }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 2.6rem 0 .8rem; }
.prose p, .prose li { color: #d3deea; }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose a { color: var(--accent); }
.prose .note { color: var(--mist); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Phones and contact details added from the business card */
.contact-phones { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; }
.mobile-menu-contact { display: grid; gap: .55rem; }
.mobile-menu-contact a { color: var(--mist); text-decoration: none; }
.mobile-menu-contact a[href^="tel"] { color: var(--snow); font-size: 1.15rem; font-weight: 620; }
.nowrap { white-space: nowrap; }
