/* Wharfedale Wedding Cars — modern luxury */

:root {
  --ivory: #f7f3ec;
  --cream: #efe8dc;
  --warm-white: #fbfaf7;
  --navy: #1a2744;
  --navy-deep: #0e1626;
  --navy-soft: #2a3d5c;
  --burgundy: #1a2744;
  --burgundy-deep: #0e1626;
  --burgundy-soft: #2a3d5c;
  --charcoal: #1c1917;
  --ink: #2a2420;
  --muted: #6b635c;
  --champagne: #c9b07a;
  --champagne-soft: rgba(201, 176, 122, 0.35);
  --gold: #d4af6a;
  --line: rgba(42, 36, 32, 0.1);
  --glass: rgba(251, 250, 247, 0.9);
  --shadow: 0 24px 60px rgba(28, 25, 23, 0.12);
  --radius: 2px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.75rem;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-intro-active {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

p {
  margin: 0 0 1.1em;
  color: var(--muted);
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  max-width: 38rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section--tight {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section--cream {
  background: var(--cream);
}

.section--ivory {
  background: var(--ivory);
}

.section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.section--dark h2,
.section--dark h3,
.section--dark .eyebrow {
  color: var(--ivory);
}

.section--dark p {
  color: rgba(247, 243, 236, 0.72);
}

.section--burgundy {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: var(--ivory);
}

.section--burgundy h2,
.section--burgundy .eyebrow {
  color: var(--ivory);
}

.section--burgundy p {
  color: rgba(247, 243, 236, 0.78);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 0 10px 28px rgba(26, 39, 68, 0.22);
}

.btn--primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 14px 32px rgba(26, 39, 68, 0.28);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(26, 39, 68, 0.28);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy-deep);
  background: rgba(26, 39, 68, 0.04);
}

.btn--light {
  background: var(--ivory);
  color: var(--navy-deep);
}

.btn--light:hover {
  background: var(--warm-white);
}

.btn--gold {
  background: linear-gradient(135deg, #d8bc82, #b8954f);
  color: var(--navy-deep);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #e0c892, #c4a55a);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(247, 243, 236, 0.45);
  color: var(--ivory);
}

.btn--outline-light:hover {
  border-color: var(--ivory);
  background: rgba(247, 243, 236, 0.08);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .brand__name,
.site-header.is-solid .brand__name,
.site-header.is-scrolled .nav-links a,
.site-header.is-solid .nav-links a {
  color: var(--ink);
  text-shadow: none;
}

.site-header.is-scrolled .brand__tag,
.site-header.is-solid .brand__tag {
  color: var(--muted);
  text-shadow: none;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.is-active,
.site-header.is-solid .nav-links a:hover,
.site-header.is-solid .nav-links a.is-active {
  color: var(--burgundy);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span {
  background: var(--charcoal);
}

.site-header.is-scrolled .brand__logo,
.site-header.is-solid .brand__logo {
  filter: drop-shadow(0 2px 8px rgba(14, 22, 38, 0.18));
}

.site-header.is-hidden-intro {
  opacity: 0;
  pointer-events: none;
}

/* Readable nav over dark homepage hero */
.site-header:not(.is-scrolled):not(.is-solid) .brand__name,
.site-header:not(.is-scrolled):not(.is-solid) .brand__tag,
.site-header:not(.is-scrolled):not(.is-solid) .nav-links a {
  color: var(--ivory);
  opacity: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.site-header:not(.is-scrolled):not(.is-solid) .brand__tag {
  color: rgba(247, 243, 236, 0.78);
}

.site-header:not(.is-scrolled):not(.is-solid) .nav-links a:hover,
.site-header:not(.is-scrolled):not(.is-solid) .nav-links a.is-active {
  color: var(--champagne);
  opacity: 1;
}

.site-header:not(.is-scrolled):not(.is-solid) .nav-toggle span {
  background: var(--ivory);
}

.site-header:not(.is-scrolled):not(.is-solid) .brand__logo {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35)) brightness(1.05);
}


.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.1;
}

.brand__logo {
  width: clamp(2.6rem, 5vw, 3.35rem);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(14, 22, 38, 0.18));
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.brand__tag {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 420px) {
  .brand__text {
    display: none;
  }

  .brand__logo {
    width: 3rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
  color: var(--burgundy);
}

.nav-cta {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  margin: 0.32rem auto;
  background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 960px) {
  .nav-cta {
    display: none !important;
  }
}

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

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .nav-links .mobile-cta {
    margin-top: 1rem;
    border-bottom: 0;
  }
}

/* Cinematic intro — full-screen rush from all sides (~10s) */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #05070c;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro.is-exiting {
  opacity: 0;
}

.intro__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.intro__vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 50% 42%,
      transparent 22%,
      rgba(5, 7, 12, 0.28) 52%,
      rgba(5, 7, 12, 0.78) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 12, 0.35) 0%,
      transparent 28%,
      transparent 48%,
      rgba(5, 7, 12, 0.72) 78%,
      rgba(5, 7, 12, 0.94) 100%
    );
}

.intro__streaks {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}

.intro.is-rushing .intro__streaks {
  opacity: 1;
}

.intro__streaks span {
  position: absolute;
  display: block;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(247, 243, 236, 0.55),
    rgba(212, 175, 106, 0.85),
    rgba(247, 243, 236, 0.55),
    transparent
  );
  height: 2px;
  width: 55vw;
  filter: blur(0.5px);
  opacity: 0;
}

.intro.is-rushing .intro__streaks span:nth-child(1) {
  top: 22%;
  left: -20%;
  animation: streakRight 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.intro.is-rushing .intro__streaks span:nth-child(2) {
  top: 68%;
  right: -20%;
  width: 48vw;
  animation: streakLeft 2.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.intro.is-rushing .intro__streaks span:nth-child(3) {
  left: 18%;
  top: -10%;
  width: 2px;
  height: 42vh;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212, 175, 106, 0.7),
    transparent
  );
  animation: streakDown 2.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.intro.is-rushing .intro__streaks span:nth-child(4) {
  right: 24%;
  bottom: -10%;
  width: 2px;
  height: 38vh;
  background: linear-gradient(
    0deg,
    transparent,
    rgba(247, 243, 236, 0.55),
    transparent
  );
  animation: streakUp 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

@keyframes streakRight {
  from {
    transform: translateX(-40vw);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: translateX(120vw);
    opacity: 0;
  }
}

@keyframes streakLeft {
  from {
    transform: translateX(40vw);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: translateX(-120vw);
    opacity: 0;
  }
}

@keyframes streakDown {
  from {
    transform: translateY(-30vh);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}

@keyframes streakUp {
  from {
    transform: translateY(30vh);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

.intro__fleet {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.intro__car {
  position: absolute;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity, filter;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transition:
    transform 2.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro__car img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.08) brightness(0.95);
}

.intro__car--left {
  left: 0;
  top: 12%;
  width: 58vw;
  height: 42vh;
  clip-path: polygon(0 0, 100% 8%, 92% 100%, 0 100%);
  transform: translateX(-110%) skewX(-4deg);
  filter: blur(8px);
  transition-delay: 0.08s;
}

.intro__car--right {
  right: 0;
  bottom: 10%;
  width: 56vw;
  height: 44vh;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 92%);
  transform: translateX(110%) skewX(4deg);
  filter: blur(8px);
  transition-delay: 0.28s;
}

.intro__car--top {
  top: 0;
  left: 18%;
  width: 64vw;
  height: 38vh;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 88%);
  transform: translateY(-115%) skewY(-2deg);
  filter: blur(10px);
  transition-delay: 0.16s;
}

.intro__car--bottom {
  bottom: 0;
  right: 12%;
  width: 62vw;
  height: 36vh;
  clip-path: polygon(0 12%, 100% 0, 94% 100%, 4% 100%);
  transform: translateY(115%) skewY(2deg);
  filter: blur(10px);
  transition-delay: 0.36s;
}

.intro__car--front {
  left: 50%;
  top: 50%;
  width: min(92vw, 980px);
  height: min(58vh, 560px);
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0;
  border-radius: 2px;
  z-index: 3;
  filter: blur(4px) brightness(0.4);
  transition-delay: 0.55s;
  transition-duration: 2.9s;
}

.intro.is-rushing .intro__car--left {
  transform: translateX(-4%) skewX(0deg);
  opacity: 1;
  filter: blur(0);
}

.intro.is-rushing .intro__car--right {
  transform: translateX(4%) skewX(0deg);
  opacity: 1;
  filter: blur(0);
}

.intro.is-rushing .intro__car--top {
  transform: translateY(-2%) skewY(0deg);
  opacity: 1;
  filter: blur(0);
}

.intro.is-rushing .intro__car--bottom {
  transform: translateY(2%) skewY(0deg);
  opacity: 1;
  filter: blur(0);
}

.intro.is-rushing .intro__car--front {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: blur(0) brightness(1);
}

.intro.is-impact .intro__car--left {
  opacity: 0.14;
  filter: blur(14px) brightness(0.5);
  transform: translateX(-8%) scale(1.08);
  transition-delay: 0s;
}

.intro.is-impact .intro__car--right {
  opacity: 0.14;
  filter: blur(14px) brightness(0.5);
  transform: translateX(8%) scale(1.08);
  transition-delay: 0s;
}

.intro.is-impact .intro__car--top {
  opacity: 0.12;
  filter: blur(16px) brightness(0.45);
  transform: translateY(-6%) scale(1.1);
  transition-delay: 0s;
}

.intro.is-impact .intro__car--bottom {
  opacity: 0.12;
  filter: blur(16px) brightness(0.45);
  transform: translateY(6%) scale(1.1);
  transition-delay: 0s;
}

.intro.is-impact .intro__car--front {
  opacity: 0.28;
  filter: blur(3px) brightness(0.65);
  transform: translate(-50%, -52%) scale(1.06);
  transition-delay: 0s;
  transition-duration: 2.1s;
}

.intro__hero {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.18);
  pointer-events: none;
}

.intro.is-impact .intro__hero {
  animation: heroBloom 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.06) saturate(1.05);
}

.intro__hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(201, 176, 122, 0.28),
    transparent 55%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@keyframes heroBloom {
  from {
    opacity: 0;
    transform: scale(1.22);
    filter: brightness(1.4);
  }
  35% {
    opacity: 1;
    filter: brightness(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}

.intro__flash {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(247, 243, 236, 0.85),
    rgba(212, 175, 106, 0.35) 28%,
    transparent 62%
  );
  opacity: 0;
  pointer-events: none;
}

.intro.is-impact .intro__flash {
  animation: impactFlash 1.35s ease-out both;
}

@keyframes impactFlash {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}

.intro__copy {
  position: absolute;
  left: 50%;
  bottom: clamp(1.8rem, 7vh, 4.5rem);
  transform: translate(-50%, 28px);
  text-align: center;
  color: #f7f3ec;
  opacity: 0;
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease);
  width: min(92vw, 36rem);
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  z-index: 8;
  padding: 1.35rem 1.6rem 1.5rem;
  background: rgba(5, 7, 12, 0.72);
  border: 1px solid rgba(247, 243, 236, 0.14);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(247, 243, 236, 0.08);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

.intro.is-titled .intro__copy {
  opacity: 1;
  transform: translate(-50%, 0);
}

.intro.is-exiting .intro__copy {
  opacity: 0;
  transform: translate(-50%, -12px);
}

.intro__logo {
  width: clamp(8.5rem, 22vw, 13rem);
  height: auto;
  margin-bottom: 0.1rem;
  border-radius: 2px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
  opacity: 1;
}

.intro__rule {
  width: 3.25rem;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--champagne),
    transparent
  );
  opacity: 0.95;
}

.intro__brand {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
  letter-spacing: 0.16em;
  line-height: 1.15;
  margin: 0;
  font-weight: 500;
  color: #f7f3ec;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.85),
    0 8px 28px rgba(0, 0, 0, 0.75);
}

.intro__line {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.92);
  margin: 0;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.8),
    0 6px 18px rgba(0, 0, 0, 0.65);
}

.intro__skip {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 10;
  border: 1px solid rgba(247, 243, 236, 0.18);
  background: rgba(5, 7, 12, 0.4);
  color: rgba(247, 243, 236, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.65rem 0.95rem;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(8px);
}

.intro__skip:hover {
  color: var(--ivory);
  border-color: rgba(247, 243, 236, 0.4);
  background: rgba(5, 7, 12, 0.58);
}

@media (prefers-reduced-motion: reduce) {
  .intro__car,
  .intro__hero,
  .intro__copy,
  .intro,
  .intro__flash,
  .intro__streaks span {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .intro__streaks {
    display: none;
  }

  .intro.is-rushing .intro__car--left,
  .intro.is-rushing .intro__car--right,
  .intro.is-rushing .intro__car--top,
  .intro.is-rushing .intro__car--bottom,
  .intro.is-rushing .intro__car--front {
    opacity: 1;
    filter: none;
  }

  .intro.is-rushing .intro__car--left {
    transform: translateX(-4%);
  }
  .intro.is-rushing .intro__car--right {
    transform: translateX(4%);
  }
  .intro.is-rushing .intro__car--top {
    transform: translateY(-2%);
  }
  .intro.is-rushing .intro__car--bottom {
    transform: translateY(2%);
  }
  .intro.is-rushing .intro__car--front {
    transform: translate(-50%, -50%) scale(1);
  }

  .intro.is-impact .intro__hero {
    opacity: 1;
    transform: scale(1);
    animation: none !important;
  }

  .hero__media img {
    animation: none !important;
  }
}

/* Hero (after intro) */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  background: #0c0a09;
  color: var(--ivory);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.9;
  filter: contrast(1.08) saturate(1.08) brightness(0.92);
  transform: scale(1.12);
  transition: transform 14s var(--ease);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.site-main.is-ready .hero__media img {
  transform: scale(1.02);
}

@keyframes heroDrift {
  from {
    object-position: center 52%;
  }
  to {
    object-position: center 62%;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(14, 22, 38, 0.82) 0%,
      rgba(14, 22, 38, 0.28) 48%,
      rgba(12, 10, 9, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(14, 22, 38, 0.72) 0%,
      rgba(14, 22, 38, 0.28) 28%,
      rgba(12, 10, 9, 0.1) 48%,
      rgba(8, 10, 16, 0.92) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease) 0.15s, transform 1s var(--ease) 0.15s;
}

.site-main.is-ready .hero__content {
  opacity: 1;
  transform: none;
}

.hero h1 {
  color: var(--ivory);
  max-width: 12ch;
}

.hero .lede {
  color: rgba(247, 243, 236, 0.78);
}

.hero .eyebrow {
  color: var(--champagne);
}

.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  background: linear-gradient(180deg, var(--cream), var(--warm-white));
}

.page-hero h1 {
  max-width: 14ch;
}

/* Split layouts */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split--reverse .split__media {
    order: 2;
  }
}

.split__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 42vw, 520px);
}

.split .photo-showcase {
  min-width: 0;
}

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

.split__media.media-frame img,
.media-frame > img {
  position: absolute;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--wide {
  aspect-ratio: 16 / 10;
}

.media-frame--square {
  aspect-ratio: 1;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Editorial photo showcase — not a dumped image */
.photo-showcase {
  position: relative;
  isolation: isolate;
}

.photo-showcase__frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, #1a1412 0%, #0c0a09 100%);
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

.photo-showcase__frame::before {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(247, 243, 236, 0.18);
  z-index: 2;
  pointer-events: none;
}

.photo-showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  position: absolute;
  inset: 0;
  filter: contrast(1.06) saturate(1.05);
  transform: scale(1.03);
  transition: transform 1.6s var(--ease);
}

.photo-showcase:hover .photo-showcase__frame img {
  transform: scale(1);
}

.photo-showcase__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.photo-showcase__caption span:last-child {
  color: var(--burgundy);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.feature h3 {
  margin-bottom: 0.55rem;
}

.feature p {
  margin: 0;
  font-size: 0.98rem;
}

/* Journey steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.step {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--burgundy);
  margin-bottom: 0.85rem;
}

.step h3 {
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Gallery */
.gallery-editorial {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .gallery-editorial {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, 22vw);
    gap: 1.1rem;
  }

  .gallery-editorial .g-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
  }
  .gallery-editorial .g-item:nth-child(2) {
    grid-column: span 5;
  }
  .gallery-editorial .g-item:nth-child(3) {
    grid-column: span 5;
  }
  .gallery-editorial .g-item:nth-child(4) {
    grid-column: span 4;
  }
  .gallery-editorial .g-item:nth-child(5) {
    grid-column: span 4;
  }
  .gallery-editorial .g-item:nth-child(6) {
    grid-column: span 4;
  }
  .gallery-editorial .g-item:nth-child(7) {
    grid-column: span 5;
    grid-row: span 2;
  }
  .gallery-editorial .g-item:nth-child(8) {
    grid-column: span 7;
  }
  .gallery-editorial .g-item:nth-child(9) {
    grid-column: span 7;
  }
  .gallery-editorial .g-item:nth-child(n + 10) {
    grid-column: span 4;
  }
}

.g-item {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: 240px;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.g-item:hover img {
  transform: scale(1.04);
}

/* Testimonials */
.quotes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .quotes {
    grid-template-columns: 1.2fr 1fr;
  }
}

.quote {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}

.quote blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  color: var(--charcoal);
  font-weight: 500;
}

.quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1rem;
}

@media (min-width: 700px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.areas-grid a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.25s ease, padding-left 0.25s var(--ease);
}

.areas-grid a:hover {
  color: var(--burgundy);
  padding-left: 0.35rem;
}

/* Enquiry + embedded booking form */
.enquire-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .enquire-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.booking-embed {
  background: var(--warm-white);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 520px;
  padding: 1.25rem 1.25rem 1.5rem;
}

.booking-embed__frame {
  display: block;
  width: 100%;
  min-height: 820px;
  height: 85vh;
  max-height: 1100px;
  border: 0;
  background: #fff;
}

.cognito-embed {
  background: var(--warm-white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2rem;
  min-height: 420px;
}

.cognito-embed iframe {
  width: 100% !important;
}

.form-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.form-tabs a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.form-tabs a.is-active,
.form-tabs a:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(26, 39, 68, 0.04);
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(42, 36, 32, 0.22);
  background: transparent;
  padding: 0.75rem 0;
  color: var(--charcoal);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--burgundy);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  margin: 0;
}

.form-success {
  display: none;
  padding: 2rem 0;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  color: var(--burgundy);
}

.form.is-submitted {
  display: none;
}

/* Detail chips / specs */
.specs {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .specs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.spec strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.spec span {
  font-size: 0.92rem;
  color: var(--muted);
}


/* Location pages — photo hero matching site */
.page-hero--photo {
  position: relative;
  min-height: clamp(22rem, 52vw, 32rem);
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: var(--navy-deep);
  overflow: hidden;
}

.page-hero--photo .page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero--photo .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.04);
}

.page-hero--photo .page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 22, 38, 0.55) 0%, rgba(14, 22, 38, 0.72) 45%, rgba(14, 22, 38, 0.92) 100%),
    linear-gradient(90deg, rgba(14, 22, 38, 0.55), transparent 55%);
}

.page-hero--photo .page-hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 3rem) 0 3.25rem;
  color: var(--ivory);
}

.page-hero--photo .eyebrow {
  color: var(--champagne);
}

.page-hero--photo h1,
.page-hero--photo .lede {
  color: var(--ivory);
}

.page-hero--photo .lede {
  color: rgba(247, 243, 236, 0.82);
}

.page-hero--photo .location-meta {
  color: rgba(247, 243, 236, 0.72);
}

.page-hero--photo .location-meta strong {
  color: var(--champagne);
}

.location-figure {
  margin: 0;
}

.location-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Ensure reveal content visible if JS delayed */
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

/* Location page */
.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.location-meta strong {
  color: var(--burgundy);
  font-weight: 500;
}

.venue-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.venue-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(247, 243, 236, 0.72);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--ivory);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(247, 243, 236, 0.78);
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--ivory);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  font-size: 0.82rem;
}

/* Utilities */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.max-prose {
  max-width: 40rem;
}

.mt-0 {
  margin-top: 0;
}

.site-main {
  opacity: 0;
}

.site-main.is-ready,
.site-main.no-intro {
  opacity: 1;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0;
  max-width: 12ch;
}

@media (max-width: 700px) {
  .hero__media img {
    object-fit: cover;
    object-position: center 48%;
    opacity: 0.88;
  }

  .intro__car--left,
  .intro__car--right {
    width: 78vw;
    height: 34vh;
  }

  .intro__car--top,
  .intro__car--bottom {
    width: 88vw;
    height: 30vh;
  }

  .intro__car--front {
    width: min(96vw, 520px);
    height: min(42vh, 320px);
  }

  .intro__hero-img {
    object-position: center 40%;
  }

  .intro__copy {
    bottom: clamp(1.2rem, 4vh, 2.5rem);
    gap: 0.5rem;
    padding: 1.1rem 1.15rem 1.25rem;
    width: min(94vw, 36rem);
  }

  .photo-showcase__frame {
    aspect-ratio: 4 / 3;
  }

  .photo-showcase__frame::before {
    inset: 0.6rem;
  }

  .booking-embed__frame {
    min-height: 980px;
    height: 1100px;
  }
}
