:root {
  --ink: #111111;
  --paper: #ffffff;
  --red: #e8352e;
  --concrete: #d8d7d2;
  --muted: #70706c;
  --display: "Anton", Impact, sans-serif;
  --body: "Space Grotesk", Arial, sans-serif;
  --pad: clamp(1rem, 4vw, 4.5rem);
  --max: 1440px;
  --focus: #ffe45c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); overflow-x: hidden;
  overflow-x: clip; /* avoid body becoming a scroll container (Safari scroll clamp) */ }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; box-shadow: 0 0 0 6px #000; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 100; padding: .75rem 1rem; background: var(--focus); color: var(--ink); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.topbar { min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .65rem var(--pad); background: var(--ink); color: var(--paper); border-bottom: 1px solid #383838; }
.brand { font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--red); margin-inline: .16em; }
.topbar nav { display: none; justify-content: center; gap: clamp(1rem, 3vw, 3rem); }
.topbar nav a { color: #d6d6d6; font-size: .79rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.topbar nav a:hover { color: var(--paper); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid currentColor; padding: .8rem 1rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.button-red { border-color: var(--red); background: var(--red); color: #000; }
.button-red:hover { background: #f14a43; border-color: #f14a43; }
.topbar .button { min-height: 42px; padding: .65rem .72rem; font-size: .71rem; white-space: nowrap; }

.hero { position: relative; min-height: min(760px, calc(100svh - 68px)); isolation: isolate; overflow: hidden; background: var(--red); color: var(--paper); }
.hero-image { position: absolute; inset: 0; z-index: -3; height: 100%; object-fit: cover; object-position: 58% 52%; filter: grayscale(1) contrast(1.15); transform: scale(1.02); }
.hero-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(110deg, rgba(232,53,46,.94) 0 42%, rgba(17,17,17,.55) 70%, rgba(17,17,17,.86) 100%); mix-blend-mode: multiply; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.74)); }
.hero-content { width: min(100%, var(--max)); min-height: inherit; margin-inline: auto; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2.2rem, 6vw, 6rem) var(--pad) 1.5rem; }
.kicker, .section-number, .card-label { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .kicker { width: fit-content; padding: .3rem .45rem; background: var(--ink); }
.hero h1 { max-width: 10ch; margin: 1.5rem 0 auto; font-family: var(--display); font-size: clamp(4.15rem, 19vw, 13.2rem); font-weight: 400; letter-spacing: -.01em; line-height: .82; text-transform: uppercase; }
.period { display: inline-block; margin-left: .07em; letter-spacing: 0; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; padding-top: 2rem; border-top: 3px solid var(--paper); }
.hero-bottom p { max-width: 22rem; margin: 0; font-size: clamp(.92rem, 2vw, 1.15rem); font-weight: 600; }
.round-link { width: 5.2rem; aspect-ratio: 1; display: none; place-content: center; border: 1px solid var(--paper); border-radius: 50%; font-size: .66rem; font-weight: 700; text-align: center; text-decoration: none; text-transform: uppercase; }

.section { max-width: var(--max); margin-inline: auto; padding: clamp(4.5rem, 9vw, 9rem) var(--pad); }
.section-intro { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.section-intro h2, .section-heading h2, .booking h2 { margin: 0; font-family: var(--display); font-size: clamp(3rem, 9vw, 7.6rem); font-weight: 400; letter-spacing: -.01em; line-height: .9; text-transform: uppercase; }
.section-intro > p:last-child, .section-heading > p { max-width: 34rem; margin: 0; color: #575754; line-height: 1.65; }
.price-list { margin: 0; padding: 0; list-style: none; border-top: 5px solid var(--ink); }
.price-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 116px; padding: 1.25rem 0; border-bottom: 5px solid var(--ink); }
.price-list div { min-width: 0; display: grid; gap: .35rem; }
.price-list strong { font-family: var(--display); font-size: clamp(1.65rem, 5.5vw, 4.5rem); font-weight: 400; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
.price-list span { color: var(--muted); font-size: .78rem; }
.price-list b { color: var(--red); font-family: var(--display); font-size: clamp(2rem, 6vw, 5rem); font-weight: 400; letter-spacing: 0; line-height: 1; text-align: right; }

.crew-section { max-width: none; background: var(--concrete); }
.crew-section > * { max-width: var(--max); margin-inline: auto; }
.section-heading { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.section-heading .section-number { margin-bottom: 1rem; }
.crew-grid { display: grid; gap: 1rem; }
.crew-card { min-width: 0; display: flex; flex-direction: column; background: var(--paper); border: 3px solid var(--ink); }
.portrait { position: relative; min-height: 310px; overflow: hidden; background: var(--ink); isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.08) 14px 16px); }
.portrait::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; bottom: -12%; z-index: -1; border-radius: 50%; background: var(--red); }
.portrait-head { position: absolute; width: 112px; height: 142px; left: 50%; top: 52px; transform: translateX(-50%); border-radius: 44% 44% 48% 48%; background: #d6d4ce; }
.portrait-head::before { content: ""; position: absolute; inset: -15px -3px auto; height: 55px; border-radius: 50% 50% 25% 25%; background: var(--ink); }
.portrait-head::after { content: ""; position: absolute; width: 68px; height: 14px; left: 22px; bottom: 28px; border-top: 5px solid var(--ink); border-radius: 50%; }
.portrait-body { position: absolute; width: 220px; height: 155px; left: 50%; bottom: -35px; transform: translateX(-50%); border-radius: 48% 48% 0 0; background: #d6d4ce; }
.portrait-line { position: absolute; width: 64px; height: 3px; left: 50%; top: 120px; transform: translateX(-50%) rotate(-5deg); background: var(--red); }
.portrait-two { background: var(--red); }
.portrait-two::after { background: #ebdc53; }
.portrait-two .portrait-head::before { height: 35px; border-radius: 50% 50% 0 0; }
.portrait-two .portrait-line { width: 44px; transform: translateX(-50%) rotate(7deg); background: var(--ink); }
.portrait-three::after { background: #5282d6; }
.portrait-three .portrait-head::before { inset: -26px -20px auto; height: 92px; border-radius: 50%; }
.portrait-three .portrait-body { background: #b9b7b2; }
.crew-meta { flex: 1; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: .35rem 1rem; padding: 1.25rem; border-top: 3px solid var(--ink); }
.crew-meta h3 { margin: 0; font-family: var(--display); font-size: 1.8rem; font-weight: 400; letter-spacing: -.01em; text-transform: uppercase; }
.crew-meta p { grid-column: 1; margin: 0; color: var(--muted); font-size: .78rem; }
.crew-meta a { grid-column: 2; grid-row: 1 / 3; align-self: end; color: #bd211b; font-size: .72rem; font-weight: 700; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); }
.gallery figure { min-width: 0; margin: 0; }
.gallery img { aspect-ratio: 3 / 4; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.08); }
.gallery figure:first-child img { object-position: 38% 50%; }
.gallery figure:last-child img { object-position: 68% 50%; }
.gallery figcaption { padding: .7rem var(--pad); background: var(--ink); color: var(--paper); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.stats { display: grid; background: var(--red); color: #000; }
.stats > div { min-width: 0; padding: 2.5rem var(--pad); border-bottom: 1px solid rgba(255,255,255,.45); }
.stat-number { display: block; font-family: var(--display); font-size: clamp(3.25rem, 12vw, 8rem); font-weight: 400; letter-spacing: -.01em; line-height: .9; white-space: nowrap; }
.stats p { margin: .65rem 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.hours-grid { display: grid; gap: 1rem; align-items: stretch; }
.hours-card { min-width: 0; min-height: 370px; display: flex; flex-direction: column; padding: clamp(1.4rem, 4vw, 3rem); border: 3px solid var(--ink); }
.hours-card-red { background: var(--red); color: #000; }
.hours-card-light { background: var(--concrete); }
.hours-card dl { margin: auto 0 0; }
.hours-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 2px solid currentColor; font-family: var(--display); font-size: clamp(1.5rem, 5vw, 3rem); letter-spacing: 0; text-transform: uppercase; }
.hours-card dt, .hours-card dd { margin: 0; }
.hours-card address { margin: auto 0 1.25rem; font-family: var(--display); font-size: clamp(2.2rem, 6vw, 4.5rem); font-style: normal; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
.hours-card > a { font-weight: 700; }
.hours-card .arrow-link { margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; text-decoration: none; text-transform: uppercase; }

.booking { display: grid; gap: 3rem; padding: clamp(4.5rem, 9vw, 9rem) var(--pad); background: var(--ink); color: var(--paper); }
.booking h2 { margin-top: 1rem; }
.booking-copy > p:last-child { max-width: 31rem; color: #bdbdb8; line-height: 1.7; }
.booking form { display: grid; gap: 1.35rem; align-self: end; }
.field-row { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field label span { color: #a1a19c; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid #5b5b58; border-radius: 0; padding: .9rem; background: #1b1b1b; color: var(--paper); }
.field textarea { resize: vertical; }
.booking button { width: 100%; margin-top: .5rem; }
.form-success { margin: 0; padding: .9rem; border-left: 4px solid var(--red); background: #262626; }
footer { display: grid; gap: 1rem; align-items: center; padding: 2rem var(--pad); background: var(--concrete); border-top: 4px solid var(--ink); font-size: .75rem; }
.footer-logo { font-family: var(--display); font-size: clamp(2rem, 8vw, 4.4rem); letter-spacing: -.01em; text-decoration: none; }
footer p { margin: 0; }

@media (min-width: 560px) {
  .topbar nav { display: flex; }
  .round-link { display: grid; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking button { width: fit-content; min-width: 220px; }
  footer { grid-template-columns: 1fr auto; }
  .footer-logo { grid-row: span 2; }
}

@media (min-width: 760px) {
  .section-intro { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .7fr); }
  .section-intro .section-number { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); align-items: end; }
  .crew-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .gallery img { aspect-ratio: 16 / 11; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats > div { border-right: 1px solid rgba(255,255,255,.45); border-bottom: 0; }
  .stats > div:last-child { border-right: 0; }
  .hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking { grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); }
  footer { grid-template-columns: 1fr auto auto; }
  .footer-logo { grid-row: auto; }
}

@media (min-width: 1000px) {
  .topbar .button { padding-inline: 1.3rem; font-size: .78rem; }
  .hero-content { padding-bottom: 2.5rem; }
  .price-list li { min-height: 145px; }
  .portrait { min-height: 410px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .round-link, .topbar nav a, .crew-card { transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
  .button:hover, .crew-card:hover { transform: translateY(-3px); }
  .round-link:hover { transform: rotate(-7deg); background: var(--paper); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* iOS Safari fix: date inputs have an intrinsic minimum width that overflows
   their container on real iPhones (invisible in desktop emulation, which uses
   Chrome's engine, not WebKit's UA styles). Kill the intrinsic sizing. */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

/* Standard: back-to-top button with scroll-progress ring */
.btt-button {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(17, 17, 17, 0.85); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btt-button.btt-visible { opacity: 1; visibility: visible; transform: none; }
.btt-button:focus-visible { outline: 3px solid #e8352e; outline-offset: 3px; }
.btt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btt-ring circle { fill: none; stroke-width: 3; }
.btt-ring-track { stroke: rgba(255, 255, 255, 0.22); }
.btt-ring-fill { stroke: #e8352e; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; stroke-linecap: round; }
.btt-arrow { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .btt-button { transition: none; } }
