/* ==========================================================================
   DE.Light weddings — production stylesheet
   Palette layer is CSS variables on :root, so swapping palettes is a
   variable change, not a rewrite.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600&family=Geist+Mono:wght@400&display=swap');

:root {
  /* Palette — "Peach", saturated. Contrast on canvas: heading 12.3:1, body 9:1,
     muted 6:1, label 5.6:1; white on accent 6:1, white on cocoa 12.8:1. */
  --canvas: #FFE8D9;
  --canvas-tint: #FFC9A9;
  --canvas-tint-hover: #FFB68E;
  --surface-card: #FFFFFF;
  --surface-raised: #52260F;
  --accent: #AD3E17;
  --accent-hover: #8E3010;
  --text-on-accent: #FFFFFF;
  --ink-on-tint: #5A2A10;
  --heading: #43200F;
  --heading-soft: #52260F;
  --body: #5A3524;
  --body-muted: #76503C;
  --label: #7A5440;
  --faint: #7A5440;
  --danger: #AD1414;
  --hairline: rgba(90, 40, 20, 0.2);
  --hairline-soft: rgba(90, 40, 20, 0.14);
  --header-bg: rgba(255, 232, 217, 0.88);
  --shadow-card: 0 10px 30px rgba(120, 60, 30, 0.12);
  --shadow-raised: 0 24px 60px rgba(82, 38, 15, 0.32);
  --focus-ring: rgba(173, 62, 23, 0.75);

  /* Text and lines that sit on photographs or the wine-coloured panels */
  --on-dark: #FFFFFF;
  --on-dark-body: rgba(255, 255, 255, 0.88);
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --on-dark-hairline: rgba(255, 255, 255, 0.26);
  --glass-fill: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-ui: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "Roboto Mono", monospace;

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Responsive rhythm */
  --gutter: 28px;
  --section-pad: 104px;
}

@media (max-width: 1024px) {
  :root { --gutter: 20px; --section-pad: 72px; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; --section-pad: 60px; }
}
@media (max-width: 430px) {
  :root { --gutter: 16px; --section-pad: 52px; }
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: 80px; }
@media (max-width: 720px) { section[id] { scroll-margin-top: 120px; } }
body {
  margin: 0;
  background: var(--canvas);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 22px;
  color: var(--body);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink-on-tint); }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
input, textarea { font-family: var(--font-ui); }
::placeholder { color: #8A6048; opacity: 1; }
input:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-pad); }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--label);
}
.h1 {
  margin: 0;
  font-size: 60px;
  line-height: 62px;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: var(--heading);
}
.h2 {
  margin: 14px 0 40px;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: var(--heading);
}
.h2--narrow { max-width: 720px; }
.h2--tight { margin-bottom: 36px; }
@media (max-width: 1024px) {
  .h1 { font-size: 44px; line-height: 48px; }
  .h2 { font-size: 32px; line-height: 38px; }
}
@media (max-width: 720px) {
  .h1 { font-size: 34px; line-height: 39px; letter-spacing: -0.02em; }
  .h2 { font-size: 26px; line-height: 31px; }
}
@media (max-width: 430px) {
  .h1 { font-size: 30px; line-height: 35px; }
  .h2 { font-size: 23px; line-height: 28px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--text-on-accent);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 10px rgba(110, 50, 20, 0.26);
  transition: transform 140ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 140ms, color 140ms, border-color 140ms;
}
.btn:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--sm { height: 36px; padding: 0 14px; gap: 6px; border-radius: var(--r-sm); font-size: 14px; }
.btn--lg { height: 54px; padding: 0 24px; gap: 9px; border-radius: var(--r-lg); font-size: 17px; }
.btn--full { width: 100%; }
.btn--glass {
  background: var(--canvas-tint);
  color: var(--ink-on-tint);
  border: 1px solid rgba(173, 62, 23, 0.5);
  box-shadow: none;
}
.btn--glass:hover { background: var(--canvas-tint-hover); color: var(--ink-on-tint); border-color: var(--ink-on-tint); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--hairline-soft);
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 12px;
  padding: 16px 28px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: auto;
}
.brand-word {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 21px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.brand-word .dot { color: var(--accent); }
.brand-sub { display: flex; align-items: center; gap: 8px; }
.brand-sub .rule { width: 18px; height: 1px; background: rgba(90, 40, 20, 0.35); }
.brand-sub .label {
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--label);
}
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; letter-spacing: 0.01em; flex: none; }
.nav a { color: var(--body); white-space: nowrap; }
.nav a:hover { color: var(--accent); }
.lang-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lang-chip {
  height: 30px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(90, 40, 20, 0.28);
  background: transparent;
  color: var(--body-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-chip:hover { border-color: var(--accent); color: var(--accent); }
.lang-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
}
@media (max-width: 720px) {
  .header-row { padding: 12px 18px; column-gap: 16px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 18px; }
}
@media (max-width: 430px) {
  .header-row { padding: 10px 16px; }
  .lang-chip { padding: 0 8px; font-size: 10px; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--canvas); }
.hero-grid {
  position: relative;
  padding: 52px var(--gutter) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .eyebrow { color: var(--accent); }
.hero-lead { font-size: 20px; line-height: 30px; color: var(--body); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 26px;
  margin-top: 8px;
  border-top: 1px solid var(--hairline);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-mono); font-size: 26px; font-weight: 300; color: var(--heading); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; color: var(--body-muted); }
.hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--hairline); background: var(--surface-card); box-shadow: var(--shadow-card); }
/* The clip is portrait (9:16); a fixed height keeps the hero row balanced. */
.hero-media video { display: block; width: 100%; height: 620px; object-fit: cover; object-position: 50% 32%; filter: saturate(1.04) brightness(1.01) contrast(1.04); background: var(--canvas-tint); }
.hero-media .scrim { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(60, 28, 12, 0.14), rgba(60, 28, 12, 0) 55%, rgba(60, 28, 12, 0.2)); }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 36px 20px 64px; }
  .hero-media video { height: 520px; }
}
/* On phones the clip leads as a full-bleed banner, with the copy underneath. */
@media (max-width: 720px) {
  .hero-grid { padding: 0 18px 52px; gap: 26px; }
  .hero-stats { gap: 26px; }
  .hero-media {
    order: -1;
    margin: 0 calc(var(--gutter) * -1) 4px;
    border-radius: 0 0 var(--r-2xl) var(--r-2xl);
    border-width: 0 0 1px;
    box-shadow: none;
  }
  .hero-media video { height: 62vh; min-height: 340px; max-height: 560px; }
  .hero-media .scrim { background: linear-gradient(190deg, rgba(60, 28, 12, 0.22), rgba(60, 28, 12, 0) 45%, rgba(60, 28, 12, 0.3)); }
}
@media (max-width: 430px) {
  .hero-grid { padding: 0 16px 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions > * { width: 100%; }
}

/* ---- Water shimmer motion ---- */
[data-water] { position: absolute; pointer-events: none; }
[data-water="a"] {
  inset: -8% -12%;
  mix-blend-mode: soft-light;
  background: repeating-linear-gradient(174deg, rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.18) 3px, rgba(255, 255, 255, 0) 9px, rgba(255, 255, 255, 0.1) 16px, rgba(255, 255, 255, 0) 26px);
  animation: dl-water-a 13s ease-in-out infinite;
}
[data-water="a"].slow { animation-duration: 16s; background: repeating-linear-gradient(176deg, rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.14) 4px, rgba(255, 255, 255, 0) 11px, rgba(255, 255, 255, 0.07) 18px, rgba(255, 255, 255, 0) 28px); }
[data-water="b"] {
  inset: -10% -14%;
  mix-blend-mode: screen;
  background: radial-gradient(60% 40% at 30% 78%, rgba(255, 190, 150, 0.3), rgba(255, 190, 150, 0) 70%), radial-gradient(45% 30% at 74% 62%, rgba(250, 226, 190, 0.16), rgba(250, 226, 190, 0) 72%);
  animation: dl-water-b 19s ease-in-out infinite;
}
@keyframes dl-water-a {
  0%, 100% { transform: translate3d(-6%, 0, 0) scaleY(1); opacity: 0.34; }
  50% { transform: translate3d(4%, -1.4%, 0) scaleY(1.08); opacity: 0.62; }
}
@keyframes dl-water-b {
  0%, 100% { transform: translate3d(5%, 1%, 0); opacity: 0.5; }
  50% { transform: translate3d(-5%, -1%, 0); opacity: 0.22; }
}
@media (prefers-reduced-motion: reduce) {
  [data-water] { animation: none !important; }
}

/* ---- Included grid ---- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.included-cell { background: var(--surface-card); padding: 32px 26px; display: flex; flex-direction: column; gap: 14px; }
.included-cell .icon { color: var(--accent); }
.included-cell h3 { margin-top: 4px; font-size: 20px; font-weight: 500; color: var(--heading); }
.included-cell p { font-size: 14px; line-height: 21px; color: var(--body-muted); }
@media (max-width: 1024px) { .included-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .included-grid { grid-template-columns: 1fr; } }
@media (max-width: 430px) { .included-cell { padding: 24px 20px; } }

/* ---- Timeline ---- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.timeline-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.timeline-row:last-child { border-bottom: 1px solid var(--hairline); }
.timeline-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 4px; }
.timeline-body { display: flex; flex-direction: column; gap: 6px; }
.timeline-body h3 { font-size: 17px; font-weight: 500; color: var(--heading); }
.timeline-body p { font-size: 14px; line-height: 21px; color: var(--body-muted); }
.timeline-note { margin-top: 22px; font-size: 13px; color: var(--faint); }
/* Shown whole rather than cropped, so the hands always stay in frame. */
.tall-img { position: relative; display: flex; justify-content: center; }
/* The source is black and white; sepia plus a hue nudge tints it into the warm palette. */
.tall-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  filter: sepia(0.58) saturate(1.6) hue-rotate(-14deg) brightness(1.05) contrast(1.02);
}
@media (max-width: 1024px) { .split-grid { grid-template-columns: 1fr; gap: 32px; } .tall-img img { max-height: 440px; } }
@media (max-width: 720px) { .tall-img img { max-height: 380px; } }
@media (max-width: 430px) { .tall-img img { max-height: 320px; } }

/* ---- Documents ---- */
.two-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doc-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-card); }
.doc-card h3 { margin: 0 0 22px; font-size: 20px; font-weight: 500; color: var(--heading); }
.doc-list { display: flex; flex-direction: column; gap: 16px; }
.doc-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--body); }
.doc-list .icon { color: var(--accent); margin-top: 2px; flex: none; }
@media (max-width: 720px) { .two-grid { grid-template-columns: 1fr; } }

/* ---- Pricing ---- */
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.price-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-card); }
.price-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.price-spacer { display: block; height: 23px; }
.badge {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  border: 1px solid var(--on-dark-hairline);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  line-height: 1.4;
}
.price-card h3 { margin: 0; font-size: 20px; line-height: 26px; min-height: 52px; font-weight: 500; color: var(--heading); }
.price { margin: 0; font-family: var(--font-mono); font-size: 24px; font-weight: 300; color: var(--accent); }
.price-features { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--body-muted); }
/* The middle package inverts to deep wine so it reads as the recommended one. */
.price-card--highlight { background: var(--surface-raised); border-color: var(--surface-raised); box-shadow: var(--shadow-raised); }
.price-card--highlight h3 { color: var(--on-dark); }
.price-card--highlight .price { color: var(--on-dark); }
.price-card--highlight .price-features { color: var(--on-dark-body); }
.price-card--highlight .btn { background: var(--on-dark); color: var(--surface-raised); }
.price-card--highlight .btn:hover { background: var(--canvas-tint); color: var(--surface-raised); }
@media (max-width: 1024px) { .three-grid { grid-template-columns: 1fr; } }

/* ---- Recognition ---- */
.recognition-panel { position: relative; border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-card); }
.recognition-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(0.95) brightness(0.6); }
.recognition-panel .scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(60, 28, 12, 0.92), rgba(60, 28, 12, 0.66)); }
.recognition-content { position: relative; padding: 56px; }
.recognition-content .eyebrow { color: var(--on-dark-muted); }
.recognition-content .h2 { margin-bottom: 12px; color: var(--on-dark); }
.recognition-content .three-grid { gap: 18px; align-items: stretch; }
.recognition-content .lead { margin: 0 0 40px; font-size: 16px; color: var(--on-dark-body); max-width: 620px; }
.glass-card {
  background: var(--glass-fill);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--on-dark-hairline);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.glass-card h3 { font-size: 17px; font-weight: 500; color: var(--on-dark); }
.glass-card p { font-size: 14px; line-height: 21px; color: var(--on-dark-body); }
@media (max-width: 1024px) { .recognition-content { padding: 36px 28px; } }
@media (max-width: 720px) { .recognition-content { padding: 28px 20px; } }
@media (max-width: 430px) { .recognition-content { padding: 24px 16px; } }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; height: 460px; }
.gallery-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); background: var(--surface-card); box-shadow: var(--shadow-card); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile--wide img { object-position: 55% 45%; filter: saturate(1.06) contrast(1.04); }
.gallery-tile--narrow img { object-position: 50% 50%; filter: saturate(1.06) contrast(1.03) brightness(1.01); }
.gallery-tile .scrim { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(60, 28, 12, 0.16), rgba(60, 28, 12, 0) 60%); }
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: 1fr; height: auto; }
  .gallery-tile { height: 300px; }
}
@media (max-width: 430px) { .gallery-tile { height: 240px; } }

/* ---- Form ---- */
#apply { padding-bottom: 112px; }
.form-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-2xl); padding: 48px; box-shadow: var(--shadow-card); }
.form-intro { display: flex; flex-direction: column; gap: 18px; }
.form-intro h2 { margin: 0; font-size: 30px; line-height: 36px; letter-spacing: -0.02em; font-weight: 300; color: var(--heading); max-width: none; }
.form-intro .lead { margin: 0; font-size: 15px; color: var(--body); }
/* Uncropped: both the Rock above the couple and their feet stay in the frame. */
.form-photo { margin: 2px 0 0; max-width: 310px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); }
.form-photo img { width: 100%; height: auto; filter: sepia(0.42) saturate(1.5) hue-rotate(-12deg) brightness(1.04) contrast(1.02); }
.form-contact { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--faint); }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--label); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  height: 48px;
  padding: 0 15px;
  border-radius: var(--r-md);
  border: 1px solid rgba(90, 40, 20, 0.32);
  background: #FFF8F3;
  font-size: 15px;
  color: var(--heading);
}
.field input[data-mono] { font-family: var(--font-mono); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field textarea { height: auto; padding: 13px 15px; resize: vertical; }
.form-submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.privacy-note { font-size: 13px; color: var(--faint); max-width: 300px; }
.form-error { grid-column: 1 / -1; font-size: 13px; color: var(--danger); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { cursor: progress; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--canvas);
  border: 1px solid var(--hairline);
}
.form-success .check-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { font-size: 24px; font-weight: 500; color: var(--heading); }
.form-success p { font-size: 15px; color: var(--body); }
@media (max-width: 1024px) { .form-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px; } }
@media (max-width: 720px) { .fields-grid { grid-template-columns: 1fr; } .form-panel { padding: 26px 20px; } }
@media (max-width: 430px) {
  .form-panel { padding: 22px 16px; }
  .form-submit-row > * { width: 100%; }
}

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--hairline-soft); }
.footer-row {
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--label);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-word { display: flex; align-items: baseline; gap: 1px; font-size: 19px; font-weight: 300; color: var(--heading); }
.footer-word .dot { color: var(--accent); }
.footer-sub { font-size: 9px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--label); }
.footer-slogan { font-size: 15px; font-weight: 300; color: var(--body); }
.footer-year { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .footer-row { padding: 26px 18px; } }

/* Card padding tightens on small phones (doc, price and recognition cards). */
@media (max-width: 430px) {
  .two-grid > *, .three-grid > * { padding: 24px 20px; }
}

.icon { display: block; flex: none; }

/* ---- Thank-you page ---- */
.thanks { padding: 64px 0 96px; }
.thanks-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-card);
}
.thanks-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.thanks-copy .check-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.thanks-title { margin: 0; max-width: 460px; }
.thanks-lead { font-size: 17px; line-height: 25px; color: var(--body); }
.thanks-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.thanks-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; }
.thanks-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.thanks-step p { font-size: 15px; line-height: 22px; color: var(--body); }
.thanks-note { font-size: 13px; color: var(--faint); }
.thanks-back { margin-top: 8px; }
.thanks-media { position: relative; height: 100%; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--hairline); }
.thanks-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.03) brightness(1.01); }
.thanks-media .scrim { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(60, 28, 12, 0.16), rgba(60, 28, 12, 0) 60%); }
@media (max-width: 1024px) {
  .thanks-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .thanks-media { order: -1; min-height: 240px; }
}
@media (max-width: 720px) {
  .thanks { padding: 28px 0 64px; }
  .thanks-panel { padding: 24px 20px; }
  .thanks-back { width: 100%; }
}

/* ---- Cookie consent ---- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 80;
  width: min(760px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(82, 38, 15, 0.22);
}
.cookie-banner__copy { display: flex; flex-direction: column; gap: 6px; }
.cookie-banner__copy strong { font-size: 15px; font-weight: 500; color: var(--heading); }
.cookie-banner__copy p { font-size: 13px; line-height: 19px; color: var(--body); }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.footer-cookies {
  border: 0;
  padding: 0;
  background: none;
  font-size: 13px;
  color: var(--label);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-cookies:hover { color: var(--accent); }
@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; padding: 16px; }
  .cookie-banner__actions > * { flex: 1; }
}
