:root {
  --navy-950: #011c3d;
  --navy-900: #022d5e; /* matches the flat navy baked into the source photos */
  --navy-800: #0b3a70;
  --navy-700: #1f5aa0;
  --cream: #f4f1e8;
  --gold: #c9a86a;
  --ink: #16223f;
  --line: #d8d2c2;
  --serif: 'High Tower Text', 'Sorts Mill Goudy', Georgia, serif;
  --serif-alt: 'High Tower Text', 'Sorts Mill Goudy', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-alt);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* ---------- Hero / Header ---------- */

.hero {
  background: var(--navy-900);
  color: #fff;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 0.5rem;
  gap: 1rem;
}

.hero-logo {
  height: 44px;
  width: auto;
}

.hero-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-family: var(--serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-nav a:hover {
  color: #fff;
  border-color: var(--gold);
}

.hero-nav a.lang-link {
  margin-left: 0.25rem;
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
}

.hero-nav a.lang-link:hover {
  color: #fff;
}

.hero-video-wrap {
  position: relative;
  margin-top: 1.5rem;
}

.hero-video-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 60vh;
  min-height: 220px;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--navy-900);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,45,94,0.2) 0%, rgba(2,45,94,0.55) 55%, var(--navy-900) 100%);
}

.hero-play-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: not-allowed;
  opacity: 0.9;
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-play-btn svg { color: #fff; }

.hero-caption {
  position: relative;
  max-width: 1200px;
  margin: 1.75rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 3rem;
  text-align: center;
}

.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-dates {
  margin: 1rem 0 0;
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

/* ---------- Intro ---------- */

.intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
}

/* ---------- Event details ---------- */

.event {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.event-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

.event-label {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--navy-700);
}

.event-value {
  font-size: 1.15rem;
}

.event-value a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

/* ---------- Gallery ---------- */

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  background: var(--navy-900);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
}

.gallery figure {
  margin: 0;
  flex: 1 1 380px;
  max-width: 460px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, #000 48%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 50%, #000 48%, transparent 100%);
}

/* ---------- Cabinet Raffin ---------- */

.raffin {
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.raffin-logo {
  max-width: 340px;
  margin: 0 auto;
}

.raffin-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin: 1rem 0 3rem;
}

.raffin-people {
  max-width: 320px;
  margin: 0 auto;
}

.raffin-people img {
  border-radius: 4px;
}

.raffin-names {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--serif);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

/* ---------- CTA / Form ---------- */

.cta {
  max-width: 640px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 1rem;
  color: var(--navy-900);
}

.cta p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.appointment-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row { display: flex; flex-direction: column; gap: 0.4rem; }

.form-row-half {
  flex-direction: row;
  gap: 1.25rem;
}

.form-row-half > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--navy-700);
}

input, select, textarea {
  font-family: var(--serif-alt);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-700);
}

textarea { resize: vertical; }

button[type="submit"] {
  align-self: flex-start;
  background: var(--navy-900);
  color: #fff;
  border: none;
  padding: 0.85rem 2.2rem;
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button[type="submit"]:hover {
  background: var(--navy-700);
}

.form-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

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

.form-result {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 3px;
  font-size: 0.95rem;
  background: #e7f0e5;
  color: #2c4a2a;
  border: 1px solid #b9d4b4;
}

.form-result.is-error {
  background: #f5e5e1;
  color: #7a2e1d;
  border-color: #e0b6a9;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-logo {
  height: 32px;
  margin: 0 auto 1.25rem;
}

.site-footer a {
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid var(--gold);
}

.footer-fine {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero-topbar { flex-direction: column; align-items: center; }
  .hero-nav { font-size: 0.75rem; gap: 1rem; }
  .form-row-half { flex-direction: column; }
  .gallery { grid-template-columns: 1fr; }
}
