/* ==========================================================================
   The Wedding Times — Ioanna & Aggelos
   Static rebuild of ioanna-and-aggelos-bigday.com (no WordPress).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #f1ece4;
  --card: #f8f6f1;
  --card-warm: #f9f6f2;
  --cream: #f6f3ee;
  --loader-bg: #ede5dc;

  --ink: #2e261f;
  --ink-title: #2f261f;
  --ink-80: rgba(46, 38, 31, .8);
  --ink-70: rgba(46, 38, 31, .7);
  --ink-60: rgba(46, 38, 31, .6);
  --ink-40: rgba(46, 38, 31, .4);
  --ink-30: rgba(46, 38, 31, .3);
  --ink-20: rgba(46, 38, 31, .2);
  --ink-10: rgba(46, 38, 31, .1);
  --muted: #756657;
  --dark: #3b332b;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --didot: "GFS Didot", "Playfair Display", Georgia, serif;
  --black-letter: "UnifrakturMaguntia", "Playfair Display", Georgia, serif;

  --shell: 960px;
  --gutter: 32px;
  --section-pad: 128px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' stitchTiles='stitch' result='noise'/%3E%3CfeDiffuseLighting in='noise' lighting-color='%23f5efe6' surfaceScale='1'%3E%3CfeDistantLight azimuth='45' elevation='60'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 20% 0%, hsl(38 40% 94% / .4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, hsl(30 35% 88% / .4) 0%, transparent 50%),
    linear-gradient(180deg, #f7f3ee, #f3eee8, #eee8e2);
  background-blend-mode: multiply, overlay, normal, normal, normal;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

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

/* --------------------------------------------------------------------------
   3. Page loader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--loader-bg);
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { width: 300px; max-width: calc(100vw - 48px); text-align: center; }
.loader__masthead {
  font-family: var(--black-letter);
  font-size: 25px;
  line-height: 36px;
  letter-spacing: .7px;
  color: var(--ink-title);
  font-weight: 400;
  margin: 24px 0 16px;
}
.loader__names {
  font-family: var(--serif);
  font-size: 35px;
  line-height: 35px;
  letter-spacing: 1.5px;
  color: var(--ink-title);
  font-weight: 400;
  margin: 24px 0;
}
.loader__status {
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 24px 0;
}
.loader__ornament { font-size: 24px; line-height: 25px; color: var(--ink-40); margin-top: 32px; }

/* Indeterminate progress bar: draws itself in from the left, then clears
   away to the right, on a loop, in place of the old static rule. */
.loader__bar {
  width: 195px;
  height: 2px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink-20);
}
.loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink-80);
  transform-origin: left center;
  animation: loading-bar 1.6s ease-in-out infinite;
}
@keyframes loading-bar {
  0%     { transform: scaleX(0); transform-origin: left center; }
  49.99% { transform: scaleX(1); transform-origin: left center; }
  50%    { transform: scaleX(1); transform-origin: right center; }
  100%   { transform: scaleX(0); transform-origin: right center; }
}
@media (prefers-reduced-motion: reduce) {
  .loader__bar span { animation: none; }
}

/* Rules used by the loader and the hero masthead */
.rule { border: 0; border-top: 1px solid var(--ink-80); margin: 4px auto 0; width: 100%; }
.rule--thick { border-top-width: 2px; margin-top: 0; }
.rule--w220 { width: 220px; }
.rule--w195 { width: 195px; }
.rule--gap { margin-top: 32px; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 20px 0;
  background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-fixed {
  padding: 12px 0;
  background: var(--cream);
  box-shadow: 0 2px 10px -2px rgba(61, 51, 41, .08);
}
.site-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 32px;
  color: var(--ink);
  width: 100px;
  flex: none;
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 24px; }
.main-nav li { flex: none; }
.main-nav a {
  white-space: nowrap;
  font-family: var(--didot);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-70);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

/* Language switcher */
.lang { position: relative; flex: none; }
.lang__current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: none;
  border: 1px solid var(--ink-20);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-70);
}
.lang__current svg { width: 12px; height: 12px; }
.lang__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 132px;
  background: var(--cream);
  border: 1px solid var(--ink-20);
  box-shadow: 0 4px 20px -4px rgba(61, 51, 41, .1);
  display: none;
  z-index: 5;
}
.lang.is-open .lang__list { display: block; }
.lang__list a {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-70);
}
.lang__list a:hover,
.lang__list a[aria-current="true"] { background: var(--card); color: var(--ink); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--ink-20);
  flex: none;
}
.nav-toggle svg { width: 18px; height: 18px; stroke: var(--ink); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .7px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid var(--dark);
  background: var(--dark);
  color: var(--cream);
  transition: .3s ease-in-out;
}
.btn:hover { transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--dark); }
.btn--outline:hover { background: rgba(59, 51, 43, .06); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--sm { padding: 12px 24px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 200px var(--gutter) 48px;
  text-align: center;
}
.hero__inner { max-width: 590px; margin: 0 auto; }
.hero__vol,
.hero__dateline {
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  color: var(--ink-60);
}
.hero__vol { letter-spacing: 3.6px; margin-bottom: 8px; }
.hero__dateline { letter-spacing: 1.2px; margin-bottom: 0; }
.hero__dateline strong { font-weight: 400; padding: 0 6px; }
.hero__masthead {
  font-family: var(--black-letter);
  font-size: 36px;
  line-height: 36px;
  letter-spacing: .9px;
  font-weight: 400;
  color: var(--ink-title);
  margin: 24px 0 16px;
}
.hero__names {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 72px;
  letter-spacing: 1.5px;
  font-weight: 400;
  color: var(--ink-title);
  margin: 24px 0 8px;
}
.hero__tagline {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--ink-80);
  margin: 24px 0 32px;
}
.hero__ornament { font-size: 24px; line-height: 25px; color: var(--ink-40); margin-top: 48px; }
.hero__scroll {
  font-size: 15px;
  line-height: 15px;
  color: var(--ink-40);
  animation: nudge 2s infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Countdown */
.countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 12px 24px;
  border: 1px solid var(--ink-30);
  margin-bottom: 25px;
}
.countdown__units { display: flex; align-items: center; gap: 25px; }
.countdown__unit { display: flex; align-items: center; gap: 12px; }
.countdown__value {
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  color: var(--ink);
}
.countdown__name {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ink-60);
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* 180px matches the English labels; longer Greek/Albanian ones grow instead
   of wrapping. */
.hero__actions .btn { min-width: 180px; }
.hero__actions > *:first-child { justify-self: end; }
.hero__actions > *:last-child { justify-self: start; }

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section { padding: 0 var(--gutter); }
.section__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 1px);
}
.section--narrow .section__inner { max-width: 672px; }
.section--story .section__inner { max-width: 896px; }

.section__eyebrow {
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--ink-60);
  text-align: center;
  margin-bottom: 8px;
}
.section__title {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 36px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-title);
  text-align: center;
  margin-bottom: 8px;
}
.section__divider {
  width: 96px;
  height: 1px;
  background: var(--ink-30);
  margin: 8px auto 16px;
}
.section__lede {
  font-size: 16px;
  line-height: 28px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. Details
   -------------------------------------------------------------------------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 64px 0 48px;
}
.detail-card {
  padding: 32px;
  background: var(--card);
  border: 2px solid var(--ink-20);
  text-align: center;
}
.detail-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border: 1px solid var(--ink-30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-card__icon svg { width: 20px; height: 20px; }
.detail-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: .9px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.detail-card p { font-size: 14px; line-height: 24px; color: var(--muted); }

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Line icons share one stroke treatment */
.icon-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-line--muted { stroke: rgba(46, 38, 31, .6); }

/* --------------------------------------------------------------------------
   9. Schedule
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 672px;
  margin: 64px auto 0;
  overflow: hidden;
}
.timeline::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: var(--ink-20);
}
.tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.tl-row:last-child { margin-bottom: 0; }
.tl-row::before {
  content: "";
  position: absolute;
  top: calc(50% - 24px);
  left: 50%;
  width: 12px; height: 12px;
  background: var(--ink-title);
  border: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 1;
}
.tl-row:last-child::before { top: 50%; }
.tl-time {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-70);
}
.tl-card {
  padding: 24px;
  background: var(--card);
  border: 2px solid var(--ink-20);
}
.tl-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: .9px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.tl-card p { font-size: 14px; line-height: 20px; color: var(--muted); }
.tl-row:nth-child(even) .tl-time { order: 2; }
.tl-row:nth-child(even) .tl-card { order: 1; }

/* --------------------------------------------------------------------------
   10. Location
   -------------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
  align-items: start;
}
.map-card { border: 2px solid var(--ink-20); background: var(--card); }
.map-card iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  /* Desaturated to sit in the newspaper palette, like the story portraits. */
  filter: grayscale(1);
}
.address-bar {
  padding: 24px;
  background: var(--card-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.address-bar__text { display: flex; gap: 12px; }
.address-bar__text svg { width: 18px; flex: none; margin-top: 5px; fill: rgba(46, 38, 31, .6); }
.address-bar h3,
.info-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: .9px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.address-bar p { font-size: 14px; line-height: 20px; color: var(--muted); }
.copy-btn {
  position: relative;
  width: 34px; height: 34px;
  flex: none;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-20);
  background: none;
  transition: background .2s ease;
}
.copy-btn:hover { background: rgba(46, 38, 31, .05); }
.copy-btn svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.copy-btn.is-copied svg { stroke: #3f6b45; }
.copy-btn::after {
  content: attr(data-copied-label);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
  background: var(--dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.copy-btn.is-copied::after { opacity: 1; }

.info-card {
  padding: 24px;
  background: var(--card-warm);
  border: 2px solid var(--card-warm);
  box-shadow: 0 4px 20px -4px rgba(61, 51, 41, .1);
  display: flex;
  gap: 12px;
}
.info-card h3 { margin-bottom: 10px; }
.info-card__icon {
  width: 40px; height: 40px;
  flex: none;
  border: 1px solid var(--ink-30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card__icon svg { width: 16px; height: 16px; }
.info-card ul { display: flex; flex-direction: column; gap: 8px; }
.info-card li {
  position: relative;
  padding-left: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.info-card li::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 100px;
  background: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Our story
   -------------------------------------------------------------------------- */
.story-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 64px 0;
}
.person {
  padding: 32px;
  background: var(--card);
  border: 2px solid var(--card-warm);
  text-align: center;
}
.person img {
  width: 100%;
  height: auto;
  filter: grayscale(1);
  margin-bottom: 16px;
}
.person h3 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: .9px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.person p { font-size: 14px; line-height: 20px; font-style: italic; color: var(--muted); }

.story-note {
  max-width: 748px;
  margin: 0 auto 64px;
  padding: 48px;
  background: var(--card);
  border: 2px solid var(--card-warm);
  text-align: center;
}
.story-note__ornament { font-size: 24px; line-height: 32px; color: var(--ink-40); }
.story-note__body {
  margin: 24px 0;
  font-size: 16px;
  line-height: 30px;
  color: var(--ink-80);
  text-align: left;
}
.story-note__body::first-letter {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  float: left;
  margin: 3px 8px 0 0;
}

.story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 748px;
  margin: 0 auto;
}
.fact {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--ink-20);
  text-align: center;
}
.fact svg { display: block; width: 20px; height: 20px; margin: 0 auto 12px; }
.fact h3 {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-60);
  margin-bottom: 4px;
}
.fact p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   12. Forms (RSVP + song request)
   -------------------------------------------------------------------------- */
.form-card {
  max-width: 672px;
  margin: 48px auto 0;
  padding: 48px;
  background: var(--card);
  border: 2px solid var(--ink-20);
}
.form-row { margin-bottom: 24px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label,
.form-legend {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--ink);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: .7px;
  color: var(--ink);
  background: rgba(246, 243, 238, .5);
  border: 1px solid var(--ink-30);
  border-radius: 0;
}
.form-row textarea { height: 98px; resize: vertical; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: #786658; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--ink-30);
  border-color: transparent;
}

.radio-group { display: flex; align-items: center; gap: 24px; }
.radio-group label,
.consent label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-transform: none;
  letter-spacing: .1px;
  font-size: 16px;
  cursor: pointer;
}
.radio-group input,
.consent input {
  width: 16px; height: 16px;
  padding: 0;
  accent-color: var(--ink);
  flex: none;
}
.consent { margin-top: 20px; }
.consent label { font-size: 14px; color: #786658; align-items: flex-start; }
.consent input { margin-top: 3px; }

.form-hidden { display: none; }

.form-note {
  margin-top: 24px;
  font-size: 14px;
  line-height: 16px;
  font-style: italic;
  color: var(--muted);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--dark);
  border: none;
  border-radius: 0;
  transition: background .2s ease;
}
.submit-btn:hover { background: rgba(59, 51, 43, .9); }
.submit-btn[disabled] { opacity: .5; cursor: not-allowed; }
.submit-btn svg { width: 16px; height: 16px; flex: none; }

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid var(--ink-20);
  background: rgba(246, 243, 238, .6);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #a8524f; color: #7c3a37; }
.form-status.is-success { border-color: #6f8a63; color: #3f5936; }

/* Song request intro */
.request-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.request-top__icon {
  width: 48px; height: 48px;
  flex: none;
  border: 2px solid var(--ink-30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.request-top__icon svg { width: 20px; height: 20px; }
.request-top p { font-size: 14px; line-height: 20px; font-style: italic; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { margin-top: 48px; }
.faq details { margin-bottom: 16px; background: var(--card); }
.faq details:last-child { margin-bottom: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 14px; height: 14px;
  flex: none;
  transition: transform .25s ease;
}
.faq details[open] summary svg { transform: rotate(180deg); }
.faq__answer { padding: 0 24px 20px; }
.faq__answer p { font-size: 14px; line-height: 20px; color: var(--muted); }
.faq__answer p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   14. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  margin-top: 48px;
  columns: 3;
  column-gap: 16px;
}
.gallery button {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  break-inside: avoid;
}
.gallery img {
  width: 100%;
  border: 2px solid var(--ink-20);
  transition: opacity .25s ease;
}
.gallery button:hover img { opacity: .85; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(46, 38, 31, .9);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 96px); object-fit: contain; }
.lightbox__btn {
  position: absolute;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 243, 238, .12);
  border: 1px solid rgba(246, 243, 238, .3);
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
}
.lightbox__btn:hover { background: rgba(246, 243, 238, .22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 0 var(--gutter); }
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px 0;
  text-align: center;
}
.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.footer-ornament span { font-size: 20px; line-height: 28px; color: var(--ink-40); }
.footer-ornament i { display: block; width: 64px; height: 1px; background: var(--ink-20); }
.site-footer__names {
  font-family: var(--black-letter);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: var(--ink-title);
  margin-bottom: 16px;
}
.site-footer__date {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--ink-60);
  margin-bottom: 32px;
}
.site-footer__thanks {
  max-width: 448px;
  margin: 0 auto 22px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.site-footer__hashtag {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.4px;
  font-weight: 400;
  color: var(--ink-60);
}
.site-footer__colophon {
  margin-top: 48px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(117, 102, 87, .5);
}

/* --------------------------------------------------------------------------
   16. Reveal on scroll
   -------------------------------------------------------------------------- */
/* Only hide content once JS has confirmed it can reveal it again — see the
   inline head script. Without that class every .reveal stays visible. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header__inner { gap: 15px; }
  /* The nav is absolutely positioned here, so its margin-left:auto no longer
     pushes anything — the switcher has to claim the free space itself. */
  .lang { margin-left: auto; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 24px;
    background: var(--cream);
    box-shadow: 0 4px 20px -4px rgba(61, 51, 41, .1);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 16px; }
  .main-nav li { border-bottom: 1px solid var(--ink-10); padding-bottom: 12px; }
  .main-nav li:last-child { border-bottom: 0; padding-bottom: 0; }
  .main-nav .nav-cta a {
    display: block;
    padding: 12px 24px;
    text-align: center;
    background: var(--dark);
    color: var(--cream);
    letter-spacing: .05em;
  }
  .main-nav .nav-cta a::after { display: none; }
  .header-cta { display: none; }
}

@media (min-width: 1025px) {
  .main-nav .nav-cta { display: none; }
}

/* Greek labels are long; keep the row on one line at the narrow end of the
   desktop range by tightening the gaps rather than letting items wrap. */
@media (min-width: 1025px) and (max-width: 1150px) {
  .site-header__inner { gap: 16px; }
  .main-nav ul { gap: 16px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 88px; }
  .hero { padding-top: 160px; }
  .hero__names { font-size: 52px; line-height: 56px; }
  .detail-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .story-people { grid-template-columns: 1fr; }
  .story-note { padding: 32px; }
  .form-card { padding: 32px 24px; }
  .gallery { columns: 2; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 140px; }
  .hero__masthead { font-size: 28px; line-height: 30px; }
  .hero__names { font-size: 42px; line-height: 46px; }
  .hero__actions { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__actions > *:first-child,
  .hero__actions > *:last-child { justify-self: stretch; }
  .section__title { font-size: 28px; line-height: 32px; letter-spacing: 2.4px; }

  .countdown { flex-direction: column; gap: 8px; width: 100%; }
  .countdown__units { gap: 18px; }

  .timeline::after { left: 51px; transform: none; }
  .tl-row { grid-template-columns: 40px 1fr; gap: 25px; }
  .tl-row::before { left: 51px; }
  .tl-row:nth-child(even) .tl-time { order: 0; }
  .tl-row:nth-child(even) .tl-card { order: 0; }
  .tl-card { padding: 20px; }

  .story-facts { grid-template-columns: 1fr; }
  .radio-group { flex-direction: column; align-items: flex-start; gap: 14px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn { width: 100%; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}
