@font-face {
  font-family: "TWKLausanne";
  src: url("/assets/fonts/TWKLausanne-200.woff2") format("woff2"),
       url("/assets/fonts/TWKLausanne-200.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TWKLausanne";
  src: url("/assets/fonts/TWKLausanne-350.woff2") format("woff2"),
       url("/assets/fonts/TWKLausanne-350.woff") format("woff");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f0e8;
  --paper: #fbf8f2;
  --white: #ffffff;
  --ink: #241e2d;
  --muted: #6d6874;
  --line: rgba(36, 30, 45, 0.12);
  --forest: #0d150f;
  --forest-soft: rgba(13, 21, 15, 0.72);
  --accent: #efe733;
  --accent-soft: #fff9bb;
  --shadow: 0 24px 60px rgba(18, 21, 17, 0.14);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "TWKLausanne", sans-serif;
  font-weight: 200;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(180deg, #f7f4ee 0%, #f1ede4 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
strong {
  font-weight: 350;
}

p,
li {
  line-height: 1.5;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--paper {
  background: linear-gradient(180deg, var(--paper) 0%, #f5f1e8 100%);
}

.section--clean {
  background: rgba(255, 255, 255, 0.55);
}

.section-label {
  margin: 0 0 18px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label--light {
  color: rgba(255, 255, 255, 0.7);
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.05em;
}

.wordmark--light {
  color: var(--white);
}

.wordmark__tm {
  font-size: 0.42em;
  margin-top: 0.2em;
  letter-spacing: 0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(239, 231, 51, 0.22);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 10, 7, 0.88) 0%, rgba(8, 16, 10, 0.48) 46%, rgba(11, 15, 11, 0.74) 100%),
    url("/assets/images/events/beemine-io/hero-bg.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: auto 0 -18% auto;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(239, 231, 51, 0.18) 0%, transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  min-height: calc(100svh - 112px);
  padding: 72px 0 56px;
}

.hero__copy {
  max-width: 760px;
  animation: fade-up 800ms ease both;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.25rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero__tag {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 28px 0 0;
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__panel {
  align-self: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: fade-up 960ms ease both;
}

.hero__panel > div + div {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.hero__panel strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.intro h2,
.agenda h2,
.register h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.intro__lead,
.agenda__lead p,
.register__copy p {
  margin: 24px 0 0;
  max-width: 38rem;
  font-size: 1.16rem;
  color: var(--muted);
}

.intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.intro__chips span {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.intro__visual {
  position: relative;
  min-height: 620px;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.date-pill {
  position: absolute;
  top: 0;
  right: 6px;
  z-index: 2;
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--accent);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  box-shadow: 0 14px 24px rgba(239, 231, 51, 0.18);
}

.dot-cluster {
  position: absolute;
  top: 112px;
  left: 120px;
  display: grid;
  grid-template-columns: repeat(5, 32px);
  gap: 14px;
  width: 188px;
  opacity: 0.45;
}

.dot-cluster span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d9d7d8;
}

.dot-cluster span:nth-child(1),
.dot-cluster span:nth-child(2),
.dot-cluster span:nth-child(4),
.dot-cluster span:nth-child(5),
.dot-cluster span:nth-child(6),
.dot-cluster span:nth-child(10),
.dot-cluster span:nth-child(11),
.dot-cluster span:nth-child(15),
.dot-cluster span:nth-child(18),
.dot-cluster span:nth-child(19),
.dot-cluster span:nth-child(21),
.dot-cluster span:nth-child(22) {
  opacity: 0;
}

.bud {
  position: absolute;
  user-select: none;
  pointer-events: none;
}

.bud--large {
  right: -30px;
  bottom: -90px;
  width: min(70vw, 620px);
  animation: float-bud 7s ease-in-out infinite;
}

.bud--small {
  right: -32px;
  top: 108px;
  width: min(30vw, 260px);
  transform: rotate(-16deg);
  opacity: 0.92;
  animation: float-bud-rotated 8s ease-in-out infinite;
}

.intro__location {
  position: absolute;
  right: 106px;
  bottom: 24px;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  color: var(--white);
  letter-spacing: -0.05em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.agenda {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.agenda__lead h2 {
  margin-top: 10px;
}

.agenda__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.session-card {
  min-height: 224px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(24, 18, 32, 0.05);
}

.session-card--accent {
  background: linear-gradient(180deg, rgba(239, 231, 51, 0.24), rgba(255, 255, 255, 0.96));
}

.session-card__speaker {
  margin: 0 0 14px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.session-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.session-card p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.section--quote {
  padding: 0;
  background: #101512;
}

.quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: 720px;
}

.quote-shell__image {
  background:
    linear-gradient(180deg, rgba(6, 9, 8, 0.1), rgba(6, 9, 8, 0.46)),
    url("/assets/images/events/beemine-io/team-quote.png") center center / cover no-repeat;
}

.quote-shell__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 4vw, 64px);
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(239, 231, 51, 0.14), transparent 32%),
    linear-gradient(180deg, #121914 0%, #0d110f 100%);
}

.quote-shell blockquote {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.quote-author {
  margin: 24px 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.section--register {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 13, 10, 0.96) 0%, rgba(7, 13, 10, 0.88) 52%, rgba(7, 13, 10, 0.96) 100%),
    url("/assets/images/events/beemine-io/greenhouse-side.png") right center / 46% auto no-repeat,
    #0c120e;
  overflow: hidden;
}

.section--register::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(239, 231, 51, 0.15) 0%, transparent 72%);
  pointer-events: none;
}

.register {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.88fr);
  gap: 40px;
  align-items: start;
}

.register__copy {
  padding-top: 24px;
}

.register__list {
  margin: 26px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.register__list li + li {
  margin-top: 10px;
}

.register__cta {
  margin-top: 28px;
}

.register__form-card {
  min-height: 760px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.register__form-card iframe {
  width: 100%;
  min-height: 732px;
  border: 0;
  border-radius: 20px;
  background: var(--white);
}

.footer {
  padding: 26px 0 40px;
  background: #f6f3ed;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-bud {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes float-bud-rotated {
  0%,
  100% {
    transform: rotate(-16deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-12deg) translate3d(0, -12px, 0);
  }
}

@media (max-width: 1100px) {
  .hero__content,
  .intro,
  .agenda,
  .register,
  .quote-shell {
    grid-template-columns: 1fr;
  }

  .hero__content {
    align-items: start;
  }

  .hero__panel {
    max-width: 480px;
  }

  .intro__visual {
    min-height: 560px;
  }

  .quote-shell__image {
    min-height: 420px;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100vw - 32px, 1000px);
  }

  .section {
    padding: 72px 0;
  }

  .topbar {
    padding-top: 18px;
  }

  .topbar .button--ghost {
    display: none;
  }

  .hero__content {
    min-height: auto;
    padding: 54px 0 42px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero__tag {
    margin-top: 18px;
    padding: 12px 18px;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__panel {
    padding: 22px;
  }

  .intro__visual {
    min-height: 420px;
    padding: 12px;
  }

  .date-pill {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    margin-bottom: 18px;
  }

  .dot-cluster {
    top: 94px;
    left: 52px;
    transform: scale(0.78);
    transform-origin: top left;
  }

  .bud--large {
    width: min(90vw, 480px);
    right: -38px;
    bottom: -72px;
  }

  .bud--small {
    width: 140px;
    top: 120px;
    right: -14px;
  }

  .intro__location {
    right: 24px;
    bottom: 18px;
    font-size: 2rem;
  }

  .agenda__grid {
    grid-template-columns: 1fr;
  }

  .session-card {
    min-height: auto;
  }

  .quote-shell {
    min-height: auto;
  }

  .quote-shell__copy {
    padding: 56px 20px;
  }

  .section--register {
    background:
      linear-gradient(180deg, rgba(7, 13, 10, 0.96) 0%, rgba(7, 13, 10, 0.92) 100%),
      #0c120e;
  }

  .register__form-card {
    min-height: 700px;
    padding: 10px;
  }

  .register__form-card iframe {
    min-height: 680px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
