/*
  Calm minimal paper + tiny oil-painted flower details
  - All content in config.json
  - Bilingual inline: Dutch first; English in italic serif
*/

:root{
  --display: 'Corinthia', cursive;
  --script: 'Corinthia', cursive;

  --ink: rgba(24, 20, 18, 0.90);
  --muted: rgba(24, 20, 18, 0.62);

  --stroke: rgba(24, 20, 18, 0.10);
  --stroke2: rgba(24, 20, 18, 0.06);

  --paper: rgba(255,255,255,0.86);
  --paper2: rgba(255,255,255,0.66);

  --accent: rgba(142,106,74,0.80);
  --accentSoft: rgba(142,106,74,0.16);

  --radius: 20px;
  --radius2: 28px;

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --serif: ui-serif, "Times New Roman", Times, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x:hidden;

  background:
    radial-gradient(900px 520px at 20% 10%, rgba(250, 220, 232, 0.14), transparent 62%),
    radial-gradient(900px 560px at 85% 18%, rgba(214, 236, 255, 0.14), transparent 62%),
    radial-gradient(900px 560px at 50% 86%, rgba(226, 252, 238, 0.14), transparent 62%),
    url("assets/paper.png");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto, 640px 640px;
  background-attachment: fixed, fixed, fixed, fixed;
}

/* delicate floral corner details */
body::before,
body::after{
  content:"";
  position: fixed;
  pointer-events:none;
  z-index: 0;
  opacity: 0.38;
  filter: saturate(0.98) contrast(0.98);
}
body::before{
  left: -34px;
  bottom: -34px;
  width: min(340px, 52vw);
  height: min(340px, 52vw);
  background: url("assets/flowers-bl.png") no-repeat;
  background-size: contain;
}
body::after{
  right: -32px;
  top: -34px;
  width: min(320px, 48vw);
  height: min(320px, 48vw);
  background: url("assets/flowers-tr.png") no-repeat;
  background-size: contain;
  opacity: 0.30;
}

main{ position:relative; z-index: 1; }

/* Fade the background a touch so text pops */
html::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.42);
  pointer-events:none;
  z-index: 0;
}


/* Skip */
.skip{
  position:absolute; left:-999px; top:0;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
}
.skip:focus{ left: 12px; top: 12px; z-index: 999; }

/* Inline bilingual */
.bi{ display:inline; }
.bi__nl{ font-weight: 760; }
.bi__en{
  margin-left: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  color: var(--muted);
}
.bi--tight .bi__en{ margin-left: 8px; }
.bi--h2 .bi__nl{ font-weight: 860; }
.bi--h2 .bi__en{ font-size: 0.92em; }
.bi--h3 .bi__en{ font-size: 0.92em; }
.bi--cta .bi__en{ display:none; }

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 16px;
}

.brand{ display:flex; gap: 12px; align-items:center; }
.brand__mark{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--stroke2);
}
.brand__mark::after{
  content:"";
  position:absolute;
  inset:-2px;
  
  background-size: 420px 420px;
  opacity: 0.28;
  mix-blend-mode: multiply;
}
.brand__sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav{ display:flex; gap: 8px; align-items:center; }
.nav__link{
  color: var(--muted);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
}
.nav__link:hover{
  color: var(--ink);
  background: rgba(255,255,255,0.50);
  border-color: var(--stroke2);
}
.nav__cta{
  text-decoration:none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(142,106,74,0.38);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.nav__cta:hover{ transform: translateY(-1px); box-shadow: 0 18px 52px rgba(0,0,0,0.14); }

/* Hero */
.hero{ padding: 38px 16px 18px; }
.hero__wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 22px 24px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.50);
  border: 1px solid var(--stroke2);
border: 1px solid var(--stroke2);
  position:relative;
  overflow:hidden;
  box-shadow: 0 26px 90px rgba(0,0,0,0.09);
}

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,0.52);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  position:relative;
  z-index: 1;
}
.badge__chip{
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,0.58);
}
.badge__arrow{ opacity:0.7; }

.hero__title{
  margin: 18px 0 8px;
  font-size: clamp(30px, 4.3vw, 56px);
  position:relative;
  z-index: 1;
}
.hero__subtitle{
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--muted);
  position:relative;
  z-index: 1;
}

.hero__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 16px;
  position:relative;
  z-index: 1;
}
.hero__note{
  margin-top: 16px;
  color: var(--muted);
  position:relative;
  z-index: 1;
}

/* Buttons */
.btn{
  appearance:none;
  border: 1px solid var(--stroke2);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  text-decoration:none;
  font-weight: 780;
  font-size: 13px;
  cursor:pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}
.btn--primary{
  border-color: rgba(142,106,74,0.40);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 44px rgba(0,0,0,0.12);
}
.btn--primary:hover{ box-shadow: 0 22px 58px rgba(0,0,0,0.14); }
.btn--ghost{ background: rgba(255,255,255,0.48); }

/* Sections */
.section{ padding: 30px 16px; }
.section--soft{
  background: rgba(255,255,255,0.22);
  }
.section__head{ max-width: 980px; margin: 0 auto 14px; }
.section__title{ margin: 0 0 6px; font-size: 22px; }
.section__subtitle{ margin:0; color: var(--muted); }

/* Less boxy info blocks */
.cards{
  max-width: 980px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 6;
  padding: 14px 4px;
  border-radius: 0;
  border: none;
  background: transparent;
  position:relative;
}
.card::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(142,106,74,0.22), transparent);
}
.card__label{ font-size: 12px; color: var(--muted); }
.card__value{ margin-top: 6px; font-weight: 860; font-size: 16px; }
.card__hint{ margin-top: 4px; color: var(--muted); font-size: 13px; }

.sep{ margin: 0 8px; color: var(--muted); }
.link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(142,106,74,0.32);
}
.link:hover{ border-bottom-color: rgba(142,106,74,0.55); }
.linklike{
  background: none; border: none; padding: 0; color: inherit;
  font: inherit; cursor: pointer;
  border-bottom: 1px dashed rgba(142,106,74,0.32);
}
.linklike:hover{ border-bottom-color: rgba(142,106,74,0.55); }

.story{
  max-width: 980px;
  margin: 18px auto 0;
  border-radius: var(--radius);
  padding: 16px 16px;
  background: rgba(255,255,255,0.40);
  border: 1px solid var(--stroke2);
}
.story__p{ margin:0; color: var(--muted); }

/* Timeline */
.timeline{ max-width: 980px; margin: 0 auto; display:grid; gap: 12px; }
.tl{ display:grid; grid-template-columns: 86px 1fr; gap: 12px; align-items:start; }
.tl__time{
  font-family: var(--mono);
  color: var(--muted);
  text-align:right;
  padding-top: 10px;
}
.tl__body{
  border: 1px solid var(--stroke2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.50);
  padding: 12px 14px;
}
.tl__title{ font-weight: 900; }
.tl__detail{ margin-top: 4px; color: var(--muted); }

/* Travel */
.split{ max-width: 980px; margin: 0 auto; display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel{
  border: 1px solid var(--stroke2);
  border-radius: var(--radius);
  padding: 16px 16px;
  background: rgba(255,255,255,0.50);
}
.panel__title{ margin: 0 0 6px; font-size: 16px; }
.panel__p{ margin:0; color: var(--muted); }

/* FAQ */
.faq{ max-width: 980px; margin: 0 auto; display:grid; gap: 12px; }
.qa{
  border: 1px solid var(--stroke2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.52);
  overflow:hidden;
}
.qa__q{
  padding: 12px 14px;
  cursor:pointer;
  list-style:none;
  font-weight: 880;
}
.qa__q::-webkit-details-marker{ display:none; }
.qa__a{ padding: 0 14px 14px; color: var(--muted); }
.qa[open] .qa__q{ background: rgba(142,106,74,0.06); }

/* Footer */
.footer{ padding: 22px 16px 34px; }
.footer__inner{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  padding-top: 18px;
}
.footer__line{ color: var(--muted); font-size: 13px; }
.footer__right{ display:flex; gap: 12px; align-items:center; }
.footer__link{ color: var(--muted); text-decoration:none; border-bottom: 1px dashed transparent; }
.footer__link:hover{ color: var(--ink); border-bottom-color: var(--stroke); }

/* Modal */
.modal{ border: none; padding: 0; background: transparent; }
.modal::backdrop{ background: rgba(0,0,0,0.30); backdrop-filter: blur(6px); }
.modal__card{
  width: min(760px, calc(100vw - 24px));
  margin: 10vh auto 0;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius2);
  padding: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.18);
}
.modal__head{ display:flex; justify-content:space-between; align-items:center; gap: 10px; padding: 6px 6px 10px; }
.modal__title{ margin:0; font-size: 16px; }
.modal__sub{ margin: 0 6px 12px; color: var(--muted); }
.iconbtn{
  appearance:none;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,0.75);
  color: var(--ink);
  width: 36px; height: 36px;
  border-radius: 14px;
  cursor:pointer;
}
.modal__grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 6px 10px; }
.modal__foot{ display:flex; justify-content:flex-end; padding: 0 6px 6px; }

.calbtn{
  display:flex; gap: 12px; align-items:center;
  text-decoration:none;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius);
  padding: 12px 12px;
  color: var(--ink);
}
.calbtn:hover{ box-shadow: 0 14px 30px rgba(0,0,0,0.10); transform: translateY(-1px); }
.calbtn__icon{
  width: 42px; height: 42px;
  border-radius: 16px;
  display:grid; place-items:center;
  border: 1px solid var(--stroke2);
  background: rgba(142,106,74,0.10);
  font-family: var(--mono);
  color: var(--muted);
}
.calbtn__t{ font-weight: 900; display:block; }
.calbtn__s{ font-size: 12px; color: var(--muted); display:block; margin-top: 2px; }

/* Responsive */
@media (max-width: 920px){
  .nav{ display:none; }
}
@media (max-width: 760px){
  .cards{ grid-template-columns: 1fr; }
  .card{ grid-column: 1 / -1; }
  .split{ grid-template-columns: 1fr; }
  .tl{ grid-template-columns: 70px 1fr; }
  .modal__grid{ grid-template-columns: 1fr; }
  .bi__en{ display:block; margin-left:0; margin-top: 4px; }
  .bi--tight .bi__en{ margin-top: 3px; }
  body::before{ left: -120px; bottom: -120px; opacity: 0.30; }
  body::after{ right: -120px; top: -120px; opacity: 0.40; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .btn, .calbtn{ transition:none; }
  .btn:hover, .calbtn:hover{ transform:none; }
}

/* Couple photo */
.hero__photo{
  margin-top: 18px;
  display:flex;
  justify-content:flex-start;
  position:relative;
  z-index: 1;
}
.couple{
  width: 116px;
  height: 116px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(24,20,18,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
}
@media (max-width: 760px){
  .couple{ width: 104px; height: 104px; }
}

/* v6 layout: single column everywhere */
.cards{ grid-template-columns: 1fr !important; }
.card{ grid-column: 1 / -1 !important; }
.split{ grid-template-columns: 1fr !important; }

/* Hero layout: text + photo side by side */
.hero__layout{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
  position:relative;
  z-index: 1;
}
.hero__text{ flex: 1 1 auto; min-width: 0; }
.hero__photo{
  flex: 0 0 auto;
  margin-top: 8px;
  display:flex;
  justify-content:flex-end;
}
.couple{
  width: 168px;
  height: 168px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(24,20,18,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
}
@media (max-width: 760px){
  .hero__layout{ flex-direction: column; align-items:flex-start; }
  .hero__photo{ justify-content:flex-start; }
  .couple{ width: 140px; height: 140px; }
}

/* Legibility panel for details section */
.details__panel{
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 16px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.50);
  border: 1px solid var(--stroke2);
}

/* Clickable brand home */
.brand__home{
  color: inherit;
  text-decoration: none;
  display: block;
}
.brand__home:focus-visible{
  outline: 2px solid rgba(142,106,74,0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Brand icon */
.brand__mark{
  display:flex;
  align-items:center;
  justify-content:center;
}
.brand__icon{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

  .bi--tight .bi__en{ margin-left: 8px; }
}

/* v12: hero title uses two lines (NL then EN) */
.bi--hero .bi__nl{
  display:block;
  font-weight: 920;
  letter-spacing: -0.6px;
}
.bi--hero .bi__en{
  display:block;
  margin-left: 0;
  margin-top: 6px;
  font-size: 0.72em;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}

/* keep bilingual inline on mobile, except hero */
@media (max-width: 760px){
  .bi__en{ display:inline; margin-left: 10px; margin-top: 0; }
  .bi--tight .bi__en{ margin-left: 8px; }
  .bi--hero .bi__en{ display:block; margin-left: 0; margin-top: 6px; }
}

/* v14 hero names style (big serif + swirly ampersand) */
.hero__wrap--names{
  padding-top: 26px;
  padding-bottom: 26px;
}

.hero__kicker{
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 760;
  font-size: 0.78rem;
  color: rgba(24,20,18,0.55);
  margin-bottom: 10px;
}

.bi--hero-kicker .bi__nl{ display:block; }
.bi--hero-kicker .bi__en{
  display:block;
  margin-top: 2px;
  font-family: 'Playfair Display', ui-serif, Georgia, 'Times New Roman', serif;
  font-style: italic;
  letter-spacing: 0.14em;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
}

.hero__names{
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.6rem, 8.2vw, 8.6rem);
  /* line-height: 0.78; */
  letter-spacing: 0.02em;
  color: rgba(24,20,18,0.95);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero__names .amp{
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.04em;
  margin: 0 0.16em;
  position: relative;
  top: 0.02em;
}


.hero__subtitle--names{
  margin-top: 14px;
  font-size: 1.08rem;
  color: rgba(24,20,18,0.70);
}

.hero__actions--names{
  margin-top: 16px;
}

@media (max-width: 760px){
  .hero__kicker{ font-size: 0.72rem; }
  .hero__subtitle--names{ font-size: 1.02rem; }
}

/* v15: ensure hero kicker is perfectly left-aligned */
.bi--hero-kicker .bi__en{
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
}

/* Countdown */
.countdown{
  margin-top: 10px;
  display:flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(24,20,18,0.62);
}
.countdown__num{
  /* font-family: var(--display); */
  font-weight: 700;
  /* font-size: 1.55rem; */
  color: rgba(24,20,18,0.62);
}
.countdown__label .bi__en{
  margin-left: 10px;
}

/* v18 hero spacing tuning */
.hero__wrap--names{ padding-top: 24px; padding-bottom: 24px; }
.hero__kicker{ margin-bottom: 6px; }
.hero__subtitle--names{ margin-top: 10px; }
.hero__actions--names{ margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.hero__layout{ gap: 22px; }
.hero__photo{ margin-top: 4px; }
@media (max-width:760px){
  .hero__names{ font-size: clamp(3.8rem, 10vw, 6.2rem); line-height: 0.80; }
}

/* v20: RSVP primary button color */
.btn--primary{
  background: rgb(222,255,222) !important;
  border-color: rgba(24,20,18,0.10) !important;
  color: rgba(24,20,18,0.92) !important;
}
.btn--primary:hover{
  filter: brightness(0.98);
}

/* v24: anchored section offset for sticky header */
#details, #schedule, #travel, #faq{
  scroll-margin-top: 88px;
}
