/* weddingbee.gr — light editorial, mirrors the live site's language:
   white ground, B&W photos dissolving into the page, minimal centered sections,
   one champagne-gold accent. Mobile-first: base styles are the phone layout. */

:root{
  --paper: #f8f5ef;
  --ink: #1b1b1e;
  --ink-soft: #5d5d63;
  --line: rgba(27,27,30,.12);
  --gold: #b8944e;
  --gold-soft: #cfb078;
  --glass-tint: 255,255,255;
  /* elegant paper: warm base + soft fibrous mottling (baked SVG noise, tiled) */
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.017' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.5  0 0 0 0 0.42  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

*{ box-sizing:border-box; margin:0; }
/* overflow-x on html, and `clip` not `hidden` — `hidden` would create a scroll
   container and break the sticky hero pin */
html{ -webkit-text-size-adjust:100%; background:var(--paper); overflow-x:clip; }
body{
  font-family:var(--sans);
  color:var(--ink);
  background-color:var(--paper);
  background-image:var(--paper-tex);
  background-size:420px 420px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{ color:inherit; text-decoration:none; }
img,canvas{ display:block; max-width:100%; }
::selection{ background:var(--gold); color:#fff; }

/* faint film grain over everything — keeps the photographic feel on white */
.filmgrain{ position:fixed; inset:0; z-index:40; pointer-events:none; }
.filmgrain::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.035; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:128px 128px;
}

/* ---------- shared type ---------- */
.eyebrow, .count-eyebrow{
  font-size:.68rem; letter-spacing:.34em; text-transform:uppercase;
  color:var(--gold); font-weight:500;
}
.rule{ display:block; width:1px; height:clamp(40px,7vh,60px); margin:0 auto; background:linear-gradient(var(--gold),transparent); }

/* ---------- liquid glass (light) ---------- */
.glass{
  position:relative;
  background:linear-gradient(155deg, rgba(255,255,255,.8), rgba(255,255,255,.55));
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border:1px solid rgba(27,27,30,.08);
  border-radius:20px;
  box-shadow: 0 24px 60px -28px rgba(27,27,30,.25), inset 0 1px 0 rgba(255,255,255,.9);
}
@supports (backdrop-filter: blur(1px)){
  .glass::after{
    content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); filter:url(#glass-refract); opacity:.35;
  }
}

/* ---------- NAV (light glass pill; appears after the hero) ----------
   monogram · thin separator · uppercase micro-links · concentric gold RSVP pill */
.nav{
  position:fixed; top:12px; left:12px; right:12px; z-index:60;
  display:flex; align-items:center; gap:.9rem;
  padding:.4rem .4rem .4rem 1.05rem; border-radius:100px;
  transform:translateY(-160%); transition:transform .7s var(--ease);
}
.nav.in{ transform:translateY(0); }
.nav-brand{
  font-family:var(--serif); font-style:italic; font-size:1.15rem; line-height:1;
  color:var(--ink); letter-spacing:.02em; transform:translateY(-1px); /* optical baseline */
}
.nav-brand em{ font-style:italic; color:var(--gold); padding:0 .06em; }
.nav-sep{ width:1px; height:18px; background:var(--line); }
.nav-links{ display:flex; align-items:center; justify-content:flex-end; flex:1; gap:1.05rem; }
.nav-links a{
  color:var(--ink-soft); font-size:.68rem; font-weight:500; line-height:1;
  letter-spacing:.16em; text-transform:uppercase; transition:color .3s;
}
.nav-links a:hover{ color:var(--gold); }
.nav-links .lg{ display:none; }
.nav-cta{
  background:var(--gold); color:#fff !important; font-weight:600;
  padding:.66rem 1.15rem; border-radius:100px; letter-spacing:.16em;
  box-shadow:0 8px 20px -10px rgba(184,148,78,.6);
}
.nav-cta:hover{ color:#fff !important; filter:brightness(1.06); }
/* ΕΛ / EN language toggle — same micro-type as the nav links, gold marks the active language */
.lang-toggle{
  appearance:none; background:none; border:0; cursor:pointer; padding:0; font-family:inherit;
  display:inline-flex; align-items:center; gap:.3em;
  font-size:.68rem; font-weight:500; line-height:1; letter-spacing:.16em; color:var(--ink-soft);
}
.lang-toggle [data-lang]{ transition:color .3s; }
.lang-toggle [data-lang].on{ color:var(--gold); font-weight:600; }
.lang-toggle:hover [data-lang]:not(.on){ color:var(--ink); }
.lang-sep{ color:var(--line); font-weight:400; }
@media (min-width:561px){
  .nav{ left:50%; right:auto; transform:translateX(-50%) translateY(-160%); gap:1.2rem; padding:.4rem .4rem .4rem 1.3rem; }
  .nav.in{ transform:translateX(-50%) translateY(0); }
  .nav-links{ flex:none; gap:clamp(1rem,2.3vw,1.7rem); }
  .nav-links .lg{ display:inline; }
}
/* ≥600px there's room to breathe — larger nav type (kept off the 561–599 band so it can't overflow) */
@media (min-width:600px){
  .nav-brand{ font-size:1.3rem; }
  .nav-links a, .lang-toggle{ font-size:.8rem; }
}
/* Phones: the English labels ("Directions") are wider than Greek, so tighten type + spacing
   (keep the monogram) to hold the whole nav — RSVP included — inside the pill down to 360px. */
@media (max-width:560px){
  .nav{ padding:.4rem .4rem .4rem .7rem; gap:.45rem; }
  .nav-links{ gap:.5rem; }
  .nav-links a, .lang-toggle{ font-size:.7rem; letter-spacing:.06em; }
  .nav-cta{ padding:.55rem .85rem; }
}

/* ---------- INTRO overlay (kept — filmic open) ---------- */
.intro{ position:fixed; inset:0; z-index:100; background:#101012; display:grid; place-content:center; gap:1.4rem; text-align:center; transition:opacity 1.1s var(--ease), visibility 1.1s, transform 1.2s var(--ease), filter 1.1s var(--ease); }
/* liquid hand-off: the loader scales up + blurs as it fades, uncovering the hero's displacement reveal beneath */
.intro.done{ opacity:0; visibility:hidden; transform:scale(1.08); filter:blur(9px); }
.intro-mark{ width:min(58vw,360px); height:auto; margin:0 auto; }
.intro-names{ font-family:var(--serif); font-style:italic; color:var(--gold-soft); font-size:clamp(1.1rem,4vw,1.7rem); letter-spacing:.02em; overflow:hidden; }
.intro-names span{ display:inline-block; transform:translateY(110%); }

/* ---------- HERO (kept — WebGL B&W slider), pinned: the page slides over it ---------- */
.hero{ position:sticky; top:0; z-index:0; height:80svh; min-height:420px; overflow:hidden; background:#101012; color:#fff; }
.hero-canvas{ position:absolute; inset:0; width:100%; height:100%; }
/* loading state: a slow light sweep over the dark canvas until the first photo lands */
.hero::before{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(115deg, transparent 42%, rgba(246,242,236,.07) 50%, transparent 58%);
  background-size:280% 280%; background-position:120% 0;
  animation:herosweep 2.4s linear infinite;
  opacity:1; transition:opacity 1s var(--ease);
}
.hero.photos-in::before{ opacity:0; animation:none; }
@keyframes herosweep{ from{ background-position:120% 0; } to{ background-position:-60% 0; } }
.hero-veil{
  position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.3), transparent 30%, rgba(0,0,0,.3) 100%);
}
.hero-grain{ display:none; }
/* names live just below the photo, on the frosted sheet — top peeks above the fold */
.title{ display:grid; justify-items:center; gap:.4rem; padding-top:clamp(2rem,6vh,3.4rem); padding-bottom:clamp(1rem,3vw,1.6rem); }
.hero-kicker{ font-size:.7rem; letter-spacing:.32em; text-transform:uppercase; color:var(--gold); margin-bottom:1.1rem; }
.hero-names{ font-family:var(--serif); font-weight:400; line-height:.92; font-size:clamp(3rem,14vw,8.5rem); letter-spacing:-.02em; color:var(--ink); }
/* the ampersand: italic serif flanked by hairlines fading toward the names */
.hero-names .amp{
  display:flex; align-items:center; justify-content:center; gap:.7em;
  font-style:italic; font-size:.32em; line-height:1; color:var(--gold); margin:.22em 0;
}
.hero-names .amp::before, .hero-names .amp::after{
  content:""; width:1.8em; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-soft));
}
.hero-names .amp::after{ background:linear-gradient(270deg, transparent, var(--gold-soft)); }
.hero-names .n1,.hero-names .n2{ display:block; }
.hero-date{ font-family:var(--serif); font-style:italic; font-size:clamp(1.6rem,6vw,2.5rem); letter-spacing:.3em; margin-top:1.1rem; color:var(--ink-soft); }
.hero-dots{ position:absolute; bottom:48px; left:50%; transform:translateX(-50%); z-index:6; display:flex; gap:9px; }
.hero-dots button{ width:7px; height:7px; border-radius:50%; border:0; padding:0; cursor:pointer; background:rgba(255,255,255,.45); transition:all .4s var(--ease); }
.hero-dots button.on{ background:var(--gold-soft); width:22px; border-radius:4px; }
.hero-scroll{ display:none; position:absolute; bottom:22px; right:26px; z-index:6; width:26px; height:42px; border:1px solid rgba(255,255,255,.5); border-radius:14px; }
.hero-scroll span{ position:absolute; top:8px; left:50%; width:3px; height:8px; margin-left:-1.5px; border-radius:2px; background:var(--gold-soft); animation:scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot{ 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 80%{opacity:0;transform:translateY(14px)} 100%{opacity:0} }
@media (min-width:561px){ .hero-scroll{ display:block; } }

/* ---------- section frame: a frosted paper sheet sliding over the pinned hero —
     the B&W photos stay faintly visible through it ---------- */
main{
  position:relative; z-index:2;
  background-color:rgba(248,245,239,.8);
  background-image:var(--paper-tex);
  background-size:420px 420px;
  -webkit-backdrop-filter:blur(22px) saturate(1.15);
          backdrop-filter:blur(22px) saturate(1.15);
  border-radius:26px 26px 0 0;
  box-shadow:0 -26px 60px rgba(0,0,0,.3);
  margin-top:-30px; /* overlap the photo so the rounded corners read from the very start */
}
/* no backdrop-filter (old browsers): near-opaque so text never sits on a raw photo */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  main{ background-color:rgba(248,245,239,.97); }
}
/* mobile-first rhythm: ~54px section air on a phone, growing to ~120px on desktop */
section{ padding:clamp(3.4rem,10vw,7.5rem) 1.4rem; max-width:1000px; margin:0 auto; text-align:center; }

/* ---------- ΘΑ ΠΑΡΕΥΡΕΘΩ (early ask) ---------- */
.ask{ display:grid; justify-items:center; gap:1.3rem; }
.ask .rule{ height:clamp(24px,4vh,36px); }
.ask-title{ font-family:var(--serif); font-style:italic; font-weight:500; font-size:clamp(2.4rem,9vw,4.2rem); line-height:1; }
.ask-venue{ color:var(--ink-soft); font-size:1rem; letter-spacing:.02em; }
.ask-cta{
  display:inline-block; margin-top:.6rem; padding:1rem 2.6rem; border-radius:100px;
  background:var(--gold); color:#fff; font-weight:600; font-size:.84rem;
  letter-spacing:.18em; text-transform:uppercase;
  box-shadow:0 14px 34px -14px rgba(184,148,78,.55);
  transition:transform .3s var(--ease), box-shadow .3s;
}
.ask-cta:hover{ transform:translateY(-2px); box-shadow:0 20px 40px -14px rgba(184,148,78,.6); }
.ask-cta-secondary{
  display:inline-block; color:var(--ink-soft); font-size:.72rem;
  letter-spacing:.16em; text-transform:uppercase;
  border-bottom:1px solid rgba(0,0,0,.18); padding-bottom:2px;
  transition:color .3s var(--ease), border-color .3s;
}
.ask-cta-secondary:hover{ color:var(--ink); border-color:var(--ink); }

/* ---------- ΚΟΥΜΠΑΡΟΙ / ΟΙΚΟΓΕΝΕΙΕΣ ---------- */
.people{ display:grid; gap:clamp(2.4rem,8vw,3.2rem); }
.people-title{
  font-family:var(--serif); font-style:italic; font-weight:500;
  font-size:clamp(1.9rem,7vw,2.8rem); margin-bottom:1rem;
}
.people-names p{ font-size:1.02rem; color:var(--ink-soft); letter-spacing:.02em; line-height:2; }
@media (min-width:640px){
  .people{ grid-template-columns:1fr 1fr; align-items:start; max-width:820px; margin-inline:auto; }
}

/* ---------- COUNTDOWN ---------- */
.count{ display:grid; justify-items:center; gap:2rem; }
.count-line{ display:flex; flex-wrap:nowrap; align-items:flex-start; justify-content:center; gap:clamp(.6rem,3.5vw,1.8rem); }
.count-line .cu{ display:grid; justify-items:center; gap:.45rem; min-width:0; }
.count-line .num{ font-family:var(--serif); font-weight:500; font-size:clamp(2.8rem,12vw,6.4rem); line-height:.85; font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; }
.count-line .lbl{ font-style:normal; font-size:.6rem; letter-spacing:.26em; text-transform:uppercase; color:var(--ink-soft); }
.count-line .sep{ display:none; }
@media (min-width:521px){
  .count-line{ flex-wrap:nowrap; gap:clamp(1rem,4vw,3rem); }
  .count-line .sep{ display:block; align-self:center; width:1px; height:clamp(2.4rem,6vw,4.2rem); background:var(--line); }
}

/* ---------- ΟΔΗΓΙΕΣ ---------- */
.details{ display:grid; justify-items:center; gap:.5rem; }
.details .people-title{ margin-bottom:.6rem; }
.details-label{ color:var(--gold); font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; font-weight:600; }
.details-label-2{ margin-top:2.6rem; }
.details-venue{ font-size:1.15rem; font-weight:500; }
.details-addr{ color:var(--ink-soft); font-size:.95rem; }
.rsvp-deadline:empty{ display:none; }
.map-link{
  display:inline-flex; align-items:center; gap:.6rem; margin-top:1.6rem;
  color:var(--gold); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  border:1px solid rgba(184,148,78,.4); border-radius:100px; padding:.8rem 1.6rem;
  transition:background .3s, color .3s;
}
.map-link:hover{ background:var(--gold); color:#fff; }
.map-link .map-arrow{ transition:transform .3s var(--ease); }
.map-link:hover .map-arrow{ transform:translateX(4px); }
.map-embed{
  width:min(86vw, 560px); aspect-ratio:4 / 3; margin-top:2.2rem; /* definite width: never 0 at Leaflet init */
  border:1px solid var(--line); border-radius:20px; overflow:hidden; background:#e9e5dc;
  box-shadow:0 18px 44px rgba(0,0,0,.12); z-index:0;
}
@media (min-width:600px){ .map-embed{ aspect-ratio:16 / 9; } }
.map-embed .map-pin{ background:none; border:0; filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
/* softly colorful + elegant: gentle desaturation, not full B&W */
.map-embed .leaflet-tile-pane{ filter:saturate(.9) contrast(1.02); }
.leaflet-container{ font-family:inherit; background:#eae7df; }
.leaflet-control-attribution{ font-size:9px; background:rgba(255,255,255,.7); }
/* permanent point labels */
.map-embed .map-label{
  background:rgba(255,255,255,.94); border:0; border-radius:7px; padding:3px 9px;
  font-family:inherit; font-size:.66rem; font-weight:600; letter-spacing:.01em; color:#26242a;
  box-shadow:0 3px 10px rgba(0,0,0,.16); white-space:nowrap;
}
.map-embed .leaflet-tooltip-top.map-label::before{ border-top-color:rgba(255,255,255,.94); }

/* ---------- ΚΑΙΡΟΣ (static) ---------- */
.weather{ display:grid; justify-items:center; gap:.8rem; }
.weather .people-title{ margin-bottom:0; }
.weather-note{ color:var(--ink-soft); font-size:.98rem; max-width:38ch; }
.weather-stats{ display:flex; flex-wrap:wrap; justify-content:center; gap:1.6rem 2.6rem; margin-top:1.4rem; }
.weather-stats .wu{ display:grid; justify-items:center; gap:.45rem; }
.weather-stats b{ font-family:var(--serif); font-weight:500; font-size:clamp(1.9rem,7vw,2.8rem); line-height:1; }
.weather-stats i{ font-style:normal; font-size:.6rem; letter-spacing:.26em; text-transform:uppercase; color:var(--ink-soft); }

/* ---------- RSVP — solid card on the paper (no photo behind it any more) ---------- */
.rsvp{ position:relative; }
.confetti{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:3; }
.rsvp-card{
  position:relative; z-index:2; max-width:540px; margin:0 auto;
  padding:clamp(1.8rem,6vw,3.4rem); text-align:center;
  border-radius:24px; /* bg/border/blur come from .glass */
  box-shadow:0 30px 70px -34px rgba(27,27,30,.35);
}
.rsvp-card::before{ /* thin gold accent along the top of the card */
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:56px; height:3px; border-radius:0 0 3px 3px; background:var(--gold);
}
.rsvp-card .eyebrow{ display:block; margin-bottom:.8rem; }
.rsvp-card .section-title{ font-family:var(--serif); font-style:italic; font-weight:500; font-size:clamp(2.2rem,8vw,4rem); line-height:1; }
.rsvp-deadline{ color:var(--ink-soft); font-size:.9rem; margin:.9rem 0 2rem; }
#rsvpForm{ display:grid; gap:1.15rem; text-align:left; margin-top:2rem; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.field{ display:grid; gap:.4rem; }
.field > span{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); font-weight:500; }
.field > span em{ font-style:normal; opacity:.6; text-transform:none; letter-spacing:0; }
.field input, .field textarea{
  font-family:var(--sans); font-size:1rem; color:var(--ink);
  padding:.9rem 1rem; border-radius:12px; border:1px solid rgba(27,27,30,.1);
  background:rgba(255,255,255,.45);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
          backdrop-filter:blur(10px) saturate(1.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
  transition:border-color .3s, box-shadow .3s, background .3s; resize:vertical;
  width:100%;
}
.field input::placeholder, .field textarea::placeholder{ color:rgba(27,27,30,.32); }
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); background:rgba(255,255,255,.7);
  box-shadow:0 0 0 3px rgba(184,148,78,.16), inset 0 1px 0 rgba(255,255,255,.85);
}
.field-guests{ transition:opacity .4s, max-height .5s var(--ease); overflow:hidden; }
.field-guests.hide{ opacity:0; max-height:0; margin:-.575rem 0; pointer-events:none; }

.attend{ border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:.6rem; }
/* float un-specials the legend; full-row span keeps Ναι/Όχι side by side under it */
.attend legend{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); font-weight:500; margin-bottom:.2rem; float:left; grid-column:1 / -1; text-align:left; }
.choice{ display:block; }
.choice input{ position:absolute; opacity:0; width:0; height:0; }
.choice-btn{
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding:1rem; border-radius:14px; cursor:pointer; font-weight:500; letter-spacing:.02em;
  background:rgba(255,255,255,.45); border:1px solid rgba(27,27,30,.1);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
          backdrop-filter:blur(10px) saturate(1.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
  transition:all .35s var(--ease);
}
.choice-btn::before{ content:""; width:15px; height:15px; border-radius:50%; border:1.5px solid var(--ink-soft); transition:all .3s; }
.choice input:checked + .choice-btn{ border-color:var(--gold); background:rgba(184,148,78,.08); box-shadow:0 0 0 3px rgba(184,148,78,.14); }
.choice input:checked + .choice-btn::before{ border-color:var(--gold); background:var(--gold); box-shadow:inset 0 0 0 3px #fff; }
.choice input:focus-visible + .choice-btn{ outline:2px solid var(--gold); outline-offset:2px; }

.submit{
  margin-top:.4rem; padding:1.05rem; border:0; cursor:pointer; border-radius:100px;
  font-family:var(--sans); font-size:.82rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  color:#fff; background:var(--gold);
  box-shadow:0 14px 34px -14px rgba(184,148,78,.55);
  transition:transform .3s var(--ease), filter .3s;
}
.submit:hover{ transform:translateY(-2px); filter:brightness(1.05); }
.submit:disabled{ opacity:.6; cursor:default; transform:none; }
.form-note{ text-align:center; font-size:.86rem; min-height:1.2em; color:var(--ink-soft); }
.form-note.err{ color:#b04a3a; }
.form-note.ok{ color:var(--gold); font-family:var(--serif); font-style:italic; font-size:1.25rem; }

/* ---------- ΕΠΙΚΟΙΝΩΝΙΑ ---------- */
.contact{ display:grid; justify-items:center; gap:1.2rem; }
.contact-list{ display:grid; gap:2rem; }
.contact-name{ font-family:var(--serif); font-style:italic; font-size:1.45rem; margin-bottom:.7rem; }
.contact-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:.55rem; }
.contact-links a{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.8rem 1.25rem; border-radius:100px; /* ≥44px tap target */
  border:1px solid var(--line); background:#fff;
  font-size:.8rem; letter-spacing:.04em; color:var(--ink-soft);
  transition:border-color .3s, color .3s;
}
.contact-links a:hover{ border-color:var(--gold); color:var(--gold); }
/* brand colors: icon always tinted, whole pill takes the brand on hover */
.contact-links .viber svg{ color:#7360f2; }
.contact-links .whatsapp svg{ color:#25d366; }
.contact-links .viber:hover{ border-color:#7360f2; color:#7360f2; }
.contact-links .whatsapp:hover{ border-color:#1faf55; color:#1faf55; }
@media (min-width:640px){
  .contact-list{ grid-template-columns:1fr 1fr; gap:2rem 4rem; }
}

/* ---------- FOOTER ---------- */
.foot{ text-align:center; padding:clamp(3.2rem,9vw,6rem) 1.5rem 2.6rem; display:grid; justify-items:center; gap:.8rem; }
.foot .rule{ margin-bottom:.4rem; }
.foot-names{ font-family:var(--serif); font-style:italic; font-size:clamp(2.2rem,9vw,4.2rem); line-height:1; }
.foot-date{ font-size:.74rem; letter-spacing:.3em; text-transform:uppercase; color:var(--ink-soft); }
.foot-hash{ color:var(--gold); letter-spacing:.08em; font-size:.9rem; }
.foot-credit{ margin-top:1.6rem; font-size:.64rem; letter-spacing:.26em; text-transform:uppercase; color:rgba(27,27,30,.35); }

/* ---------- reveal-on-scroll ---------- */
[data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].seen{ opacity:1; transform:none; }
.rule[data-reveal]{ transform:scaleY(0); transform-origin:top; }
.rule[data-reveal].seen{ transform:scaleY(1); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition-duration:.01ms !important; }
  .intro{ display:none; }
  [data-reveal]{ opacity:1; transform:none; }
}
