/* ZERØ1 Campus — dpan-campus.eu */

:root {
  --paper: #ffffff;
  --mist: #eef0ef;
  --ink: #1c1f24;
  --ink-soft: #4a4f57;
  --stone: #cfc8bb;
  --pink: #ff2e93;
  --atlantic: #12384a;
  --atlantic-ink: #e6eef1;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 3.6vw, 3rem);
  --step-4: clamp(2.6rem, 6vw, 4.75rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem var(--gutter);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone);
}
.brand, .footer-brand {
  font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; line-height: 1;
}
.brand span, .footer-brand span { font-weight: 400; margin-left: .3em; }
.nav { display: flex; gap: 1.6rem; align-items: center; font-size: var(--step--1); font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav-partner { border: 1.5px solid var(--ink); padding: .45rem .9rem; border-radius: 2rem; }
.nav-partner:hover { background: var(--ink); color: var(--paper); text-decoration: none !important; }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 1.5px solid var(--ink); border-radius: 2rem; padding: .35rem .9rem; color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--stone); padding: .5rem var(--gutter) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .6rem 0; font-size: var(--step-0); width: 100%; }
  .nav-partner { margin-top: .5rem; width: auto !important; padding: .5rem 1rem !important; }
}

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; font-size: var(--step--1); text-decoration: none;
  padding: .8rem 1.3rem; border-radius: 2rem; border: 1.5px solid currentColor; line-height: 1;
}
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.btn-ghost { color: var(--paper); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* Stickers: the one loud device, stuck onto photos like a parasite */
.sticker {
  display: inline-block; background: var(--pink); color: var(--ink);
  font-weight: 800; font-size: clamp(.95rem, 1.5vw, 1.2rem); line-height: 1;
  padding: .55em .8em .5em; border-radius: .25em;
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
  white-space: nowrap;
}

/* Hero */
.hero { position: relative; min-height: min(92vh, 60rem); display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,28,0) 35%, rgba(20,24,28,.72) 100%); }
.hero-text { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(2rem, 5vw, 4rem); max-width: var(--max); width: 100%; margin-inline: auto; }
.hero-title { font-size: clamp(4.2rem, 15vw, 12.5rem); font-weight: 900; line-height: .86; letter-spacing: -0.045em; margin-bottom: .35em; }
.hero-lede { max-width: 36rem; font-size: var(--step-1); line-height: 1.4; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stickers { position: absolute; z-index: 3; top: clamp(1.5rem, 6vw, 4rem); right: var(--gutter); display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.s1 { transform: rotate(-4deg); font-size: clamp(1.1rem, 2.4vw, 1.9rem); }
.s2 { transform: rotate(3deg); margin-right: 1.5rem; }
.s3 { transform: rotate(-2deg); margin-right: .4rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-stickers .sticker { animation: stick .5s cubic-bezier(.2,1.4,.4,1) both; }
  .hero-stickers .s1 { animation-delay: .35s; }
  .hero-stickers .s2 { animation-delay: .55s; }
  .hero-stickers .s3 { animation-delay: .75s; }
}
@keyframes stick { from { opacity: 0; scale: 1.35; } to { opacity: 1; scale: 1; } }

/* Section titles */
.section-title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: clamp(4rem, 9vw, 8rem); }
.intro-title { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; max-width: 22ch; }
.intro-body { max-width: 38rem; color: var(--ink-soft); }
.intro-fact { color: var(--ink); font-size: var(--step-1); line-height: 1.4; padding-top: 1rem; border-top: 1px solid var(--stone); margin-top: 1.5rem; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 5fr 6fr; gap: 4rem; }
}

/* Offer */
.offer { padding-bottom: clamp(4rem, 8vw, 7rem); }
.offer-rows { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.offer-row { display: grid; gap: 1.25rem; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; width: 100%; }
.offer-fig { margin: 0; overflow: hidden; }
.offer-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.offer-text h3 { font-size: var(--step-2); font-weight: 800; margin-bottom: .75rem; }
.offer-text p { max-width: 34rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .offer-row { grid-template-columns: 7fr 5fr; align-items: end; gap: 3rem; }
  .offer-row:nth-child(2) { grid-template-columns: 5fr 7fr; }
  .offer-row:nth-child(2) .offer-fig { order: 2; }
  .offer-row:nth-child(2) .offer-text { text-align: left; }
  .offer-row:nth-child(3) { grid-template-columns: 6fr 6fr; }
  .offer-row:nth-child(3) .offer-fig { margin-left: 8%; }
}

/* Week */
.week { background: var(--mist); padding-block: clamp(4rem, 8vw, 7rem); }
.week-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.week-head .section-title { margin-bottom: 0; }
.week-note { color: var(--ink-soft); max-width: 30rem; font-size: var(--step--1); }
@media (min-width: 900px) { .week-head { grid-template-columns: 1fr auto; align-items: end; } }
.week-scroll { overflow-x: auto; padding-bottom: 2.5rem; position: relative; }
.week-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(8.2rem, 1fr)); border-top: 2px solid var(--ink); min-width: 82rem; }
@media (min-width: 1100px) { .week-days { min-width: 0; grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.day { padding: .9rem .9rem 1.4rem; border-right: 1px solid var(--stone); font-size: var(--step--1); line-height: 1.35; background: var(--paper); }
.day:last-child { border-right: 0; }
.day p { margin: 0 0 .55em; }
.dname { display: block; font-weight: 500; color: var(--ink-soft); }
.dnum { display: block; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin: .1rem 0 .8rem; }
.day.travel { background: transparent; color: var(--ink-soft); }
.day.travel .dnum { color: var(--ink-soft); font-weight: 400; }
.week-bracket { min-width: 82rem; display: grid; grid-template-columns: 1fr 8fr 1fr; margin-top: .75rem; }
@media (min-width: 1100px) { .week-bracket { min-width: 0; } }
.week-bracket span {
  grid-column: 2; border: 2px solid var(--ink); border-top: 0; height: .9rem;
  position: relative; font-size: var(--step--1); font-weight: 700;
}
.week-bracket span { color: transparent; }
.week-bracket span::after { content: "BIP, 22–29 March"; color: var(--ink); position: absolute; left: 50%; top: 100%; transform: translate(-50%, .35rem); background: var(--mist); padding: 0 .5rem; white-space: nowrap; }

/* Take part */
.take-part { padding-block: clamp(4rem, 9vw, 8rem); }
.tp-grid { display: grid; gap: 2.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.tp-block h3 { font-size: var(--step-1); font-weight: 800; margin-bottom: .6rem; padding-top: .8rem; border-top: 2px solid var(--ink); }
.tp-block p { color: var(--ink-soft); }
@media (min-width: 900px) { .tp-grid { grid-template-columns: 5fr 3fr 4fr; gap: 3rem; } }
.steps-title { font-size: var(--step-2); font-weight: 800; margin-bottom: 1.5rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; max-width: 52rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--stone); color: var(--ink-soft); }
.steps li::before { content: counter(s); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.steps strong { color: var(--ink); }
.steps li:last-child::before { color: var(--pink); }

/* Calendar */
.calendar { background: var(--atlantic); color: var(--atlantic-ink); padding-block: clamp(4rem, 8vw, 7rem); }
.calendar .section-title { color: #fff; margin-bottom: .75rem; }
.cal-lede { margin-bottom: 2.5rem; max-width: 34rem; }
.cal { display: grid; gap: 2rem; }
@media (min-width: 700px) { .cal { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cal { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.cal-month h3 { color: #fff; font-size: var(--step-1); font-weight: 800; padding-bottom: .6rem; border-bottom: 2px solid rgba(255,255,255,.85); margin-bottom: .8rem; }
.cal-month dl { margin: 0; font-size: var(--step--1); line-height: 1.4; }
.cal-month dt { font-weight: 700; color: #fff; margin-top: .9rem; }
.cal-month dt:first-child { margin-top: 0; }
.cal-month dd { margin: .15rem 0 0; }
.cal-month .cal-key { color: var(--pink); }
dd.cal-key { color: #fff; }

/* Venue */
.venue { display: grid; gap: 2rem; padding-block: clamp(4rem, 9vw, 8rem); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.venue-fig { margin: 0; position: relative; }
.venue-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.s4 { position: absolute; left: 1rem; bottom: 1rem; transform: rotate(-3deg); }
.venue-text p { color: var(--ink-soft); max-width: 34rem; }
.venue-text .section-title { font-size: var(--step-3); }
.venue-travel { font-size: var(--step--1); border-top: 1px solid var(--stone); padding-top: 1rem; }
@media (min-width: 900px) { .venue { grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: center; } }

/* Gallery */
.gallery { padding-bottom: clamp(4rem, 8vw, 7rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; padding-inline: var(--gutter); max-width: 90rem; margin-inline: auto; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 14vw; }
  .gallery-grid img { aspect-ratio: auto; }
  .gallery-grid img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid img:nth-child(2) { grid-row: span 2; }
  .gallery-grid img:nth-child(6) { grid-column: span 2; }
}

/* FAQ */
.faq { padding-bottom: clamp(4rem, 9vw, 8rem); }
.faq-list { max-width: 52rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-weight: 400; font-size: 1.8rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); max-width: 44rem; padding-bottom: 1.3rem; }

/* Contact */
.contact { background: var(--ink); color: #e9eaec; padding-block: clamp(4rem, 9vw, 8rem); }
.contact-grid { display: grid; gap: 3rem; }
.contact-title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 1.25rem; max-width: 14ch; }
.contact-mail { font-size: var(--step-2); font-weight: 700; color: #fff; }
.contact-mail a { text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
.contact-person { font-size: var(--step--1); color: #b9bcc2; }
.contact-partner { border-top: 2px solid #fff; padding-top: 1rem; align-self: end; }
.contact-partner h3 { color: #fff; font-size: var(--step-2); font-weight: 800; margin-bottom: .75rem; }
.contact-partner p { margin-bottom: 1.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 5rem; } }

/* Footer */
.site-footer { padding-block: 2.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.footer-grid { display: grid; gap: 1rem; }
.footer-brand { color: var(--ink); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 2fr 1.2fr; align-items: start; gap: 2rem; } }

/* Partner area page */
.pa { min-height: calc(100vh - 4rem); display: grid; place-items: center; padding: 3rem var(--gutter); background: var(--mist); }
.pa-card { background: var(--paper); max-width: 30rem; width: 100%; padding: clamp(1.5rem, 5vw, 2.5rem); border-top: 4px solid var(--ink); }
.pa-card h1 { font-size: var(--step-3); font-weight: 800; margin-bottom: .75rem; }
.pa-card p { color: var(--ink-soft); }
.pa-form { margin: 1.5rem 0; display: grid; gap: .5rem; }
.pa-form label { font-weight: 700; font-size: var(--step--1); }
.pa-form input { font: inherit; font-size: 1.15rem; letter-spacing: .08em; padding: .75rem .9rem; border: 1.5px solid var(--ink); border-radius: .3rem; text-transform: uppercase; }
.pa-form button { font: inherit; font-weight: 700; padding: .85rem 1.2rem; border-radius: 2rem; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; margin-top: .5rem; }
.pa-form button[disabled] { opacity: .45; cursor: not-allowed; }
.pa-msg { font-size: var(--step--1); background: var(--mist); padding: .8rem 1rem; border-left: 3px solid var(--pink); }

/* Access gate */
.gate-body { min-height: 100vh; background: var(--atlantic); }
.gate-bg { position: fixed; inset: 0; z-index: 0; }
.gate-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.04); }
.gate-bg::after { content: ""; position: absolute; inset: 0; background: rgba(18, 56, 74, .38); }
.gate { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 2rem var(--gutter); }
.gate-card {
  position: relative; background: var(--paper); width: 100%; max-width: 27rem;
  padding: clamp(1.5rem, 5vw, 2.25rem); border-top: 4px solid var(--ink);
  box-shadow: 0 24px 60px rgba(10, 25, 35, .35);
}
.gate-brand { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1; margin-bottom: 1.75rem; }
.gate-brand span { font-weight: 400; margin-left: .3em; }
.gate-sticker { position: absolute; top: -1rem; right: -0.75rem; transform: rotate(4deg); }
.gate-card h1 { font-size: var(--step-2); font-weight: 800; margin-bottom: .6rem; }
.gate-card p { color: var(--ink-soft); font-size: var(--step--1); }
.gate-form { display: grid; gap: .35rem; margin: 1.25rem 0 1rem; }
.gate-form label { font-weight: 700; font-size: var(--step--1); margin-top: .5rem; }
.gate-form label:first-of-type { margin-top: 0; }
.gate-form input, .gate-form select, .gate-form textarea {
  font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid var(--ink); border-radius: .3rem;
  background: var(--paper); color: var(--ink); width: 100%;
}
.gate-form textarea { resize: vertical; }
.gate-form button {
  font: inherit; font-weight: 700; padding: .85rem 1.2rem; border-radius: 2rem; border: 0;
  background: var(--ink); color: var(--paper); cursor: pointer; margin-top: .75rem;
}
.gate-form button:hover { background: var(--pink); color: var(--ink); }
.gate-form button:disabled { opacity: .6; cursor: progress; }
.gate-error { color: #b0004f !important; font-weight: 500; margin: .4rem 0 0 !important; }
.gate-switch { margin: 0; }
.linkish { font: inherit; font-weight: 700; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.opt { font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate-foot { margin: 1.5rem 0 0 !important; padding-top: 1rem; border-top: 1px solid var(--stone); }
.visitor { grid-column: 1 / -1; margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
