@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; } }

:root {
  --plate-paper: #FBF7EE;
  --plate-surface: #FFFFFF;
  --plate-ink: #1A1A2A;
  --plate-muted: #4A4A58;
  --plate-tone: #2F5D46;
  --plate-tone-hover: #224635;
  --plate-clay: #A4481F;
  --plate-sage: #E3ECDF;
  --plate-line: #D9D2C0;
  --plate-foot-text: #E8E4D8;
  --plate-gradient: linear-gradient(135deg, #2F5D46 0%, #4C7A5E 100%);
  --plate-veil: linear-gradient(90deg, rgba(251, 247, 238, 0.96) 0%, rgba(251, 247, 238, 0.86) 55%, rgba(251, 247, 238, 0.74) 100%);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --plate-section-y: 10dvh;
}

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

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

body {
  margin: 0;
  background: var(--plate-paper);
  color: var(--plate-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: clip;
}

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

a {
  color: var(--plate-tone);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--plate-tone-hover); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--plate-ink);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.plate-main { display: block; }

.plate-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.plate-band { padding: var(--plate-section-y) 0; }

/* ---------- Header ---------- */
.plate-masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--plate-surface);
  border-bottom: 1px solid var(--plate-line);
}

.plate-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 5vw;
}

.plate-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.plate-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--plate-ink);
}

.plate-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 700;
}

.plate-logo { width: 44px; height: 44px; flex: none; }
.plate-logo-disc { fill: var(--plate-tone); }
.plate-logo-bowl { fill: var(--plate-paper); }
.plate-logo-leaf { fill: var(--plate-clay); }

.plate-links { display: flex; gap: 2rem; }

.plate-links a {
  font-variant: small-caps;
  font-weight: 300;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--plate-ink);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}
.plate-links a:hover,
.plate-links a[aria-current="page"] {
  color: var(--plate-tone);
  border-bottom-color: var(--plate-clay);
}

.plate-burger {
  display: none;
  cursor: pointer;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  font-weight: 400;
  border: 1px solid var(--plate-ink);
  padding: 0.4rem 0.9rem;
  color: var(--plate-ink);
}

.plate-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--plate-tone);
  transform-origin: 0 50%;
}

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

@keyframes plate-scan {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.plate-hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: var(--plate-section-y) 0;
}

.plate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/bg.webp") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.plate-hero--short { padding-bottom: 4dvh; }

.plate-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.plate-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--plate-muted);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.plate-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 0.4em;
}

.plate-hero-word {
  display: block;
  width: fit-content;
  animation: plate-line 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.plate-hero-word:nth-child(1) { animation-delay: 0.05s; }
.plate-hero-word:nth-child(2) { animation-delay: 0.15s; }
.plate-hero-word:nth-child(3) { animation-delay: 0.25s; }
.plate-hero-word:nth-child(4) { animation-delay: 0.35s; }

.plate-hero-word--r { margin-left: clamp(3rem, 16vw, 14rem); }

@keyframes plate-line {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

.plate-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--plate-tone);
  background-image: linear-gradient(var(--plate-clay), var(--plate-clay));
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: 0 92%;
}

.plate-hero-sub {
  font-size: 1.2rem;
  max-width: 34rem;
  color: var(--plate-muted);
  margin: 1.6rem 0 2rem clamp(0rem, 6vw, 4rem);
}

.plate-cta,
.plate-ghost,
.plate-submit,
.plate-cookie-btns button {
  font: inherit;
}

.plate-cta {
  display: inline-block;
  background: var(--plate-tone);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid var(--plate-tone);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.plate-cta:hover {
  background: var(--plate-tone-hover);
  border-color: var(--plate-tone-hover);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 0 0 4px rgba(47, 93, 70, 0.18);
}
.plate-cta:active { transform: scale(0.99); }

/* ---------- Marquee ---------- */
.plate-marquee {
  overflow: hidden;
  background: var(--plate-ink);
  color: var(--plate-paper);
  padding: 0.9rem 0;
}

.plate-marquee-track {
  display: flex;
  width: max-content;
  animation: plate-run 38s linear infinite;
}

.plate-marquee:hover .plate-marquee-track { animation-play-state: paused; }

.plate-marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  padding: 0 1.6rem;
  white-space: nowrap;
}

.plate-marquee-track span::after {
  content: "·";
  margin-left: 3.2rem;
  color: #E9A27C;
}

@keyframes plate-run {
  to { transform: translateX(-50%); }
}

/* ---------- Columns ---------- */
.plate-sec-head {
  max-width: 46rem;
  margin-bottom: 4rem;
}

.plate-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--plate-clay);
  margin-bottom: 0.8rem;
}

.plate-columns {
  columns: 3;
  column-gap: 3rem;
  column-rule: 1px solid var(--plate-line);
}

.plate-col {
  break-inside: avoid;
  margin: 0 0 2rem;
  padding-bottom: 2.5rem;
}
.plate-col p { color: var(--plate-muted); }

.plate-ico {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--plate-tone);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin-top: 1.2rem;
}
.plate-ico--inline { margin: 0; align-self: center; width: 24px; height: 24px; }

/* ---------- Bandwide image section ---------- */
.plate-bandwide {
  position: relative;
  overflow: clip;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--plate-veil), url("img/bg2.webp") center / cover no-repeat;
  padding: var(--plate-section-y) 0;
}

.plate-bandwide-inner {
  max-width: min(40rem, 100%);
  padding: 0 5vw;
  margin-left: max(0px, calc((100vw - 1200px) / 2));
}
.plate-bandwide-inner p:not(.plate-label) { color: var(--plate-muted); }

/* ---------- Manifesto rows ---------- */
.plate-manifesto { border-top: 1px solid var(--plate-ink); }

.plate-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--plate-line);
}
.plate-row:last-child { border-bottom: 0; }

.plate-row-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  min-width: 14rem;
}

.plate-row-text {
  margin: 0;
  color: var(--plate-muted);
  flex: 1;
  min-width: 16rem;
}

/* ---------- Steps ---------- */
.plate-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.plate-step {
  position: relative;
  flex: 1 1 260px;
  padding-top: 2rem;
}
.plate-step:nth-child(2) { margin-top: 3rem; }
.plate-step:nth-child(3) { margin-top: 1.2rem; }
.plate-step:nth-child(4) { margin-top: 2.2rem; }

.plate-step-num {
  position: absolute;
  top: -1.2rem;
  left: -0.4rem;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--plate-tone);
  opacity: 0.15;
  transform: rotate(-10deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.plate-step-body {
  position: relative;
  z-index: 1;
}
.plate-step-body p { color: var(--plate-muted); }

/* ---------- Principles ---------- */
.plate-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.plate-principle {
  border-top: 2px solid var(--plate-ink);
  padding-top: 1.2rem;
}
.plate-principle h3 { font-size: 1.5rem; }
.plate-principle p { color: var(--plate-muted); margin: 0; }

/* ---------- Split (about) ---------- */
.plate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: stretch;
}

.plate-split-text p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 0.85;
  font-weight: 700;
  color: var(--plate-tone);
  padding: 0.5rem 0.6rem 0 0;
}
.plate-split-text p { color: var(--plate-muted); }

.plate-figure { margin: 0; }
.plate-figure img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.plate-figure figcaption {
  font-size: 0.85rem;
  color: var(--plate-muted);
  margin-top: 0.6rem;
}

/* ---------- CTA strip ---------- */
.plate-strip {
  background: var(--plate-gradient);
  color: #fff;
  padding: var(--plate-section-y) 0;
}

.plate-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.plate-strip h2 {
  color: #fff;
  max-width: 20ch;
  margin: 0;
}

.plate-ghost {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.95rem 1.8rem;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.plate-ghost:hover {
  background: #fff;
  color: var(--plate-tone-hover);
}

/* ---------- View-timeline section reveal ---------- */
@supports (animation-timeline: view()) {
  .plate-rise {
    animation: plate-rise-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes plate-rise-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Stagger reveal (JS) ---------- */
.js [data-plate-stagger] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-plate-stagger].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Footer ---------- */
.plate-foot {
  background: var(--plate-ink);
  color: var(--plate-foot-text);
  padding: 4rem 0 2rem;
}

.plate-foot-grid {
  display: grid;
  gap: 1.6rem;
}

.plate-foot .plate-brand { color: #FBF7EE; }

.plate-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.plate-foot-links a {
  color: #FBF7EE;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.plate-foot-links a:hover { color: #E9A27C; }

.plate-disclaimer {
  font-size: 0.92rem;
  max-width: 60ch;
  margin: 0;
  color: var(--plate-foot-text);
  border-left: 2px solid #E9A27C;
  padding-left: 1rem;
}

.plate-foot-copy {
  font-size: 0.9rem;
  margin: 0;
  color: var(--plate-foot-text);
}

/* ---------- Cookie banner ---------- */
.plate-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--plate-ink);
  color: #FBF7EE;
  padding: 1.2rem 5vw;
  box-shadow: 0 -2px 0 var(--plate-clay);
}
.plate-cookie[hidden] { display: none; }
.plate-cookie p { margin: 0; font-size: 0.97rem; }

.plate-cookie-btns { display: flex; gap: 0.75rem; }

.plate-cookie-btns button {
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  border: 2px solid #FBF7EE;
  background: transparent;
  color: #FBF7EE;
  cursor: pointer;
}

#accept-cookie {
  background: #FBF7EE;
  color: var(--plate-ink);
}

/* ---------- Reserve page ---------- */
.plate-res-hero { padding: var(--plate-section-y) 0 4dvh; }

.plate-res-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 16ch;
}

.plate-res-sub {
  font-size: 1.2rem;
  color: var(--plate-muted);
  max-width: 34rem;
}

.plate-note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.plate-note-card {
  background: var(--plate-surface);
  border: 1px solid var(--plate-line);
  padding: 2rem;
}
.plate-note-card h3 { font-size: 1.4rem; }

.plate-note-list {
  list-style: none;
  counter-reset: plate-n;
  padding: 0;
  margin: 1rem 0 0;
}

.plate-note-list li {
  counter-increment: plate-n;
  position: relative;
  padding: 0.35rem 0 0.35rem 2.6rem;
  color: var(--plate-muted);
}

.plate-note-list li::before {
  content: counter(plate-n);
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--plate-tone);
}
.plate-note-list li:nth-child(2)::before { background: #A4481F; }
.plate-note-list li:nth-child(3)::before { background: #3D5A80; }
.plate-note-list li:nth-child(4)::before { background: #6B4E71; }

.plate-form-section { padding: 0 0 var(--plate-section-y); }
.plate-form-section > .plate-wrap { padding-top: var(--plate-section-y); }

.plate-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.plate-form-wrap h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 2rem;
}

.plate-form {
  display: grid;
  gap: 1.8rem;
}

.plate-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plate-field label {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.plate-field input,
.plate-field textarea {
  font: inherit;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--plate-ink);
  border-radius: 0;
  padding: 0.6rem 0;
  color: var(--plate-ink);
  resize: vertical;
}

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

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

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

.plate-submit {
  justify-self: start;
  font-weight: 700;
  background: var(--plate-tone);
  color: #fff;
  border: 2px solid var(--plate-tone);
  padding: 1rem 2.2rem;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.plate-submit:hover {
  background: var(--plate-tone-hover);
  transform: scale(1.03);
}

.plate-faq {
  max-width: 760px;
  margin: 0 auto;
}

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

.plate-faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  list-style: none;
}
.plate-faq-item summary::-webkit-details-marker { display: none; }

.plate-faq-item p {
  margin: 0.8rem 0 0;
  color: var(--plate-muted);
}

/* ---------- Thanks page ---------- */
.plate-thanks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  min-height: 70vh;
  margin: 0 auto;
  padding: var(--plate-section-y) 5vw;
}

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

.plate-thanks-figure { margin: 0; }
.plate-thanks-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Legal documents ---------- */
.plate-doc {
  min-height: 100vh;
  padding: var(--plate-section-y) 0;
  margin: 0;
}

.plate-doc-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 5vw;
}

.plate-doc h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

.plate-doc h2 {
  font-size: 1.9rem;
  margin-top: 2.5rem;
}

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

.plate-doc-cookies { scroll-margin-top: 6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .plate-columns { columns: 2; }
  .plate-steps { gap: 2rem; }
}

@media (max-width: 800px) {
  .plate-burger { display: inline-block; }

  .plate-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--plate-surface);
    border-bottom: 1px solid var(--plate-line);
    padding: 0.5rem 5vw 1rem;
  }
  .plate-links a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--plate-line);
  }
  .plate-toggle:checked ~ .plate-bar .plate-links { display: flex; }

  .plate-columns { columns: 1; }
  .plate-split { grid-template-columns: 1fr; }
  .plate-figure img { min-height: 320px; }
  .plate-principles { grid-template-columns: 1fr; }
  .plate-note-grid { grid-template-columns: 1fr; }
  .plate-thanks { grid-template-columns: 1fr; gap: 2.5rem; }
  .plate-thanks-figure { order: -1; }
  .plate-hero-word--r { margin-left: 1.5rem; }
  .plate-hero-sub { margin-left: 0; }
  .plate-step:nth-child(n) { margin-top: 0; }
  .plate-row-title { min-width: 0; }
  .plate-cookie { flex-direction: column; align-items: stretch; }
  .plate-cookie-btns button { flex: 1; }
  .plate-bandwide-inner { margin-left: 0; }
  .plate-strip-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .plate-brand-name { font-size: 1.6rem; }
  .plate-hero-word--r { margin-left: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
}