:root {
  --paper: #f4f0e6;
  --ink: #171715;
  --muted: #6c6961;
  --rule: rgba(23, 23, 21, 0.65);
  --soft-rule: rgba(23, 23, 21, 0.18);
  --nav: rgba(32, 30, 25, 0.075);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  line-height: 1;
}

.brand .ray {
  font-size: 2.55rem;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  font-weight: 400;
}

.brand .value-add {
  margin-top: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.39em;
  margin-right: -0.39em;
  white-space: nowrap;
}

.brand-large .ray {
  font-size: clamp(3.4rem, 6vw, 5.3rem);
}

.brand-large .value-add {
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  margin-top: 0.7rem;
}

/* ---------- Home ---------- */

.home-header {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 34px;
  text-align: center;
}

.home-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 38px auto 0;
  max-width: 880px;
}

.home-nav a {
  padding: 12px 10px;
  background: var(--nav);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  transition: background 180ms ease;
}

.home-nav a:hover,
.home-nav a.active {
  background: rgba(32, 30, 25, 0.13);
}

.home-main {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 52px 0 32px;
  text-align: center;
}

.hero-art {
  min-height: 355px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  max-width: 1040px;
}

.art-placeholder {
  width: 100%;
  min-height: 330px;
  display: grid;
  place-items: center;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  position: relative;
}

.brownstone-placeholder::before {
  content: "";
  width: min(86%, 900px);
  height: 1px;
  background: var(--soft-rule);
  position: absolute;
  bottom: 12%;
  left: 7%;
}

.art-placeholder span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.home-statement {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.home-statement::after {
  content: "";
  display: block;
  width: 110px;
  height: 1px;
  background: var(--soft-rule);
  margin: 34px auto 0;
}

.home-footer {
  text-align: center;
  padding: 0 24px 42px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.19em;
  line-height: 1.8;
}

.home-footer p {
  margin: 0;
}

/* ---------- Interior header ---------- */

.site-header {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.site-header .brand {
  align-items: flex-start;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--ink);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}

/* ---------- Interior pages ---------- */

.page {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0 90px;
}

.page-title {
  margin: 0;
  text-align: center;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.page-intro {
  max-width: 850px;
  margin: 20px auto 0;
  text-align: center;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: #353430;
}

/* ---------- Overview ---------- */

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
  max-width: 1030px;
  margin: 74px auto 0;
}

.overview-copy {
  font-size: 1.15rem;
  line-height: 1.72;
}

.overview-copy p {
  margin: 0 0 1.45em;
}

.overview-copy p:last-child {
  margin-bottom: 0;
}

.overview-sketch {
  min-height: 470px;
  border-left: 1px solid var(--soft-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 42px;
  color: var(--muted);
  text-align: center;
}

.overview-sketch span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  line-height: 1.8;
}

/* ---------- How It Works ---------- */

.process {
  max-width: 1040px;
  margin: 78px auto 0;
}

.process-step {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  min-height: 420px;
  padding: 55px 0;
  border-bottom: 1px solid var(--soft-rule);
}

.process-step:nth-child(even) .step-art {
  order: 2;
}

.process-step:nth-child(even) .step-copy {
  order: 1;
}

.step-art {
  min-height: 310px;
  display: grid;
  place-items: center;
  position: relative;
}

.sketch-placeholder {
  width: 90%;
  height: 280px;
  border: 1px solid rgba(23, 23, 21, 0.24);
  transform: rotate(-1.4deg);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  line-height: 1.8;
  color: var(--muted);
}

.process-step:nth-child(even) .sketch-placeholder {
  transform: rotate(1.3deg);
}

.step-number {
  display: block;
  font-size: 3.1rem;
  line-height: 1;
  margin-bottom: 12px;
}

.step-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 400;
}

.step-copy p {
  margin: 0;
  max-width: 570px;
  font-size: 1.12rem;
  line-height: 1.68;
}

.process-conclusion {
  max-width: 800px;
  margin: 72px auto 0;
  text-align: center;
  font-size: 1.13rem;
  line-height: 1.75;
}

/* reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Team ---------- */

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
  max-width: 1030px;
  margin: 76px auto 0;
}

.team-portrait {
  min-height: 500px;
  border-right: 1px solid var(--soft-rule);
  padding-right: 44px;
  display: grid;
  place-items: center;
}

.portrait-placeholder {
  width: min(100%, 330px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(23, 23, 21, 0.25);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.team-copy h2 {
  margin: 0 0 30px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.18;
}

.team-copy h2 span {
  display: block;
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.team-copy p {
  margin: 0 0 1.4em;
  font-size: 1.12rem;
  line-height: 1.72;
}

/* ---------- Shared footer ---------- */

.site-footer {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding: 25px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .home-header,
  .home-main,
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .home-header {
    padding-top: 26px;
  }

  .home-nav {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-art {
    min-height: 260px;
  }

  .art-placeholder {
    min-height: 240px;
  }

  .desktop-break {
    display: none;
  }

  .site-header {
    min-height: 0;
    padding: 22px 0 18px;
    flex-direction: column;
    gap: 20px;
  }

  .site-header .brand {
    align-items: center;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 0.85rem;
  }

  .page {
    padding-top: 42px;
  }

  .overview-layout,
  .team-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 50px;
  }

  .overview-sketch {
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid var(--soft-rule);
    padding: 40px 0 0;
  }

  .team-portrait {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--soft-rule);
    padding: 0 0 42px;
  }

  .portrait-placeholder {
    width: min(80%, 300px);
  }

  .process {
    margin-top: 50px;
  }

  .process-step {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 25px;
    padding: 45px 0;
  }

  .process-step:nth-child(even) .step-art,
  .process-step:nth-child(even) .step-copy {
    order: initial;
  }

  .step-art {
    min-height: 230px;
  }

  .sketch-placeholder {
    height: 220px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Homepage illustration ---------- */

.brownstone-hero {
  width: min(100%, 1080px);
  height: auto;
  margin: 0 auto;
}

/* ---------- How It Works artwork ---------- */

.step-sketch {
  position: absolute;
  display: block;
  height: auto;
}

.step-art-1 {
  min-height: 340px;
}

.step1-notes {
  width: 38%;
  left: 0;
  top: 42px;
}

.step1-closet {
  width: 48%;
  left: 29%;
  top: 18px;
}

.step1-value {
  width: 34%;
  right: -8%;
  top: 38px;
}

.step-art-2 {
  min-height: 360px;
}

.step2-cost {
  width: 54%;
  left: -7%;
  top: 75px;
}

.step2-worker {
  width: 72%;
  right: -12%;
  top: 5px;
}

.step-art-3 {
  min-height: 360px;
}

.step3-notes {
  width: 35%;
  left: -5%;
  top: 55px;
}

.step3-closet {
  width: 48%;
  left: 23%;
  top: 28px;
}

.step3-lease {
  width: 55%;
  right: -24%;
  top: 38px;
}

/* ---------- How It Works: Steps 4–5 ---------- */

.process-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(50px, 8vw, 110px);
  padding: 70px 0 55px;
  border-bottom: 1px solid var(--soft-rule);
}

.final-step h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 400;
}

.final-step p {
  margin: 0;
  max-width: 470px;
  font-size: 1.12rem;
  line-height: 1.68;
}

.final-graph {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 45px;
  overflow: hidden;
}

.final-graph img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: 0;
  margin-top: -15%;
}

@media (max-width: 780px) {
  .process-step .step-copy {
    order: 1 !important;
  }

  .process-step .step-art {
    order: 2 !important;
  }

  .step-art-1,
  .step-art-2,
  .step-art-3 {
    min-height: 285px;
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -25px;
  }

  .step-art-2,
  .step-art-3 {
    min-height: 245px;
    margin-bottom: -55px;
  }

  .step1-value {
    right: 0;
  }

  .step2-cost {
    left: 0;
  }

  .step2-worker {
    right: 0;
  }

  .step3-notes {
    left: 0;
  }

  .step3-lease {
    right: -5%;
  }

  .process-final {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 50px 0 45px;
  }

  .final-graph {
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 10px;
    padding-bottom: 8px;
  }

  .final-graph img {
    width: 720px;
    max-width: none;
    margin-left: 0;
    margin-top: -105px;
  }
}

/* ---------- Team portrait ---------- */

.team-headshot {
  display: block;
  width: min(100%, 285px);
  height: auto;
}

@media (max-width: 780px) {
  .team-headshot {
    width: min(72vw, 260px);
  }
}

/* How It Works heading scale — match Team content heading */
.step-copy h2,
.final-step h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.step-copy .step-number,
.final-step .step-number {
  font-size: 2.65rem;
}

@media (max-width: 780px) {
  .step-copy h2,
  .final-step h2 {
    font-size: 1.8rem;
  }

  .step-copy .step-number,
  .final-step .step-number {
    font-size: 2.4rem;
  }
}

/* How It Works — align step numbers beside titles */
.step-copy,
.final-step {
  position: relative;
}

.step-copy .step-number,
.final-step .step-number {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
}

.step-copy h2,
.final-step h2 {
  margin-left: 70px;
  min-height: 2.65rem;
}

@media (max-width: 780px) {
  .step-copy h2,
  .final-step h2 {
    margin-left: 52px;
    min-height: 2.4rem;
  }
}

/* Give Step 3 artwork a little more breathing room */
.process-step:nth-child(3) .step-copy {
  transform: translateX(45px);
}

@media (max-width: 780px) {
  .process-step:nth-child(3) .step-copy {
    transform: none;
  }
}

/* ---------- Overview animation ---------- */

.overview-animation {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.overview-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  animation-duration: 11s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/*
  11-second story:
  0–1.2    brownstone
  1.2–2.2  clean plan
  2.2–3.0  dishwasher
  3.0–3.8  washer/dryer
  3.8–4.8  exterior
  4.8–6.7  storage
  6.7–7.5  storage annotation
  7.5–8.5  lease
  8.5–10.0 uplift
  10–11    brownstone return
*/

.ov-brownstone {
  animation-name: ovBrownstone;
}

.ov-plan {
  animation-name: ovPlan;
}

.ov-dw {
  animation-name: ovDishwasher;
}

.ov-wd {
  animation-name: ovWasherDryer;
}

.ov-exterior {
  animation-name: ovExterior;
}

.ov-storage {
  animation-name: ovStorage;
}

.ov-lease-base {
  animation-name: ovLeaseBase;
}

.ov-lease-value {
  animation-name: ovLeaseValue;
}

@keyframes ovBrownstone {
  0%      { opacity: 1; }
  8%      { opacity: 1; }
  13%     { opacity: 0; }
  91%     { opacity: 0; }
  96%     { opacity: 1; }
  100%    { opacity: 1; }
}

@keyframes ovPlan {
  0%, 8%  { opacity: 0; }
  13%     { opacity: 1; }
  20%     { opacity: 1; }
  24%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes ovDishwasher {
  0%, 18% { opacity: 0; }
  22%     { opacity: 1; }
  27%     { opacity: 1; }
  31%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes ovWasherDryer {
  0%, 25% { opacity: 0; }
  29%     { opacity: 1; }
  34%     { opacity: 1; }
  38%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes ovExterior {
  0%, 33% { opacity: 0; }
  38%     { opacity: 1; }
  43%     { opacity: 1; }
  47%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes ovStorage {
  0%, 41% { opacity: 0; }
  47%     { opacity: 1; }
  64%     { opacity: 1; }
  70%     { opacity: 0; }
  100%    { opacity: 0; }
}

.overview-storage-note {
  position: absolute;
  left: 13%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #a84e43;
  font-family: "Courier New", monospace;
  font-size: clamp(0.55rem, 1.6vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
  opacity: 0;
  animation: ovStorageNote 11s ease-in-out infinite;
}

.overview-storage-arrow {
  display: inline-block;
  font-size: 1.4em;
  transform: rotate(-8deg);
}

@keyframes ovStorageNote {
  0%, 54% { opacity: 0; transform: rotate(-4deg) translateY(4px); }
  58%     { opacity: 1; transform: rotate(-4deg) translateY(0); }
  64%     { opacity: 1; transform: rotate(-4deg) translateY(0); }
  69%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes ovLeaseBase {
  0%, 65% { opacity: 0; }
  71%     { opacity: 1; }
  77%     { opacity: 1; }
  81%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes ovLeaseValue {
  0%, 75% { opacity: 0; }
  80%     { opacity: 1; }
  90%     { opacity: 1; }
  95%     { opacity: 0; }
  100%    { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .overview-scene,
  .overview-storage-note {
    animation: none;
  }

  .overview-scene {
    opacity: 0;
  }

  .ov-lease-value {
    opacity: 1;
  }
}


/* Overview animation artwork scale correction */
.overview-scene {
  width: 180%;
  height: 180%;
  left: -40%;
  top: -40%;
  max-width: none;
}


/* ---------- Overview animation sizing correction ---------- */

/* Undo the previous 180% artwork zoom */
.overview-scene {
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Give the illustration materially more page width */
.overview-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(400px, 1fr);
  gap: clamp(45px, 6vw, 85px);
  max-width: 1180px;
}

.overview-sketch {
  padding-left: 32px;
}

.overview-animation {
  width: 100%;
  aspect-ratio: 4 / 3;
}

@media (max-width: 760px) {
  .overview-layout {
    grid-template-columns: 1fr;
  }

  .overview-sketch {
    padding: 40px 0 0;
  }

  .overview-animation {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}

/* Let Overview artwork use more of the illustration column */
.overview-animation {
  width: 100%;
  aspect-ratio: auto;
  height: 470px;
}

.overview-scene {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 760px) {
  .overview-animation {
    height: 360px;
  }
}

/* Final small Overview illustration size bump */
.overview-animation {
  height: 510px;
}

@media (max-width: 760px) {
  .overview-animation {
    height: 380px;
  }
}

/* Overview illustration — final sizing */
.overview-animation {
  height: 550px;
}

@media (max-width: 760px) {
  .overview-animation {
    height: 400px;
  }
}

/* How It Works — match typography scale to other subpages */
.step-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.step-copy p {
  font-size: 1.2rem;
  line-height: 1.72;
}

.process-conclusion {
  font-size: 1.2rem;
}

/* How It Works — bring process content to established subpage scale */
.process {
  max-width: 1120px;
}

.process-step {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(50px, 7vw, 95px);
}

.step-copy h2 {
  font-size: clamp(2.35rem, 3.4vw, 3rem);
  line-height: 1.12;
}

.step-copy p {
  font-size: 1.32rem;
  line-height: 1.68;
}

.process-conclusion {
  font-size: 1.3rem;
}

/* ---------- How It Works: mobile artwork fix ---------- */

@media (max-width: 780px) {

  .process-step {
    gap: 28px;
  }

  .process-step .step-copy {
    order: 1 !important;
  }

  .process-step .step-art {
    order: 2 !important;
  }

  /* Do not scale/collapse the absolute-positioned compositions */
  .step-art-1,
  .step-art-2,
  .step-art-3 {
    width: 100%;
    transform: none;
    margin-bottom: 0;
    position: relative;
  }

  .step-art-1 {
    min-height: 330px;
  }

  .step-art-2 {
    min-height: 340px;
  }

  .step-art-3 {
    min-height: 340px;
  }

  /* Keep all artwork inside the mobile viewport */
  .step1-notes {
    width: 38%;
    left: 0;
    top: 42px;
  }

  .step1-closet {
    width: 48%;
    left: 27%;
    top: 18px;
  }

  .step1-value {
    width: 32%;
    right: 0;
    top: 38px;
  }

  .step2-cost {
    width: 50%;
    left: 0;
    top: 75px;
  }

  .step2-worker {
    width: 68%;
    right: 0;
    top: 5px;
  }

  .step3-notes {
    width: 33%;
    left: 0;
    top: 55px;
  }

  .step3-closet {
    width: 46%;
    left: 22%;
    top: 28px;
  }

  .step3-lease {
    width: 50%;
    right: 0;
    top: 38px;
  }

  /* Step 4/5 graph should fit the phone instead of becoming a 720px scroller */
  .final-graph {
    overflow: visible;
    width: 100%;
    margin-top: 12px;
    padding-bottom: 0;
  }

  .final-graph img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: -8% 0 0;
  }
}

/* ---------- How It Works: deterministic mobile artwork sizing ---------- */

@media (max-width: 780px) {

  .step-art-1,
  .step-art-2,
  .step-art-3 {
    width: 100%;
    height: 320px;
    min-height: 320px;
    overflow: visible;
    transform: none;
    margin: 0;
  }

  /* Step 1 */
  .step1-notes {
    width: 135px;
    left: 0;
    top: 48px;
  }

  .step1-closet {
    width: 175px;
    left: 92px;
    top: 20px;
  }

  .step1-value {
    width: 120px;
    right: 0;
    top: 45px;
  }

  /* Step 2 */
  .step2-cost {
    width: 175px;
    left: 0;
    top: 70px;
  }

  .step2-worker {
    width: 245px;
    right: 0;
    top: 10px;
  }

  /* Step 3 */
  .step3-notes {
    width: 120px;
    left: 0;
    top: 55px;
  }

  .step3-closet {
    width: 170px;
    left: 80px;
    top: 28px;
  }

  .step3-lease {
    width: 195px;
    right: 0;
    top: 40px;
  }
}

/* ---------- How It Works: restore true single-column mobile layout ---------- */

@media (max-width: 780px) {
  .process-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .process-step .step-copy,
  .process-step .step-art {
    width: 100%;
    min-width: 0;
  }

  .process-step .step-copy {
    order: 1 !important;
  }

  .process-step .step-art {
    order: 2 !important;
  }
}

/* How It Works — mobile Steps 4/5 narrative order */
@media (max-width: 780px) {
  .process-final {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .final-step-4 {
    grid-row: 1;
  }

  .final-graph {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .final-step-5 {
    grid-row: 3;
  }
}

/* How It Works — enlarge final visualization on mobile */
@media (max-width: 780px) {
  .final-graph {
    width: 112%;
    margin-left: -6%;
  }

  .final-graph img {
    width: 100%;
    max-width: none;
    height: auto;
  }
}

/* How It Works — final mobile visualization size */
@media (max-width: 780px) {
  .final-graph {
    width: 118%;
    margin-left: -9%;
  }
}

/* How It Works — mobile graph legibility */
@media (max-width: 780px) {
  .final-graph {
    width: 118%;
    margin-left: -9%;
    margin-top: 24px;
    margin-bottom: 18px;
  }

  .final-graph img {
    width: 100%;
    max-width: none;
    height: auto;
    transform: scaleY(1.25);
    transform-origin: center;
  }
}

/* How It Works — final mobile graph stretch */
@media (max-width: 780px) {
  .final-graph img {
    transform: scaleY(1.35);
  }
}

/* How It Works — give stretched mobile graph breathing room */
@media (max-width: 780px) {
  .final-graph {
    margin-top: 60px;
    margin-bottom: 28px;
  }
}

/* Overview — mobile: illustration before copy */
@media (max-width: 780px) {
  .overview-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 28px;
  }

  .overview-sketch {
    order: 1;
    width: 100%;
    padding-top: 0;
    border-top: 0;
  }

  .overview-copy {
    order: 2;
  }
}

/* Home — enlarge hero artwork on mobile */
@media (max-width: 780px) {
  .brownstone-hero {
    width: 125%;
    max-width: none;
    margin-left: -12.5%;
    margin-right: -12.5%;
  }
}

/* Home — refine mobile hero artwork width */
@media (max-width: 780px) {
  .brownstone-hero {
    width: 112%;
    max-width: none;
    margin-left: -6%;
    margin-right: -6%;
  }
}

/* Home — slightly taller mobile hero artwork */
@media (max-width: 780px) {
  .brownstone-hero {
    transform: scaleY(1.15);
    transform-origin: center;
  }
}

/* Home — final mobile hero proportions */
@media (max-width: 780px) {
  .brownstone-hero {
    transform: scaleY(1.22);
  }
}


/* ---------- Footer contact ---------- */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

@media (max-width: 780px) {
  .footer-contact {
    align-items: center;
  }
}

/* Footer contact — force email and phone onto separate lines */
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.site-footer .footer-contact a {
  display: block;
}

@media (max-width: 780px) {
  .site-footer .footer-contact {
    align-items: center;
    text-align: center;
  }
}

/* Footer contact — center phone beneath email */
.site-footer .footer-contact {
  align-items: center;
  text-align: center;
}
