/* Exchange Gate — coming soon
   Brand: gold #a39771 · charcoal #4a4a4a
   Static CSS, no build step. */

:root {
  --gold: #a39771;
  --gold-bright: #c4b48a;
  --gold-deep: #8a7d58;
  --charcoal: #4a4a4a;
  --spark: #f2c500;
  --font-display: "Josefin Sans", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --header-h: 76px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spot-x: 50%;
  --spot-y: 50%;
  --border-angle: 0deg;
}

/* Dark is the cinematic default (hero stays dark in both themes). */
html[data-theme="dark"],
html:not([data-theme]) {
  --bg: #0b0b0c;
  --bg-elev: #141413;
  --bg-contact: #0f0f10;
  --text: #f4f1ea;
  --text-muted: #b4b0a6;
  --glass-bg: rgba(16, 16, 16, 0.48);
  --glass-bg-strong: rgba(18, 18, 18, 0.62);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --field-bg: rgba(255, 255, 255, 0.05);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --header-bg: rgba(11, 11, 12, 0.55);
  --header-solid: rgba(11, 11, 12, 0.78);
  --map-frame: rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-elev: #ffffff;
  --bg-contact: #efebe3;
  --text: #2c2c2c;
  --text-muted: #5c5c5c;
  --glass-bg: rgba(255, 255, 255, 0.56);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(74, 74, 74, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.8);
  --line: rgba(74, 74, 74, 0.1);
  --field-bg: rgba(255, 255, 255, 0.7);
  --shadow: 0 22px 50px rgba(40, 32, 18, 0.1);
  --header-bg: rgba(244, 241, 234, 0.5);
  --header-solid: rgba(244, 241, 234, 0.86);
  --map-frame: #e7e2d8;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  background: var(--bg);
}

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection {
  background: rgba(163, 151, 113, 0.38);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: #1a1a1a;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

[hidden] { display: none !important; }

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

.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

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

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 36% at 18% 20%, rgba(163, 151, 113, 0.22), transparent 60%),
    radial-gradient(32% 30% at 88% 12%, rgba(163, 151, 113, 0.14), transparent 62%),
    radial-gradient(28% 24% at 70% 80%, rgba(242, 197, 0, 0.05), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(163, 151, 113, 0.08), transparent 60%);
  animation: mesh-drift 28s var(--ease) infinite alternate;
  filter: blur(8px);
}

html[data-theme="light"] .mesh {
  background:
    radial-gradient(40% 36% at 18% 20%, rgba(163, 151, 113, 0.28), transparent 60%),
    radial-gradient(32% 30% at 88% 12%, rgba(163, 151, 113, 0.16), transparent 62%),
    radial-gradient(50% 50% at 50% 100%, rgba(163, 151, 113, 0.12), transparent 60%);
}

@keyframes mesh-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.page-404 .site-header {
  background: var(--header-solid);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand .logo { width: auto; height: 40px; }

.logo-on-light { display: none; }
.logo-on-dark  { display: block; }

/* When the scrolled header is light, swap to the dark lockup. */
html[data-theme="light"] .site-header.is-solid .logo-on-light,
html[data-theme="light"] .page-404 .site-header .logo-on-light { display: block; }
html[data-theme="light"] .site-header.is-solid .logo-on-dark,
html[data-theme="light"] .page-404 .site-header .logo-on-dark { display: none; }

.nav { display: flex; align-items: center; gap: 0.85rem; }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.4rem 0.15rem;
  color: rgba(244, 241, 234, 0.88);
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }

html[data-theme="light"] .site-header.is-solid .nav-link,
html[data-theme="light"] .page-404 .nav-link { color: var(--charcoal); }
html[data-theme="light"] .site-header.is-solid .nav-link:hover,
html[data-theme="light"] .page-404 .nav-link:hover { color: #111; }

.socials { display: flex; gap: 0.4rem; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.socials a:hover { background: var(--glass-bg); border-color: var(--gold); transform: translateY(-1px); }
.socials svg { width: 15px; height: 15px; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: #f4f1ea;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { transform: scale(1.05); border-color: var(--gold); }
.theme-toggle .icon { width: 18px; height: 18px; position: absolute; }
html[data-theme="dark"] .icon-sun,
html:not([data-theme]) .icon-sun { opacity: 1; }
html[data-theme="dark"] .icon-moon,
html:not([data-theme]) .icon-moon { opacity: 0; }
html[data-theme="light"] .icon-sun { opacity: 0; }
html[data-theme="light"] .icon-moon { opacity: 1; }
html[data-theme="light"] .site-header.is-solid .theme-toggle,
html[data-theme="light"] .page-404 .theme-toggle { color: var(--charcoal); }

/* Glass */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-highlight);
  border-radius: var(--radius);
  isolation: isolate;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--spot-x) var(--spot-y), rgba(163, 151, 113, 0.2), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.glass:hover::before,
.glass:focus-within::before { opacity: 1; }

.glass > * { position: relative; z-index: 1; }

.glass-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--border-angle), transparent 0 55%, var(--gold) 70%, var(--gold-bright) 78%, transparent 92%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: border-spin 8s linear infinite;
  opacity: 0.7;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  to { --border-angle: 360deg; }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 5rem;
  color: #f4f1ea;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.12);
  will-change: transform;
  filter: saturate(0.95) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.55) 0%, rgba(8, 8, 9, 0.42) 40%, rgba(8, 8, 9, 0.78) 100%),
    radial-gradient(80% 70% at 50% 45%, rgba(8, 8, 9, 0.15), rgba(8, 8, 9, 0.72) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

.hero-mark {
  width: min(180px, 40vw);
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.35));
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero h1,
.error-content h1,
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.35rem, 6.2vw, 4.75rem);
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.lede {
  margin: 1.15rem 0 0;
  font-size: 1.12rem;
  color: rgba(244, 241, 234, 0.78);
  max-width: 34em;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 110px));
  gap: 0.7rem;
  margin: 1.6rem 0 0;
}

.count-cell {
  padding: 0.95rem 0.4rem 0.8rem;
  border-radius: 16px;
  min-width: 0;
}

.count-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.count-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.62);
  font-weight: 500;
}


/* Hero chrome stays dark even in the light theme */
.hero .glass {
  --glass-bg: rgba(16, 16, 16, 0.5);
  --glass-bg-strong: rgba(16, 16, 16, 0.62);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  color: #f4f1ea;
  background: rgba(16, 16, 16, 0.5);
}
.hero .notify-form .field-inline input,
.hero .notify-form .field-inline input::placeholder {
  color: #f4f1ea;
}
.hero .notify-form .field-inline input::placeholder {
  color: rgba(244, 241, 234, 0.45);
}
.hero .form-status { color: rgba(244, 241, 234, 0.75); }
.hero .form-status.is-ok { color: #8ee0a8; }
.hero .form-status.is-err { color: #f0a0a0; }

/* Notify — pill is a single 60px row; status sits underneath, outside the glass */
.notify-form {
  width: min(520px, 100%);
  margin-top: 1.5rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.notify-pill {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  width: 100%;
}

.notify-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 0.4rem;
}

.notify-form .field-inline {
  flex: 1;
  min-width: 0;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.notify-form .field-inline input,
.notify-form .field-inline input:focus,
.notify-form .field-inline input:not(:placeholder-shown) {
  width: 100%;
  height: 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 1.05rem;
  color: #f4f1ea;
  border-radius: 999px;
  line-height: 48px;
}
.notify-form .field-inline input::placeholder { color: rgba(244, 241, 234, 0.45); }
.notify-form .field-inline input:focus { outline: none; }
.notify-form .notify-pill .btn {
  flex-shrink: 0;
  height: 48px;
  padding: 0 1.25rem;
  align-self: center;
}

.notify-form .form-status {
  margin: 0.65rem 0.25rem 0;
  min-height: 0;
  text-align: center;
}
.notify-form .form-status:empty { display: none; }

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: 1.7rem;
  color: rgba(244, 241, 234, 0.7);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-hint svg {
  width: 22px; height: 22px;
  animation: hint-bounce 2s var(--ease) infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(180deg, #b8aa83 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #1a1916;
  box-shadow: 0 8px 24px rgba(163, 151, 113, 0.28), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #c4b48a 0%, #b4a67a 60%, #9a8b5f 100%);
  box-shadow: 0 10px 28px rgba(163, 151, 113, 0.38);
}
.btn-primary:active { transform: translateY(1px) scale(0.99); }
.btn-block { width: 100%; padding: 0.95rem 1.35rem; }
.btn.is-loading .btn-label { opacity: 0; }
.btn.is-loading .btn-spinner { opacity: 1; }
.btn-spinner {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(26,25,22,0.2);
  border-top-color: #1a1916;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}
.btn { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn.is-success {
  background: #1f3d2a;
  color: #d8f5e2;
  box-shadow: none;
  pointer-events: none;
}

/* Contact */
#contact { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

.contact {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 7rem;
  background:
    linear-gradient(180deg, transparent, var(--bg-contact) 8rem);
}

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  text-wrap: balance;
}
.section-copy {
  margin: 0.9rem auto 0;
  max-width: 34em;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-form {
  padding: 1.7rem 1.6rem 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  position: relative;
  margin-bottom: 1.05rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--glass-border);
  background: var(--field-bg);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1rem 0.55rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}

.field textarea { min-height: 140px; line-height: 1.5; }

.field label {
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: transform 0.2s var(--ease), font-size 0.2s, color 0.2s, top 0.2s;
}

.field .opt { font-weight: 400; opacity: 0.7; font-size: 0.85em; }

.field input:focus,
.field textarea:focus,
.field input:not(:placeholder-shown),
.field textarea:not(:placeholder-shown) {
  outline: none;
  border-color: rgba(163, 151, 113, 0.7);
  box-shadow: 0 0 0 4px rgba(163, 151, 113, 0.15);
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

html[data-theme="dark"] .field input:focus + label,
html[data-theme="dark"] .field textarea:focus + label,
html[data-theme="dark"] .field input:not(:placeholder-shown) + label,
html[data-theme="dark"] .field textarea:not(:placeholder-shown) + label {
  color: var(--gold-bright);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #c85a5a;
  box-shadow: 0 0 0 4px rgba(200, 90, 90, 0.12);
}

.field-error {
  min-height: 0;
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #d07272;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--text-muted);
}
.form-status.is-ok { color: #6fbf88; }
.form-status.is-err { color: #d07272; }

html[data-theme="light"] .form-status.is-ok { color: #1f6b3a; }

/* Success check */
.form-status.is-ok::before {
  content: "";
  display: inline-block;
  width: 0.7em; height: 0.4em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  margin-right: 0.5em;
  animation: tick-in 0.45s var(--ease);
}
@keyframes tick-in {
  from { opacity: 0; transform: rotate(-45deg) scale(0.4) translateY(-1px); }
  to   { opacity: 1; transform: rotate(-45deg) scale(1) translateY(-1px); }
}

.info-col { display: grid; gap: 1.25rem; }

.info-card {
  padding: 1.4rem 1.35rem 1.3rem;
}

.info-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(163, 151, 113, 0.14);
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.info-icon svg { width: 18px; height: 18px; }

.info-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.info-card p { margin: 0; color: var(--text-muted); }
.info-card a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.info-card a:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }
html[data-theme="dark"] .info-card a:hover { color: var(--gold-bright); }

.map-frame {
  margin-top: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--map-frame);
  aspect-ratio: 16 / 10;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-mark { width: 32px; height: 32px; opacity: 0.9; }

/* WhatsApp */
.wa-btn {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 50;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 28px; height: 28px; }

/* 404 */
.page-404 {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.error-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  text-align: center;
}
.error-content { display: flex; flex-direction: column; align-items: center; max-width: 640px; }
.error-mark { width: 150px; margin-bottom: 1.5rem; }
.error-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; }
.error-content .lede { color: var(--text-muted); margin-bottom: 1.8rem; }

.logo-swap-light { display: none; }
.logo-swap-dark { display: block; }
html[data-theme="light"] .logo-swap-light { display: block; }
html[data-theme="light"] .logo-swap-dark { display: none; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-in 0.9s var(--ease) forwards;
}
.hero-mark.reveal { animation-delay: 0.05s; }
.hero .eyebrow.reveal { animation-delay: 0.15s; }
.hero h1.reveal { animation-delay: 0.22s; }
.hero .lede.reveal { animation-delay: 0.32s; }
.countdown.reveal { animation-delay: 0.4s; }
.notify-form.reveal { animation-delay: 0.5s; }
.scroll-hint.reveal { animation-delay: 0.62s; }

@keyframes reveal-in {
  to { opacity: 1; transform: none; }
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-reveal.is-in { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .js-reveal { opacity: 1; transform: none; }
  .hero-photo { transform: none; will-change: auto; }
  .mesh { filter: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .contact-grid,
  .field-row { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(4, minmax(64px, 1fr)); width: min(420px, 100%); }
  .hero { padding-bottom: 4rem; }
  #contact { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

.contact { padding: 4.5rem 0 5rem; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.5rem)); }
  .brand .logo { height: 32px; }
  .hero-mark { width: min(160px, 52vw); margin-bottom: 1.15rem; }
  .notify-pill {
    height: auto;
    border-radius: 22px;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .notify-row { flex-direction: column; align-items: stretch; height: auto; gap: 0.55rem; }
  .notify-form .field-inline { height: auto; }
  .notify-form .field-inline input,
  .notify-form .field-inline input:focus,
  .notify-form .field-inline input:not(:placeholder-shown) {
    height: 48px;
    line-height: 48px;
    padding: 0 0.9rem;
  }
  .notify-form .notify-pill .btn { width: 100%; height: 48px; }
  .notify-form .form-status { text-align: left; margin-left: 0.15rem; }
  .scroll-hint { display: none; }
  .hero { padding-bottom: 3.2rem; }
  .countdown { gap: 0.45rem; }
  .count-cell { padding: 0.75rem 0.2rem 0.65rem; border-radius: 12px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
}
