/* ============================================
   Ruan Springorum Photography — ruanphoto.com
   Editorial minimal · warm off-white · serif
   ============================================ */

:root {
  --bg: #faf8f4;
  --ink: #1a1816;
  --ink-soft: #55504a;
  --line: #e4dfd6;
  --accent: #8a8378;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- type ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

em, .ital { font-style: italic; }

.label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.brand {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand span { color: var(--accent); }
.brand img { display: block; height: 22px; width: auto; }
.footer-grid .brand img { height: 20px; }

.main-nav { display: flex; align-items: center; gap: 2.2rem; }

.main-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
  position: relative;
  padding: 0.4rem 0;
}

.main-nav a:hover, .main-nav a.active { color: var(--ink); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}

/* portfolio dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 0.6rem; }
.sub-nav {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  min-width: 11rem;
  text-align: center;
}
.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.btn:hover { background: var(--ink); color: var(--bg); }

.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: transparent; color: var(--ink); }

.nav-book { margin-left: 0.5rem; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--ink);
  margin: 7px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- mobile nav ---------- */

@media (max-width: 880px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0; left: 0;
    /* explicit size: the header's backdrop-filter makes it the containing block,
       so inset:0 alone would size the menu to the header, not the screen */
    width: 100%;
    height: 100svh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
  }

  body.nav-open .main-nav { transform: translateY(0); }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .main-nav a { font-size: 0.95rem; }
  .main-nav .nav-book { margin-left: 0; margin-top: 0.6rem; padding: 1rem 2.2rem; }

  .has-sub .sub-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    background: none;
    padding: 0.6rem 0 0;
    gap: 1rem;
  }
  .has-sub > a { display: none; }

  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 13, 11, 0.7), rgba(15, 13, 11, 0.05) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f6f3ed;
  padding: var(--pad);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  max-width: 60rem;
}

.hero-content .label { color: rgba(246, 243, 237, 0.75); margin-bottom: 1.2rem; }
.hero-content h1 em { font-style: italic; }

/* ---------- layout helpers ---------- */

.section { padding: clamp(4rem, 10vw, 8rem) var(--pad); }
.section-tight { padding: clamp(3rem, 7vw, 5rem) var(--pad); }
.center { text-align: center; }
.measure { max-width: 38rem; margin-left: auto; margin-right: auto; }
.measure-wide { max-width: 52rem; margin-left: auto; margin-right: auto; }

.rule { border: none; border-top: 1px solid var(--line); margin: 0 var(--pad); }

/* ---------- portfolio tiles (home) ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

@media (max-width: 880px) { .tiles { grid-template-columns: 1fr; } }

.tile { position: relative; overflow: hidden; }

.tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.tile:hover img { transform: scale(1.04); }

.tile-meta { padding: 1.3rem 0 0; }
.tile-meta .label { color: var(--accent); }
.tile-meta h3 { margin: 0.35rem 0 0.2rem; }
.tile-meta .tile-link {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.tile:hover .tile-link { color: var(--ink); border-color: var(--ink); }

.tile > a { display: block; }

/* ---------- intro split ---------- */

.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.split .label { margin-bottom: 1.1rem; }
.split h2 { margin-bottom: 1.4rem; }
.split p + p { margin-top: 1rem; }
.split .btn { margin-top: 2.2rem; }

/* ---------- quote ---------- */

.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 46rem;
  margin: 0 auto;
}

.quote-cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- gallery grids ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.8vw, 1.6rem);
}

@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 8 / 5; }
@media (max-width: 540px) {
  .gallery .wide { grid-column: span 1; }
  .gallery .wide img { aspect-ratio: 4 / 5; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: calc(clamp(4rem, 10vw, 8rem) + 3.5rem) var(--pad) clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.page-hero .label { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.page-hero .lede { margin-top: 1.4rem; }

/* ---------- pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}

.price-card {
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  display: flex;
  flex-direction: column;
}

.price-card .label { margin-bottom: 0.9rem; }
.price-card h3 { margin-bottom: 0.4rem; }

.price-from {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.price-card ul { list-style: none; flex: 1; }

.price-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.price-card li:last-child { border-bottom: none; }

.price-card li strong { color: var(--ink); font-weight: 500; }

.price-card .btn { margin-top: 1.8rem; align-self: flex-start; }

/* ---------- contact ---------- */

.contact-lines { list-style: none; margin-top: 2.4rem; }

.contact-lines li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-lines .label { min-width: 7.5rem; }

.contact-lines a {
  font-family: var(--serif);
  font-size: 1.25rem;
  transition: color 0.3s;
}

.contact-lines a:hover { color: var(--accent); }

/* ---------- faq ---------- */

.faq { max-width: 46rem; margin: 0 auto; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.faq summary {
  font-family: var(--serif);
  font-size: 1.3rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { margin-top: 0.9rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- booking embed ---------- */

.calendly-wrap {
  max-width: 64rem;
  margin: 0 auto;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 760px;
}

.notice {
  border: 1px solid var(--line);
  background: #f4f1ea;
  padding: 1.4rem 1.8rem;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: center;
}

.notice a { border-bottom: 1px solid var(--accent); color: var(--ink); }

/* ---------- big cta ---------- */

.big-cta { text-align: center; }
.big-cta h2 { max-width: 30ch; margin: 0 auto 2.4rem; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2.2rem;
  margin-top: clamp(3rem, 8vw, 6rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid .brand { display: block; margin-bottom: 0.9rem; }

.footer-grid p { font-size: 0.9rem; color: var(--ink-soft); max-width: 26rem; }

.footer-grid .label { display: block; margin-bottom: 1rem; }

.footer-grid ul { list-style: none; }

.footer-grid ul a {
  display: inline-block;
  padding: 0.28rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.footer-grid ul a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* ---------- lightbox ---------- */

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 13, 11, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lb-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lb-img-wrap {
  position: relative;
  max-width: min(90vw, 1200px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-overlay img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s;
}

.lb-overlay img.loading { opacity: 0; }

.lb-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: #f6f3ed;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 210;
}

.lb-close:hover { opacity: 1; }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #f6f3ed;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 1rem 1.4rem;
  opacity: 0.55;
  transition: opacity 0.2s;
  z-index: 210;
  user-select: none;
}

.lb-arrow:hover { opacity: 1; }
.lb-prev { left: 0.4rem; }
.lb-next { right: 0.4rem; }

.lb-counter {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 243, 237, 0.5);
}

@media (max-width: 540px) {
  .lb-arrow { font-size: 1.6rem; padding: 0.8rem; }
}

.gallery figure { cursor: zoom-in; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero — ken burns ---------- */

@keyframes kb-zoom {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.07) translateX(-1%); }
}

.hero-img {
  animation: kb-zoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }

/* ---------- scroll hint ---------- */

.scroll-hint {
  position: absolute;
  bottom: 2.8rem;
  right: var(--pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(246,243,237,0.55);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(246,243,237,0.5), transparent);
  animation: sh-line 2.2s ease-in-out infinite;
}

@keyframes sh-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) { .scroll-hint { display: none; } }

/* ---------- stats bar ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad);
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.stat-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 540px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}

/* ---------- process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

@media (max-width: 880px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .steps { grid-template-columns: 1fr; } }

.step {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step:nth-child(4n) { border-right: none; }

@media (max-width: 880px) {
  .step:nth-child(4n)   { border-right: 1px solid var(--line); }
  .step:nth-child(2n)   { border-right: none; }
}
@media (max-width: 480px) { .step { border-right: none; } }

.step-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-style: italic;
  color: var(--line);
  line-height: 1;
  display: block;
  margin-bottom: 1.2rem;
}

.step h4 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- agent toolkit ---------- */

.agent-toolkit {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}

.agent-toolkit .label { color: rgba(246,243,237,0.4); margin-bottom: 0.9rem; }

.agent-toolkit h2 { color: var(--bg); margin-bottom: 1rem; }

.agent-toolkit > p {
  color: rgba(246,243,237,0.7);
  max-width: 38rem;
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.7;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 880px) { .agent-grid { grid-template-columns: 1fr; } }

.agent-feature {
  border: 1px solid rgba(246,243,237,0.12);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.agent-feature h4 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 0.55rem;
}

.agent-feature p {
  font-size: 0.88rem;
  color: rgba(246,243,237,0.6);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.copy-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.copy-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 0.76rem;
  padding: 0.8rem 1rem;
  background: rgba(246,243,237,0.06);
  border: 1px solid rgba(246,243,237,0.18);
  color: rgba(246,243,237,0.65);
  outline: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(246,243,237,0.35);
  background: transparent;
  color: rgba(246,243,237,0.75);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.copy-btn:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.copy-btn.copied {
  color: rgba(246,243,237,0.4);
  border-color: rgba(246,243,237,0.1);
  cursor: default;
}

.agent-toolkit .btn {
  margin-top: 1rem;
  border-color: rgba(246,243,237,0.4);
  color: var(--bg);
  display: inline-block;
}

.agent-toolkit .btn:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ---------- booking steps ---------- */

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) { .booking-steps { grid-template-columns: 1fr; } }

.booking-step {
  padding: 1.8rem 1.6rem;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.booking-step:last-child { border-right: none; }

@media (max-width: 600px) {
  .booking-step { border-right: none; border-bottom: 1px solid var(--line); }
  .booking-step:last-child { border-bottom: none; }
}

.bs-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--line);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.bs-body strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.bs-body span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- policy notice ---------- */

.policy-notice {
  background: #f0ede6;
  border-left: 3px solid var(--ink);
  padding: 1.3rem 1.8rem;
  margin-bottom: 2rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.policy-notice p {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.policy-notice strong { color: var(--ink); }

/* ---------- legal / terms page ---------- */

.legal-meta {
  margin-top: 1.6rem;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.legal { max-width: 40rem; }

.legal h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 3.2rem 0 1rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}

.legal > h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.legal p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal p strong { color: var(--ink); font-weight: 500; }

.legal ul {
  list-style: none;
  margin: 0 0 1.4rem;
}

.legal ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5rem;
  height: 1px;
  background: var(--accent);
}

.legal .contact-lines { margin-top: 1.6rem; }

/* summary card */

.legal-summary {
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 3.4rem;
}

.legal-summary .label { display: block; margin-bottom: 1.1rem; }

.legal-summary ul { margin-bottom: 0; }

.legal-summary ul li { color: var(--ink); }

.legal-summary-note {
  margin: 1.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .legal h2 { margin-top: 2.6rem; padding-top: 2rem; }
}

/* ---------- launch additions, Sep 2026 ---------- */

/* Buttons on the dark hero image */
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.btn-on-dark { border-color: rgba(246, 243, 237, 0.55); color: var(--paper-alt, #f6f3ed); }
.btn-on-dark:hover { background: #f6f3ed; color: var(--ink); border-color: #f6f3ed; }
.btn-on-dark-solid { background: #f6f3ed; border-color: #f6f3ed; color: var(--ink); }
.btn-on-dark-solid:hover { background: transparent; color: #f6f3ed; }

/* Booking rules on /book */
.booking-rules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  max-width: 64rem;
  margin: 0 auto 2.5rem;
}
.booking-rules li {
  padding: 1.2rem 1.4rem;
  border-right: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.booking-rules li:last-child { border-right: none; }
.booking-rules strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 0.25rem; }
@media (max-width: 880px) {
  .booking-rules { grid-template-columns: 1fr 1fr; }
  .booking-rules li:nth-child(2) { border-right: none; }
  .booking-rules li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .booking-rules { grid-template-columns: 1fr; }
  .booking-rules li { border-right: none; border-bottom: 1px solid var(--line); }
  .booking-rules li:last-child { border-bottom: none; }
}

/* Rental price table on /pricing */
.table-wrap { max-width: 52rem; margin: 0 auto; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.price-table th, .price-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.price-table thead th {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.price-table tbody th { color: var(--ink); font-weight: 500; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- how booking works / delivery ---------- */

.how-booking { max-width: 64rem; margin: 0 auto 2.5rem; }
.how-booking > .label { display: block; margin-bottom: 1rem; font-family: var(--sans); }
.how-booking .booking-rules { margin-bottom: 0; border-bottom: none; }

.ready-list {
  border: 1px solid var(--line);
  padding: 1.4rem 1.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.ready-list strong { color: var(--ink); font-weight: 500; }
.ready-list ul { list-style: none; margin: 0.6rem 0 0.9rem; }
.ready-list li { padding: 0.35rem 0 0.35rem 1.2rem; position: relative; }
.ready-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

.notice-line { margin: 2.5rem auto 0; max-width: 46rem; font-size: 0.92rem; color: var(--ink-soft); }
.notice-line a, .policy-notice a, .prose a { border-bottom: 1px solid var(--accent); color: var(--ink); }

.prose { max-width: 40rem; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 3rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.prose li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.prose li strong { color: var(--ink); font-weight: 500; }
.faq details p a { border-bottom: 1px solid var(--accent); color: var(--ink); }

picture { display: block; }

/* The Book button lives inside .main-nav, whose link colour would otherwise
   override .btn-solid and leave grey text on the ink button. */
.main-nav a.nav-book { color: var(--bg); padding: 0.7rem 1.3rem; }
.main-nav a.nav-book:hover { color: var(--ink); }
.main-nav a.nav-book::after { display: none; }
