@import url("fonts.css");

/* ============================================================
   Forever Young Summit 2026 — faithful rebuild of the original
   Squarespace site (dark botanical theme, gold accents).
   Palette taken from the original theme tokens:
     dark bg  hsl(0,6.12%,19.22%)  -> #342e2e
     beige    hsl(45,7.69%,79.61%) -> #cfcdc7  (headings + timeline)
     white    hsl(0,0%,98.43%)     -> #fbfbfb
   Gold is the brand colour from the FOREVER YOUNG wordmark.
   ============================================================ */

:root {
  --ink:        #2d2b29;   /* dark section background          */
  --ink-2:      #262422;   /* slightly darker                  */
  --beige:      #cfcdc7;   /* light warm grey — headings, line */
  --white:      #fbfbfb;
  --text:       #d6d4ce;   /* body text on dark                */
  --muted:      #a4a09a;
  --gold:       #c6a96b;   /* brand gold (wordmark, dates)     */
  --gold-soft:  #d3b878;
  --line:       rgba(207,205,199,.18);

  --maxw: 1380px;
  --pad: clamp(1.1rem, 4vw, 3.2rem);
  --diag: 4.5vw;           /* diagonal divider depth           */

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 .6em;
}

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* big light section heading, e.g. PARTNER / PROGRAMM */
.h-section {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--beige);
  margin: 0 0 2.4rem;
}
.h-section.right { text-align: right; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  padding: 1em 2.2em;
  border: 0;
  color: var(--white);
  background: var(--gold);
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { background: var(--gold-soft); text-decoration: none; transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--beige);
  border: 1.5px solid rgba(207,205,199,.5);
}
.btn--ghost:hover { background: rgba(207,205,199,.12); color: var(--white); }

/* ============================================================
   Header / navigation
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad)));
  transition: background .3s ease, padding-block .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(28,26,25,.94);
  backdrop-filter: blur(8px);
  padding-block: .85rem;
  box-shadow: 0 1px 0 var(--line);
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.nav a {
  font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--white);
  padding-bottom: 2px; border-bottom: 1.5px solid transparent;
}
.nav a:hover { text-decoration: none; opacity: .8; }
.nav a[aria-current="page"] { border-bottom-color: var(--white); }

.site-header__social { display: flex; align-items: center; }
.site-header__social a { color: var(--white); display: grid; place-items: center; }
.site-header__social svg { width: 22px; height: 22px; }
.site-header__social a:hover { opacity: .8; }

.site-header__cta {
  font-family: var(--font-head); font-weight: 700; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  border: 1.5px solid var(--gold); border-radius: 999px;
  padding: .62em 1.35em; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.site-header__cta:hover { background: var(--gold); color: #2a2724; text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0; position: relative; z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--white); transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; order: 3; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    gap: 1.8rem; background: rgba(24,22,21,.98); backdrop-filter: blur(6px);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav a { font-size: 1.25rem; }
  .nav-open .nav { transform: translateX(0); }
}

/* ============================================================
   Bands & diagonal dividers
   ============================================================ */
.band { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band--dark { background: var(--ink); }

/* photo bands carry the botanical background + dark overlay */
.band--photo { background: #20302b; color: var(--text); }
.band--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(22,34,30,.46), rgba(20,30,27,.64)), url("../img/hero.jpg");
  background-size: cover; background-position: center;
}
.band--photo > .container { position: relative; z-index: 1; }

/* hero keeps text dark on the left but lets the botanical brighten to the right */
.hero.band--photo::before {
  background-image:
    linear-gradient(100deg, rgba(15,26,22,.66) 8%, rgba(20,36,31,.30) 55%, rgba(26,44,38,.16) 100%),
    url("../img/hero.jpg");
}

/* diagonal cuts: depth set by --diag */
.cut-b  { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%); }
.cut-t  { clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%); }
.cut-tb { clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero { padding-top: clamp(7rem, 12vw, 10.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.hero__logo { width: clamp(320px, 60vw, 880px); margin: 0 0 clamp(2.6rem, 5vw, 4rem); }
.hero__content { max-width: 960px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.7rem); letter-spacing: -.01em; line-height: 1.06;
  color: var(--white); margin: 0 0 .8rem;
}
.hero__pre { color: var(--white); font-size: clamp(1.05rem, 1.5vw, 1.45rem); margin: 0 0 2.6rem; }
.hero__pre b { color: var(--white); font-weight: 700; }
.hero__date {
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.2; margin: 0 0 2rem;
}
.hero__cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero__cta .btn {
  height: clamp(52px, 4.4vw, 64px); padding-block: 0;
  padding-inline: clamp(1.8rem, 3vw, 2.8rem); display: inline-flex; align-items: center;
}
.hero__qr { height: clamp(52px, 4.4vw, 64px); width: auto; aspect-ratio: 1 / 1; border-radius: 2px; }
.hero__note { color: var(--white); font-size: clamp(1rem, 1.3vw, 1.2rem); margin: 1.4rem 0 0; }

/* featured speakers strip (bottom of hero) */
.featured { margin-top: clamp(3rem, 6vw, 4.5rem); }
.featured__label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem;
  margin-bottom: 1.6rem; color: var(--white); font-size: clamp(.95rem, 1.4vw, 1.2rem);
}
.featured__title {
  font-family: var(--font-head); letter-spacing: .04em;
  color: var(--white); font-weight: 700;
}
.featured__label span b { font-weight: 700; color: var(--white); }
.featured__label span::before { content: "|"; margin-right: .7rem; color: rgba(255,255,255,.6); }
.featured__row { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1.8rem, 4vw, 3.6rem); }
.featured__people { display: flex; align-items: center; gap: clamp(.5rem, 1vw, .8rem); flex-wrap: wrap; }
.featured__people img {
  width: clamp(64px, 6.6vw, 92px); height: clamp(64px, 6.6vw, 92px);
  border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,.28);
}
.featured__partners { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.featured__partners img { width: clamp(96px, 10vw, 132px); height: auto; opacity: 1; }
.featured__more { margin-top: 1.4rem; color: var(--white); font-size: clamp(.95rem, 1.3vw, 1.15rem); }
.featured__more a { color: var(--white); }

/* ============================================================
   Interior page header
   ============================================================ */
.page-hero {
  min-height: clamp(230px, 34vw, 360px);
  display: flex; align-items: center;
  padding-top: clamp(6rem, 11vw, 9rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.8rem); text-transform: uppercase;
  letter-spacing: .01em; color: var(--beige); margin: 0;
}

/* ============================================================
   Partners
   ============================================================ */
.partners {
  display: grid; align-items: center; justify-items: center;
  gap: clamp(.4rem, 1.2vw, 1.2rem) clamp(1rem, 3vw, 2.4rem);
  grid-template-columns: repeat(4, 1fr);
}
.partners img {
  width: 100%; max-width: clamp(180px, 22vw, 300px); height: auto;
  margin-inline: auto; object-fit: contain;
  opacity: .95;
  transition: opacity .2s ease, transform .2s ease;
}
.partners a:hover img { opacity: 1; transform: scale(1.05); }
@media (max-width: 720px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Program timeline  (original Squarespace styling, faithful)
   ============================================================ */
.program-wrapper {
  max-width: 900px; margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}
.stage-title {
  font-size: 20px; line-height: 1.4;
  margin: 80px 0 30px; color: var(--white);
}
.program-wrapper > .stage-title:first-child { margin-top: 0; }
.stage-title b { color: var(--white); }
.timeline { border-left: 3px solid var(--beige); padding-left: 25px; }
.event {
  margin-bottom: 50px; position: relative;
  display: grid; grid-template-columns: 170px 1fr; column-gap: 20px;
}
.event::before {
  content: ""; position: absolute; left: -34px; top: 8px;
  width: 14px; height: 14px; background: var(--beige); border-radius: 50%;
}
.time { font-weight: bold; font-size: 15px; text-align: right; color: var(--beige); }
.event-content { display: block; }
.event-content > div:last-child { color: var(--text); }
.event-content b { color: var(--white); }
.speakers { margin-bottom: 6px; }
.speaker { display: inline-flex; align-items: center; margin-right: 15px; margin-bottom: 5px; }
.speaker img { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; margin-right: 8px; }
.speaker-name { font-weight: 600; color: var(--white); }
.pause { font-weight: 600; padding: 50px 0; }
.pause .event-content { color: var(--beige); }

@media (max-width: 640px) {
  .event { grid-template-columns: 1fr; }
  .time { text-align: left; margin-bottom: 6px; }
  .stage-title { margin-top: 50px; }
}

/* ============================================================
   Two-column content (biohacking / tickets)
   ============================================================ */
.two-col {
  display: grid; grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.two-col__media img { width: 100%; border-radius: 2px; }
.two-col__body h2 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  color: var(--beige); font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  letter-spacing: .01em; line-height: 1.15; margin: 0 0 1.4rem;
}
.two-col__body p { color: var(--text); }
.two-col__body strong { color: var(--white); }
.topic-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.topic-list li { padding: .35rem 0 .35rem 1.4rem; position: relative; color: var(--text); }
.topic-list li::before { content: "•"; position: absolute; left: .2rem; color: var(--gold); }
.topic-list strong { color: var(--white); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- eventim ticket card ---------- */
.ticket-card {
  background: #fff; color: #1c1c1c; border-radius: 4px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.35); font-family: var(--font-body);
}
.ticket-card__poster {
  background: #fbfbf7; padding: 2.4rem 1.5rem 1.8rem; text-align: center;
  border-bottom: 1px solid #ececec;
}
.ticket-card__poster img { width: 168px; margin: 0 auto; }
.ticket-card__info { padding: 1.2rem 1.4rem; }
.ticket-card__title { font-weight: 700; font-size: 1rem; color: #161616; margin: 0 0 .8rem; }
.ticket-card__row { font-size: .82rem; color: #5a5a5a; padding: .55rem 0; border-top: 1px solid #ededed; }
.ticket-card__row.date { font-weight: 700; color: #222; }
.ticket-card__buy {
  display: block; width: 100%; text-align: center; margin-top: 1rem;
  background: #0a1f44; color: #fff; font-weight: 600; font-size: .9rem;
  padding: .95em 1em; border-radius: 3px;
}
.ticket-card__buy:hover { background: #122a59; text-decoration: none; color: #fff; }
.ticket-card__links {
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem;
  padding: 1.2rem 1.4rem; border-top: 1px solid #ededed;
  font-size: .78rem;
}
.ticket-card__links a { color: #6b6b6b; }
.ticket-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem; border-top: 1px solid #ededed; font-size: .72rem; color: #8a8a8a;
}
.ticket-card__foot b { display: block; font-weight: 600; color: #555; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { color: var(--beige); text-transform: uppercase; letter-spacing: .03em; margin-top: 2.2rem; font-size: 1.3rem; }
.prose p, .prose li { color: var(--text); }
.prose a { word-break: break-word; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { color: var(--text); }
.footer-grid {
  display: grid; gap: 2.2rem clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: repeat(4, 1fr);
}
.site-footer h4 {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  font-size: 1.05rem; color: var(--beige); font-weight: 700; margin-bottom: 1.1rem;
}
.site-footer p { color: var(--text); font-size: .92rem; line-height: 1.8; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .78rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000;
  max-width: 440px; margin-inline: auto;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem 1.5rem; box-shadow: 0 18px 50px rgba(0,0,0,.5);
  transform: translateY(160%); opacity: 0; visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility .35s;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-banner__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.cookie-banner__head img { width: 30px; height: 30px; }
.cookie-banner__head h2 { font-size: 1.1rem; margin: 0; color: var(--white); }
.cookie-banner__body { font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.cookie-banner__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-banner__btn { flex: 1 1 auto; justify-content: center; font-size: .76rem; padding: .85em 1.2em; }
.cookie-banner__btn--reject { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.cookie-banner__btn--reject:hover { background: rgba(255,255,255,.06); color: var(--white); }
@media (min-width: 560px) { .cookie-banner { left: auto; right: 1.2rem; bottom: 1.2rem; margin: 0; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
