/* Nest Workspaces site styles.
   Layout and interaction follow Crew Collective & Café: full-bleed photo heroes with a small
   floating info card, a giant serif wordmark with the street address, photo and text grids
   with thin dividers, and a "Menu" button that opens a full-screen menu.
   Type and colour are Nest's own: Roboto Serif for headlines and prices, Poppins for
   everything else, on the off-white, petrol and orange brand palette. */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/poppins-light.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/poppins-black.woff2") format("woff2"); }
@font-face {
  font-family: "Roboto Serif"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/roboto-serif-latin.woff2") format("woff2");
  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 {
  /* Latin Extended, which carries the peso sign (U+20B1). */
  font-family: "Roboto Serif"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/roboto-serif-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #FFFCF7;
  --tint: #F7F1E6;
  --ink: #082B32;
  --ink-2: #4D5D60;
  --petrol: #082B32;
  --orange: #EC622B;
  --orange-ink: #9C3A10;
  --lime: #A2CC2E;
  --line: #E6DED0;
  --line-2: #D4CAB8;
  --on-dark: #FFF4DF;
  --on-dark-2: #B9D3D2;

  --sans: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Roboto Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 2.4vw, 32px);
  --space: clamp(72px, 10vw, 140px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
/* Photo frame: clips the photo so it can zoom, drift and reveal inside it. */
.ph { display: block; overflow: hidden; position: relative; }
.ph > img { width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:hover { color: var(--orange-ink); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--on-dark); border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.serif, .display, .h-xl, .h-lg, .h-md, .price { font-family: var(--serif); font-weight: 380; letter-spacing: -0.035em; line-height: 1; }
.h-xl { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: .98; }
.h-lg { font-size: clamp(2.25rem, 4.4vw, 3.625rem); }
.h-md { font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 420; }
.label {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); line-height: 1.4;
}
.lead { font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.4; }
.muted { color: var(--ink-2); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: var(--ink);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.on-dark .btn, .btn-light { color: var(--on-dark); }
.on-dark .btn:hover, .btn-light:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.arw { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- Open status ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.status.is-closed .dot { background: var(--line-2); }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* ---------- Top bar and menu ---------- */
.topbar {
  position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--gutter); border-bottom: 1px solid var(--line);
}
.topbar.on-photo { position: absolute; top: 0; left: 0; right: 0; border-bottom: 0; color: var(--on-dark); }
.topbar .logo img { width: 52px; height: auto; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none;
  color: inherit; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.menu-btn svg { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu-btn[data-menu-close] svg { width: 16px; height: 16px; }

.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px var(--gutter) 32px;
  border: 0; background: var(--bg); color: var(--ink); overflow-y: auto;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 32px;
}
.menu[open] { display: grid; }
.menu::backdrop { background: rgba(8, 43, 50, .4); }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-top .logo img { width: 52px; height: auto; }
.menu-nav { align-self: center; }
.menu-nav a {
  display: inline-block; font-family: var(--serif); font-weight: 360; letter-spacing: -0.035em;
  font-size: clamp(2rem, min(9vw, 7vh), 4.5rem); line-height: 1.1; white-space: nowrap; text-decoration: none;
}
.menu-nav a[aria-current="page"] { color: var(--orange-ink); }
.menu-side { display: grid; gap: 14px; align-content: end; font-size: 15px; }
.menu-side a { text-decoration: none; }
.menu-side .btn-row a.btn { text-decoration: none; }
@media (min-width: 900px) {
  .menu { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto 1fr; column-gap: 64px; }
  .menu-top { grid-column: 1 / -1; }
  .menu-side { align-content: center; border-left: 1px solid var(--line); padding-left: 48px; }
}

/* ---------- Photo hero with floating card ---------- */
.hero { position: relative; min-height: min(820px, 92vh); overflow: hidden; background: #2a1a12; display: flex; align-items: flex-end; justify-content: flex-end; padding: 96px var(--gutter) var(--gutter); }
.hero.short { min-height: min(640px, 78vh); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: linear-gradient(rgba(0,0,0,.35), transparent); z-index: 1; pointer-events: none; }
.info-card {
  position: relative; z-index: 2; width: min(340px, 100%); padding: 20px 20px 22px; background: var(--bg);
  border-radius: var(--radius); display: grid; gap: 12px; justify-items: start;
}
.info-card h1, .info-card .card-title { font-family: var(--serif); font-size: 36px; font-weight: 420; letter-spacing: -0.035em; line-height: 1; }
.info-card p { font-size: 16px; line-height: 1.45; }
.info-card .card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.hero.left { justify-content: flex-start; }
@media (max-width: 600px) {
  .hero { min-height: 88vh; padding: 88px 16px 16px; }
  .info-card { width: 100%; }
}

/* ---------- Wordmark band ---------- */
.wordmark {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line);
}
.wordmark .mark-block { grid-column: 1 / span 7; }
.wordmark .mark-logo { width: clamp(200px, 30vw, 440px); height: auto; margin-left: -1.5%; }
.wordmark .giant { font-family: var(--serif); font-size: clamp(7rem, 18.5vw, 17rem); font-weight: 380; line-height: .78; letter-spacing: -0.05em; }
.wordmark .addr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 28px; }
.wordmark .addr .a-serif { font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 300; letter-spacing: -0.03em; }
.wordmark .addr .a-caps { font-size: clamp(.875rem, 1.25vw, 1.125rem); letter-spacing: .32em; text-transform: uppercase; }
.wordmark .pill-tag { margin-top: 24px; }
.wordmark .intro { grid-column: 8 / span 5; font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.4; }
@media (max-width: 900px) {
  .wordmark .mark-block, .wordmark .intro { grid-column: 1 / -1; }
}

/* ---------- Photo and text grid (home) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(420px, 32vw)); }
.pgrid > .ph { width: 100%; height: 100%; }
.pgrid .feature-panel { grid-row: 1 / span 2; background: var(--orange); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.pgrid .feature-panel .label { color: var(--ink); }
.pgrid .feature-panel h2 { font-family: var(--serif); font-size: clamp(3rem, 4.8vw, 4.25rem); font-weight: 380; letter-spacing: -0.035em; line-height: .98; margin-top: 20px; }
.pgrid .feature-panel p { max-width: 34ch; }
.tcell { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tcell .lead-sm { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.35; margin-top: 16px; }
.tcell .bottom { display: grid; gap: 14px; justify-items: start; }
.pgrid .c-a { grid-column: 2; grid-row: 1; }
.pgrid .c-b { grid-column: 3; grid-row: 1; border-bottom: 1px solid var(--line); }
.pgrid .c-c { grid-column: 2; grid-row: 2; border-top: 1px solid var(--line); }
.pgrid .c-d { grid-column: 3; grid-row: 2; }
@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pgrid .feature-panel { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .pgrid .c-a, .pgrid .c-b, .pgrid .c-c, .pgrid .c-d { grid-column: auto; grid-row: auto; }
  .pgrid > .ph { aspect-ratio: 4 / 5; height: auto; }
  .pgrid .c-b { order: 3; } .pgrid .c-c { order: 2; } .pgrid .c-d { order: 4; }
  .pgrid .c-b, .pgrid .c-c { border: 0; }
}
@media (max-width: 600px) {
  .pgrid { grid-template-columns: 1fr; }
  .pgrid .c-b, .pgrid .c-c { order: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Section heads ---------- */
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-items: start;
  padding: var(--space) var(--gutter) clamp(40px, 5vw, 64px);
}
.section-head > :first-child { grid-column: 1 / span 5; }
.section-head > :nth-child(2) { grid-column: 7 / span 5; }
.section-head > div:nth-child(2) { display: grid; gap: 20px; justify-items: start; align-content: start; }
.section-head.wide-text > :nth-child(2) { grid-column: 6 / span 6; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; }
.section-head h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4.4vw, 3.625rem); font-weight: 380; letter-spacing: -0.035em; line-height: 1; }
.section-head.tight-top { padding-top: clamp(48px, 6vw, 80px); }
.section-head.ruled { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .section-head > :first-child, .section-head > :nth-child(2), .section-head.wide-text > :nth-child(2) { grid-column: 1 / -1; }
}

/* ---------- Full-bleed photo with floating card ---------- */
.photo-band { position: relative; min-height: min(720px, 90vh); overflow: hidden; display: flex; align-items: center; padding: var(--gutter); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-card { position: relative; width: min(300px, 100%); padding: 10px 10px 20px; background: var(--bg); border-radius: var(--radius); display: grid; gap: 12px; }
.float-card > img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 6px; }
.float-card .fc-body { padding: 4px 8px 0; display: grid; gap: 10px; justify-items: start; }
.float-card h3 { font-family: var(--serif); font-size: 32px; font-weight: 420; letter-spacing: -0.035em; line-height: 1; }
.photo-band.right { justify-content: flex-end; }
@media (max-width: 600px) {
  .photo-band { min-height: 0; padding: 0; flex-direction: column; align-items: stretch; }
  .photo-band > img { position: static; height: 360px; }
  .float-card { width: auto; margin: -64px 16px 0; box-shadow: 0 8px 24px rgba(8,43,50,.12); }
}

/* ---------- Photo rows ---------- */
.photo-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 16px; padding: 0 var(--gutter); height: clamp(260px, 30vw, 420px); }
.photo-row .ph { width: 100%; height: 100%; min-height: 0; }
.photo-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.full-photo { width: 100%; height: clamp(320px, 40vw, 560px); }
@media (max-width: 700px) {
  .photo-row, .photo-row.four { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .photo-row .ph { aspect-ratio: 1; height: auto; }
  .photo-row .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .photo-row.four .ph:first-child { grid-column: auto; aspect-ratio: 1; }
}

/* ---------- Petrol band: the day by the hour ---------- */
.band-dark { margin-top: var(--space); padding: clamp(72px, 9vw, 120px) var(--gutter); background: var(--petrol); color: var(--on-dark); }
.band-dark .section-head { padding: 0 0 56px; align-items: end; }
.band-dark .section-head h2 { color: var(--on-dark); }
.band-dark .section-head p { color: var(--on-dark-2); font-size: 18px; }
.band-dark .label { color: var(--on-dark-2); }
.hours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hour { position: relative; height: clamp(280px, 27vw, 380px); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; }
.hour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.hour .t { position: relative; white-space: nowrap; font-family: var(--serif); font-size: clamp(2.25rem, 3.2vw, 3.25rem); font-weight: 380; letter-spacing: -0.035em; line-height: 1; }
.hour .d { position: relative; max-width: 20ch; line-height: 1.4; }
@media (max-width: 900px) { .hours { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hours { grid-template-columns: 1fr; } .hour { height: 220px; } }

/* ---------- Split tagline band ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.split > div { padding: clamp(48px, 6vw, 72px) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; align-items: flex-start; }
.split > div + div { border-left: 1px solid var(--line); }
.split .s-big { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 400; line-height: 1.4; max-width: 34ch; }
.split .s-small { font-size: 18px; max-width: 40ch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Ways in (footer cards) ---------- */
.ways { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; padding: clamp(56px, 6vw, 64px) var(--gutter) var(--space); }
.ways-intro { grid-column: 1 / span 3; font-size: 18px; font-weight: 400; line-height: 1.5; }
.ways-cards { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.way { background: var(--tint); border-radius: var(--radius); padding: 20px; min-height: 280px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-decoration: none; transition: background-color .15s; }
.way:hover { background: #F1E8D8; color: var(--ink); }
.way:hover .btn { background: var(--ink); color: var(--bg); }
.way-name { font-family: var(--serif); font-size: 36px; font-weight: 420; letter-spacing: -0.035em; line-height: 1; }
.way-text { flex-grow: 1; line-height: 1.45; }
.ways-quiz { grid-column: 1 / span 3; grid-row: 2; font-size: 15px; }
.ways-cards { grid-row: 1 / span 2; }
@media (max-width: 1000px) { .ways-intro, .ways-cards, .ways-quiz { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 680px) { .ways-cards { grid-template-columns: 1fr; } .way { min-height: 0; } .way-text { flex-grow: 0; } }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--gutter); }
.address-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 28px; padding-bottom: 48px; text-decoration: none; }
.address-line:hover { color: var(--ink); }
.address-line .a-serif { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
.address-line .a-caps { font-size: clamp(1.25rem, 3.4vw, 3.125rem); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; line-height: 1.2; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid .label { margin-bottom: 10px; }
.footer-grid p + p { margin-top: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid nav ul { columns: 2; column-gap: 24px; }
.footer-grid nav li { line-height: 1.9; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; }
.footer-base a:last-child { justify-self: end; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-base { grid-template-columns: 1fr; } .footer-base a:last-child { justify-self: start; } }

/* ---------- Inner page building blocks ---------- */
.page-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: end; padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-intro h1, .page-intro .h-xl { grid-column: 1 / span 7; font-family: var(--serif); font-size: clamp(3rem, 8vw, 7rem); font-weight: 380; letter-spacing: -0.045em; line-height: .9; }
.page-intro > p, .page-intro > div { grid-column: 8 / span 5; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.45; }
@media (max-width: 900px) { .page-intro h1, .page-intro .h-xl, .page-intro > p, .page-intro > div { grid-column: 1 / -1; } }

.subnav { position: sticky; top: 0; z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--gutter); background: rgba(255, 252, 247, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.subnav a:hover { background: var(--tint); color: var(--ink); }

.block { padding: 0 var(--gutter); }
.block + .block { margin-top: 24px; }

/* Rate lists: name, detail and price on one ruled line. */
.rates { border-top: 1px solid var(--ink); }
.rate { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rate .name { font-weight: 600; font-size: 17px; }
.rate .detail { color: var(--ink-2); font-size: 15px; }
.rate .amt { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; text-align: right; }
.rate .amt small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
@media (max-width: 600px) { .rate { grid-template-columns: 1fr auto; } .rate .detail { grid-column: 1; grid-row: 2; } .rate .name { grid-column: 1; } .rate .amt { grid-column: 2; grid-row: 1 / span 2; align-self: center; } }
.rates-note { margin-top: 16px; color: var(--ink-2); font-size: 15px; }

/* Two-column: text left, list right */
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; padding: 0 var(--gutter); }
.two-col > :first-child { grid-column: 1 / span 4; }
.two-col > :last-child { grid-column: 6 / span 7; }
@media (max-width: 900px) { .two-col > :first-child, .two-col > :last-child { grid-column: 1 / -1; } }

/* The bold passes block: orange panel beside rate list */
.passes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.passes .feature-panel { background: var(--orange); padding: 32px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 480px; }
.passes .feature-panel .label { color: var(--ink); }
.passes .feature-panel .big { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 380; letter-spacing: -0.05em; line-height: .9; }
.passes .list { padding: 32px var(--gutter); display: grid; gap: 40px; align-content: start; }
@media (max-width: 900px) { .passes { grid-template-columns: 1fr; } .passes .feature-panel { min-height: 0; } }

/* Cards on the tint colour */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 var(--gutter); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--tint); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card.photo { padding: 10px 10px 24px; }
.card.photo > .ph { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; margin-bottom: 8px; }
.card.photo > :not(.ph) { margin-left: 14px; margin-right: 14px; }
.card h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 420; letter-spacing: -0.035em; line-height: 1.02; }
.card .price { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 400; margin-top: auto; padding-top: 8px; }
.card .price small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.card .facts { display: flex; flex-wrap: wrap; gap: 6px; }
.card .facts li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
.card .btn { margin-top: 8px; }
.card.on-dark { background: var(--petrol); color: var(--on-dark); }
.card.on-dark .label { color: var(--on-dark-2); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* Checklists with a thin rule */
.ticks { border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.ticks.cols { columns: 2; column-gap: 32px; border-top: 0; }
.ticks.cols li { break-inside: avoid; }
@media (max-width: 700px) { .ticks.cols { columns: 1; } }

/* Amenities in a ruled grid */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 0 var(--gutter); }
.facts-grid > div { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.facts-grid > div:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.facts-grid > div:not(:nth-child(4n+1)) { padding-left: 24px; }
.facts-grid strong { font-family: var(--serif); font-size: 22px; font-weight: 420; letter-spacing: -0.02em; line-height: 1.15; }
.facts-grid span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { border-right: 0 !important; padding-left: 0 !important; }
  .facts-grid > div:nth-child(odd) { border-right: 1px solid var(--line) !important; padding-right: 20px; }
  .facts-grid > div:nth-child(even) { padding-left: 20px !important; }
}
@media (max-width: 520px) { .facts-grid { grid-template-columns: 1fr; } .facts-grid > div { border-right: 0 !important; padding-left: 0 !important; } }

/* Zones */
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones li { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em; }

/* Split media block: photo one side, text the other */
.media-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.media-split > .ph { width: 100%; height: 100%; min-height: 420px; }
.media-split .ms-body { padding: clamp(32px, 5vw, 64px) var(--gutter); display: grid; gap: 24px; align-content: center; justify-items: start; }
.media-split .ms-body h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 380; letter-spacing: -0.035em; line-height: 1; }
.media-split .ms-body .rates { width: 100%; }
.media-split.flip > .ph { order: 2; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split > .ph { min-height: 0; aspect-ratio: 16 / 10; } .media-split.flip > .ph { order: 0; } }

/* Notice (time-limited offers) */
.notice { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; margin: var(--space) var(--gutter) 0; padding: 24px 28px; border-radius: var(--radius); background: var(--orange); }
.notice .label { color: var(--ink); }
.notice p { font-size: 17px; }
.notice .btn:hover { background: var(--ink); color: var(--orange); }
@media (max-width: 800px) { .notice { grid-template-columns: 1fr; justify-items: start; } }

/* FAQ */
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 400; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details > div { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 68ch; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > .label { margin-bottom: 16px; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-wrap .fw-side { padding: clamp(40px, 5vw, 64px) var(--gutter); border-right: 1px solid var(--line); display: grid; gap: 24px; align-content: start; justify-items: start; }
.form-wrap .fw-side h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 380; letter-spacing: -0.035em; line-height: 1; }
.form-wrap .fw-side .ph { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.form-wrap form { padding: clamp(40px, 5vw, 64px) var(--gutter); }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } .form-wrap .fw-side { border-right: 0; border-bottom: 1px solid var(--line); } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 8px;
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.stepper { display: grid; grid-template-columns: 1fr 48px 48px; gap: 6px; }
.stepper button { min-height: 48px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--tint); font: 600 20px/1 var(--sans); color: var(--ink); cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-note, .form-status { font-size: 14px; color: var(--ink-2); }
.form-status:empty { display: none; }

/* Find your space */
.fit .fit-main { padding: clamp(40px, 5vw, 64px) var(--gutter); display: grid; gap: 28px; align-content: start; }
.fit-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.fit-progress span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .4s ease; }
.fit-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.fit-q legend { padding: 0; margin-bottom: 24px; }
.fit-q h2:focus, .fit-result h2:focus { outline: none; }
.fit-opts { display: grid; gap: 10px; }
.fit-opt {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; row-gap: 2px; width: 100%;
  padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink);
  font: 400 15px/1.4 var(--sans); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.fit-opt strong { font-size: 17px; }
.fit-opt span { grid-column: 1; color: var(--ink-2); }
.fit-opt .arw { grid-column: 2; grid-row: 1 / span 2; }
.fit-opt:hover, .fit-opt.is-on { background: var(--tint); border-color: var(--ink); }
.fit-back { justify-self: start; margin-top: 20px; padding: 8px 0; border: 0; background: none; color: var(--ink-2); font: 600 14px/1 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fit-back:hover { color: var(--orange-ink); }
.fit-result { display: grid; gap: 16px; }
.fit-card { display: grid; gap: 10px; justify-items: start; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.fit-card.is-main { background: var(--petrol); border-color: var(--petrol); color: var(--on-dark); }
.fit-card.is-main .label { color: var(--lime); }
.fit-card.is-main a:hover { color: var(--lime); }
.fit-card .price { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.fit-estimate { font-size: 15px; color: var(--ink-2); }
.fit-answers summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.fit-answers ul { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.fit-answers li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.fit-answers li span { color: var(--ink-2); }
.fit .fit-send { padding: 28px 0 0; border-top: 1px solid var(--line); }
.fit-send .fit-back { margin-top: 0; }
.fit-field label { font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; }
.fit-field label .opt { font-family: var(--sans); font-size: 14px; letter-spacing: 0; }
@media (prefers-reduced-motion: no-preference) { .fit-field:not([hidden]) { animation: fade-up .5s cubic-bezier(.19, 1, .22, 1); } }
@media (max-width: 900px) { .fit .fw-side .ph { display: none; } }

/* Map */
.map { width: 100%; height: clamp(320px, 40vw, 480px); border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

/* ---------- Stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; padding: 0 var(--gutter) var(--space); }
.story-grid.more { padding-bottom: clamp(56px, 6vw, 64px); }
.story-card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.story-card .story-ph { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--tint); }
.story-card .story-ph img { width: 100%; height: 100%; object-fit: cover; }
.story-card:hover { color: var(--ink); }
.story-card .story-title { font-family: var(--serif); font-size: clamp(1.375rem, 1.9vw, 1.75rem); font-weight: 420; letter-spacing: -0.03em; line-height: 1.1; }
.story-card .story-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.story-card.wide { grid-column: span 2; }
.story-card.wide .story-ph { aspect-ratio: auto; height: 100%; min-height: 360px; max-height: calc((100vw - 2 * var(--gutter)) / 3 * 1.25); }
.story-card.wide { grid-template-rows: 1fr auto auto auto; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; } .story-card.wide { grid-column: 1 / -1; } .story-card.wide .story-ph { aspect-ratio: 16 / 10; min-height: 0; max-height: none; } }
@media (max-width: 560px) { .story-grid { grid-template-columns: 1fr; } }

.article { padding: clamp(48px, 7vw, 88px) var(--gutter) 0; }
.article-head { max-width: 980px; display: grid; gap: 20px; }
.article-head h1 { font-family: var(--serif); font-size: clamp(2.5rem, 5.6vw, 4.75rem); font-weight: 380; letter-spacing: -0.04em; line-height: .98; }
.article-head .dek { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; max-width: 52ch; }
.crumbs { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.article-meta { font-size: 14px; color: var(--ink-2); }
.article-hero { margin: 48px calc(var(--gutter) * -1) 0; overflow: hidden; }
.article-hero img { width: 100%; height: clamp(320px, 52vw, 680px); object-fit: cover; }
.prose { max-width: 68ch; margin: clamp(48px, 6vw, 80px) auto 0; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.625rem, 2.4vw, 2rem); font-weight: 420; letter-spacing: -0.03em; line-height: 1.1; margin-top: 1.9em; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li + li { margin-top: 6px; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--orange-ink); }
.prose a { color: var(--orange-ink); }
.prose .rates { margin-top: 1.4em; }
.article-cta { max-width: 68ch; margin: 56px auto 0; padding: 28px; border-radius: var(--radius); background: var(--tint); display: grid; gap: 12px; justify-items: start; }
.article-cta .cta-title { font-family: var(--serif); font-size: 32px; font-weight: 420; letter-spacing: -0.035em; line-height: 1; }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; gap: 28px; padding: var(--space) var(--gutter); justify-items: start; }
.lost h1 { font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); font-weight: 380; letter-spacing: -0.045em; line-height: .9; }

/* Spacing helpers */
.mt-section { margin-top: var(--space); }
.pb-section { padding-bottom: var(--space); }
.notice.quiet { background: var(--tint); }
.notice.quiet .label { color: var(--ink-2); }
.notice.quiet .btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- Motion ----------
   Modelled on Crew Collective's timings: headlines slide up word by word, photos reveal from
   the top and drift as you scroll, lines draw in, buttons roll their label, and the menu
   slides in from the left. site.js adds the classes; html.js is set in the head so nothing
   flashes before it runs. Visitors who ask for reduced motion get the plain, static site. */
@property --rs { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --hs { syntax: "<number>"; inherits: false; initial-value: 1; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Intro loader, shown on the first visit of the day */
.loader { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .show-loader .loader {
    position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; justify-content: space-between;
    padding: 20px var(--gutter) var(--gutter); background: var(--petrol); color: var(--on-dark);
    animation: loader-out 1s cubic-bezier(.77, 0, .175, 1) 1.75s forwards;
  }
  .loader-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
  .loader-bottom { display: grid; gap: 12px; }
  .loader-line { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--on-dark-2); animation: fade-up .9s cubic-bezier(.19, 1, .22, 1) .2s both; }
  .loader-mark {
    font-family: var(--serif); font-weight: 380; letter-spacing: -0.05em; line-height: .8;
    font-size: clamp(7rem, 30vw, 26rem); margin-left: -.04em;
    animation: mark-in 1s ease-out both;
  }
  .loader-progress { height: 2px; background: rgba(255, 244, 223, .18); margin-top: 12px; }
  .loader-progress span { display: block; height: 100%; width: 0; background: var(--orange); animation: progress 1.45s cubic-bezier(.785, .135, .15, .86) .25s forwards; }
  @keyframes mark-in { from { opacity: .09; filter: blur(2px); } to { opacity: 1; filter: none; } }
  @keyframes progress { to { width: 100%; } }
  @keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: no-preference) {
  /* Top bar settles in once the page is ready. */
  .topbar { transition: opacity .9s ease; }
  .js:not(.ready) .topbar { opacity: 0; }

  /* Headlines: each word slides up from behind a mask, one line after the other. */
  .js :is(main, .ways, .site-footer) :is(h1, h2:not(.sr-only):not(.ways-intro), .giant, .a-serif, .a-caps, .way-name, .hour .t, .card h3, .float-card h3, .price, .big, .story-title, .cta-title):not(.sp) { opacity: 0; }
  /* The Find your space steps are drawn after load, so they skip the headline reveal. */
  .js [data-fit] :is(h2, h3, .price, .label, .form, .btn-row) { opacity: 1 !important; transform: none !important; }
  .w { display: inline-block; clip-path: inset(-.4em -.2em -.14em -.2em); }
  .wi { display: inline-block; transform: translateY(1.3em); transition: transform 1s cubic-bezier(.19, 1, .22, 1) var(--d, 0s); }
  .in .wi, .in.wi { transform: none; }

  /* Paragraphs and smaller blocks rise and fade in. */
  .js :is(main, .ways, .site-footer) :is(.label, .section-head:not(.wide-text) > p, .hero .info-card, .btn-row, .card > p:not(.price), .card .facts, .zones, .notice, .prose > :not(h2), .article-head > p, .ms-body > p, .tcell p, .way, .form, .rates-note, .lost .lead, .pill-tag, .feature-panel p:not(.big), .fw-side > p, .split > div > p:not(.s-big), .hour .d, .info-card > p) {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.215, .61, .355, 1) var(--d, 0s), transform 1s cubic-bezier(.19, 1, .22, 1) var(--d, 0s);
  }
  .js :is(main, .ways, .site-footer) :is(.label, .section-head:not(.wide-text) > p, .hero .info-card, .btn-row, .card > p:not(.price), .card .facts, .zones, .notice, .prose > :not(h2), .article-head > p, .ms-body > p, .tcell p, .way, .form, .rates-note, .lost .lead, .pill-tag, .feature-panel p:not(.big), .fw-side > p, .split > div > p:not(.s-big), .hour .d, .info-card > p).in { opacity: 1; transform: none; }
  .js .hero .info-card { transform: translateY(48px); }

  /* Photos: a curtain lifts from the top while the photo settles from a slight zoom. */
  .js :is(.ph, .story-ph, .article-hero, .float-card > img, .mark-logo) { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.215, .61, .355, 1) var(--d, 0s); }
  .js :is(.ph, .story-ph, .article-hero, .float-card > img, .mark-logo).in { clip-path: inset(0 0 0 0); }
  :is(.ph > img, .hero > img, .photo-band > img, .hour img, .story-ph img, .article-hero img) {
    transform: translate3d(0, var(--py, 0px), 0) scale(calc(var(--ps, 1.14) * var(--rs) * var(--hs)));
    transition: --rs 1.6s cubic-bezier(.215, .61, .355, 1) var(--d, 0s), --hs .8s cubic-bezier(.19, 1, .22, 1);
    will-change: transform;
  }
  .js :is(.ph, .story-ph, .article-hero, .hero, .photo-band, .hour):not(.in) img { --rs: 1.2; }
  .js .float-card > img:not(.in) { transform: scale(1.15); }
  .float-card > img { transition: clip-path 1.1s cubic-bezier(.215, .61, .355, 1), transform 1.6s cubic-bezier(.215, .61, .355, 1); }
  .hero > img { --ps: 1.08; transition-duration: 2.2s, .8s; }

  /* Hover zoom on photo cards and stories. */
  :is(.card.photo, .story-card):hover img { --hs: 1.08; }

  /* Dividers draw in from the left. */
  .js :is(main, .ways, .site-footer) :is(.rate, .faq-list details, .ticks li, .facts-grid > div, .wordmark, .split) {
    border-bottom-color: transparent;
    background-image: linear-gradient(var(--dl, var(--line)), var(--dl, var(--line))); background-repeat: no-repeat;
    background-position: left bottom; background-size: 0 1px;
    transition: background-size 1.2s cubic-bezier(.65, 0, .35, 1) var(--d, 0s);
  }
  .js :is(main, .ways, .site-footer) :is(.rates, .faq-list, .ticks:not(.cols), .footer-grid, .footer-base, .facts-grid, .section-head.ruled) {
    border-top-color: transparent;
    background-image: linear-gradient(var(--dl, var(--line)), var(--dl, var(--line))); background-repeat: no-repeat;
    background-position: left top; background-size: 0 1px;
    transition: background-size 1.2s cubic-bezier(.65, 0, .35, 1) var(--d, 0s);
  }
  .js :is(.rates, .faq-list) { --dl: var(--ink); }
  .js :is(main, .ways, .site-footer) :is(.rate, .faq-list details, .ticks li, .facts-grid > div, .wordmark, .split, .rates, .faq-list, .ticks:not(.cols), .footer-grid, .footer-base, .facts-grid, .section-head.ruled).in { background-size: 100% 1px; }

  /* Buttons: the label rolls up to a copy of itself while the fill rises from below. */
  .roll { display: inline-block; height: 1.2em; line-height: 1.2; overflow: hidden; }
  .roll-in { display: block; transition: transform .6s cubic-bezier(.19, 1, .22, 1); }
  .roll-in > span { display: block; }
  :is(.btn, .menu-btn):is(:hover, :focus-visible) .roll-in, .way:hover .roll-in { transform: translateY(-50%); }
  .btn { position: relative; overflow: hidden; isolation: isolate; transition: color .4s cubic-bezier(.645, .045, .355, 1), border-color .4s; }
  .btn::before {
    content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fill, var(--ink));
    transform: translateY(101%); transition: transform .45s cubic-bezier(.645, .045, .355, 1);
  }
  .btn:hover::before, .way:hover .btn::before { transform: none; }
  .btn:hover, .on-dark .btn:hover, .btn-light:hover, .notice .btn:hover, .way:hover .btn { background: transparent; }
  .btn-solid:hover { background: var(--ink); }
  .btn-solid { --fill: var(--orange-ink); }
  .on-dark .btn, .btn-light { --fill: var(--on-dark); }
  .btn .arw { transition: transform .5s cubic-bezier(.19, 1, .22, 1); }
  .btn:hover .arw, .way:hover .btn .arw { transform: translateX(3px); }

  /* Small links: an underline grows from the left. */
  :is(.footer-grid, .menu-side, .footer-base, .fw-side) a:not(.btn):not(.socials a) {
    text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
    transition: background-size .4s cubic-bezier(.215, .61, .355, 1);
  }
  :is(.footer-grid, .menu-side, .footer-base, .fw-side) a:not(.btn):not(.socials a):hover { text-decoration: none; background-size: 100% 1px; }
  .text-link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1.5px; }
  .text-link:hover { animation: wipe .8s cubic-bezier(.65, 0, .35, 1); }
  @keyframes wipe {
    0% { background-size: 100% 1.5px; background-position: right bottom; }
    50% { background-size: 0 1.5px; background-position: right bottom; }
    50.01% { background-size: 0 1.5px; background-position: left bottom; }
    100% { background-size: 100% 1.5px; background-position: left bottom; }
  }

  /* Menu slides in from the left; links rise one after another. */
  .menu[open] { animation: menu-in .7s cubic-bezier(.215, .61, .355, 1) both; }
  .menu[open]::backdrop { animation: fade-in .6s ease both; }
  .menu.closing { animation: menu-out .55s cubic-bezier(.55, .055, .675, .19) forwards; }
  .menu.closing::backdrop { animation: fade-in .55s ease reverse forwards; }
  .menu-nav li { overflow: hidden; padding-bottom: .06em; }
  .menu[open] .menu-nav a { animation: link-up 1s cubic-bezier(.19, 1, .22, 1) both; animation-delay: calc(.28s + var(--i, 0) * .06s); }
  .menu[open] .menu-side { animation: fade-up .9s cubic-bezier(.19, 1, .22, 1) .5s both; }
  .menu-nav a { transition: opacity .35s cubic-bezier(.165, .84, .44, 1), filter .35s cubic-bezier(.165, .84, .44, 1); }
  .menu-nav ul:hover a { opacity: .45; filter: blur(1px); }
  .menu-nav ul:hover a:hover { opacity: 1; filter: none; }
  @keyframes menu-in { from { transform: translateX(-100%); } to { transform: none; } }
  @keyframes menu-out { from { transform: none; } to { transform: translateX(-100%); } }
  @keyframes link-up { from { transform: translateY(110%); } to { transform: none; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

  /* FAQ answers open smoothly (site.js animates the height). */
  .faq-list details > div { overflow: hidden; }
  .faq-list summary::after { transition: transform .5s cubic-bezier(.19, 1, .22, 1); }
}
