@font-face {
  font-family: "Familjen Grotesk";
  src: url("font/familjengrotesk.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------
   THE VANDIVER — tokens
   Type ladder, written before the markup, six steps:
     88 mark / 43 h1 / 25 h2 / 19 h3 and lede / 16.5 body / 13 label
   One family, two weights (400, 700). One radius (0).
   Painted colours: paper, ink, panel, exit. Two inks (ink on paper,
   paper on ink). Accent is the exit-sign red and it fills nothing
   but the two call buttons.
   Value structure: cool stone the whole way down, broken by exactly
   two ink-dark passages, the hero photograph and the closing band.
   --------------------------------------------------------------- */
:root {
  --paper: #E7EAEA;
  --ink: #191F21;
  --panel: #D6DCDC;
  --exit: #B5342A;

  --t-mark: clamp(48px, 6.9vw, 88px);
  --t-h1: clamp(29px, 3.7vw, 43px);
  --t-h2: 25px;
  --t-h3: 19px;
  --t-body: 16.5px;
  --t-lab: 13px;

  --gut: 24px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Familjen Grotesk", system-ui, sans-serif;
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1, h2, h3, p, dl, dd, ul, figure, table { margin: 0; }
dd { margin-left: 0; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--exit);
  outline-offset: 3px;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- honesty banner + skip ---------- */
.mockup {
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-lab);
  line-height: 1.5;
  padding: 10px var(--gut);
  margin: 0;
  text-align: left;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  position: static;
  display: inline-block;
  padding: 14px var(--gut);
  background: var(--exit);
  color: #fff;
  font-size: var(--t-lab);
  text-decoration: underline;
}

/* ---------- masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--ink);
}
.masthead-in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  padding-top: 16px;
  padding-bottom: 14px;
}
.wordmark {
  font-size: var(--t-h2);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-right: auto;
}
.wordmark span {
  font-weight: 400;
  font-size: var(--t-lab);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  vertical-align: 0.5em;
  margin-right: 6px;
}
.masthead nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.masthead nav a {
  font-size: var(--t-lab);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 6px 0;
  display: inline-block;
}
.masthead nav a:hover { border-bottom-color: var(--ink); }
.tel a {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--exit);
  padding: 11px 2px 9px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
}
.hero img {
  height: clamp(430px, 66vh, 640px);
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(to top, rgba(15,19,21,.97) 0%, rgba(15,19,21,.95) 34%, rgba(15,19,21,.88) 52%, rgba(15,19,21,.62) 68%, rgba(15,19,21,.22) 88%, rgba(15,19,21,.08) 100%);
}
.hero-copy .wrap {
  width: 100%;
  padding-bottom: 42px;
  padding-top: 30px;
}
.hero h1 {
  color: var(--paper);
  font-size: var(--t-h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 17ch;
}
.hero .lede {
  color: var(--paper);
  font-size: var(--t-h3);
  line-height: 1.55;
  max-width: 54ch;
  margin-top: 18px;
}

/* ---------- practical strip ---------- */
.strip {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(231,234,234,.28);
}
.strip-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.strip-line {
  font-size: var(--t-h3);
  max-width: 58ch;
}
.strip-act { margin: 0; }

.button {
  display: inline-block;
  background: var(--exit);
  color: #fff;
  font-weight: 700;
  font-size: var(--t-body);
  text-decoration: none;
  padding: 14px 26px;
  min-height: 48px;
  border: 2px solid var(--exit);
  transition: background .18s ease, border-color .18s ease;
}
.button:hover { background: #8F281F; border-color: #8F281F; }
.button:active { background: #74201A; border-color: #74201A; }

/* ---------- the room ---------- */
.room { padding: 74px 0 8px; }
.room h2, .week h2, .prices h2, .plan h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.room .intro, .week .intro {
  font-size: var(--t-h3);
  max-width: 60ch;
  margin-top: 14px;
}

.zones {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.zone {
  border-top: 1px solid var(--ink);
  padding: 30px var(--gut) 40px;
}
.zone-copy { max-width: 62ch; }

.mark {
  font-size: var(--t-mark);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -0.045em;
  margin-bottom: 6px;
}
.zone h3 {
  font-size: var(--t-h3);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.dist {
  margin-top: 4px;
  max-width: 46ch;
}
.zone dl { margin-top: 20px; }
.zone dt {
  font-size: var(--t-lab);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  margin-top: 16px;
}
.zone dt:first-child { margin-top: 0; }
.zone dd { margin-top: 4px; }

.zone figure {
  margin-top: 26px;
  margin-left: calc(var(--gut) * -1);
  margin-right: calc(var(--gut) * -1);
}

@media (min-width: 860px) {
  .zones { margin-top: 56px; }
  .zone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 0 56px;
    align-items: start;
    padding: 40px var(--gut) 52px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .zone figure { margin: 0; grid-column: 1; grid-row: 1; }
  .zone .zone-copy { grid-column: 2; grid-row: 1; }
  .zone:nth-child(even) figure { grid-column: 2; }
  .zone:nth-child(even) .zone-copy { grid-column: 1; }
  .zone-plain { grid-template-columns: minmax(0, 1fr); }
  .zone-plain .zone-copy {
    grid-column: 1;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 0 56px;
    align-items: start;
  }
  .zone-plain .mark {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
  }
  .zone-plain h3, .zone-plain .dist, .zone-plain dl { grid-column: 2; }
}

/* ---------- plan ---------- */
.plan { padding: 6px 0 66px; }
.plan-in {
  display: grid;
  gap: 34px 56px;
}
.plan-copy p { max-width: 52ch; margin-top: 14px; }
.plan-note {
  font-size: var(--t-lab);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.7;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  max-width: 42ch;
}
.plan-fig svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}
.pl-room rect { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.pl-screen rect { fill: var(--ink); }
.pl-screen text, .pl-doors text, .pl-rows text {
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--ink);
  text-anchor: middle;
}
.pl-rows text { letter-spacing: 0; font-size: 10px; }
.pl-rows rect { fill: var(--panel); }
.pl-rows rect.z3 { fill: #A9B4B4; }
.pl-flat rect { fill: none; stroke: var(--exit); stroke-width: 2; stroke-dasharray: 4 3; }
.pl-doors rect { fill: var(--ink); }

@media (min-width: 860px) {
  .plan-in { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; }
}

/* ---------- the week ---------- */
.week {
  background: var(--panel);
  padding: 70px 0 76px;
}
.uses {
  margin-top: 40px;
  display: grid;
  gap: 0;
}
.uses dt {
  font-weight: 700;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.uses dd {
  padding-bottom: 22px;
  max-width: 62ch;
}

@media (min-width: 860px) {
  .uses {
    grid-template-columns: 20ch minmax(0, 1fr);
    column-gap: 48px;
  }
  .uses dt { padding-bottom: 24px; }
  .uses dd { border-top: 1px solid var(--ink); padding-top: 18px; }
}

/* ---------- prices ---------- */
.prices { padding: 74px 0 80px; }
.prices-grid {
  margin-top: 38px;
  display: grid;
  gap: 44px 56px;
}
table { border-collapse: collapse; width: 100%; }
caption {
  text-align: left;
  font-size: var(--t-lab);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  padding-bottom: 10px;
}
th, td {
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid var(--ink);
  font-weight: 400;
  vertical-align: baseline;
}
td { text-align: right; font-weight: 700; white-space: nowrap; }
tr:first-child th, tr:first-child td { border-top: 1px solid var(--ink); }

.wont h3 {
  font-size: var(--t-h3);
  font-weight: 700;
}
.wont ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.wont li {
  border-top: 1px solid var(--ink);
  padding: 16px 0;
  max-width: 58ch;
}

@media (min-width: 860px) {
  .prices-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

/* ---------- close ---------- */
.close {
  background: var(--ink);
  color: var(--paper);
  padding: 0;
}
.close-in {
  display: grid;
  gap: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
.close figure { margin: 0; }
.close img { height: 100%; min-height: 300px; object-fit: cover; }
.close-copy {
  padding: 56px var(--gut) 62px;
  max-width: 60ch;
}
.close h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.close p { margin-top: 18px; }
.close-act { margin-top: 30px; }
.close .button { border-color: var(--exit); }
.close-addr {
  font-size: var(--t-lab);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.7;
  border-top: 1px solid rgba(231,234,234,.4);
  padding-top: 16px;
  margin-top: 30px;
}

@media (min-width: 860px) {
  .close-in { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .close-copy { padding: 74px 56px 78px 56px; }
}

/* ---------- footer ---------- */
.foot {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(231,234,234,.28);
  padding: 40px 0 54px;
}
.foot-in { display: grid; gap: 10px 48px; }
.foot-brand { font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.015em; }
.foot-lines { line-height: 1.7; }
.foot-lines a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 2px solid var(--exit);
  padding: 11px 2px 9px;
}
.foot-note {
  font-size: var(--t-lab);
  line-height: 1.7;
  max-width: 76ch;
  border-top: 1px solid rgba(231,234,234,.28);
  padding-top: 18px;
  margin-top: 20px;
}

@media (min-width: 860px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-note { grid-column: 1 / -1; }
}

/* ---------- motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.js .reveal.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
