/* Space Heights landing page.
   Shape system: tiles and media 28px, panels 36px, buttons fully rounded, inputs 12px. */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-italic-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  interpolate-size: allow-keywords;

  --bg: #fbf7ee;
  --surface: #fffdf8;
  --surface-2: #f3ecdf;
  --ink: #15201a;
  --ink-2: #39443e;
  --ink-3: #5c6760;
  --muted: #80877f;
  --line: rgba(19, 42, 31, 0.12);
  --green: #132a1f;
  --green-2: #1d3a2b;
  --on-green: #fbf7ee;
  --on-green-2: rgba(251, 247, 238, 0.76);
  --on-green-line: rgba(251, 247, 238, 0.16);
  --brass-soft: #d2b68a;
  --focus: #1d3a2b;
  --error: #9b2c2c;
  --header-bg: rgba(251, 247, 238, 0.72);
  --shadow-soft: 0 1px 2px rgba(21, 32, 26, 0.06), 0 12px 32px -16px rgba(21, 32, 26, 0.22);
  --shadow-lift: 0 2px 4px rgba(21, 32, 26, 0.05), 0 28px 56px -28px rgba(21, 32, 26, 0.38);

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --accent: #3a5646;

  --radius: 28px;
  --radius-panel: 36px;
  --radius-input: 12px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 60px;
  --section-gap: clamp(56px, 7vw, 96px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--green-2);
}

.display,
.section-title,
.statement-text,
.offer-amount,
.offer-title,
.audience-panel h3,
.step h3,
.figure-value,
.review blockquote,
.tile h3 {
  font-family: var(--serif);
  font-feature-settings: "lnum" 1;
}

.display,
.section-title {
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

.muted {
  color: var(--muted);
}

.display .muted,
.section-title .muted {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.section-title:has(.muted) {
  text-wrap: wrap;
}

.section-title .muted {
  display: inline-block;
}

.section-title {
  max-width: 24ch;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.section-sub {
  margin-top: 18px;
  max-width: 50ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font: 500 16px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn .icon {
  font-size: 16px;
  transition: transform 0.25s var(--ease-out);
}

.btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--green);
  color: var(--on-green);
}

.btn-light {
  background: var(--on-green);
  color: var(--green);
}

.btn-light .icon {
  font-size: 20px;
}

.btn-link {
  min-height: 44px;
  padding: 0 4px;
  background: none;
  color: var(--green-2);
}

.btn-block {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--green-2);
  }

  .btn-light:hover {
    background: #fff;
  }

  .btn-link:hover {
    color: var(--green);
  }

  .btn-link:hover .icon {
    transform: translateX(3px);
  }

  .btn-link:hover .icon:has(use[href="#i-arrow-up-right"]) {
    transform: translate(2px, -2px);
  }
}

/* Header */
.top-sentinel {
  position: absolute;
  top: 0;
  height: 8px;
  width: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle .icon-close {
  display: none;
}

/* Hero */
.hero {
  padding-top: clamp(40px, 7vh, 88px);
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero .display {
  margin-top: 14px;
  font-size: clamp(54px, 9.4vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero .display span {
  display: block;
}

.hero .display-long {
  font-size: clamp(48px, 7.6vw, 108px);
}

.hero-sub {
  margin-top: 24px;
  max-width: 34ch;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

.hero-visual {
  margin-top: clamp(44px, 7vh, 80px);
}

.hero-frame {
  --frame-inset: max(var(--gutter), calc((100% - var(--container)) / 2));
  height: clamp(380px, 84vh, 900px);
  overflow: hidden;
  clip-path: inset(0 var(--frame-inset) round var(--radius));
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 55%;
}

/* Statement */
.statement {
  padding-block: var(--section-gap);
}

.statement-text {
  max-width: 24ch;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}

/* Offer */
.offer-panel {
  padding: clamp(32px, 5.5vw, 76px);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(90% 120% at 0% 0%, var(--green-2), transparent 60%),
    var(--green);
  color: var(--on-green);
}

.offer-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.offer-top-plain {
  grid-template-columns: minmax(0, 1fr);
}

.offer-top-plain .offer-title span {
  display: block;
}

.offer-top-plain .offer-title {
  max-width: 22ch;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
}

.offer-amount {
  font-size: clamp(132px, 17vw, 236px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--brass-soft);
}

.offer-title {
  max-width: 20ch;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--on-green);
  text-wrap: balance;
}

.offer-title sup {
  font-size: 0.5em;
  color: var(--brass-soft);
}

.offer-copy p {
  margin-top: 14px;
  max-width: 44ch;
  font-size: 18px;
  color: var(--on-green-2);
}

.offer-promises {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--on-green-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}

.offer-promises li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.offer-promises .icon {
  font-size: 24px;
  color: var(--brass-soft);
}

/* Audience switcher */
.audience {
  padding-top: var(--section-gap);
}

.audience-switch {
  margin-top: 36px;
}

.segmented {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(19, 42, 31, 0.07);
}

.segment {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font: 500 15px/1 var(--sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.segment[aria-selected="true"] {
  color: var(--ink);
}

.segment:hover {
  color: var(--ink);
}

.segmented-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--thumb-w, 0);
  transform: translateX(var(--thumb-x, 0));
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(21, 32, 26, 0.08), 0 6px 16px -6px rgba(21, 32, 26, 0.18);
  opacity: 0;
}

.segmented.is-ready .segmented-thumb {
  opacity: 1;
  transition: transform 0.4s var(--ease-drawer), width 0.4s var(--ease-drawer);
}

html:not(.js) .segmented {
  display: none;
}

.audience-panels {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.audience-panel {
  display: grid;
  align-content: end;
  min-height: clamp(300px, 30vw, 380px);
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(29, 58, 43, 0.08), transparent 70%),
    var(--surface);
}

.audience-panel .icon {
  align-self: start;
  margin-bottom: auto;
  font-size: 44px;
  color: var(--green-2);
}

.audience-panel h3 {
  margin-top: 40px;
  max-width: 18ch;
  font-size: clamp(32px, 3.9vw, 52px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

.audience-panel p {
  margin-top: 16px;
  max-width: 50ch;
  font-size: 19px;
  color: var(--ink-3);
  text-wrap: pretty;
}

.js .audience-panels {
  display: grid;
  gap: 0;
}

.js .audience-panel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  filter: blur(6px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out), filter 0.35s ease, visibility 0s linear 0.45s;
}

.js .audience-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: 0.08s, 0.08s, 0.08s, 0s;
}

/* Process */
.process {
  padding-top: var(--section-gap);
}

.process-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.process-media {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  height: min(calc(100vh - var(--header-h) - 56px), 760px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

.process-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 1.4s var(--ease-out);
}

.process-media img.is-active {
  opacity: 1;
  transform: none;
}

.steps {
  padding-bottom: 4vh;
}

.step {
  padding-block: clamp(32px, 9vh, 104px);
  transition: opacity 0.5s ease;
}

.step:first-child {
  padding-top: clamp(16px, 6vh, 72px);
}

.js .step:not(.is-active) {
  opacity: 0.26;
}

.step-photo {
  display: none;
}

.step-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-2);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-top: 10px;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.step p {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 19px;
  color: var(--ink-3);
  text-wrap: pretty;
}

.steps-note {
  max-width: 46ch;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--surface-2);
  font-size: 15px;
  color: var(--ink-2);
}

/* Proof */
.proof {
  padding-top: var(--section-gap);
}

.figures {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(24px, 5vw, 72px);
}

.figure-item {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.figure-value {
  font-size: clamp(88px, 11.5vw, 160px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.figure-value span {
  font-size: 0.3em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
}

.figure-label {
  margin-top: 18px;
  max-width: 36ch;
  font-size: 17px;
  color: var(--ink-3);
}

.rail {
  margin-top: clamp(56px, 6vw, 88px);
}

.rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(540px, 84%);
  gap: 20px;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.review {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
}

.review blockquote {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}

.review figcaption {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 2px;
  font-size: 14px;
  color: var(--ink-3);
}

.review figcaption strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.rail-controls {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 42, 31, 0.08);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.16s var(--ease-out);
}

.rail-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.rail-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .rail-btn:hover:not(:disabled) {
    background: rgba(19, 42, 31, 0.14);
  }
}

html:not(.js) .rail-controls {
  display: none;
}

/* Services bento */
.services {
  padding-top: var(--section-gap);
}

.bento {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}

.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--on-green);
}

.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(12, 22, 17, 0.82) 0%, rgba(12, 22, 17, 0.45) 38%, rgba(12, 22, 17, 0) 66%);
}

.tile-body {
  padding: 22px 24px 24px;
}

.tile h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.008em;
  color: var(--on-green);
}

.tile h3 .icon {
  font-size: 22px;
  color: var(--brass-soft);
}

.tile p {
  margin-top: 6px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(251, 247, 238, 0.86);
}

.tile-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-feature .tile-body {
  padding: clamp(28px, 3.5vw, 44px);
}

.tile-feature h3 {
  gap: 12px;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.015em;
}

.tile-feature h3 .icon {
  font-size: 0.8em;
}

.tile-feature p {
  margin-top: 10px;
  font-size: 18px;
}

/* Renter move-in: handover tile beside the movers offer */
.movein-grid {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
}

.movein-grid .tile-feature {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(380px, 40vw, 560px);
}

.movers-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 0% 0%, var(--green-2), transparent 60%),
    var(--green);
  color: var(--on-green-2);
}

.movers-panel .eyebrow {
  color: var(--brass-soft);
}

.movers-amount {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--serif);
  font-feature-settings: "lnum" 1;
  font-size: clamp(110px, 12vw, 176px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--brass-soft);
}

.movers-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--on-green);
  text-wrap: balance;
}

.movers-title sup {
  font-size: 0.5em;
  color: var(--brass-soft);
}

.movers-panel > p:not(.eyebrow, .movers-amount) {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 17px;
}

.movers-panel .btn {
  margin-top: 28px;
}

.honesty-panel .movers-title {
  margin-top: auto;
  padding-top: 32px;
  font-size: clamp(36px, 3.8vw, 54px);
}

.honesty-list {
  margin-top: 24px;
  width: 100%;
  display: grid;
}

.honesty-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--on-green-line);
  font-size: 18px;
  font-weight: 500;
  color: var(--on-green);
}

.honesty-list .icon {
  font-size: 18px;
  color: var(--brass-soft);
}

.honesty-panel > p:not(.eyebrow) {
  margin-top: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover img {
    transform: scale(1.04);
  }
}

/* Homes */
.homes {
  padding-top: var(--section-gap);
}

.homes-grid {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.home-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.home-body {
  display: grid;
  gap: 4px;
  padding: 22px 24px 26px;
}

.home-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-2);
}

.home-body h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.home-meta {
  font-size: 15px;
  color: var(--ink-3);
}

.home-price {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.home-price span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-3);
}

@media (hover: hover) and (pointer: fine) {
  .home-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }

  .home-card:hover .home-media img {
    transform: scale(1.04);
  }
}

.homes-foot {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 4px 24px;
  flex-wrap: wrap;
}

.homes-note {
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-3);
}

.homes .section-sub + .homes-grid {
  margin-top: clamp(32px, 3.5vw, 48px);
}

/* Renter priorities */
.priorities {
  padding-top: var(--section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.priorities-copy .btn-link {
  margin-top: 20px;
  margin-left: -4px;
}

.checklist {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(29, 58, 43, 0.08), transparent 70%),
    var(--surface);
}

.checklist ul {
  margin-top: 18px;
  display: grid;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.checklist li:first-child {
  border-top: 0;
}

.checklist .icon {
  font-size: 22px;
  color: var(--green-2);
}

/* Renter costs */
.costs {
  padding-top: var(--section-gap);
}

.cost-list {
  margin: clamp(36px, 4vw, 56px) 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px clamp(20px, 2.4vw, 32px);
}

.cost-list > div {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cost-list dt {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.cost-list dd {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* FAQ */
.faq {
  padding-top: var(--section-gap);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  font-size: 20px;
  color: var(--green-2);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 58ch;
  padding-bottom: 24px;
  margin-top: -4px;
  color: var(--ink-3);
}

/* Contact */
.contact {
  padding-block: var(--section-gap);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding: clamp(28px, 5.5vw, 76px);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(80% 100% at 0% 100%, var(--green-2), transparent 60%),
    var(--green);
  color: var(--on-green);
}

.contact-info {
  --focus: var(--brass-soft);
}

.contact-info .eyebrow {
  color: var(--brass-soft);
}

.contact-info .section-title {
  margin-top: 12px;
  font-size: clamp(36px, 4.2vw, 58px);
  color: var(--on-green);
}

.contact-info .section-title .muted {
  color: var(--brass-soft);
}

.contact-info .section-sub {
  color: var(--on-green-2);
}

.contact-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.contact-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--on-green-2);
}

.contact-hours .icon {
  color: var(--brass-soft);
}

.contact-list {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
}

.contact-list .icon {
  margin-top: 4px;
  font-size: 20px;
  color: var(--brass-soft);
}

.contact-list a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}

.contact-list a:hover {
  background-size: 100% 1px;
}

.contact-landmark {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--on-green-2);
}

.insta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px 10px 10px;
  border-radius: 20px;
  border: 1px solid var(--on-green-line);
  background: rgba(251, 247, 238, 0.05);
  text-decoration: none;
  color: var(--on-green-2);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.insta:hover {
  border-color: rgba(210, 182, 138, 0.6);
  background: rgba(251, 247, 238, 0.08);
}

.insta strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--on-green);
}

.insta-qr {
  width: 72px;
  height: 72px;
  padding: 7px;
  border-radius: 12px;
  background: #fbf8f2;
}

.insta-qr img {
  width: 100%;
  height: 100%;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.45);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-input);
  border: 1px solid rgba(21, 32, 26, 0.22);
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  appearance: none;
  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% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(29, 58, 43, 0.16);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-help {
  font-size: 14px;
  color: var(--ink-3);
}

.field-error {
  font-size: 14px;
  font-weight: 500;
  color: var(--error);
}

.form-status {
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--radius-input);
  background: rgba(29, 58, 43, 0.1);
}

/* Footer */
.site-footer {
  padding-block: 8px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 48px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
}

.footer-brand img {
  height: 44px;
  width: auto;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: 14px;
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: var(--ink-3);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--ink);
}

.footnotes {
  margin-top: 40px;
  padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  display: grid;
  gap: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
}

.copyright {
  margin-top: 8px;
}

/* Smooth open and close for FAQ answers where supported. */
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
}

.faq-item[open]::details-content {
  block-size: auto;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .load-in {
    opacity: 0;
    animation: load-in 1.1s var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 110ms + 120ms);
  }

  @keyframes load-in {
    from {
      opacity: 0;
      transform: translateY(20px);
      filter: blur(10px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }

  .hero-visual.load-in {
    animation-name: rise-in;
    animation-duration: 1.4s;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(48px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  /* Scroll-linked storytelling, where the browser supports it. Elsewhere the page stays static. */
  @supports (animation-timeline: view()) {
    .hero-frame {
      animation: frame-open linear both;
      animation-timeline: view();
      animation-range: entry 45% cover 52%;
    }

    @keyframes frame-open {
      to {
        clip-path: inset(0 0 round 0);
      }
    }

    .hero-frame img {
      animation: frame-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 40%;
    }

    @keyframes frame-settle {
      from {
        transform: scale(1.16);
      }
      to {
        transform: scale(1);
      }
    }

    .statement-text.is-split {
      view-timeline: --statement block;
    }

    .statement-text .w {
      white-space: nowrap;
      opacity: 0.14;
      animation: word-on linear both;
      animation-timeline: --statement;
      animation-range: cover var(--a) cover var(--b);
    }

    @keyframes word-on {
      to {
        opacity: 1;
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rail-track {
    scroll-behavior: auto;
  }

  .segmented.is-ready .segmented-thumb,
  .js .audience-panel,
  .process-media img {
    transition-duration: 0s;
  }

  .js .audience-panel {
    transform: none;
    filter: none;
  }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav-links {
    gap: 20px;
  }

  .offer-promises {
    grid-template-columns: 1fr;
  }

  .cost-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 380px;
  }
}

/* Mobile keeps the four primary paths visible instead of hiding them in a menu. */
@media (max-width: 900px) {
  :root {
    --header-h: 104px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 60px 44px;
    grid-template-areas:
      "brand cta"
      "links links";
    gap: 0 12px;
  }

  .brand {
    grid-area: brand;
  }

  .nav {
    display: contents;
  }

  .nav-cta {
    grid-area: cta;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    grid-area: links;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li {
    flex: none;
  }

  .nav-links a {
    display: block;
    line-height: 43px;
    font-size: clamp(13px, 3.6vw, 14px);
    font-weight: 500;
    color: var(--ink-3);
    white-space: nowrap;
  }

  .nav-links a[aria-current="page"] {
    font-weight: 600;
    color: var(--green);
  }

  .hero-frame {
    height: clamp(320px, 62vh, 640px);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .js .process-media {
    display: none;
  }

  .js .step:not(.is-active) {
    opacity: 1;
  }

  .step-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 22px;
    border-radius: var(--radius);
    background: var(--surface-2);
  }

  .step {
    padding-block: 28px;
  }

  .step:first-child {
    padding-top: 32px;
  }

  .steps {
    padding-bottom: 12px;
  }

  .faq,
  .contact-panel,
  .priorities,
  .movein-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .homes-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 46%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
  }

  .homes-grid::-webkit-scrollbar {
    display: none;
  }

  .homes-grid > li {
    scroll-snap-align: start;
  }

  .homes-note {
    margin-left: 0;
    flex-basis: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand img {
    height: 32px;
  }

  .hero .display {
    letter-spacing: -0.015em;
  }


  .hero-actions {
    gap: 8px 20px;
  }

  .segmented {
    display: grid;
    width: 100%;
  }

  .segment {
    padding: 0 8px;
    font-size: 14px;
  }

  .audience-panel p,
  .step p {
    font-size: 17px;
  }

  .offer-top {
    grid-template-columns: 1fr;
  }

  .figures {
    grid-template-columns: 1fr;
  }

  .cost-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cost-list > div {
    padding-block: 20px;
  }

  .checklist li {
    font-size: 16px;
  }

  .review blockquote {
    font-size: 22px;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .tile {
    min-height: 240px;
  }

  .tile-feature {
    min-height: 340px;
  }

  .homes-grid {
    grid-auto-columns: 84%;
  }

  .contact-actions .btn {
    flex: 1 1 100%;
  }

  .insta {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
