/* Palette: dark theme, teal accent, warm gold secondary. Fonts: Josefin Sans / Barlow */
:root {
  --plate-bg: #0D1117;
  --plate-surface: #161D2A;
  --plate-surface-2: #1E2736;
  --plate-deep: #0B2E3A;
  --plate-tone: #2DD4BF;
  --plate-tone-hover: #5EEAD4;
  --plate-warm: #F5B942;
  --plate-ink: #E6EDF3;
  --plate-muted: #A9B6C4;
  --plate-rail: #2A6B6E;
  --plate-gradient: linear-gradient(135deg, #0B2E3A 0%, #0F5A5E 100%);
  --plate-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3);
  --plate-radius: 16px;
  --plate-radius-sm: 10px;
  --font-display: 'Josefin Sans', 'Trebuchet MS', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
}

@property --plate-mx {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 20%;
}

@property --plate-my {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 30%;
}

/* Page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--plate-bg);
  color: var(--plate-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

main { display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
  color: var(--plate-ink);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--plate-tone); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--plate-tone-hover);
  outline-offset: 3px;
}

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

.plate-wrap {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.plate-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: -1px;
  padding: 0;
  border: 0;
}

.plate-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--plate-tone);
  color: var(--plate-bg);
  padding: 10px 16px;
  border-radius: var(--plate-radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.plate-skip:focus { top: 12px; }

.plate-svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.plate-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--plate-gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.plate-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--plate-tone-hover);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .plate-header::after {
    animation: plate-progress linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes plate-progress { to { transform: scaleX(1); } }

.plate-header-row {
  position: relative;
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plate-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.plate-logo {
  width: 40px;
  height: 40px;
  flex: none;
}

.plate-nav {
  display: flex;
  gap: 6px;
}

.plate-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--plate-radius-sm);
}

.plate-nav a:hover { background: rgba(255, 255, 255, 0.14); }

.plate-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--plate-tone-hover);
}

.plate-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: var(--plate-radius-sm);
}

.plate-burger span:not(.plate-sr) {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.plate-toggle:focus-visible + .plate-burger { outline: 3px solid var(--plate-tone-hover); outline-offset: 3px; }

.plate-toggle:checked + .plate-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.plate-toggle:checked + .plate-burger span:nth-child(2) { opacity: 0; }
.plate-toggle:checked + .plate-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Decorative layers */
.plate-hero-media,
.plate-hero-mesh,
.plate-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.plate-hero-media {
  background:
    linear-gradient(120deg, rgba(13, 17, 23, 0.94) 0%, rgba(13, 17, 23, 0.74) 55%, rgba(11, 46, 58, 0.88) 100%),
    url("img/bg.webp") center / cover no-repeat;
}

.plate-hero-mesh {
  background:
    radial-gradient(circle at var(--plate-mx) var(--plate-my), rgba(45, 212, 191, 0.34), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(245, 185, 66, 0.2), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(15, 90, 94, 0.55), transparent 55%);
  animation: plate-mesh 24s ease-in-out infinite alternate;
}

@keyframes plate-mesh {
  from { --plate-mx: 15%; --plate-my: 25%; }
  to { --plate-mx: 75%; --plate-my: 65%; }
}

.plate-band-bg {
  background:
    linear-gradient(rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0.92)),
    url("img/bg2.webp") center / cover no-repeat;
}

/* Hero */
.plate-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(88dvh, 820px);
  display: flex;
  align-items: center;
  padding-block: 14dvh 12dvh;
}

.plate-hero-short {
  min-height: auto;
  padding-block: 12dvh 8dvh;
}

.plate-hero-body {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.plate-eyebrow,
.plate-kicker {
  display: inline-block;
  color: var(--plate-tone);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.plate-hero-lead {
  font-size: 1.15rem;
  color: var(--plate-muted);
  max-width: 60ch;
}

.plate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 36px;
}

.plate-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--plate-muted);
  font-size: 0.95rem;
}

.plate-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plate-trust .plate-svg { color: var(--plate-tone); width: 20px; height: 20px; }

/* Buttons (static; only color and mild hover scale) */
.plate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  background: var(--plate-tone);
  color: var(--plate-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: var(--plate-radius-sm);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  animation: plate-pulse 3.2s ease-out infinite;
}

.plate-cta:hover {
  background: var(--plate-tone-hover);
  transform: scale(1.03);
}

.plate-cta:active { transform: scale(0.99); }

@keyframes plate-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); }
}

.plate-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  color: var(--plate-ink);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(230, 237, 243, 0.45);
  border-radius: var(--plate-radius-sm);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.plate-ghost:hover {
  border-color: var(--plate-tone);
  color: var(--plate-tone-hover);
}

.plate-btn-dark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 26px;
  background: var(--plate-bg);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--plate-radius-sm);
  transition: background-color 0.25s ease;
}

.plate-btn-dark:hover { background: #1A2330; }

.plate-btn-line {
  min-height: 44px;
  padding: 10px 20px;
  background: transparent;
  color: var(--plate-ink);
  border: 1px solid #9AA9BB;
  border-radius: var(--plate-radius-sm);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.plate-btn-line:hover { border-color: var(--plate-tone); color: var(--plate-tone-hover); }

/* Sections */
.plate-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: 10dvh;
}

.plate-section-alt { background: var(--plate-surface); }

.plate-band-inner { position: relative; z-index: 1; }

.plate-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.plate-head p { color: var(--plate-muted); }

.plate-band .plate-head { margin-bottom: 0; }

/* Cards and grids */
.plate-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--plate-tone) transparent;
}

.plate-track > * {
  flex: 0 0 min(82%, 340px);
  scroll-snap-align: start;
}

.plate-card {
  background: var(--plate-surface);
  border: 1px solid rgba(45, 212, 191, 0.14);
  border-radius: var(--plate-radius);
  padding: 28px;
  box-shadow: var(--plate-shadow);
}

.plate-card h3 { margin-top: 18px; }

.plate-card p {
  color: var(--plate-muted);
  margin: 0;
}

.plate-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--plate-gradient);
  color: #fff;
  flex: none;
}

.plate-icon .plate-svg { width: 26px; height: 26px; }

.plate-grid3,
.plate-grid4 {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.plate-grid3 .plate-steps-list { margin-top: 14px; }

.plate-steps-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
  color: var(--plate-ink);
}

.plate-steps-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plate-dot {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--plate-bg);
}

.plate-dot.c1 { background: #2DD4BF; }
.plate-dot.c2 { background: #F5B942; }
.plate-dot.c3 { background: #7DD3FC; }
.plate-dot.c4 { background: #F9A8D4; }

/* Tilt and reveal */
.js .plate-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (hover: hover) {
  .js .plate-tilt.is-in:hover {
    transform: perspective(900px)
      rotateX(calc((var(--my, 50) - 50) * -0.08deg))
      rotateY(calc((var(--mx, 50) - 50) * 0.08deg));
  }
}

/* Scroll-driven reveal of images */
@supports (animation-timeline: view()) {
  .plate-clip {
    animation: plate-clip-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
}

@keyframes plate-clip-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Features */
.plate-features {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.plate-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--plate-radius);
  background: var(--plate-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s ease, color 0.35s ease;
}

.plate-feature h3 { font-size: 1.2rem; margin-bottom: 6px; transition: color 0.35s ease; }

.plate-feature p {
  margin: 0;
  color: var(--plate-muted);
  transition: color 0.35s ease;
}

.plate-feature:hover { background: var(--plate-gradient); }
.plate-feature:hover h3 { color: #fff; }
.plate-feature:hover p { color: #E6F7F5; }
.plate-feature:hover .plate-icon { background: #fff; color: var(--plate-deep); }

/* Steps */
.plate-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 32px;
  position: relative;
}

.plate-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.plate-step h3 { margin: 0; }

.plate-step p {
  margin: 0;
  color: var(--plate-muted);
}

.plate-step-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--plate-tone);
  color: var(--plate-bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--plate-surface);
}

.plate-section:not(.plate-section-alt) .plate-step-dot { box-shadow: 0 0 0 6px var(--plate-bg); }

/* Strip */
.plate-strip {
  background: var(--plate-gradient);
  color: #fff;
  padding-block: 8dvh;
}

.plate-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.plate-strip h2 { color: #fff; margin: 0; }

/* Split (about) */
.plate-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.plate-figure {
  margin: 0;
  border-radius: var(--plate-radius);
  overflow: hidden;
  box-shadow: var(--plate-shadow);
}

.plate-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.plate-figure figcaption {
  font-size: 0.85rem;
  color: var(--plate-muted);
  padding: 10px 14px;
  background: var(--plate-surface);
}

.plate-split-text p { color: var(--plate-muted); }

.plate-split-text h2 { margin-bottom: 0.5em; }

.plate-principles {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.plate-principle {
  border-left: 4px solid var(--plate-tone);
  padding: 18px 22px;
  background: var(--plate-bg);
  border-radius: var(--plate-radius-sm);
}

.plate-principle h3 { font-size: 1.15rem; }

.plate-principle p {
  margin: 0;
  color: var(--plate-muted);
}

/* Booking */
.plate-booking {
  display: grid;
  gap: 40px;
}

.plate-booking-intro h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

.plate-booking-intro p { color: var(--plate-muted); }

.plate-form {
  display: grid;
  gap: 18px;
  background: var(--plate-surface);
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--plate-radius);
  box-shadow: var(--plate-shadow);
}

.plate-field {
  display: grid;
  gap: 8px;
}

.plate-field label { font-weight: 600; }

.plate-field input,
.plate-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--plate-ink);
  background: var(--plate-bg);
  border: 1px solid #7A8CA3;
  border-radius: var(--plate-radius-sm);
}

.plate-field textarea { resize: vertical; }

.plate-field input:focus,
.plate-field textarea:focus { border-color: var(--plate-tone); }

.plate-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--plate-muted);
}

.plate-check input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--plate-tone);
}

.plate-check a { color: var(--plate-tone-hover); }

.plate-form .plate-cta { animation: none; align-self: start; }

/* FAQ */
.plate-faq {
  display: grid;
  gap: 14px;
}

.plate-faq details {
  background: var(--plate-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--plate-radius-sm);
  padding: 18px 22px;
}

.plate-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--plate-ink);
}

.plate-faq details p {
  margin: 12px 0 0;
  color: var(--plate-muted);
}

/* Legal and thank */
.plate-legal {
  min-height: 100vh;
  padding-block: 10dvh;
}

.plate-legal article {
  max-width: 820px;
  margin-inline: auto;
}

.plate-legal p { color: var(--plate-muted); }

.plate-legal h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}

.plate-legal section { margin-top: 2em; }

.plate-thank {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-block: 10dvh;
}

.plate-thank-card {
  max-width: 620px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: clamp(24px, 5vw, 44px);
  background: var(--plate-surface);
  border-radius: var(--plate-radius);
  box-shadow: var(--plate-shadow);
}

.plate-thank-card p { color: var(--plate-muted); margin: 0; }

.plate-thank-card img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--plate-radius);
}

/* Footer */
.plate-footer {
  background: #070B10;
  color: #B9C4D0;
  padding-block: 56px 32px;
  border-top: 1px solid rgba(45, 212, 191, 0.2);
}

.plate-footer .plate-brand { color: #fff; }

.plate-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 20px 0;
}

.plate-footer-links a { color: #7EE7D8; }

.plate-disclaimer {
  max-width: 70ch;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--plate-tone);
  font-size: 0.92rem;
}

.plate-copy {
  margin: 0;
  font-size: 0.9rem;
  color: #9AA7B5;
}

/* Cookie banner */
.plate-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: var(--plate-surface-2);
  color: var(--plate-ink);
  border-top: 2px solid var(--plate-tone);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.plate-cookie p {
  margin: 0;
  max-width: 70ch;
}

.plate-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plate-cookie .plate-cta { animation: none; }

/* Responsive: tablet and up */
@media (min-width: 700px) {
  .plate-features { grid-template-columns: repeat(2, 1fr); }
  .plate-principles { grid-template-columns: repeat(2, 1fr); }
  .plate-grid4 { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive: mobile navigation (CSS-only hamburger) */
@media (max-width: 859px) {
  .plate-burger { display: flex; }

  .plate-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--plate-deep);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
  }

  .plate-toggle:checked ~ .plate-nav { display: flex; }

  .plate-nav a { padding: 12px 14px; }

  .plate-brand-text { font-size: 0.95rem; }
}

/* Responsive: desktop */
@media (min-width: 860px) {
  .plate-split { grid-template-columns: 4fr 6fr; gap: 56px; }
  .plate-grid3 { grid-template-columns: repeat(3, 1fr); }
  .plate-grid4 { grid-template-columns: repeat(4, 1fr); }
  .plate-steps-four::before {
    left: 12.5%;
    right: 12.5%;
  }
  .plate-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .plate-steps-four { grid-template-columns: repeat(4, 1fr); }
  .plate-steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: var(--plate-rail);
    border-radius: 3px;
    z-index: 0;
  }
  .plate-principles { grid-template-columns: repeat(4, 1fr); }
  .plate-strip-inner {
    flex-direction: row;
    align-items: center;
  }
  .plate-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
  .plate-track > * { flex: initial; }
  .plate-features { gap: 24px; }
  .plate-booking { grid-template-columns: 5fr 6fr; align-items: start; }
  .plate-booking-intro { position: sticky; top: 110px; }
  .plate-cookie { padding-inline: 40px; }
}

@media (min-width: 1200px) {
  .plate-hero-body { max-width: 860px; }
}

@media (min-width: 900px) {
  .plate-features { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
  .js .plate-reveal { opacity: 1; transform: none; }
}