/* Cube Cabins, draft 2. A hairline drawing-sheet layout in the brand's own
   colours (charcoal, taupe, off-white) and Gotham throughout. */

@font-face { font-family: "Gotham"; src: url("../fonts/gotham-book-webfont.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-medium-webfont.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-bold-webfont.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-black-webfont.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #F8F6F2;
  --bg-sunk: #EEEAE3;
  --ink: #2E2D2E;
  --muted: #5F5B56;
  --faint: #6B6457;
  --taupe: #A79B87;
  --accent: #85775F;              /* taupe, deepened so it holds as text */
  --line: rgb(46 45 46 / .14);
  --line-strong: rgb(46 45 46 / .42);
  --inv-bg: #2E2D2E;
  --inv-fg: #F8F6F2;
  --nav: 68px;
  --dock: 0px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
  --frame: 1280px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Gotham", "Montserrat", system-ui, sans-serif;
}
.inv {
  --bg: #2E2D2E;
  --bg-sunk: #262526;
  --ink: #F8F6F2;
  --muted: #CFC9BE;
  --faint: #A79B87;
  --accent: #A79B87;
  --line: rgb(248 246 242 / .15);
  --line-strong: rgb(248 246 242 / .45);
  --inv-bg: #F8F6F2;
  --inv-fg: #2E2D2E;
  background: var(--bg); color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) - 1px); }
body {
  margin: 0; padding-bottom: var(--dock);
  background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ type ------ */
.label {
  font-size: .6875rem; font-weight: 500; line-height: 1.5;
  letter-spacing: .15em; text-transform: uppercase;
}
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.display {
  font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.75rem);
  max-width: 17em; text-wrap: balance;
}
.display--xl { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.5rem); line-height: .98; letter-spacing: -.04em; }
.display em, .hero__title em { font-style: normal; font-weight: 400; color: var(--accent); }
.lede { font-size: 1.125rem; line-height: 1.62; color: var(--muted); max-width: 36rem; }
.title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.body { color: var(--muted); line-height: 1.62; }
.num { font-variant-numeric: tabular-nums; }
.link { text-decoration: underline; text-decoration-color: var(--taupe); text-decoration-thickness: 2px; text-underline-offset: .28em; font-weight: 500; }
@media (hover: hover) { .link:hover { text-decoration-color: currentColor; } }

/* ---------------------------------------------------------- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 48px; padding: 0 1.5rem; white-space: nowrap; cursor: pointer;
  background: var(--inv-bg); color: var(--inv-fg); border: 1px solid var(--inv-bg); border-radius: 0;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background-color 150ms, color 150ms, border-color 150ms, opacity 150ms;
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--sm { height: 40px; padding: 0 1rem; }
@media (hover: hover) {
  .btn:hover { opacity: .82; }
  .btn--ghost:hover { opacity: 1; background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
}
.btn:active { transform: translateY(1px); }
.btn[aria-pressed="true"] { background: var(--taupe); border-color: var(--taupe); color: #2E2D2E; }
.btn .on, .btn[aria-pressed="true"] .off { display: none; }
.btn[aria-pressed="true"] .on { display: inline; }

/* -------------------------------------------------------------- nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav);
  display: flex; align-items: stretch;
  background: rgb(248 246 242 / .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: flex; align-items: center; padding: 0 1.25rem; border-right: 1px solid var(--line); }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: stretch; padding-left: .5rem; }
.nav__links a { display: flex; align-items: center; padding: 0 .4rem; text-decoration: none; color: var(--muted); }
.nav__links a span { padding: .2rem .45rem; transition: background-color 150ms, color 150ms; }
.nav__links a[aria-current] span { background: var(--inv-bg); color: var(--inv-fg); }
@media (hover: hover) { .nav__links a:hover span { background: var(--inv-bg); color: var(--inv-fg); } }
.nav__right { display: flex; align-items: stretch; margin-left: auto; }
.nav__cell { display: flex; align-items: center; gap: .7rem; padding: 0 1.1rem; border-left: 1px solid var(--line); text-decoration: none; color: var(--muted); white-space: nowrap; }
@media (hover: hover) { a.nav__cell:hover { color: var(--ink); } }
.nav__cta { display: flex; align-items: center; padding: 0 1.4rem; background: var(--inv-bg); color: var(--inv-fg); text-decoration: none; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
@media (hover: hover) { .nav__cta:hover { background: #454344; } }
.tally b { color: var(--ink); font-weight: 700; font-size: .8125rem; letter-spacing: .02em; }
.tally__ticks { display: inline-flex; gap: 3px; }
.tally__ticks i { width: 5px; height: 12px; background: var(--line); transition: background-color 300ms var(--ease); }
.tally__ticks i.on { background: var(--taupe); }
.tally.bump { animation: bump 420ms var(--ease); }
@keyframes bump { 40% { background: var(--bg-sunk); } }
.nav__menu { display: none; border-left: 1px solid var(--line); }
.nav__menu summary { list-style: none; cursor: pointer; height: 100%; display: flex; align-items: center; padding: 0 1.1rem; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu ul { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line-strong); }
.nav__menu li + li { border-top: 1px solid var(--line); }
.nav__menu a { display: block; padding: 1.1rem var(--pad); text-decoration: none; }
.dock { display: none; }
@media (max-width: 1320px) { .nav__phone { display: none; } }
@media (max-width: 1120px) { .nav__links { display: none; } .nav__menu { display: block; } }
@media (max-width: 700px) {
  :root { --dock: 56px; --nav: 60px; }
  .nav__logo { padding: 0 1rem; }
  .nav__logo img { height: 34px; }
  .nav .tally, .nav__cta { display: none; }
  .dock {
    position: fixed; inset: auto 0 0 0; z-index: 50; height: var(--dock);
    display: flex; align-items: stretch; background: var(--bg); border-top: 1px solid var(--line-strong);
  }
  .dock .tally { flex: 1; border-left: 0; }
  .dock .nav__cta { display: flex; }
}

/* ------------------------------------------------- frame + sections ----- */
.sec { position: relative; }
.rule { position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); transform-origin: 0 50%; z-index: 2; }
.frame { position: relative; max-width: var(--frame); margin-inline: auto; border-inline: 1px solid var(--line); }
.tick { position: absolute; top: -5px; width: 11px; height: 11px; z-index: 31; pointer-events: none; }
.tick--l { left: -6px; } .tick--r { right: -6px; }
.tick::before, .tick::after { content: ""; position: absolute; background: var(--line-strong); }
.tick::before { width: 1px; top: 5px; bottom: 0; left: 5px; }
.tick::after { height: 1px; left: 0; right: 0; top: 5px; }
.eyebrow {
  position: sticky; top: var(--nav); z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--pad);
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.eyebrow i { font-style: normal; color: var(--faint); }
.eyebrow i + i { margin-inline: .5rem; }
.head { padding: clamp(3rem, 6vw, 5rem) var(--pad); }
.head .lede { margin-top: 1.25rem; }
.head--center { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(4rem, 8vw, 7rem); }
.head--center .display { margin-top: 1.5rem; }
.head--center .lede { max-width: 30rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.25rem; }
.head--center .actions { justify-content: center; }

/* hairline cell grid: the gaps are the lines */
.cells { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.cells > * { background: var(--bg); min-width: 0; }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells--plans { grid-template-columns: 50fr 62fr; }
.cell { padding: clamp(1.5rem, 2.6vw, 2rem); }
.cell > .label + .title { margin-top: 1.5rem; }
.cell > .title + .body { margin-top: .5rem; }
@media (max-width: 900px) { .cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cells--2, .cells--3, .cells--plans { grid-template-columns: minmax(0, 1fr); } }

.card { display: flex; flex-direction: column; }
.card__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem clamp(1.5rem, 2.6vw, 2rem); border-bottom: 1px solid var(--line); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-sunk); }
.card__media--43 { aspect-ratio: 4 / 3; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.03); } }
.card__body { padding: 1.5rem clamp(1.5rem, 2.6vw, 2rem) clamp(1.5rem, 2.6vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.plan .card__body { flex: 0 0 auto; }
.card__body .body { margin-top: .5rem; max-width: 34rem; }
.card__body .btn { margin-top: 1.5rem; align-self: flex-start; }
.card__foot { margin-top: auto; }
.notes { display: grid; gap: .35rem; margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.notes li { display: flex; gap: .6rem; }
.notes li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: .6em; background: var(--taupe); }

/* ------------------------------------------------------------- hero ----- */
/* One full-width photo (the original site's), darkened so the headline reads clearly. */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  display: grid; place-items: center;
  min-height: calc(100svh - var(--nav));
  background: #2E2D2E; color: #F8F6F2;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgb(30 29 30 / .55), rgb(30 29 30 / .2) 70%, transparent),
    linear-gradient(to bottom, rgb(30 29 30 / .45), rgb(30 29 30 / .25) 40%, rgb(30 29 30 / .6));
}
.hero__copy {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  width: min(100%, 46rem); padding: 4rem clamp(1.25rem, 4vw, 2.5rem);
}
.hero__eyebrow { margin: 0 0 1.25rem; font-size: .75rem; font-weight: 500; color: #E4DACA; text-shadow: 0 1px 12px rgb(0 0 0 / .4); }
.hero__title { margin: 0; color: #FFFFFF; font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.hero__title em { font-style: normal; font-weight: 400; color: #E4D9C6; }
.hero .lede { margin-top: 1.5rem; max-width: 33rem; color: #F1ECE4; font-size: 1.1875rem; text-shadow: 0 1px 14px rgb(0 0 0 / .45); }
.hero .actions { margin-top: 2.25rem; justify-content: center; }
.hero .btn { background: #F8F6F2; color: #2E2D2E; border-color: #F8F6F2; }
.hero .btn--ghost { background: transparent; color: #FFFFFF; border-color: rgb(255 255 255 / .7); }
@media (hover: hover) {
  .hero .btn:hover { opacity: 1; background: #FFFFFF; }
  .hero .btn--ghost:hover { background: #F8F6F2; color: #2E2D2E; border-color: #F8F6F2; }
}
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; margin-top: 2rem; color: #E4DED4; text-shadow: 0 1px 10px rgb(0 0 0 / .5); }
.hero__meta span + span::before { content: "·"; margin-right: 1rem; }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - var(--nav) - var(--dock)); }
  .hero__bg { object-position: 40% 50%; }
  .hero .lede { font-size: 1rem; margin-top: 1.1rem; }
  .hero__copy { padding-block: 2.5rem; }
  .hero .actions { margin-top: 1.6rem; }
  .hero__meta { margin-top: 1.5rem; gap: .3rem .7rem; }
  .hero__meta span + span::before { margin-right: .7rem; }
}

/* motion in: the photo settles, the words rise */
.js .hero__bg { animation: hero-in 1600ms var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.06); opacity: .6; } }
.js .hero__copy > * { animation: rise 900ms var(--ease) both; animation-delay: calc(var(--n, 0) * 90ms + 250ms); }
.hero__copy > :nth-child(2) { --n: 1; } .hero__copy > :nth-child(3) { --n: 2; } .hero__copy > :nth-child(4) { --n: 3; } .hero__copy > :nth-child(5) { --n: 4; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------- marquee ----- */
.marquee { display: flex; overflow: hidden; border-top: 1px solid var(--line); }
.marquee ul { display: flex; flex: 0 0 auto; min-width: 100%; animation: marquee 44s linear infinite; }
.marquee li { display: flex; align-items: center; white-space: nowrap; padding: .8rem 1.5rem; color: var(--muted); }
.marquee li::before { content: ""; width: 5px; height: 5px; background: var(--taupe); margin-right: 1.5rem; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------ ruler ----- */
.ruler { display: none; }
@media (min-width: 1400px) {
  .ruler { display: block; position: fixed; top: var(--nav); bottom: 0; right: 0; width: 46px; z-index: 40; overflow: hidden; pointer-events: none; }
  .ruler__tape {
    position: absolute; right: 0; top: 0; width: 100%; will-change: transform;
    background:
      linear-gradient(var(--line-strong), var(--line-strong)) right top / 14px 1px repeat-y,
      linear-gradient(var(--line), var(--line)) right top / 7px 1px repeat-y;
    background-size: 14px 80px, 7px 8px;
  }
  .ruler__tape span { position: absolute; right: 20px; translate: 0 -50%; font-size: .625rem; font-weight: 500; letter-spacing: .08em; color: var(--faint); font-variant-numeric: tabular-nums; }
}

/* ------------------------------------------------------------ plans ----- */
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan__draw { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--bg-sunk); border-bottom: 1px solid var(--line); flex: 1; display: flex; align-items: center; }
.plan svg { width: 100%; height: auto; overflow: visible; }
.plan .floor { fill: #fff; }
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 5; stroke-dasharray: 1; }
.plan .door { stroke: #fff; stroke-width: 6; }
.plan .door2 { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.plan .furn .t { fill: var(--taupe); } .plan .furn .d { fill: #2E2D2E; } .plan .furn .l { fill: #E3DFD7; }
.plan .dim { stroke: var(--muted); stroke-width: 1.2; fill: none; stroke-dasharray: 1; }
.plan text { font: 500 12px var(--font); fill: var(--muted); letter-spacing: .12em; }
.plan__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.plan__price { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; line-height: 1; }
.plan__price small { font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan .btn { pointer-events: none; }
.plan input:checked ~ .card__body .btn { background: var(--taupe); border-color: var(--taupe); color: #2E2D2E; }
.plan input:checked ~ .card__body .btn .off { display: none; }
.plan input:checked ~ .card__body .btn .on { display: inline; }
.plan input:focus-visible ~ .card__body .btn { outline: 2px solid var(--accent); outline-offset: 3px; }
.js .plan .wall, .js .plan .dim { stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease) 200ms; }
.js .plan .dim { transition-delay: 700ms; }
.js .plan .furn, .js .plan text { opacity: 0; transition: opacity 700ms var(--ease) 1100ms; }
.js .plan.in .wall, .js .plan.in .dim { stroke-dashoffset: 0; }
.js .plan.in .furn, .js .plan.in text { opacity: 1; }

/* ------------------------------------------------------------ build ----- */
.spec { counter-reset: spec; }
.spec li { counter-increment: spec; padding: 1.25rem clamp(1.25rem, 2.2vw, 1.75rem) 1.5rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.spec li::before { content: counter(spec, decimal-leading-zero); display: block; margin-bottom: 1.75rem; font-size: .6875rem; letter-spacing: .15em; color: var(--faint); }
.split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split .head { align-self: center; }
.split__media { position: relative; min-height: 20rem; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media figcaption { position: absolute; left: 0; bottom: 0; padding: .5rem .8rem; background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } .split__media { aspect-ratio: 4 / 3; min-height: 0; } }

/* -------------------------------------------------------- stat cells ---- */
.stat b { display: block; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.stat p { margin-top: .75rem; font-size: .875rem; color: var(--muted); max-width: 26ch; }

/* ----------------------------------------------------------- ledger ----- */
.ledger > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: 1.1rem clamp(1.5rem, 2.6vw, 2rem); }
.ledger > div + div { border-top: 1px solid var(--line); }
.ledger dt { font-size: .875rem; color: var(--muted); max-width: 30ch; line-height: 1.45; }
.ledger dt b { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; }
.ledger dd { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc h3 { margin-bottom: 1.5rem; }
.field { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.field > span, .field > label, .field legend { padding: 0; color: var(--muted); }
.field legend { margin-bottom: .5rem; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-strong); }
.seg label { position: relative; display: grid; place-items: center; min-height: 46px; padding: 0 .5rem; cursor: pointer; text-align: center; }
.seg label + label { border-left: 1px solid var(--line-strong); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--inv-bg); color: var(--inv-fg); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -4px; }
.step { display: inline-grid; grid-template-columns: 46px 4rem 46px; align-items: center; border: 1px solid var(--line-strong); width: max-content; }
.step button { height: 46px; background: none; border: 0; font-size: 1.2rem; cursor: pointer; }
.step button:first-child { border-right: 1px solid var(--line-strong); } .step button:last-child { border-left: 1px solid var(--line-strong); }
@media (hover: hover) { .step button:hover { background: var(--inv-bg); color: var(--inv-fg); } }
.step output { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.out { display: grid; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.out > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .875rem; color: var(--muted); }
.out b { color: var(--ink); font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.02em; }
.out .big b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.25rem); letter-spacing: -.04em; line-height: 1; }
.fine { margin-top: 1rem; font-size: .8125rem; color: var(--muted); line-height: 1.55; max-width: 46ch; }

/* ------------------------------------------------------------ quote ----- */
.quote p { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; max-width: 30ch; }
.quote footer { margin-top: 1.5rem; color: var(--faint); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-strong); }
.sheet__top img { height: 36px; width: auto; }
.sheet__rows > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.sheet__rows dt { color: var(--muted); }
.sheet__rows dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.sheet select {
  appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 2rem 0 .8rem; border: 1px solid var(--line-strong); border-radius: 0;
  font-weight: 700; text-align: right; cursor: pointer; max-width: 100%; color: var(--ink);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23A79B87' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .7rem center;
}
.sheet select option { color: #2E2D2E; background: #F8F6F2; }
.sheet__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
.sheet__total span { font-size: .875rem; color: var(--muted); }
.sheet__total b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.25rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.form .field { margin: 0; }
.form .wide { grid-column: 1 / -1; }
.form input, .form textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; font-size: 1rem; }
.form textarea { min-height: 7rem; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--taupe); outline-offset: 0; border-color: var(--taupe); }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__send p { font-size: .8125rem; color: var(--muted); max-width: 34ch; line-height: 1.5; }
.form__status { font-size: .875rem; line-height: 1.5; padding: 1rem; border: 1px solid var(--taupe); }
.form__status:empty { display: none; }
@media (max-width: 760px) { .form { grid-template-columns: minmax(0, 1fr); } }
.direct a { display: block; margin-top: 1.25rem; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; }
.direct p:not(.label) { margin-top: 1.25rem; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; }
@media (hover: hover) { .direct a:hover { color: var(--accent); } }

/* ----------------------------------------------------------- footer ----- */
.foot { border-top: 1px solid var(--line); }
.foot .cells { border-top: 0; grid-template-columns: 2fr 1fr 1fr 1fr; }
.foot__brand img { height: 30px; width: auto; }
.foot__brand p { margin-top: 1rem; color: var(--muted); max-width: 22rem; }
.foot ul { margin-top: 1rem; display: grid; gap: .1rem; }
.foot li a { display: inline-block; padding: .3rem 0; color: var(--muted); text-decoration: none; }
@media (hover: hover) { .foot li a:hover { color: var(--ink); } }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1rem var(--pad); border-top: 1px solid var(--line); color: var(--faint); }
@media (max-width: 900px) { .foot .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot .cells { grid-template-columns: minmax(0, 1fr); } }

/* -------------------------------------------------- supporting pages ---- */
.page-head { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad) clamp(3rem, 6vw, 5rem); }
.page-head .lede { margin-top: 1.5rem; }
.faq { border-top: 1px solid var(--line); counter-reset: faq; }
.faq details { border-bottom: 1px solid var(--line); counter-increment: faq; }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1rem; min-height: 72px; padding: 1rem var(--pad); cursor: pointer; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(faq, decimal-leading-zero); font-size: .6875rem; font-weight: 500; letter-spacing: .15em; color: var(--faint); }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .faq summary:hover { background: var(--bg-sunk); } }
.faq details p { padding: 0 var(--pad) 1.75rem calc(var(--pad) + 4.5rem); color: var(--muted); max-width: 52rem; line-height: 1.68; }
@media (max-width: 560px) { .faq summary { grid-template-columns: 2rem 1fr auto; } .faq details p { padding-left: var(--pad); } }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 3rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); line-height: 1.68; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1rem; }
.prose ul { display: grid; gap: .5rem; }
.prose ul li { padding-left: 1.2rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--taupe); }
.prose b, .prose strong { color: var(--ink); }
.rvb__months { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.25rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rvb input[type="range"] { width: 100%; height: 44px; accent-color: var(--ink); }
.verdict { margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--line-strong); font-size: 1.15rem; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.bars { display: grid; gap: 1.75rem; }
.bars__row { display: grid; gap: .5rem; }
.bars__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.bars__top b { font-size: 1.2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bars__track { height: 12px; background: var(--bg-sunk); overflow: hidden; }
.bars__fill { height: 100%; width: 100%; background: var(--taupe); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform 240ms var(--ease); }
.bars__row--rent .bars__fill { background: var(--ink); }
.bars__sub { font-size: .8125rem; color: var(--muted); }
.tbl-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.tbl { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .875rem; }
.tbl th, .tbl td { text-align: left; padding: 1rem var(--pad); border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.tbl th + th, .tbl td + td { border-left: 1px solid var(--line); padding-inline: 1.25rem; }
.tbl th { font-size: .6875rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 700; }

/* ---------------------------------------------------------- reveals ----- */
.js .rule { transform: scaleX(0); transition: transform 1200ms var(--ease); }
.js .sec.in .rule { transform: none; }
.js .tick { opacity: 0; transition: opacity 500ms 700ms; }
.js .sec.in .tick { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--rd, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* a cell keeps its ground so the hairlines never show as a grey block; its contents rise instead */
.js .cells > [data-reveal] { opacity: 1; transform: none; }
.js .cells > [data-reveal] > * { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--rd, 0ms); }
.js .cells > [data-reveal].in > * { opacity: 1; transform: none; }
.js .cells > li[data-reveal] { opacity: 1; }
.js .cells > li[data-reveal]:not(.in) { color: transparent; }
.js .cells > li[data-reveal] { transition: color 700ms var(--ease); transition-delay: var(--rd, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee ul { animation: none; }
  .js .hero__bg, .js .hero__copy > * { animation: none; }
  .js .rule, .js .tick, .js [data-reveal], .js .cells > [data-reveal] > *, .js .plan .wall, .js .plan .dim, .js .plan .furn, .js .plan text { transition: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .card__media img { transition: none; }
}

@media (max-width: 560px) {
  .eyebrow .faint:last-child { display: none; }
  .sheet__rows dd { white-space: nowrap; }
}

/* ---------------------------------------------------------- gallery ----- */
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.tile__tag { position: absolute; left: 0; bottom: 0; padding: .45rem .75rem; background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); border-right: 1px solid var(--line); opacity: 0; transition: opacity 200ms; }
.tile:focus-visible { outline-offset: -3px; }
.tile:focus-visible .tile__tag { opacity: 1; }
@media (hover: hover) { .tile:hover img { transform: scale(1.04); } .tile:hover .tile__tag { opacity: 1; } }
@media (hover: none) { .tile__tag { opacity: 1; } }
.js .cells > .tile[data-reveal] > .tile__tag { transform: none; }
.mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mosaic .tile--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaic__more { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; text-decoration: none; }
.mosaic__more .btn { align-self: flex-start; }
@media (hover: hover) { .mosaic__more:hover { background: var(--bg-sunk); } }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic .tile--big { aspect-ratio: 4 / 3; }
  .gallery.cells--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.filters { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); position: sticky; top: calc(var(--nav) + 42px); z-index: 29; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.filters button { min-height: 48px; padding: 0 1.25rem; background: none; border: 0; border-right: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.filters button i { font-style: normal; color: var(--faint); margin-left: .4rem; }
.filters button[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-fg); }
.filters button[aria-pressed="true"] i { color: var(--taupe); }
@media (hover: hover) { .filters button:hover { color: var(--ink); } .filters button[aria-pressed="true"]:hover { color: var(--inv-fg); } }
@media (max-width: 560px) { .filters { top: calc(var(--nav) + 40px); } .filters button { flex: 1 1 33%; padding: 0 .5rem; border-bottom: 1px solid var(--line); } }

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(30 29 30 / .97); color: #F8F6F2; }
.lb::backdrop { background: rgb(30 29 30 / .6); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb__bar, .lb__cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 0 0 var(--pad); border-bottom: 1px solid rgb(248 246 242 / .15); min-height: 56px; }
.lb__cap { border-bottom: 0; border-top: 1px solid rgb(248 246 242 / .15); padding: .9rem var(--pad); justify-content: center; text-align: center; color: #CFC9BE; font-size: .9375rem; line-height: 1.45; }
.lb__count { color: #A79B87; }
.lb__btns { display: flex; align-self: stretch; }
.lb button { min-width: 56px; padding: 0 1.1rem; background: none; border: 0; border-left: 1px solid rgb(248 246 242 / .15); color: #F8F6F2; cursor: pointer; }
.lb button:focus-visible { outline: 2px solid #A79B87; outline-offset: -3px; }
@media (hover: hover) { .lb button:hover { background: #F8F6F2; color: #2E2D2E; } }
.lb__stage { position: relative; min-height: 0; display: grid; place-items: center; padding: clamp(.75rem, 2.5vw, 2rem); }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; }
.lb__stage { overflow: hidden; }
.js .cells > .tile[data-reveal] > .tile__tag { opacity: 0; transition: opacity 200ms; }
@media (hover: hover) { .js .cells > .tile[data-reveal]:hover > .tile__tag { opacity: 1; } }
@media (hover: none) { .js .cells > .tile[data-reveal].in > .tile__tag { opacity: 1; } }
.js .cells > .tile[data-reveal]:focus-visible > .tile__tag { opacity: 1; }

.btn:disabled { opacity: .6; cursor: progress; }

.split > .page-head { align-self: center; }
.cell > h2.title { margin-top: 1.5rem; }

/* ------------------------------------------------- how it works --------- */
.how { border-top: 1px solid var(--line); }
.how__stage { overflow: hidden; background: var(--bg-sunk); border-bottom: 1px solid var(--line); }
.how__svg { display: block; width: 100%; height: auto; }
.how__svg text { font: 500 13px var(--font); letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
.how__svg text.sm { font-size: 11px; letter-spacing: .1em; }
.how__svg text.big { font-size: 40px; font-weight: 700; letter-spacing: -.03em; fill: var(--ink); }
.how__svg text.neg { fill: var(--bg); }
.how__svg text.acc { fill: var(--accent); font-weight: 700; }
.how__svg .ln { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: square; }
.how__svg .thin { stroke: var(--line-strong); stroke-width: 1.4; }
.how__svg .shape { fill: var(--bg); stroke: var(--ink); stroke-width: 2; stroke-linejoin: miter; }
.how__svg .solid { fill: var(--ink); }
.how__svg .arm { fill: none; stroke: var(--ink); stroke-width: 9; }
.how__svg .stamp { fill: none; stroke: var(--taupe); stroke-width: 3; }
.how__svg .dots { stroke: var(--line-strong); stroke-width: 6; stroke-linecap: round; }
.h-plot { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 6 6; }
.h-cable { stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: 50% 0; }
.cab-roof, .cab-wall { fill: #2E2D2E; } .cab-frame { fill: var(--taupe); } .cab-deck { fill: #85775F; }
.cab-clad { stroke: rgb(248 246 242 / .12); stroke-width: 1.4; fill: none; }
.cab-mull { stroke: #2E2D2E; stroke-width: 3; fill: none; }
.h-glass { fill: #CFC9BE; transition: fill 900ms; }
.h-bubble { fill: var(--taupe); }
.how__nav { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.how__nav li + li { border-left: 1px solid var(--line); }
.how__nav button { display: flex; flex-direction: column; gap: .5rem; width: 100%; height: 100%; min-height: 64px; padding: .8rem .9rem; text-align: left; background: none; border: 0; color: var(--muted); cursor: pointer; transition: background-color 200ms, color 200ms; }
.how__nav button i { font-style: normal; color: var(--faint); }
.how__nav button[aria-current="step"] { background: var(--inv-bg); color: var(--inv-fg); }
.how__nav button[aria-current="step"] i { color: var(--taupe); }
@media (hover: hover) { .how__nav button:not([aria-current]):hover { background: var(--bg-sunk); color: var(--ink); } }
.how__panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad); }
.how__caps { flex: 1 1 24rem; display: grid; gap: 2rem; }
.how__cap .title { margin-top: 1rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.how__cap .body { margin-top: .6rem; font-size: 1.0625rem; max-width: 38rem; }
.how__ctl { display: flex; gap: .5rem; }
.how__progress { height: 3px; background: var(--line); }
.how__progress i { display: block; height: 100%; background: var(--taupe); transform-origin: 0 50%; transform: scaleX(0); }
:root:not(.js) .how__nav, :root:not(.js) .how__ctl, :root:not(.js) .how__progress { display: none; }
.js .how__cap:not(.is-on) { display: none; }
.js .how__caps { min-height: 9.5rem; align-content: start; }
.js .how.is-playing .how__progress i { animation: h-progress var(--dur, 4s) linear both; }
@keyframes h-progress { to { transform: scaleX(1); } }

/* scene: what shows at each step */
.js .how [data-show] { opacity: 0; transform: translateY(12px); transition: opacity 450ms, transform 600ms var(--ease); }
.js .how [data-show].is-on { opacity: 1; transform: none; transition-delay: var(--sd, 0ms); }
.js .how .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .how .is-on .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 800ms var(--ease) var(--dd, 500ms); }
.js .how .h-stamp { transform-box: fill-box; transform-origin: 50% 50%; transform: rotate(-6deg) scale(1.5); opacity: 0; }
.js .how .is-on .h-stamp { transform: rotate(-6deg); opacity: 1; transition: transform 350ms var(--ease) calc(var(--sd, 0ms) + 1500ms), opacity 200ms calc(var(--sd, 0ms) + 1500ms); }
.js .how [data-show="9"].is-on .h-stamp { transition-delay: 0ms; }
.js .how .h-ute { transform: translateX(700px); transition: transform 1100ms var(--ease); }
.js .how[data-step="2"] .h-ute { transform: none; }
.js .how .h-truck { transform: translateX(680px); }
.js .how .h-cabx { opacity: 0; }
.js .how .h-cable { transform: scaleY(.11); }
.js .how[data-step="6"] .h-bubble { animation: h-bubble 2200ms var(--ease) 300ms both; }
.js .how[data-step="7"] .h-truck { animation: h-in 1200ms var(--ease) both; }
.js .how[data-step="7"] .h-cabx { opacity: 1; animation: h-in 1200ms var(--ease) both; }
.js .how[data-step="7"] .h-caby { animation: h-lower 1500ms var(--ease) 1300ms both; }
.js .how[data-step="7"] .h-cable { animation: h-cable-out 1500ms var(--ease) 1300ms both; }
.js .how[data-step="8"] .h-truck { animation: h-out 1100ms ease-in both; }
.js .how[data-step="8"] .h-cabx { opacity: 1; }
.js .how[data-step="8"] .h-glass { fill: #FFFFFF; }
.js .how[data-step="9"] .h-truck { animation: h-in 1200ms var(--ease) both, h-out 1200ms ease-in 4300ms forwards; }
.js .how[data-step="9"] .h-cabx { opacity: 1; animation: h-out 1200ms ease-in 4300ms forwards; }
.js .how[data-step="9"] .h-caby { animation: h-raise 1500ms var(--ease) 2300ms both; }
.js .how[data-step="9"] .h-cable { animation: h-cable-out 800ms var(--ease) 1300ms both, h-cable-in 1500ms var(--ease) 2300ms forwards; }
@keyframes h-in { from { transform: translateX(680px); } to { transform: none; } }
@keyframes h-out { from { transform: none; } to { transform: translateX(680px); } }
@keyframes h-lower { from { transform: translateY(-150px); } to { transform: none; } }
@keyframes h-raise { from { transform: none; } to { transform: translateY(-150px); } }
@keyframes h-cable-out { from { transform: scaleY(.11); } to { transform: none; } }
@keyframes h-cable-in { from { transform: none; } to { transform: scaleY(.11); } }
@keyframes h-bubble { 0% { transform: translateX(-20px); } 45% { transform: translateX(12px); } 75% { transform: translateX(-4px); } 100% { transform: none; } }

@media (max-width: 760px) {
  /* a phone sees half the drawing at twice the size, and the view follows the action */
  .how__svg { width: 200%; max-width: none; transform: translateX(var(--cam, -36%)); transition: transform 1000ms var(--ease); }
  .how[data-step="1"] { --cam: -2%; } .how[data-step="2"] { --cam: -44%; }
  .how[data-step="3"], .how[data-step="4"], .how[data-step="5"] { --cam: -25%; }
  .how[data-step="6"] { --cam: -37%; } .how[data-step="7"], .how[data-step="9"] { --cam: -47%; } .how[data-step="8"] { --cam: -29%; }
  .how__nav button { align-items: center; padding: .8rem 0; min-height: 48px; }
  .how__nav button span { display: none; }
  .js .how__caps { min-height: 12.5rem; }
  .how__ctl { width: 100%; } .how__ctl .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .how [data-show], .js .how .draw, .js .how .h-stamp, .js .how .h-ute, .how__svg, .h-glass { transition: none !important; }
  .js .how .h-truck, .js .how .h-cabx, .js .how .h-caby, .js .how .h-cable, .js .how .h-bubble { animation-duration: 1ms !important; animation-delay: 0ms !important; }
  .js .how[data-step="9"] .h-truck, .js .how[data-step="9"] .h-cabx { animation: none; }
  .js .how[data-step="9"] .h-truck { transform: none; }
}

.how__svg .roofline { fill: none; stroke: rgb(248 246 242 / .16); stroke-width: 1.4; }
.how__svg .lamp, .how__svg .planter { fill: var(--taupe); }
.how__svg text.neg.sm { fill: var(--bg); }

.how__svg .ute-glass { fill: #CFC9BE; }
.how__svg .ute-line { fill: none; stroke: rgb(248 246 242 / .28); stroke-width: 1.4; }
.how__svg .ute-stripe { fill: none; stroke: var(--taupe); stroke-width: 3; }
.how__svg .ute-tyre { fill: var(--ink); stroke: var(--bg-sunk); stroke-width: 3; }
.how__svg text.ute-name { font-size: 8px; font-weight: 700; letter-spacing: .08em; fill: var(--bg); }

.card__inset { position: absolute; right: 14px; bottom: 14px; width: 36%; min-width: 9.5rem; margin: 0; background: var(--bg); border: 3px solid var(--bg); box-shadow: 0 14px 30px -14px rgb(46 45 46 / .55); }
.card__media .card__inset img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.card__inset figcaption { padding: .4rem .3rem .2rem; line-height: 1.35; color: var(--muted); font-size: .625rem; letter-spacing: .12em; }
@media (hover: hover) { .card:hover .card__media .card__inset img { transform: none; } }

.extra { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr); gap: 1rem 2rem; align-items: start; }
.extra .title { margin: 0; } .extra .body { margin-top: .5rem; max-width: 40rem; }
@media (max-width: 760px) { .extra { grid-template-columns: minmax(0, 1fr); } }

.ruler { transition: opacity 300ms; }
.ruler.is-hidden { opacity: 0; }

/* -------------------------------------------- hero copy + the difference */
.vs ul { display: grid; gap: .9rem; margin-top: 1.5rem; }
.vs li { display: flex; gap: .9rem; align-items: baseline; font-size: 1.0625rem; line-height: 1.45; }
.vs li::before { flex: 0 0 auto; width: 1.1rem; font-weight: 700; }
.vs__no li { color: var(--muted); }
.vs__no li::before { content: "✕"; color: var(--faint); }
.vs__yes li { color: var(--ink); font-weight: 500; }
.vs__yes li::before { content: "✓"; color: var(--taupe); }
.cells > .vs__yes { background: var(--bg); }
.closeup .card__bar { padding-block: .55rem; }
.quote--big p { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; max-width: 16ch; }
.quote--big p::before { content: "\201C"; } .quote--big p::after { content: "\201D"; }
@media (max-width: 760px) {
  .closeup.cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.review { display: flex; flex-direction: column; gap: 1rem; }
.review__stars { color: var(--taupe); letter-spacing: .15em; font-size: 1rem; }
.review__text { font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.review footer { margin-top: auto; color: var(--muted); }
@media (max-width: 1000px) and (min-width: 761px) { .reviews.cells--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 761px) { .reviews .review--wide { grid-column: span 2; } .review--wide .review__text { font-size: 1.125rem; } }

/* ------------------------------------------------ editable page bodies ---- */
/* Text set in the WordPress editor: comfortable prose, with design blocks
   (.cells, wide images) running the full width of the frame. */
.entry { padding-bottom: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.entry > :not(.cells):not(.alignfull):not(.alignwide):not(.tbl-wrap) { margin-inline: var(--pad); max-width: 46rem; }
.entry > :first-child:not(.cells) { margin-top: clamp(2rem, 4vw, 3rem); }
.entry > .cells { margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.entry > .cells:first-child { margin-top: 0; border-top: 0; }
.entry h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-top: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.entry h2 em { font-style: normal; font-weight: 400; color: var(--accent); }
.entry h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-top: 2rem; margin-bottom: .6rem; }
.entry p, .entry li { color: var(--muted); line-height: 1.68; }
.entry p + p, .entry ul + p, .entry p + ul, .entry p + ol { margin-top: 1rem; }
.entry ul:not(.cells ul) { display: grid; gap: .5rem; padding-left: 0; }
.entry > ul > li, .entry .cell ul > li { list-style: none; padding-left: 1.2rem; position: relative; }
.entry > ul > li::before, .entry .cell ul > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--taupe); }
.entry b, .entry strong { color: var(--ink); }
.entry a:not(.btn):not(.tile) { text-decoration: underline; text-decoration-color: var(--taupe); text-decoration-thickness: 2px; text-underline-offset: .28em; }
.entry figure, .entry .wp-block-image { margin-top: 2rem; }
.entry img { height: auto; }
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.entry .wp-block-button__link { display: inline-flex; align-items: center; height: 48px; padding: 0 1.5rem; background: var(--inv-bg); color: var(--inv-fg); border-radius: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.entry .wp-block-columns { display: flex; gap: 2rem; flex-wrap: wrap; }
.entry .wp-block-column { flex: 1 1 16rem; }
.entry blockquote { border-left: 3px solid var(--taupe); padding-left: 1.25rem; }
.entry > .tbl-wrap { margin-top: 0; }
.entry .cell > h2:first-child, .entry .cell > .label + h2, .entry .cell > .label + h3 { margin-top: 1.5rem; }

/* ------------------------------------------------ half-price delivery strip */
.promo {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .25rem 1.25rem;
  min-height: 40px; padding: .45rem var(--pad);
  background: var(--taupe); color: #2E2D2E; text-align: center;
  font-size: .6875rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
}
.promo p { margin: 0; }
.promo b { font-weight: 700; }
.promo__save { margin-left: .6em; }
.promo__sep { margin: 0 .8em; opacity: .6; }
.promo__cta { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; white-space: nowrap; }
@media (hover: hover) { .promo__cta:hover { border-bottom-width: 2px; } }
.promo ~ main .hero, body:has(.promo) .hero { min-height: calc(100svh - var(--nav) - 40px); }
@media (max-width: 700px) { .promo { gap: .15rem .9rem; } .promo__sep { display: none; } .promo__cond { display: block; width: 100%; letter-spacing: .1em; } }
s { text-decoration-thickness: 1.5px; opacity: .65; }

/* key terms on each cabin card, so price, minimum term, delivery and bond sit together */
.plan__terms { display: grid; gap: .35rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.plan__terms li { display: flex; gap: .6rem; }
.plan__terms li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: .6em; background: var(--taupe); }
.plan__terms b { color: var(--ink); font-weight: 700; }
.plan__terms a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: .2em; position: relative; z-index: 2; }
.plan__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.plan__actions .btn { margin-top: 0; }
.plan__quote { position: relative; z-index: 2; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Google rating link under the reviews heading */
.google-rating { margin-top: 1.5rem; }
.google-rating a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; color: var(--ink); text-decoration: none; font-size: 1rem; }
.google-rating__stars { color: var(--taupe); letter-spacing: .12em; }
.google-rating b { font-weight: 700; }
.google-rating__sep { color: var(--faint); }
.google-rating__cta { border-bottom: 1px solid var(--taupe); padding-bottom: 1px; font-weight: 500; }
@media (hover: hover) { .google-rating a:hover .google-rating__cta { border-bottom-color: currentColor; } }
.google-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; }
.google-rating a.google-rating__write { color: var(--muted); font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .25em; }
