/* ---- 00-tokens.css ---- */
/* Harbor Lake Apartments - design tokens.
   Palette: "Lake ink + fog + buoy". One accent (buoy orange) used for the
   primary action only. Radius rule: pills for anything you press, 22px for
   cards and photos, 12px for inputs. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* surfaces */
  --bg: #f1f4f3;
  --surface: #fafbfa;
  --surface-2: #e5ebe9;
  --surface-3: #d7e0de;

  /* text */
  --ink: #0e2830;
  --ink-2: #41565c;
  --ink-3: #566b71;

  /* brand */
  --brand: #11475a;          /* brand-colored text, icons, links */
  --brand-tint: #dbe7e9;     /* soft brand fill */
  --panel: #0f3f50;          /* deep fill that stays dark in both themes */
  --panel-2: #0a303d;
  --panel-ink: #f2f7f6;
  --panel-ink-2: #b9cfd3;
  --panel-line: rgb(242 247 246 / 0.16);

  /* solid brand button: deep lake on light, pale lake on dark, so it never sinks into the page */
  --brand-solid: #0f3f50;
  --brand-solid-hover: #0a303d;
  --brand-solid-ink: #f2f7f6;
  --brand-solid-puck: rgb(255 255 255 / 0.16);

  /* the one accent */
  --accent: #c2441e;
  --accent-hover: #a63816;
  --accent-ink: #ffffff;
  --accent-tint: #f6e3db;

  /* feedback */
  --ok: #1d6b4f;
  --ok-tint: #dcebe4;
  --danger: #b3261e;
  --danger-tint: #f8e1de;

  /* lines and depth */
  --line: rgb(14 40 48 / 0.12);
  --line-strong: rgb(14 40 48 / 0.24);
  --field-line: #76898f;     /* input and choice outlines: 3:1 against the surface */
  --shell: rgb(14 40 48 / 0.05);
  --shadow-soft: 0 1px 1px rgb(10 48 61 / 0.03), 0 10px 22px -12px rgb(10 48 61 / 0.14), 0 30px 60px -30px rgb(10 48 61 / 0.22);
  --shadow-lift: 0 2px 3px rgb(10 48 61 / 0.04), 0 18px 36px -18px rgb(10 48 61 / 0.2), 0 48px 90px -40px rgb(10 48 61 / 0.35);
  --inner-light: inset 0 1px 0 rgb(255 255 255 / 0.75);
  --edge: inset 0 0 0 1px rgb(255 255 255 / 0.55);
  --glass: rgb(250 251 250 / 0.78);

  /* photo overlays never change with theme */
  --on-photo: #f4f8f7;
  --on-photo-2: rgb(244 248 247 / 0.82);
  --photo-scrim: 6 24 30;

  /* radius */
  --r-card: 26px;
  --r-inner: 18px;
  --r-input: 12px;
  --r-pill: 999px;
  --r-hero: clamp(24px, 3vw, 40px);

  /* type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --t-hero: clamp(3rem, 1.3rem + 7vw, 6.4rem);
  --t-h1: clamp(2.6rem, 1.45rem + 4.2vw, 4.4rem);
  --t-h2: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem);
  --t-h3: clamp(1.55rem, 1.3rem + 1vw, 2.05rem);
  --t-lead: clamp(1.1rem, 1.02rem + 0.45vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  /* space */
  --gutter: clamp(1.125rem, 0.4rem + 3vw, 2.5rem);
  --wrap: 1280px;
  --wrap-narrow: 820px;
  --section: clamp(5.5rem, 3rem + 9.5vw, 11.5rem);
  --nav-h: 64px;
  --nav-top: 12px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.32, 0.72, 0, 1);

  /* layers */
  --z-header: 40;
  --z-menu: 39;
  --z-skip: 60;
}

@media (min-width: 900px) {
  :root {
    --nav-h: 70px;
    --nav-top: 18px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08181d;
    --surface: #0e242b;
    --surface-2: #143039;
    --surface-3: #1c3d47;

    --ink: #e6eeec;
    --ink-2: #aebfc2;
    --ink-3: #93a8ac;

    --brand: #8dc8d4;
    --brand-tint: #15343e;
    --panel: #0f3644;
    --panel-2: #0b2a35;

    --brand-solid: #9ad0da;
    --brand-solid-hover: #b4dde5;
    --brand-solid-ink: #08181d;
    --brand-solid-puck: rgb(8 24 29 / 0.14);

    --accent: #e46a3e;
    --accent-hover: #ee7f56;
    --accent-ink: #0a1a1f;
    --accent-tint: #3a2119;

    --ok: #7fd0ad;
    --ok-tint: #12322a;
    --danger: #f2998f;
    --danger-tint: #3b1a17;

    --field-line: #627c83;
    --line: rgb(230 238 236 / 0.13);
    --line-strong: rgb(230 238 236 / 0.26);
    --shell: rgb(230 238 236 / 0.05);
    --shadow-soft: 0 1px 1px rgb(0 0 0 / 0.2), 0 12px 26px -12px rgb(0 0 0 / 0.45), 0 30px 60px -30px rgb(0 0 0 / 0.6);
    --shadow-lift: 0 2px 3px rgb(0 0 0 / 0.25), 0 20px 40px -18px rgb(0 0 0 / 0.55), 0 48px 90px -40px rgb(0 0 0 / 0.7);
    --inner-light: inset 0 1px 0 rgb(255 255 255 / 0.07);
    --edge: inset 0 0 0 1px rgb(255 255 255 / 0.06);
    --glass: rgb(14 36 43 / 0.78);
  }
}

/* ---- 10-base.css ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--nav-top) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.012em;
  font-variant-numeric: lining-nums;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.006em; font-weight: 600; }
h4 { font-size: 1.35rem; line-height: 1.2; letter-spacing: 0; font-weight: 600; }

/* a quiet italic for emphasis inside display type */
em.soft {
  font-style: italic;
  font-weight: 500;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

strong {
  font-weight: 650;
}

::selection {
  background: var(--brand);
  color: var(--bg);
}

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: var(--z-skip);
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus {
  transform: none;
}

/* icons: Phosphor Regular, inlined at build time */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75rem; height: 1.75rem; }
.icon--xl { width: 2.25rem; height: 2.25rem; }

/* tabular money */
.num {
  font-variant-numeric: tabular-nums lining-nums;
}

/* scroll reveal. Content is visible without JS; the .js class is added by boot.js. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.992);
  transition: opacity 1.15s var(--ease-out), transform 1.15s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 95ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-group] > *:nth-child(2) { --reveal-i: 1; }
[data-reveal-group] > *:nth-child(3) { --reveal-i: 2; }
[data-reveal-group] > *:nth-child(4) { --reveal-i: 3; }
[data-reveal-group] > *:nth-child(5) { --reveal-i: 4; }
[data-reveal-group] > *:nth-child(6) { --reveal-i: 5; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---- 20-layout.css ---- */
/* ---------- containers and rhythm ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - (var(--gutter) * 2), var(--wrap-narrow));
}

.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: calc(var(--section) * 0.62);
}
.section--flush-top {
  padding-top: 0;
}
.section--tint {
  background: var(--surface-2);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin-bottom: clamp(2.75rem, 1.75rem + 3.5vw, 5rem);
}
.section-head::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  margin-bottom: 0.25rem;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 0%, transparent));
}
.section-head > .eyebrow + h2 {
  margin-top: -0.35rem;
}
.section-head:has(> .eyebrow)::before {
  display: none;
}
.section-head--center::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.section-head p {
  color: var(--ink-2);
  font-size: var(--t-lead);
  line-height: 1.55;
  max-width: 40rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.lead {
  color: var(--ink-2);
  font-size: var(--t-lead);
  line-height: 1.5;
}

/* spacer before the closing call-to-action when the section above has its own background */
.cta-gap {
  height: var(--section);
}

.stack > * + * {
  margin-top: var(--stack, 1rem);
}

/* ---------- header: floating island ---------- */
.site-header {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: var(--z-header);
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 20px, 1180px);
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 8px 0 10px;
  border-radius: var(--r-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 0 1px var(--line), var(--inner-light), 0 12px 30px -18px rgb(10 48 61 / 0.3), 0 30px 60px -30px rgb(10 48 61 / 0.25);
  transition: box-shadow 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
}

@media (prefers-reduced-transparency: reduce) {
  .nav-island,
  .menu {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding-right: 0.5rem;
  text-decoration: none;
  border-radius: var(--r-pill);
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.04);
}
.brand__text {
  display: grid;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
  line-height: 0.95;
  color: var(--ink);
}
.brand__sub {
  margin-top: 0.3rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* logo mark colours (inline SVG) */
.mark-tile { fill: var(--panel); }
.mark-line { fill: none; stroke: var(--panel-ink); stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.mark-dot { fill: var(--accent); }

.nav {
  display: none;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.97rem;
  font-weight: 540;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.nav__list a:hover {
  color: var(--ink);
  background: var(--shell);
}
.nav__list a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease-out);
}
.nav-phone:hover {
  background: var(--shell);
}
.nav-phone .icon {
  color: var(--brand);
}
.nav-actions .nav-apply {
  display: none;
}

.nav-call {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--surface-2);
  text-decoration: none;
}

.nav-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  transition: transform 0.4s var(--ease-press);
}
.nav-toggle:active {
  transform: scale(0.94);
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.55s var(--ease-press);
}
.nav-toggle span:nth-child(1) { transform: translateY(-4px); }
.nav-toggle span:nth-child(2) { transform: translateY(3px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(-1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-1px) rotate(-45deg); }

@media (min-width: 400px) {
  .nav-island { padding-left: 12px; }
}

@media (max-width: 379px) {
  .brand__sub { display: none; }
}

@media (min-width: 1000px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .nav-actions .nav-apply { display: inline-flex; }
  .nav-island { padding: 0 10px 0 14px; }
}
@media (min-width: 1180px) {
  .nav-phone { display: inline-flex; }
  .nav-call { display: none; }
}

/* without JavaScript the menu button cannot open anything; the footer carries every link */
html:not(.js) .nav-toggle {
  display: none;
}

/* ---------- mobile menu: full-screen glass overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--nav-h) + var(--nav-top) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease-out), visibility 0s;
}
.menu__list {
  display: grid;
}
.menu__list li {
  overflow: hidden;
}
.menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-block: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 4.2vw, 3.3rem);
  font-weight: 560;
  letter-spacing: -0.008em;
  line-height: 1.05;
  text-decoration: none;
  color: var(--ink);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}
.menu__list a .icon {
  color: var(--ink-3);
  width: 1.5rem;
  height: 1.5rem;
}
.menu__list a[aria-current="page"] {
  color: var(--brand);
}
.menu.is-open .menu__list a {
  transform: none;
  opacity: 1;
}
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: 0.06s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.11s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.16s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.21s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 0.26s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: 0.31s; }
.menu__foot {
  display: grid;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out) 0.3s, transform 0.6s var(--ease-out) 0.3s;
}
.menu.is-open .menu__foot {
  opacity: 1;
  transform: none;
}
.menu__contact {
  display: grid;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--t-small);
}
.menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
@media (min-width: 1000px) {
  .menu { display: none; }
}

/* ---------- footer ---------- */
.site-footer {
  margin: 0 10px 10px;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 1.75rem;
  border-radius: var(--r-hero);
  background: var(--panel-2);
  color: var(--panel-ink-2);
}
.footer__top {
  display: grid;
  gap: 2.75rem;
}
.footer__brand {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  max-width: 26rem;
}
.footer__brand .brand__name { color: var(--panel-ink); font-size: 1.9rem; }
.footer__brand .brand__sub { color: var(--panel-ink-2); }
.footer__brand .mark-tile { fill: var(--panel-ink); }
.footer__brand .mark-line { stroke: var(--panel-2); }
.footer__blurb {
  font-size: var(--t-small);
  line-height: 1.6;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.footer__col h2 {
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-ink-2);
}
.footer__col li a,
.footer__col li span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--panel-ink);
  text-decoration: none;
  font-weight: 500;
}
.footer__col li a {
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 11px) / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.footer__col li a:hover {
  background-size: 100% 1px;
}
.footer__col--contact {
  grid-column: 1 / -1;
}
.footer__col--contact address {
  color: var(--panel-ink);
  line-height: 1.5;
  padding-block: 0.4rem;
}
.footer__bottom {
  display: grid;
  gap: 0.6rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--panel-line);
  font-size: var(--t-micro);
  line-height: 1.55;
}
.footer__bottom a {
  color: var(--panel-ink);
  text-underline-offset: 0.22em;
}
.footer__eho {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--panel-ink);
  font-weight: 600;
}

@media (min-width: 720px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__col--contact { grid-column: auto; }
  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
@media (min-width: 1000px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 4rem;
  }
}

/* ---- 30-components.css ---- */
/* ---------- eyebrow (use at most once per three sections) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  max-width: 100%;
  padding: 0;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow .icon {
  display: none;
}
.eyebrow--on-photo {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgb(var(--photo-scrim) / 0.6);
  box-shadow: inset 0 0 0 1px rgb(244 248 247 / 0.22);
  color: var(--on-photo);
}
.eyebrow--on-photo::before {
  width: 1.25rem;
}

/* ---------- buttons: pills, with a nested icon puck ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-puck: rgb(255 255 255 / 0.16);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.5rem 1.65rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.6s var(--ease-press), background-color 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.975);
}
.btn__puck {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: -1rem;
  border-radius: 50%;
  background: var(--btn-puck);
  transition: transform 0.55s var(--ease-press);
}
.btn__puck .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.btn:hover .btn__puck {
  transform: translate(3px, -1px) scale(1.06);
}
.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  --btn-puck: rgb(255 255 255 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 14px 30px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 18px 36px -14px color-mix(in srgb, var(--accent) 90%, transparent);
}
.btn--primary:hover {
  --btn-bg: var(--accent-hover);
}
.btn--brand {
  --btn-bg: var(--brand-solid);
  --btn-fg: var(--brand-solid-ink);
  --btn-puck: var(--brand-solid-puck);
}
.btn--brand:hover {
  --btn-bg: var(--brand-solid-hover);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-puck: var(--shell);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--shell);
}
.btn--on-photo {
  --btn-bg: rgb(244 248 247 / 0.14);
  --btn-fg: var(--on-photo);
  --btn-puck: rgb(244 248 247 / 0.18);
  box-shadow: inset 0 0 0 1.5px rgb(244 248 247 / 0.5);
}
.btn--on-photo:hover {
  --btn-bg: rgb(244 248 247 / 0.24);
}
.btn--light {
  --btn-bg: var(--on-photo);
  --btn-fg: #0e2830;
  --btn-puck: rgb(14 40 48 / 0.1);
}
.btn--sm {
  min-height: 46px;
  padding-inline: 1.2rem;
  font-size: 0.96rem;
}
.btn--sm .btn__puck {
  width: 32px;
  height: 32px;
  margin-right: -0.8rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 620;
  color: var(--brand);
  text-decoration: none;
}
.link-arrow span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px;
}
.link-arrow .icon {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.5s var(--ease-press);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* an inline phone or text link that still gives a 44px tap target */
.tel-inline {
  position: relative;
  display: inline-block;
  padding-block: 0.7rem;
  margin-block: -0.7rem;
  white-space: nowrap;
}

/* inline prose links */
.prose a,
a.inline {
  color: var(--brand);
  font-weight: 560;
}

/* ---------- double-bezel surface: a core panel sitting in a shell ---------- */
.bezel {
  padding: 8px;
  border-radius: calc(var(--r-card) + 8px);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.35), rgb(255 255 255 / 0)) , var(--shell);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgb(255 255 255 / 0.4);
}
.bezel__core {
  height: 100%;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--inner-light), var(--edge), var(--shadow-soft);
  overflow: hidden;
}
.bezel__pad {
  padding: clamp(1.4rem, 1rem + 1.8vw, 2.25rem);
}
.bezel--panel .bezel__core {
  background: var(--panel);
  color: var(--panel-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), var(--shadow-soft);
}

/* ---------- photos ---------- */
.photo {
  margin: 0;
}
.photo__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--surface-3);
  box-shadow: var(--shadow-soft);
}
.photo__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18), inset 0 1px 0 rgb(255 255 255 / 0.28);
  pointer-events: none;
}
.photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--zoom .photo__frame img {
  transition: transform 2s var(--ease-out);
}
.photo--zoom:hover .photo__frame img {
  transform: scale(1.04);
}
.photo__note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.75rem;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.45;
}
.photo__note .icon {
  margin-top: 0.08rem;
  width: 1rem;
  height: 1rem;
}
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1; }

/* ---------- ledger: what is included / not included ---------- */
.ledger {
  display: grid;
}
.ledger__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 1rem;
  align-items: start;
  padding-block: 1.25rem;
}
.ledger__row + .ledger__row {
  border-top: 1px solid var(--line);
}
.ledger__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-tint);
  color: var(--brand);
}
.ledger__icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}
.ledger__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.ledger__text {
  color: var(--ink-2);
  font-size: var(--t-small);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.tag--ok {
  background: var(--ok-tint);
  color: var(--ok);
}
.tag--muted {
  background: var(--surface-2);
  color: var(--ink-2);
}
.tag .icon {
  width: 0.85rem;
  height: 0.85rem;
}

/* small icon + label chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.35rem 0.95rem 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 560;
}
.chip .icon {
  color: var(--ink-3);
}

/* ---------- facts: label / value pairs ---------- */
.facts {
  display: grid;
  gap: 0;
}
.facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.8rem;
}
.facts > div + div {
  border-top: 1px solid var(--line);
}
.facts dt {
  color: var(--ink-2);
  font-size: var(--t-small);
}
.facts dd {
  font-weight: 620;
  text-align: right;
}

/* big price figure */
.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.95;
  font-variant-numeric: lining-nums tabular-nums;
}
.price__amount {
  font-size: clamp(3rem, 2.1rem + 3.2vw, 4.5rem);
}
.price__unit {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: 0;
  color: var(--ink-2);
}

/* ---------- plan cards (unit types) ---------- */
.plans {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 820px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.plan {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}
.plan__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}
.plan__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.plan:hover .plan__media img {
  transform: scale(1.04);
}
.plan__body {
  display: grid;
  gap: 1.4rem;
  align-content: start;
  padding: clamp(1.4rem, 1rem + 1.8vw, 2.1rem);
}
.plan__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.plan__name {
  font-size: var(--t-h3);
}
.plan__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  font-variant-numeric: lining-nums;
}
.step p {
  color: var(--ink-2);
  max-width: 34ch;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

/* ---------- inner page hero ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--nav-top) + clamp(2.5rem, 1.5rem + 5vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}
.page-hero__text {
  display: grid;
  gap: 1.35rem;
  justify-items: start;
  max-width: 44rem;
}
.page-hero__text .lead {
  max-width: 36rem;
}
@media (min-width: 960px) {
  .page-hero__grid--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
  }
}

/* ---------- callout ---------- */
.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.9rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-inner);
  background: var(--brand-tint);
  color: var(--ink);
  font-size: var(--t-small);
  line-height: 1.55;
}
.callout > .icon {
  grid-row: span 2;
  margin-top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--brand);
}
.callout strong {
  display: block;
  font-size: 1rem;
}
.callout--warn {
  background: var(--accent-tint);
}
.callout--warn > .icon {
  color: var(--accent);
}

/* ---------- FAQ accordion (native details) ---------- */
.faq {
  display: grid;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding-block: 1.1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq__sign {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: background-color 0.4s var(--ease-out), transform 0.6s var(--ease-press);
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.6s var(--ease-press);
}
.faq__sign::after {
  transform: rotate(90deg);
}
.faq details[open] .faq__sign {
  background: var(--brand-tint);
  transform: rotate(180deg);
}
.faq details[open] .faq__sign::after {
  transform: rotate(0deg);
}
.faq summary:hover .faq__sign {
  background: var(--surface-3);
}
.faq__answer {
  display: grid;
  gap: 0.85rem;
  max-width: 62ch;
  padding: 0 3.5rem 1.6rem 0;
  color: var(--ink-2);
}
.faq__answer a {
  color: var(--brand);
  font-weight: 560;
}

/* ---------- closing call-to-action panel ---------- */
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.6rem;
  justify-items: start;
  padding: clamp(2.25rem, 1.4rem + 5vw, 5.5rem);
  border-radius: var(--r-hero);
  background: var(--panel-2);
  color: var(--on-photo);
}
.cta-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgb(var(--photo-scrim) / 0.9) 0%, rgb(var(--photo-scrim) / 0.72) 45%, rgb(var(--photo-scrim) / 0.35) 100%);
}
.cta-panel h2 {
  color: var(--on-photo);
  max-width: 17ch;
  font-weight: 520;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(244 248 247 / 0.14);
  pointer-events: none;
}
.cta-panel p {
  color: var(--on-photo-2);
  font-size: var(--t-lead);
  line-height: 1.5;
  max-width: 34rem;
}

/* ---------- storage footprints drawn to scale ---------- */
.footprint {
  --ft: 8px; /* one foot */
  position: relative;
  width: calc(var(--w) * var(--ft));
  height: calc(var(--d) * var(--ft));
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--ft) - 1px), var(--line) calc(var(--ft) - 1px) var(--ft)), var(--brand-tint);
  box-shadow: inset 0 0 0 2px var(--brand);
}
.footprint--4x9 { --w: 4; --d: 9; }
.footprint--12x12 { --w: 12; --d: 12; }
.footprint--10x20 { --w: 10; --d: 20; }

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 1.35rem;
}
.form-grid {
  display: grid;
  gap: 1.35rem 1.1rem;
}
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid .span-2 { grid-column: span 2; }
  .form-grid .span-all { grid-column: 1 / -1; }
}
.field {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.field > label,
.field__label,
fieldset > legend {
  font-size: var(--t-small);
  font-weight: 620;
  color: var(--ink);
  line-height: 1.3;
}
.field__opt {
  font-weight: 450;
  color: var(--ink-3);
}
.field__req {
  color: var(--accent);
}
.field__hint {
  color: var(--ink-3);
  font-size: var(--t-micro);
  line-height: 1.45;
}
.field__error {
  display: none;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--danger);
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: 1.4;
}
.field.is-invalid .field__error {
  display: flex;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--field-line);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem; /* 16px+ stops iOS zoom on focus */
  line-height: 1.4;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.textarea {
  min-height: 128px;
  resize: vertical;
}
.select {
  padding-right: 2.6rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--ink-3);
  opacity: 1;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--ink-2);
}
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: var(--danger);
  background: var(--danger-tint);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
fieldset > legend {
  padding: 0;
  margin-bottom: 0.6rem;
}

/* radio / checkbox cards */
.choices {
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 640px) {
  .choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choices--inline { display: flex; flex-wrap: wrap; }
}
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: var(--r-input);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--field-line);
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.choice:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}
.choice input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0.12rem 0 0;
  accent-color: var(--brand);
}
.choice:has(input:checked) {
  background: var(--brand-tint);
  box-shadow: inset 0 0 0 2px var(--brand);
}
.choice:has(input:focus-visible) {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
}
.choice__text {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}
.choice__text small {
  display: block;
  margin-top: 0.1rem;
  font-size: var(--t-micro);
  font-weight: 450;
  color: var(--ink-2);
}

/* honeypot: hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--r-inner);
  border-left: 4px solid var(--brand);
  background: var(--brand-tint);
  color: var(--ink);
  font-size: var(--t-small);
  line-height: 1.5;
}
.form-status.is-visible {
  display: grid;
  gap: 0.35rem;
}
.form-status strong {
  display: block;
  font-size: 1rem;
}
.form-status a {
  color: var(--brand);
  font-weight: 600;
}
.form-status--ok {
  border-left-color: var(--ok);
  background: var(--ok-tint);
}
.form-status--error {
  border-left-color: var(--danger);
  background: var(--danger-tint);
}
.form-status--info {
  border-left-color: var(--brand);
  background: var(--brand-tint);
}

.form-note {
  color: var(--ink-3);
  font-size: var(--t-micro);
  line-height: 1.5;
}
.form-note a {
  color: var(--brand);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}
.btn.is-loading .btn__puck {
  animation: puck-spin 0.9s linear infinite;
}
.btn.is-loading .btn__puck .icon {
  opacity: 0;
}
.btn.is-loading .btn__puck::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
}
@keyframes puck-spin {
  to { transform: rotate(360deg); }
}

/* ---------- prose (privacy, long answers) ---------- */
.prose {
  display: grid;
  gap: 1.1rem;
  max-width: 68ch;
  color: var(--ink-2);
}
.prose h2 {
  margin-top: 1.75rem;
  font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
  color: var(--ink);
}
.prose h3 {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  color: var(--ink);
}
.prose ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
  list-style: disc;
}
.prose li::marker {
  color: var(--brand);
}

/* ---------- focus rings on surfaces that stay dark in both themes ---------- */
.site-footer :focus-visible,
.hero :focus-visible,
.cta-panel :focus-visible,
.bezel--panel :focus-visible,
.rate--storage:focus-visible {
  outline-color: var(--on-photo);
}

/* ---- 40-home.css ---- */
/* ---------- home: hero ---------- */
.hero {
  padding: 10px 10px 0;
}
.hero__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(620px, 92svh, 940px);
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--panel-2);
  box-shadow: var(--shadow-lift);
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(244 248 247 / 0.14);
  pointer-events: none;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  animation: hero-settle 3.2s var(--ease-out) both;
}
.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(var(--photo-scrim) / 0.9) 0%, rgb(var(--photo-scrim) / 0.55) 34%, rgb(var(--photo-scrim) / 0) 66%),
    linear-gradient(to bottom, rgb(var(--photo-scrim) / 0.3) 0%, rgb(var(--photo-scrim) / 0) 24%);
}
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.6rem;
  justify-items: start;
  width: min(100% - (var(--gutter) * 2) + 20px, var(--wrap));
  margin-inline: auto;
  padding-bottom: clamp(5.75rem, 4rem + 7vw, 8.5rem);
  color: var(--on-photo);
}
.hero__content > * {
  animation: hero-rise 1.1s var(--ease-out) both;
}
.hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.hero__content > *:nth-child(2) { animation-delay: 0.25s; }
.hero__content > *:nth-child(3) { animation-delay: 0.38s; }
.hero__content > *:nth-child(4) { animation-delay: 0.5s; }
.hero h1 {
  max-width: 16ch;
  font-size: var(--t-hero);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--on-photo);
  text-shadow: 0 2px 30px rgb(6 24 30 / 0.35);
}
.hero__sub {
  max-width: 34rem;
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--on-photo-2);
}
.hero .btn-row {
  margin-top: 0.4rem;
}
@media (min-width: 900px) {
  .hero h1 { max-width: 21ch; }
}
/* phones: the photo is cropped to its bright centre, so the scrim climbs higher */
@media (max-width: 700px) {
  .hero__panel::after {
    background:
      linear-gradient(to top, rgb(var(--photo-scrim) / 0.94) 0%, rgb(var(--photo-scrim) / 0.8) 42%, rgb(var(--photo-scrim) / 0.5) 66%, rgb(var(--photo-scrim) / 0.12) 88%),
      linear-gradient(to bottom, rgb(var(--photo-scrim) / 0.3) 0%, rgb(var(--photo-scrim) / 0) 24%);
  }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-settle {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

/* ---------- home: rate tray, overlaps the hero ---------- */
.rates-section {
  position: relative;
  z-index: 2;
  margin-top: clamp(-4.5rem, -2.5rem - 3vw, -3.25rem);
}
.rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgb(255 255 255 / 0.5), var(--shadow-lift);
}
.rate {
  position: relative;
  display: grid;
  gap: 0.85rem;
  align-content: space-between;
  min-height: 168px;
  padding: clamp(1.1rem, 0.8rem + 1.4vw, 1.9rem);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--inner-light);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.6s var(--ease-press), background-color 0.4s var(--ease-out);
}
.rate:hover {
  transform: translateY(-3px);
}
.rate:active {
  transform: scale(0.985);
}
.rate__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 620;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.rate__label .icon {
  color: var(--brand);
}
.rate__meta {
  font-size: var(--t-micro);
  color: var(--ink-2);
}
.rate__go {
  position: absolute;
  top: clamp(0.8rem, 0.6rem + 1vw, 1.4rem);
  right: clamp(0.8rem, 0.6rem + 1vw, 1.4rem);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  transition: transform 0.55s var(--ease-press), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.rate__go .icon {
  width: 1rem;
  height: 1rem;
}
.rate:hover .rate__go {
  transform: translate(2px, -2px) scale(1.06);
  background: var(--ink);
  color: var(--bg);
}
.rate--storage {
  grid-column: 1 / -1;
  min-height: 0;
  background: var(--panel);
  color: var(--panel-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1);
}
.rate--storage .rate__label,
.rate--storage .rate__meta,
.rate--storage .price__unit,
.rate--storage .price__from {
  color: var(--panel-ink-2);
}
.rate--storage .rate__label .icon {
  color: var(--panel-ink);
}
.rate--storage .rate__go {
  background: rgb(242 247 246 / 0.14);
  color: var(--panel-ink);
}
.rate--storage:hover .rate__go {
  background: var(--panel-ink);
  color: var(--panel);
}
.price__from {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: 0;
  color: var(--ink-2);
}
@media (max-width: 479px) {
  .rate__label { gap: 0.4rem; font-size: 0.66rem; letter-spacing: 0.08em; white-space: nowrap; }
  .rate { min-height: 150px; }
  .rate .price { flex-wrap: wrap; row-gap: 0.2rem; }
  .rate .price__amount { font-size: 2.4rem; }
  .rate__go { display: none; }
  .rate--storage .rate__go { display: grid; }
}
@media (min-width: 860px) {
  .rates {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.92fr);
  }
  .rate--storage {
    grid-column: auto;
  }
}

/* ---------- home: what is included ---------- */
.included {
  display: grid;
  gap: 2.5rem;
}
.included__photo .photo__frame {
  aspect-ratio: 3 / 2;
}
.included__yours {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--r-card);
  background: var(--surface-2);
}
.included__yours h3 {
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink-2);
}
.included .ledger__row:first-child {
  padding-top: 0;
}
@media (min-width: 900px) {
  .included {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .included__photo .photo__frame {
    aspect-ratio: 1 / 1.04;
  }
}

/* ---------- home: plans ---------- */
.plans__note {
  margin-top: 1.5rem;
}

/* ---------- home: steps ---------- */
.how__cta {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

/* ---------- home: storage band ---------- */
.storage-band {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-hero);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
}
.storage-band__text {
  display: grid;
  gap: 1.25rem;
  align-content: center;
  justify-items: start;
}
.storage-band__photo .photo__frame {
  aspect-ratio: 3 / 2;
}
.sizes {
  display: grid;
  width: 100%;
  margin-block: 0.5rem;
}
.size {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}
.size + .size {
  border-top: 1px solid var(--line);
}
.size__plan {
  display: grid;
  place-items: center start;
}
.size .footprint {
  --ft: 4.6px;
}
.size__name {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums;
}
.size__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
.size__price small {
  margin-left: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 520;
  letter-spacing: 0;
  color: var(--ink-2);
}
@media (max-width: 440px) {
  .size {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0.75rem;
  }
  .size .footprint { --ft: 3.4px; }
  .size__name { font-size: 1.12rem; }
  .size__price { font-size: 1.4rem; }
}
@media (min-width: 960px) {
  .storage-band {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
  .storage-band__photo .photo__frame {
    aspect-ratio: 5 / 4.4;
  }
}

/* ---------- home: area ---------- */
.area {
  display: grid;
  gap: 3rem;
}
.area__photos {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  align-items: end;
}
.area__photo--tall {
  aspect-ratio: 3 / 4;
}
.area__photo--wide {
  aspect-ratio: 3 / 4;
  margin-bottom: 16%;
}
.area__figure {
  margin: 0;
}
.area__text {
  display: grid;
  gap: 1.5rem;
  align-content: center;
  justify-items: start;
}
.area__list {
  display: grid;
  gap: 1.35rem;
  margin-block: 0.5rem;
}
.area__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
}
.area__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--line);
}
.area__icon .icon {
  width: 1.4rem;
  height: 1.4rem;
}
.area__list h3 {
  font-size: 1.45rem;
  margin-bottom: 0.15rem;
}
.area__list p {
  color: var(--ink-2);
  font-size: var(--t-small);
  max-width: 44ch;
}
@media (min-width: 960px) {
  .area {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
  }
}

/* ---- 50-apartments.css ---- */
/* ---------- apartments page ----------
   Page classes are prefixed apt- so they cannot collide with other page files.
   Mobile first: every grid below is a single column until its min-width query. */

/* ---------- apartments: hero ---------- */
.page-apartments .page-hero {
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}

/* ---------- apartments: shared unit bits ---------- */
.apt-unit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.apt-label {
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--ink-2);
}
.apt-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}
.apt-actions--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}
/* photos in the unit galleries fill their frame whatever shape the frame takes */
.apt-gallery .photo__frame img,
.apt-two__media .photo__frame img {
  position: absolute;
  inset: 0;
}

/* ---------- apartments: one bedroom (open, stacked: name, gallery, details) ---------- */
.apt-one {
  display: grid;
  gap: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border-top: 1px solid var(--line-strong);
}
.apt-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.apt-gallery__lead {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}
.apt-gallery__side {
  aspect-ratio: 1;
}
.apt-one__details {
  display: grid;
  gap: 1.75rem;
}
.apt-one__details .facts > div:first-child {
  padding-top: 0;
}
.apt-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 0.9rem;
}
.apt-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  line-height: 1.3;
}
.apt-checks .icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.32rem;
  border-radius: 50%;
  background: var(--ok-tint);
  color: var(--ok);
}
@media (min-width: 820px) {
  .apt-gallery {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 14px;
  }
  /* the lead photo spans both rows; the two side photos set the height */
  .apt-gallery__lead {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .apt-gallery__side {
    grid-column: 2;
    aspect-ratio: 3 / 2;
  }
}
@media (min-width: 900px) {
  .apt-one__details {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) auto;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
}

/* ---------- apartments: two bedroom (one card: photos one side, details the other) ---------- */
.apt-two {
  display: grid;
}
.apt-two__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.apt-two__media .photo__frame {
  border-radius: 0;
  aspect-ratio: 1;
}
.apt-two__media .apt-two__lead {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}
.apt-two__body {
  display: grid;
  gap: 1.5rem;
  align-content: center;
  padding: clamp(1.4rem, 1rem + 2vw, 3rem);
}
.apt-two__body .lead {
  max-width: 30rem;
}
.apt-two__note {
  margin-top: 1.25rem;
}
@media (min-width: 900px) {
  .apt-two {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
  /* the photo side stretches to the height of the details side */
  .apt-two__media {
    grid-template-rows: minmax(0, 1.5fr) minmax(0, 1fr);
    min-height: 560px;
  }
  .apt-two__media .photo__frame,
  .apt-two__media .apt-two__lead {
    aspect-ratio: auto;
  }
}

/* ---------- apartments: what it costs ---------- */
.apt-costs {
  display: grid;
  gap: 2rem;
}
.apt-cost-table {
  --cell-x: clamp(0.75rem, 0.3rem + 2vw, 1.75rem);
  width: 100%;
  margin-block: -8px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 8px;
  text-align: left;
}
.apt-cost-table thead td {
  width: 34%;
  padding: 0;
}
.apt-cost-table thead th {
  padding: 0 var(--cell-x) 0.25rem;
  font-size: var(--t-small);
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
  color: var(--ink-2);
}
.apt-cost-table tbody th,
.apt-cost-table tbody td {
  padding: clamp(1.05rem, 0.8rem + 1.1vw, 1.6rem) var(--cell-x);
  border-block: 1px solid var(--line);
  background: var(--surface);
  vertical-align: middle;
  text-align: left;
}
.apt-cost-table tbody th {
  border-left: 1px solid var(--line);
  border-radius: var(--r-inner) 0 0 var(--r-inner);
  font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.0625rem);
  font-weight: 620;
  line-height: 1.3;
}
.apt-cost-table tbody td {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.5rem + 2.3vw, 2rem);
  font-weight: 640;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.006em;
  line-height: 1;
  white-space: nowrap;
}
.apt-cost-table tbody td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 var(--r-inner) var(--r-inner) 0;
}
/* the rent row is the one number that repeats every month, so it gets the deep lake band */
.apt-cost-table .apt-cost-table__rent th,
.apt-cost-table .apt-cost-table__rent td {
  border-color: var(--panel);
  background: var(--panel);
  color: var(--panel-ink);
}
.apt-costs__notes {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.apt-notes {
  display: grid;
  gap: 0.75rem;
  color: var(--ink-2);
}
.apt-notes li {
  position: relative;
  padding-left: 1.35rem;
}
.apt-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
@media (min-width: 960px) {
  .apt-costs {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
}

/* ---------- apartments: who pays for what (two contrasting panels) ---------- */
.apt-bills {
  display: grid;
  gap: 1rem;
}
.apt-bill {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem);
  border-radius: var(--r-card);
}
.apt-bill__head {
  display: grid;
  gap: 0.45rem;
}
.apt-bill__head p {
  color: var(--ink-2);
}
.apt-bill__list {
  display: grid;
}
.apt-bill__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.08rem + 0.6vw, 1.5rem);
  font-weight: 620;
  letter-spacing: -0.006em;
  line-height: 1.15;
}
.apt-bill__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
}
.apt-bill__icon .icon {
  width: 1.45rem;
  height: 1.45rem;
}
.apt-bill--ours {
  background: var(--panel);
  color: var(--panel-ink);
  box-shadow: inset 0 1px 0 var(--panel-line), var(--shadow-soft);
}
.apt-bill--ours h3 {
  color: var(--panel-ink);
}
.apt-bill--ours .apt-bill__head p {
  color: var(--panel-ink-2);
}
.apt-bill--ours .apt-bill__list li {
  border-top-color: var(--panel-line);
}
.apt-bill--ours .apt-bill__icon {
  background: var(--panel-line);
  color: var(--panel-ink);
}
.apt-bill--yours {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--inner-light);
}
@media (min-width: 560px) {
  .apt-bill--ours .apt-bill__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
  }
}
@media (min-width: 860px) {
  .apt-bills {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.25rem;
  }
}

/* ---------- apartments: questions for Dan ---------- */
.apt-ask {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.apt-ask .callout {
  width: 100%;
}

/* ---- 51-amenities.css ---- */
/* ---------- amenities ("Living Here") page ----------
   Page classes are prefixed liv- so they cannot collide with other page files.
   Mobile first: every grid below is a single column until its min-width query. */

/* ---------- living here: hero with an "on this page" index ---------- */
.page-amenities .page-hero {
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.liv-index {
  display: grid;
  gap: 0.6rem;
  max-width: 26rem;
}
.liv-index__label {
  color: var(--ink-3);
  font-size: var(--t-micro);
  font-weight: 650;
  line-height: 1.3;
}
.liv-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding-block: 0.5rem;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 620;
  text-decoration: none;
}
.liv-index li:last-child a {
  border-bottom: 1px solid var(--line-strong);
}
.liv-index .icon {
  color: var(--ink-3);
  transition: transform 0.5s var(--ease-press);
}
.liv-index a:hover .icon {
  transform: translateY(3px);
}
@media (min-width: 960px) {
  .liv-hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 4rem;
  }
  .liv-index {
    justify-self: end;
    width: 100%;
  }
}

/* ---------- living here: seasons ---------- */
.liv-seasons,
.liv-seasons__side {
  display: grid;
  gap: 2.5rem;
  align-content: start;
}
.liv-season {
  display: grid;
  gap: 1.35rem;
  align-content: start;
}
.liv-season .photo__frame {
  aspect-ratio: 3 / 2;
}
.liv-season .photo__frame img {
  position: absolute;
  inset: 0;
}
.liv-season__body,
.liv-allyear {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  align-content: start;
}
.liv-season__body p,
.liv-allyear > p {
  max-width: 30rem;
  color: var(--ink-2);
  font-size: var(--t-lead);
  line-height: 1.5;
}
.liv-season__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.liv-season__title .icon {
  width: 1.15em;
  height: 1.15em;
  color: var(--brand);
}
.liv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.liv-tags .tag {
  padding: 0.4rem 0.8rem;
  font-size: var(--t-micro);
}
.liv-allyear {
  padding: clamp(1.4rem, 1rem + 1.8vw, 2.1rem);
  border-radius: var(--r-card);
  background: var(--surface-2);
}
.liv-allyear__yours {
  display: grid;
  gap: 0.8rem;
  width: 100%;
  margin-top: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.liv-allyear__yours h4 {
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink-2);
}
.liv-note {
  max-width: 44rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
@media (min-width: 900px) {
  .liv-seasons {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
  .liv-season--winter .photo__frame {
    aspect-ratio: 5 / 4;
  }
}

/* ---------- living here: around Cheboygan ---------- */
.liv-ribbon {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 10px;
}
.liv-ribbon .photo__frame img {
  position: absolute;
  inset: 0;
}
.liv-ribbon__shore {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.liv-ribbon__dock {
  aspect-ratio: 3 / 4;
}
.liv-ribbon__point {
  aspect-ratio: 1;
}
.liv-places {
  display: grid;
  margin-top: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
}
.liv-place {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 1.1rem;
  align-content: start;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.liv-place__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--line);
}
.liv-place__icon .icon {
  width: 1.45rem;
  height: 1.45rem;
}
.liv-place h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
}
.liv-place p {
  max-width: 44ch;
  color: var(--ink-2);
}
@media (min-width: 760px) {
  /* three frames, one shared height: 16:9, 3:4 and 1:1 side by side */
  .liv-ribbon {
    grid-template-columns: minmax(0, 16fr) minmax(0, 6.75fr) minmax(0, 9fr);
    gap: 14px;
  }
  .liv-ribbon__shore {
    grid-column: auto;
  }
  .liv-places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 5rem);
  }
}

/* ---------- living here: mini-storage cross-link ---------- */
.liv-storage {
  display: grid;
  gap: 2.25rem;
  padding: clamp(1.5rem, 1rem + 2.6vw, 3rem);
}
.liv-storage__text {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  align-content: center;
}
.liv-storage__text h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem);
}
.liv-storage__text p {
  max-width: 34rem;
  color: var(--ink-2);
}
.liv-storage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0.4rem;
}
.liv-sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
}
.liv-size {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}
.liv-size .footprint {
  --ft: 4.5px;
  margin-bottom: 0.75rem;
}
.liv-size__name {
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.liv-size__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 640;
  letter-spacing: -0.006em;
  line-height: 1.1;
}
.liv-size__price small {
  margin-left: 0.12rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 520;
  letter-spacing: 0;
  color: var(--ink-2);
}
@media (min-width: 860px) {
  .liv-storage {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
  }
  .liv-sizes {
    grid-template-columns: repeat(3, auto);
    gap: clamp(1.75rem, 3.5vw, 3.25rem);
  }
  .liv-size .footprint {
    --ft: 5.5px;
  }
}

/* ---- 52-storage.css ---- */
/* ---------- storage page ----------
   Page classes are prefixed st- so they cannot collide with other page files.
   Mobile first: every grid below is a single column until its min-width query. */

/* ---------- storage: hero ---------- */
.page-storage .page-hero {
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.page-storage .page-hero h1 {
  max-width: 15ch;
}
.st-hero__photo {
  --reveal-i: 1;
}

/* ---------- storage: the three sizes, one sheet, one scale ---------- */
.st-sheet {
  --st-ft: 8px; /* one foot. Every drawing and the scale key read this. */
  --st-pad: clamp(1.1rem, 0.5rem + 3vw, 3rem);
  --st-gap: clamp(1.5rem, 3.4vw, 3rem);
  --st-cols: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.05fr);
}
@media (max-width: 339px) {
  .st-sheet { --st-ft: 7px; }
}
@media (min-width: 480px) {
  .st-sheet { --st-ft: 10px; }
}
@media (min-width: 640px) {
  .st-sheet { --st-ft: 12px; }
}
@media (min-width: 960px) {
  .st-sheet { --st-ft: 15px; }
}
@media (min-width: 1160px) {
  .st-sheet { --st-ft: 18px; }
}

/* the drawing board: an inset well inside the sheet */
.st-well {
  display: grid;
  gap: 1.6rem;
  margin: 8px 8px 0;
  padding: 1.1rem calc(var(--st-pad) - 8px) 1.6rem;
  border-radius: calc(var(--r-card) - 8px);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.st-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  color: var(--ink-2);
  font-size: var(--t-micro);
  font-weight: 620;
  line-height: 1.3;
}
.st-key__bar {
  flex: none;
  width: calc(5 * var(--st-ft));
  height: 7px;
  border: 1.5px solid var(--ink-2);
  border-top: 0;
}
.st-key__note {
  margin-left: 0.5rem;
  color: var(--ink-3);
  font-weight: 500;
}

.st-plans {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
}
.st-plan {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}
.st-plan__shape {
  position: relative;
  display: block;
}
.st-plan__cap {
  color: var(--ink-2);
  font-size: var(--t-micro);
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
/* a one-foot grid, so the floor area can be counted */
.st-sheet .footprint {
  --ft: var(--st-ft);
  display: block;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(var(--ft) - 1px), var(--line) calc(var(--ft) - 1px) var(--ft)),
    repeating-linear-gradient(0deg, transparent 0 calc(var(--ft) - 1px), var(--line) calc(var(--ft) - 1px) var(--ft)),
    var(--brand-tint);
  box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-soft);
}

/* dimension lines appear once there is room for them */
.st-dim {
  display: none;
}
@media (min-width: 640px) {
  .st-plan {
    padding: 2.1rem 3.5rem 0 0;
  }
  .st-plan__cap {
    display: none;
  }
  .st-dim {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    font-size: var(--t-micro);
    font-weight: 620;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums lining-nums;
  }
  .st-dim::before,
  .st-dim::after {
    content: "";
    position: absolute;
    background: var(--ink-3);
  }
  .st-dim--w {
    left: 0;
    right: 0;
    bottom: calc(100% + 9px);
    padding-bottom: 7px;
    border-bottom: 1.5px solid var(--ink-3);
  }
  .st-dim--w::before,
  .st-dim--w::after {
    bottom: -4px;
    width: 1.5px;
    height: 9px;
  }
  .st-dim--w::before { left: 0; }
  .st-dim--w::after { right: 0; }
  .st-dim--d {
    top: 0;
    bottom: 0;
    left: calc(100% + 9px);
    padding-left: 8px;
    border-left: 1.5px solid var(--ink-3);
  }
  .st-dim--d::before,
  .st-dim--d::after {
    left: -5px;
    width: 9px;
    height: 1.5px;
  }
  .st-dim--d::before { top: 0; }
  .st-dim--d::after { bottom: 0; }
}

/* the numbers for each size */
.st-specs {
  display: grid;
  padding: 0.35rem var(--st-pad) 0.5rem;
}
.st-spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.35rem 1rem;
  padding-block: 1.5rem;
}
.st-spec__name {
  font-size: var(--t-h3);
  font-variant-numeric: tabular-nums lining-nums;
}
.st-spec .price {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.st-spec .facts {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
}
@media (max-width: 479px) {
  .st-spec .price__amount { font-size: 2.2rem; }
}
@media (max-width: 959px) {
  .st-spec + .st-spec {
    border-top: 1px solid var(--line);
  }
}

.st-sheet__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.35rem var(--st-pad) 1.5rem;
  border-top: 1px solid var(--line);
}
.st-sheet__note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 50ch;
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}
.st-sheet__note .icon {
  margin-top: 0.1rem;
  color: var(--brand);
}

/* wide screens: each drawing stands directly over its own numbers */
@media (min-width: 960px) {
  .st-well {
    gap: 1.25rem;
    padding-bottom: 2.25rem;
  }
  .st-plans,
  .st-specs {
    display: grid;
    grid-template-columns: var(--st-cols);
    column-gap: var(--st-gap);
  }
  .st-plans {
    align-items: end;
    justify-items: start;
  }
  .st-specs {
    padding-block: 1rem 1.25rem;
  }
  .st-spec {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 0.9rem;
    padding-block: 1.25rem;
  }
  .st-spec .price {
    justify-content: flex-start;
  }
  .st-spec .facts {
    margin-top: 0.2rem;
  }
  .st-spec .facts > div {
    display: grid;
    justify-content: start;
    gap: 0.1rem;
  }
  .st-spec .facts dd {
    text-align: left;
  }
}

/* ---------- storage: how renting works + questions for Dan ---------- */
.st-rent {
  display: grid;
  gap: 3rem;
}
.st-rent .section-head {
  margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}
.st-steps.steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.st-steps .step {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.25rem;
  padding-block: 1.5rem 1.85rem;
}
.st-steps .step::before {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}
.st-steps .step h3 {
  padding-top: 0.4rem;
}
.st-steps .step p {
  max-width: 46ch;
}
.st-rent__cta {
  margin-top: 0.75rem;
}
.st-ask__core {
  display: grid;
  gap: 1.1rem;
}
.st-ask__intro {
  color: var(--ink-2);
  font-size: var(--t-small);
}
.st-ask__list {
  display: grid;
}
.st-ask__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 52px;
  padding-block: 0.7rem;
  font-weight: 560;
  line-height: 1.35;
}
.st-ask__list li + li {
  border-top: 1px solid var(--line);
}
.st-ask__list .icon {
  color: var(--brand);
}
@media (min-width: 960px) {
  .st-rent {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .st-ask {
    position: sticky;
    top: calc(var(--nav-h) + var(--nav-top) + 24px);
  }
}

/* ---- 53-faq.css ---- */
/* ---------- faq page ----------
   Page classes are prefixed fq- so they cannot collide with other page files.
   Mobile first: every grid below is a single column until its min-width query. */

/* ---------- faq: hero ---------- */
.page-faq .page-hero {
  padding-bottom: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}
.page-faq .page-hero h1 {
  max-width: 15ch;
}

/* jump links to each group of questions */
.fq-jump {
  margin-top: 0.35rem;
}
.fq-jump .chip {
  min-height: 46px;
  text-decoration: none;
  transition: transform 0.5s var(--ease-press);
}
.fq-jump .chip:hover {
  transform: translateY(-2px);
}
.fq-jump .chip:active {
  transform: scale(0.97);
}
.fq-jump .chip .icon {
  color: var(--brand);
}

/* ---------- faq: grouped questions with a side panel ---------- */
.fq-layout {
  display: grid;
  gap: clamp(3rem, 2rem + 4vw, 4.5rem);
}
.fq-groups {
  display: grid;
  gap: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  min-width: 0;
}
.fq-group__title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -0.006em;
}
.fq-group__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--brand-tint);
  color: var(--brand);
}
.fq-group__icon .icon {
  width: 1.45rem;
  height: 1.45rem;
}
/* inline links in answers keep a 44px tap target without changing line height */
.fq-group .faq__answer a {
  position: relative;
  display: inline-block;
  padding-block: 0.7rem;
  margin-block: -0.7rem;
  white-space: nowrap;
}

/* side panel */
.fq-aside__panel {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  border-radius: var(--r-card);
  background: var(--brand-tint);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fq-aside__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fq-aside__icon .icon {
  width: 1.55rem;
  height: 1.55rem;
}
.fq-aside__title {
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -0.006em;
}
.fq-aside__text {
  color: var(--ink-2);
}
.fq-aside__phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2rem);
  font-weight: 640;
  letter-spacing: -0.006em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}
.fq-aside__phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.fq-aside__actions {
  display: grid;
  gap: 0.6rem;
  width: 100%;
}
.fq-aside__mail {
  color: var(--ink-2);
  font-size: var(--t-small);
  overflow-wrap: anywhere;
}
.fq-aside__mail a {
  position: relative;
  display: inline-block;
  padding-block: 0.7rem;
  margin-block: -0.7rem;
  color: var(--brand);
  font-weight: 600;
}
@media (min-width: 560px) and (max-width: 959px) {
  .fq-aside__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .fq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .fq-aside {
    position: sticky;
    top: calc(var(--nav-h) + var(--nav-top) + 24px);
  }
}

/* ---- 54-contact.css ---- */
/* ---------- contact page ----------
   Page classes are prefixed ct- so they cannot collide with other page files.
   Mobile first: every grid below is a single column until its min-width query. */

/* ---------- contact: hero ---------- */
.page-contact .page-hero {
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.page-contact .page-hero h1 {
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.006em;
}

/* ways to reach Dan: a tray of tiles, the phone first */
.ct-reach {
  --reveal-i: 1;
  display: grid;
  gap: 7px;
}
.ct-reach > li {
  display: grid;
}
.ct-reach__item {
  position: relative;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  padding: clamp(1.1rem, 0.9rem + 1vw, 1.65rem);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--inner-light), var(--shadow-soft);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.6s var(--ease-press);
}
.ct-reach__item:hover {
  transform: translateY(-3px);
}
.ct-reach__item:active {
  transform: scale(0.985);
}
.ct-reach__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 3rem;
  color: var(--ink-2);
  font-size: var(--t-small);
  font-weight: 620;
}
.ct-reach__label .icon {
  color: var(--brand);
}
.ct-reach__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 620;
  letter-spacing: -0.006em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.ct-reach__value--big {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.75rem);
  font-weight: 640;
  letter-spacing: -0.006em;
  line-height: 1;
  white-space: nowrap;
}
.ct-reach__meta {
  color: var(--brand);
  font-size: var(--t-small);
  font-weight: 620;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}
.ct-reach__go {
  position: absolute;
  top: clamp(0.8rem, 0.6rem + 1vw, 1.3rem);
  right: clamp(0.8rem, 0.6rem + 1vw, 1.3rem);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  transition: transform 0.55s var(--ease-press);
}
.ct-reach__go .icon {
  width: 1rem;
  height: 1rem;
}
.ct-reach__item:hover .ct-reach__go {
  transform: translate(2px, -2px) scale(1.06);
}
.ct-reach__item--phone {
  background: var(--panel);
  color: var(--panel-ink);
  box-shadow: inset 0 1px 0 var(--panel-line);
}
.ct-reach__item--phone .ct-reach__label {
  color: var(--panel-ink-2);
}
.ct-reach__item--phone .ct-reach__label .icon {
  color: var(--panel-ink);
}
.ct-reach__item--phone .ct-reach__go {
  background: var(--panel-line);
  color: var(--panel-ink);
}
/* wide screens: the phone tile stands tall beside the other two */
@media (min-width: 860px) {
  .ct-reach {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .ct-reach > li:first-child {
    grid-row: span 2;
  }
  .ct-reach__item--phone {
    align-content: space-between;
    gap: 3rem;
  }
}

/* ---------- contact: message form ---------- */
.ct-form {
  display: grid;
  gap: 2.5rem;
}
.ct-form__intro {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.ct-form__apply {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ct-form__apply-body {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
}
.ct-form__apply-body p {
  color: var(--ink-2);
}
.ct-form .form .btn {
  justify-self: start;
}
@media (min-width: 480px) {
  .ct-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .ct-form .form .btn {
    justify-self: stretch;
  }
}
@media (min-width: 960px) {
  .ct-form {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .ct-form__intro {
    position: sticky;
    top: calc(var(--nav-h) + var(--nav-top) + 24px);
  }
}

/* ---------- contact: map ---------- */
.ct-map {
  display: grid;
  gap: 1.25rem;
}
.ct-map__frame {
  position: relative;
  aspect-ratio: 4 / 3.6;
  background: var(--surface-3);
}
.ct-map__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ct-map__meta {
  display: grid;
  gap: 0.5rem;
}
.ct-map__address {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 620;
  letter-spacing: -0.006em;
  line-height: 1.25;
}
.ct-map__note {
  max-width: 52ch;
  margin-top: 0.5rem;
}
.ct-map__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
}
@media (min-width: 720px) {
  .ct-map__frame {
    aspect-ratio: 16 / 7.5;
  }
  .ct-map__meta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 2.5rem;
    align-items: start;
  }
  .ct-map__links {
    justify-content: flex-end;
  }
}

/* ---- 55-legal.css ---- */
/* ---------- privacy notice and 404 (tokens only; builds on .page-hero and .prose) ---------- */
.page-privacy .prose > h2:first-child {
  margin-top: 0;
}
.page-privacy .prose strong {
  color: var(--ink);
}
.page-privacy .prose .callout {
  margin-top: 1.5rem;
}

.page-404 .page-hero {
  padding-bottom: var(--section);
}
.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  width: 100%;
}

/* ---- 60-apply.css ---- */
/* ---------- rental application (apply.html) ----------
   Only what the application adds on top of the shared form components:
   intro card, progress, step panels, repeatable rows, review, confirmation, print.
   Behaviour lives in js/apply.js. Colours come from tokens only. */

/* ---------- intro ---------- */
.app-hero {
  padding-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}
.app-need__core {
  display: grid;
  gap: 1.25rem;
}
.app-need__title {
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -0.006em;
}
.app-need__list {
  display: grid;
  gap: 0.8rem;
}
.app-need__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}
.app-need__list .icon {
  margin-top: 0.12rem;
  color: var(--brand);
}
.app-need__foot {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--ink-2);
}
.app-need__foot strong {
  color: var(--ink);
}

/* buttons that read as text */
.app-linkbtn {
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--t-small);
  text-align: left;
}
.app-textbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--brand);
  font-size: var(--t-small);
  font-weight: 620;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.app-textbtn:hover {
  color: var(--ink);
}
.app-textbtn--danger {
  color: var(--danger);
}

/* ---------- layout: progress beside the panel on desktop ---------- */
.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.app-side {
  display: none;
}
.app-shell {
  min-width: 0;
}
.app-panel {
  padding: clamp(1.15rem, 0.5rem + 3.2vw, 2.75rem);
}
@media (min-width: 1000px) {
  .app-layout {
    grid-template-columns: 15.5rem minmax(0, 50rem);
    justify-content: center;
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
  }
  .app-side {
    position: sticky;
    top: calc(var(--nav-h) + var(--nav-top) + 1.5rem);
    display: grid;
    gap: 1.5rem;
    padding-top: 1.25rem;
  }
  .app-shell {
    grid-column: 2;
  }
  .app-layout.is-done {
    grid-template-columns: minmax(0, 50rem);
  }
  .app-layout.is-done .app-side {
    display: none;
  }
  .app-layout.is-done .app-shell {
    grid-column: 1;
  }
}

/* ---------- progress: named steps (desktop) ---------- */
.app-progress__label {
  margin-bottom: 0.6rem;
  color: var(--ink-3);
  font-size: var(--t-small);
  font-weight: 620;
}
.app-progress__list li {
  position: relative;
}
.app-progress__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: calc(50% + 17px);
  width: 2px;
  height: calc(100% - 34px);
  border-radius: 2px;
  background: var(--line-strong);
}
.app-progress__list li.is-passed:not(:last-child)::after {
  background: var(--brand);
}
.app-progress__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 48px;
  padding: 0 0.5rem 0 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink-3);
  font-size: 0.98rem;
  font-weight: 540;
  line-height: 1.25;
  text-align: left;
}
.app-progress__item:disabled {
  cursor: default;
}
.app-progress__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: transparent;
}
.app-progress__dot .icon {
  width: 0.95rem;
  height: 0.95rem;
}
.app-progress__list li.is-done .app-progress__item {
  color: var(--ink-2);
}
.app-progress__list li:not(.is-current) .app-progress__item:not(:disabled):hover .app-progress__name {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.app-progress__list li.is-done .app-progress__dot {
  background: var(--brand);
  box-shadow: none;
  color: var(--bg);
}
.app-progress__list li.is-current .app-progress__item {
  color: var(--ink);
  font-weight: 650;
  cursor: default;
}
.app-progress__list li.is-current .app-progress__dot {
  background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--brand);
  color: transparent;
}
.app-progress__list li.is-current .app-progress__dot::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.app-side__help {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}
.app-side__help a,
.app-foot__help a,
.app-done__msg p a {
  color: var(--brand);
  font-weight: 620;
  white-space: nowrap;
}

/* ---------- progress: compact line and bar (phones and tablets) ---------- */
.app-progress-compact {
  display: grid;
  gap: 0.6rem;
}
.app-progress-compact__now {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.3;
}
.app-progress-compact__now strong {
  color: var(--ink);
}
.app-progress-compact__bar {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  overflow: hidden;
}
.app-progress-compact__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transform: scaleX(0.1429);
  transform-origin: left center;
  transition: transform 0.7s var(--ease-out);
}
.app-progress-compact[data-at="2"] .app-progress-compact__fill { transform: scaleX(0.2857); }
.app-progress-compact[data-at="3"] .app-progress-compact__fill { transform: scaleX(0.4286); }
.app-progress-compact[data-at="4"] .app-progress-compact__fill { transform: scaleX(0.5714); }
.app-progress-compact[data-at="5"] .app-progress-compact__fill { transform: scaleX(0.7143); }
.app-progress-compact[data-at="6"] .app-progress-compact__fill { transform: scaleX(0.8571); }
.app-progress-compact[data-at="7"] .app-progress-compact__fill { transform: scaleX(1); }
@media (min-width: 1000px) {
  .app-progress-compact {
    display: none;
  }
}

/* ---------- the form and its steps ---------- */
.app-form {
  gap: 1.75rem;
}
.app-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: var(--r-inner);
  background: var(--brand-tint);
  color: var(--ink);
  font-size: var(--t-small);
  line-height: 1.5;
}
.app-notice .icon {
  margin-top: 0.1rem;
  color: var(--brand);
}
.app-step {
  display: grid;
  gap: 1.6rem;
}
/* with JavaScript one step shows at a time; without it the whole form is laid out in order */
.js .app-form .app-step:not(.is-current) {
  display: none;
}
.js .app-form .app-step.is-current {
  animation: app-step-in 0.55s var(--ease-out) both;
}
@keyframes app-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.app-step__head {
  display: grid;
  gap: 0.5rem;
}
.app-step__title {
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: -0.006em;
}
.app-step__title:focus,
.app-done__title:focus {
  outline: none;
}
.app-step__intro {
  max-width: 46ch;
  color: var(--ink-2);
}

/* a titled group of questions inside a step */
.app-sub {
  display: grid;
  gap: 1.15rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.app-sub__head {
  display: grid;
  gap: 0.3rem;
}
.app-sub__title {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.app-sub__text {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}
.app-sub__hint {
  color: var(--brand);
  font-size: var(--t-small);
  font-weight: 560;
  line-height: 1.5;
}
.app-when {
  display: grid;
  gap: 1.35rem 1.1rem;
}

/* input details */
.app-money {
  position: relative;
}
.app-money__sign {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  color: var(--ink-3);
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.app-money .input {
  padding-left: 1.85rem;
}
.app-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.app-form input[type="number"]::-webkit-outer-spin-button,
.app-form input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.app-form input[type="date"] {
  min-width: 0;
}
.app-form input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}
.app-form .input[readonly] {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}

/* ---------- repeatable rows: occupants, vehicles, references ---------- */
.app-rows {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.app-row {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.1rem 1.2rem;
  border-radius: var(--r-inner);
  background: var(--surface-2);
}
.app-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.app-row__title {
  font-size: var(--t-small);
  font-weight: 650;
}
.app-add,
.app-remove,
.app-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 1rem 0 0.8rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-press);
}
.app-add:hover,
.app-remove:hover,
.app-edit:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
}
.app-add:active,
.app-remove:active,
.app-edit:active {
  transform: scale(0.97);
}
.app-add {
  min-height: 48px;
  color: var(--brand);
}
.app-add .icon,
.app-remove .icon,
.app-edit .icon {
  width: 1rem;
  height: 1rem;
}
.app-remove {
  color: var(--ink-2);
}
.app-rows__note {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}

/* ---------- buttons under the steps ---------- */
.app-actions {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (max-width: 519px) {
  .app-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.app-foot {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--t-small);
}
.app-foot__help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
}
.app-foot__note {
  grid-column: 1 / -1;
}
@media (min-width: 640px) {
  .app-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}
.app-clear__confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- review ---------- */
.app-review {
  display: grid;
}
.app-review__group {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
}
.app-review__group:first-child {
  padding-top: 0;
  border-top: 0;
}
.app-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.app-review__title {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.app-review__list {
  display: grid;
  gap: 0.6rem;
}
.app-review__list > div {
  display: grid;
  gap: 0.05rem;
}
.app-review__list dt {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.4;
}
.app-review__list dd {
  font-weight: 560;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.app-review__list dd.is-empty {
  color: var(--ink-3);
  font-weight: 450;
}
@media (min-width: 640px) {
  .app-review__list > div {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: baseline;
  }
}
.app-consent {
  display: grid;
  gap: 0.7rem;
}
.app-consent .choice__text {
  font-weight: 500;
  color: var(--ink);
}

/* ---------- after submitting ---------- */
.app-done {
  display: grid;
  gap: 2rem;
}
.app-done__msg {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.app-done__msg p {
  max-width: 56ch;
  color: var(--ink-2);
}
.app-done__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand-tint);
  color: var(--brand);
}
.app-done__icon--ok {
  background: var(--ok-tint);
  color: var(--ok);
}
.app-done__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}
.app-done__title {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  line-height: 1.08;
}
.app-done__sub {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.012em;
}
.app-done__actions {
  margin-top: 0.5rem;
}
@media (max-width: 519px) {
  .app-done__actions {
    display: grid;
    width: 100%;
  }
}
.app-done__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.app-record {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.app-record__title {
  font-size: 1.3rem;
  letter-spacing: -0.016em;
}

/* paper header, print only */
.app-print-head {
  display: none;
}

/* ---------- without JavaScript: the whole form, in order, ready to print ---------- */
html:not(.js) .app-side,
html:not(.js) .app-progress-compact,
html:not(.js) .app-actions,
html:not(.js) .app-foot,
html:not(.js) .app-add,
html:not(.js) .app-remove,
html:not(.js) .app-review,
html:not(.js) .app-form__key,
html:not(.js) [data-print-blank] {
  display: none;
}
html:not(.js) .app-form [data-when][hidden],
html:not(.js) .app-form [data-row][hidden] {
  display: grid !important;
}
html:not(.js) .app-step + .app-step {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ---------- print: a clean paper application, black on white ---------- */
@media print {
  /* a named page, so other pages of the site keep their own print margins */
  @page application {
    margin: 14mm;
  }
  html:has(.page-apply) {
    color-scheme: light;
  }
  .page-apply {
    page: application;
    --bg: white;
    --surface: white;
    --surface-2: white;
    --surface-3: white;
    --ink: black;
    --ink-2: black;
    --ink-3: black;
    --brand: black;
    --brand-tint: white;
    --accent: black;
    --accent-tint: white;
    --ok: black;
    --ok-tint: white;
    --danger: black;
    --danger-tint: white;
    --line: rgb(0 0 0 / 0.3);
    --line-strong: rgb(0 0 0 / 0.55);
    --shell: transparent;
    font-size: 10.5pt;
    line-height: 1.4;
  }
  .page-apply .site-header,
  .page-apply .menu,
  .page-apply .site-footer,
  .page-apply .skip-link,
  .page-apply .app-hero,
  .page-apply .app-side,
  .page-apply .app-progress-compact,
  .page-apply .app-notice,
  .page-apply .app-form__key,
  .page-apply .app-actions,
  .page-apply .app-foot,
  .page-apply .form-status,
  .page-apply .app-add,
  .page-apply .app-remove,
  .page-apply .app-edit,
  .page-apply .app-rows__note,
  .page-apply .app-sub__hint,
  .page-apply .app-done__msg,
  .page-apply .app-step .form-note,
  .page-apply .field__error,
  .page-apply .hp-field,
  .page-apply noscript {
    display: none !important;
  }
  .page-apply .section {
    padding: 0;
  }
  .page-apply .wrap {
    width: 100%;
  }
  .page-apply .app-layout {
    display: block;
  }
  .page-apply .app-shell,
  .page-apply .app-shell > .bezel__core {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .page-apply .app-panel {
    padding: 0;
  }
  .page-apply .app-print-head {
    display: block;
    margin-bottom: 1.1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1.5px solid black;
    font-size: 9.5pt;
  }
  .page-apply .app-print-head__name {
    font-family: var(--font-display);
    font-size: 17pt;
    font-weight: 640;
    letter-spacing: -0.006em;
    line-height: 1.1;
  }
  .page-apply .app-print-head__title {
    margin-bottom: 0.35rem;
    font-size: 12pt;
    font-weight: 620;
  }
  .page-apply .app-form {
    gap: 1rem;
  }
  .page-apply .app-step {
    gap: 0.9rem;
    animation: none;
  }
  .page-apply .app-step__title,
  .page-apply .app-record__title {
    font-size: 14pt;
    break-after: avoid;
  }
  .page-apply .app-sub {
    gap: 0.7rem;
    padding-top: 0.8rem;
  }
  .page-apply .app-sub__title,
  .page-apply .app-review__title {
    font-size: 11.5pt;
    break-after: avoid;
  }
  .page-apply .form-grid,
  .page-apply .app-when {
    gap: 0.7rem 1.1rem;
  }
  .page-apply .field,
  .page-apply .app-row,
  .page-apply .app-review__list > div {
    break-inside: avoid;
  }
  .page-apply .input,
  .page-apply .select,
  .page-apply .textarea {
    min-height: 0;
    padding: 0.1rem 0 0.2rem;
    border: 0;
    border-bottom: 1px solid black;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: inherit;
  }
  .page-apply .textarea {
    min-height: 3.4rem;
    padding: 0.3rem 0.45rem;
    border: 1px solid black;
  }
  .page-apply .app-money .input {
    padding-left: 0.9rem;
  }
  .page-apply .app-money__sign {
    left: 0;
  }
  .page-apply input::-webkit-calendar-picker-indicator {
    display: none;
  }
  .page-apply .choices {
    gap: 0.15rem 1.5rem;
  }
  .page-apply .choice {
    min-height: 0;
    padding: 0.1rem 0;
    gap: 0.5rem;
    background: none;
    box-shadow: none;
    break-inside: avoid;
  }
  .page-apply .choice input {
    width: 13px;
    height: 13px;
    margin-top: 0.22rem;
  }
  .page-apply .app-row {
    padding: 0.6rem 0 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: none;
  }
  .page-apply .app-review__group {
    padding-block: 0.7rem;
  }
  .page-apply .app-done {
    gap: 0;
  }
  .page-apply .app-record {
    padding-top: 0;
    border-top: 0;
  }

  /* "Print a blank application": every step, every optional block, no answers */
  .is-print-blank .app-form {
    display: grid !important;
  }
  .is-print-blank .app-done,
  .is-print-blank .app-review {
    display: none !important;
  }
  .is-print-blank .app-step {
    display: grid !important;
  }
  .is-print-blank .app-step + .app-step,
  html:not(.js) .page-apply .app-step + .app-step {
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1.5px solid black;
  }
  .is-print-blank .app-form [data-when][hidden],
  .is-print-blank .app-form [data-row][hidden] {
    display: grid !important;
  }
  .is-print-blank .input,
  .is-print-blank .select,
  .is-print-blank .textarea {
    min-height: 1.9rem;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
  }
  .is-print-blank .textarea {
    min-height: 4.6rem;
  }
  .is-print-blank .choice input {
    border: 1px solid black;
    border-radius: 2px;
    background: white;
    -webkit-appearance: none;
    appearance: none;
  }
  .is-print-blank .choice input[type="radio"] {
    border-radius: 50%;
  }
}

/* ---- 90-print.css ---- */
/* ---------- print: any page ---------- */
@media print {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .site-header,
  .menu,
  .skip-link {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .page-hero {
    padding-top: 1rem;
  }
  .hero__content > *,
  .hero__img {
    animation: none !important;
  }
}
