/* Cinzel, Cormorant Garamond, and Inter. Self-hosted so font-src 'self' can load them. */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --charcoal: #1c1a19;
  --charcoal-soft: #252220;
  --charcoal-elevated: #2e2a27;
  --gold-light: #f3d58a;
  --gold: #d4a84b;
  --gold-deep: #b8862f;
  --gold-dark: #8a6420;
  --amber: #e8a05c;
  --peach: #f0c4a0;
  --cream: #f5efe6;
  --cream-muted: #c9bfb0;
  --line: rgba(243, 213, 138, 0.18);
  --radius: 14px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--cream);
  background: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--gold);
  color: var(--charcoal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Full-viewport hero. Entrance timing matches the source animation. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 2rem;
  background: #0b0b0b;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: #0b0b0b;
  animation: stage-up 1s ease both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(1240px, calc(100% - 2.5rem));
}

.logo-stage {
  position: relative;
  width: min(100%, 1060px);
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  isolation: isolate;
}

.logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.logo-sun {
  animation: sun-rise 1.5s cubic-bezier(.2, .7, .2, 1) .2s both, ray-glow 6s ease-in-out 3.6s infinite;
}

.logo-arc { animation: arc-draw 1.15s ease-in-out 1.1s both; }
.logo-letters { animation: gold-entrance 1.2s ease 1.4s both; }
.logo-wordmark { animation: gold-entrance 1s ease 2s both; }

.logo-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 36%, rgba(255, 244, 200, .65) 49%, transparent 62%) -180% 0 / 250% 100% no-repeat;
  mask: url("/assets/animation/complete.webp") center / contain no-repeat;
  -webkit-mask: url("/assets/animation/complete.webp") center / contain no-repeat;
  mix-blend-mode: screen;
  animation: sheen-pass .9s ease 2.7s both;
}

.hero-copy {
  text-align: center;
  max-width: 850px;
  padding-bottom: 0.5rem;
}

.hero-line {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--cream-muted);
  margin: -0.35rem 0 0;
}

@keyframes stage-up {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sun-rise {
  from { opacity: 0; transform: translateY(25px); clip-path: inset(0 0 65% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0); }
}
@keyframes arc-draw {
  from { clip-path: inset(0 100% 0 0); opacity: .3; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes gold-entrance {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheen-pass {
  0% { background-position: 180% 0; opacity: 0; }
  15% { opacity: .7; }
  85% { opacity: .7; }
  100% { background-position: -80% 0; opacity: 0; }
}
@keyframes ray-glow {
  0%, 100% { filter: drop-shadow(0 0 1px rgba(238, 191, 90, .12)); }
  50% { filter: drop-shadow(0 0 4px rgba(238, 191, 90, .35)); }
}

@media (max-width: 800px) {
  .hero { padding: 1.5rem 0 1.25rem; }
  .hero-inner { gap: 0.25rem; }
  .logo-stage { width: calc(100% + 1rem); }
  .hero-line { margin-top: -0.15rem; }
}

.contact {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  padding: clamp(3.25rem, 8vw, 5.5rem) 1.25rem 2.5rem;
}

.contact-inner {
  width: min(34rem, 100%);
  margin-inline: auto;
}

.contact h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-light);
}

.field { margin-bottom: 0.35rem; }

label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.optional {
  color: var(--cream-muted);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.95em;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(243, 213, 138, 0.22);
  border-radius: 8px;
  background: #141210;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
}

select {
  cursor: pointer;
  appearance: none;
  background-color: #141210;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 55%,
    calc(100% - 0.75rem) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

textarea {
  resize: vertical;
  min-height: 9rem;
}

.field-error {
  min-height: 1.15em;
  margin: 0.3rem 0 0.35rem;
  color: #f0b4a8;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}

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

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.45rem;
  min-height: 48px;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover { filter: brightness(1.05); }

button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-status {
  min-height: 1.4em;
  margin: 0.95rem 0 0;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
}

.form-status.is-error { color: #f0b4a8; }
.form-status.is-success { color: #b7d7c3; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #141210;
  color: var(--cream-muted);
  text-align: center;
  padding: 1.75rem 1rem 2.25rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop,
  .logo-layer,
  .logo-sheen {
    animation: none !important;
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
  }
  .logo-sheen { display: none; }
}
