@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Nunito:wght@600;700;800&display=swap");

:root {
  color-scheme: dark;
  --deep-slate: #1e1e24;
  --night: #101410;
  --matcha: #c6d1c1;
  --terracotta: #e07a5f;
  --oat: #f4f1eb;
  --muted: rgba(244, 241, 235, 0.68);
  --line: rgba(244, 241, 235, 0.14);
  --glass: rgba(17, 22, 18, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--night);
  color: var(--oat);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(8, 11, 9, 0.76) 0%, rgba(8, 11, 9, 0.44) 48%, rgba(8, 11, 9, 0.12) 100%),
    url("../assets/focalnooks-hero.png") center / cover no-repeat;
  transform: scale(1.025);
  animation: breathe 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.shell {
  width: min(1440px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 58px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}

.topline,
.footline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.brand span,
.series-label,
.footline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand span {
  font-family: Nunito, ui-rounded, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.series-label {
  color: rgba(244, 241, 235, 0.5);
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.vignette {
  position: relative;
  padding: clamp(30px, 5.4vw, 72px);
  border: 1px solid var(--line);
  border-radius: clamp(30px, 5vw, 58px);
  background: linear-gradient(135deg, rgba(20, 25, 21, 0.76), rgba(25, 29, 25, 0.3));
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  animation: reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.vignette::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent, var(--terracotta));
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent, var(--terracotta)) 15%, transparent), 0 0 34px var(--accent, var(--terracotta));
  animation: pulse 2.8s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--accent-soft, var(--matcha));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker {
  max-width: 620px;
  margin: 0 0 16px;
  color: rgba(244, 241, 235, 0.56);
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.5;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: Nunito, ui-rounded, sans-serif;
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

h1 em {
  color: var(--accent, var(--terracotta));
  font-style: normal;
}

.body-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
}

.reveal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 241, 235, 0.05);
  color: rgba(244, 241, 235, 0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft, var(--matcha));
  box-shadow: 0 0 14px var(--accent-soft, var(--matcha));
}

.aside {
  align-self: stretch;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(244, 241, 235, 0.11);
  border-radius: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(16, 20, 16, 0.04), rgba(16, 20, 16, 0.76)),
    url("../assets/focalnooks-hero.png") 78% center / auto 125% no-repeat;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  animation: reveal 0.9s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.aside-copy {
  margin: 0;
  color: rgba(244, 241, 235, 0.78);
  font-family: Nunito, ui-rounded, sans-serif;
  font-size: clamp(22px, 2.7vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.progress {
  display: flex;
  gap: 7px;
  align-items: center;
}

.progress i {
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: rgba(244, 241, 235, 0.18);
}

.progress i.seen {
  background: var(--accent, var(--terracotta));
}

.footline {
  color: rgba(244, 241, 235, 0.45);
}

.theme-matcha {
  --accent: var(--matcha);
  --accent-soft: var(--oat);
}

.theme-terracotta {
  --accent: var(--terracotta);
  --accent-soft: var(--matcha);
}

.accent-alt {
  color: var(--terracotta);
}

.campaign {
  align-content: center;
}

.campaign-intro {
  max-width: 760px;
}

.campaign-intro h1 {
  font-size: clamp(46px, 6vw, 82px);
}

.drop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.drop-card {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(244, 241, 235, 0.055);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.drop-card:hover,
.drop-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(198, 209, 193, 0.5);
  background: rgba(244, 241, 235, 0.09);
  outline: none;
}

.drop-card small {
  color: var(--matcha);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drop-card strong {
  font-family: Nunito, ui-rounded, sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  from { transform: scale(1.025); }
  to { transform: scale(1.065); }
}

@keyframes pulse {
  50% {
    transform: scale(0.72);
    opacity: 0.62;
  }
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .aside {
    min-height: 200px;
  }

  .drop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) and (max-height: 1000px) {
  .shell {
    padding-block: 28px;
    gap: 16px;
  }

  .stage {
    gap: clamp(28px, 4vw, 64px);
  }

  .vignette {
    padding: clamp(34px, 3.2vw, 48px);
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: clamp(14px, 1.4vw, 17px);
  }

  h1 {
    font-size: clamp(44px, 5vw, 72px);
  }

  .body-copy {
    margin-top: 20px;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.52;
  }

  .reveal {
    margin-top: 20px;
  }
}

@media (max-width: 620px) {
  .shell {
    padding: 20px;
    gap: 16px;
  }

  .series-label,
  .footline span:last-child {
    display: none;
  }

  .stage {
    gap: 14px;
  }

  .vignette {
    padding: 28px 24px;
    border-radius: 30px;
  }

  .vignette::before {
    top: 22px;
    right: 22px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .body-copy {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .reveal {
    margin-top: 20px;
  }

  .aside {
    min-height: 120px;
    padding: 20px;
    border-radius: 28px;
  }

  .aside-copy {
    font-size: 22px;
  }

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

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