/* Demo page for the video pipeline. Colours and fonts come only from tokens.css. */

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

:root {
  --line: color-mix(in srgb, var(--o2d-navy) 12%, transparent);
  --shadow: 0 18px 50px color-mix(in srgb, var(--o2d-navy) 14%, transparent);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--o2d-white);
  color: var(--o2d-text);
  font-family: var(--o2d-font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Brand shapes ---------- */

.deco {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.deco span {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.ring {
  width: min(62vw, 640px);
  aspect-ratio: 1;
  right: max(-24vw, -260px);
  top: 8vh;
  background: var(--o2d-grad-violet);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 56.5%);
  mask: radial-gradient(circle, transparent 56%, #000 56.5%);
  opacity: 0.9;
}

.split {
  width: min(34vw, 340px);
  aspect-ratio: 1;
  left: max(-12vw, -120px);
  bottom: -8vh;
  background:
    linear-gradient(90deg, transparent 50%, var(--o2d-turquoise-soft) 50%),
    linear-gradient(180deg, var(--o2d-turquoise), var(--o2d-teal));
}

.dot-a {
  width: 92px;
  height: 92px;
  left: 52vw;
  bottom: 14vh;
  background: var(--o2d-periwinkle-soft);
}

.dot-b {
  width: 56px;
  height: 56px;
  right: 22vw;
  bottom: 12vh;
  background: var(--o2d-turquoise-soft);
}

.dot-c {
  width: 34px;
  height: 34px;
  right: 30vw;
  top: 12vh;
  background: var(--o2d-sky-soft);
}

.outline {
  width: 70px;
  height: 70px;
  left: 28vw;
  bottom: 9vh;
  border: 3px solid var(--o2d-navy);
}

.diag {
  width: 150px;
  height: 150px;
  right: 7vw;
  bottom: 5vh;
  border-radius: 0 !important;
  background:
    linear-gradient(45deg, transparent calc(50% - 1.5px), var(--o2d-navy) calc(50% - 1.5px), var(--o2d-navy) calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(45deg, transparent calc(50% - 1.5px), var(--o2d-navy) calc(50% - 1.5px), var(--o2d-navy) calc(50% + 1.5px), transparent calc(50% + 1.5px));
  background-size: 100% 100%, 100% 100%;
  background-position: 0 0, 22px 0;
  background-repeat: no-repeat;
  transform: rotate(90deg);
}

body.is-gen .deco,
body.is-res .deco {
  opacity: 0.35;
}

/* ---------- Header ---------- */

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 22px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--o2d-navy);
}

.brand span {
  font-family: var(--o2d-font-logo);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- Screens ---------- */

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

.screen {
  display: none;
  padding: 0 var(--gutter) 64px;
}

.screen.is-active {
  display: block;
  animation: enter 0.5s ease both;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.chip {
  display: inline-block;
  padding: 7px 14px;
  background: var(--o2d-turquoise);
  color: var(--o2d-navy);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--o2d-font-title);
  color: var(--o2d-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
}

.hl {
  background: linear-gradient(transparent 62%, var(--o2d-turquoise-soft) 62%);
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--o2d-slate);
}

/* ---------- 1. Entrada ---------- */

#s-entrada {
  min-height: calc(100vh - 100px);
  min-height: calc(100svh - 100px);
  display: none;
  align-items: center;
}

#s-entrada.is-active {
  display: flex;
}

.hero {
  width: 100%;
  max-width: 880px;
  padding: 4vh 0 10vh;
}

.url-form {
  margin-top: 36px;
  display: flex;
  align-items: center;
  max-width: 720px;
  padding: 8px 8px 8px 24px;
  background: var(--o2d-white);
  border: 2px solid var(--o2d-navy);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.url-form:focus-within {
  border-color: var(--o2d-cobalt);
  box-shadow: var(--shadow), 0 0 0 5px var(--o2d-sky-soft);
}

.url-prefix {
  font-family: var(--o2d-font-title);
  font-size: 18px;
  color: var(--o2d-slate);
  opacity: 0.7;
}

.url-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 8px 14px 2px;
  font-family: var(--o2d-font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--o2d-navy);
}

.url-form input::placeholder {
  color: var(--o2d-slate);
  opacity: 0.45;
  font-weight: 400;
}

.url-form button,
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 26px;
  background: var(--o2d-cobalt);
  color: var(--o2d-white);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.url-form button:hover,
.btn:hover {
  background: var(--o2d-navy);
}

.url-form button:active,
.btn:active {
  transform: scale(0.97);
}

.msg {
  min-height: 1.6em;
  margin: 16px 0 0 26px;
  font-size: 15px;
  color: var(--o2d-navy);
}

.msg a {
  color: var(--o2d-cobalt);
}

/* ---------- 2. Generación ---------- */

.gen-head {
  max-width: 1240px;
  margin: 6px auto 0;
}

.gen-site {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gen-logo {
  display: grid;
  place-items: center;
  min-width: 64px;
  max-width: 240px;
  height: 64px;
  border-radius: 16px;
  background: var(--o2d-white);
  border: 1px solid var(--line);
  padding: 8px;
}

.gen-logo img {
  max-height: 100%;
  max-width: 220px;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.gen-url {
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--o2d-navy);
  word-break: break-all;
}

.gen-now {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--o2d-navy);
}

.spinner {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 4px solid var(--o2d-sky-soft);
  border-top-color: var(--o2d-periwinkle);
  animation: spin 0.9s linear infinite;
}

body.is-done .spinner {
  animation: none;
  border-color: var(--o2d-turquoise);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gen-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--o2d-mist);
  overflow: hidden;
}

.gen-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--o2d-grad-teal);
  transition: width 0.8s ease;
}

.gen-body {
  max-width: 1240px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 13px 0 13px 46px;
  font-size: 16px;
  color: var(--o2d-slate);
  opacity: 0.55;
  transition: opacity 0.3s;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--o2d-slate);
  background: var(--o2d-white);
}

.steps li.is-now {
  opacity: 1;
  color: var(--o2d-navy);
  font-weight: 700;
}

.steps li.is-now::before {
  border-color: var(--o2d-periwinkle);
  color: var(--o2d-periwinkle);
}

.steps li.is-done {
  opacity: 1;
}

.steps li.is-done::before {
  content: "✓";
  border-color: var(--o2d-turquoise);
  background: var(--o2d-turquoise);
  color: var(--o2d-navy);
}

.stage {
  min-height: 520px;
}

.skip {
  position: fixed;
  right: var(--gutter);
  bottom: 22px;
  z-index: 3;
  border: 1px solid var(--line);
  background: var(--o2d-white);
  color: var(--o2d-slate);
  border-radius: 99px;
  padding: 8px 16px;
  font-family: var(--o2d-font-body);
  font-size: 13px;
  cursor: pointer;
  opacity: 0.7;
}

.skip:hover {
  opacity: 1;
}

.panel {
  animation: enter 0.45s ease both;
}

.card {
  background: var(--o2d-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.label {
  display: block;
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--o2d-teal);
}

/* Step 1: reading the site */

.read {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

.browser {
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--o2d-mist);
}

.browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.browser-bar b {
  margin-left: 10px;
  flex: 1;
  min-width: 0;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--o2d-white);
  font-family: var(--o2d-font-title);
  font-weight: 600;
  font-size: 13px;
  color: var(--o2d-slate);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-view {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--o2d-mist);
}

.browser-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.browser-view img.is-on {
  opacity: 1;
}

.scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 26%;
  top: -26%;
  background: linear-gradient(180deg, transparent, var(--o2d-sky-soft) 70%, var(--o2d-cyan) 100%);
  opacity: 0.55;
  animation: scan 1.8s ease-in-out infinite;
}

@keyframes scan {
  to {
    top: 100%;
  }
}

.finds {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.finds li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
  color: var(--o2d-navy);
}

.finds li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--o2d-turquoise);
}

/* Step 2: profile */

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

.profile .card {
  padding: 22px 24px;
  animation: enter 0.45s ease both;
}

.profile p {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--o2d-navy);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tags span {
  padding: 7px 13px;
  border-radius: 99px;
  background: var(--o2d-mist);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--o2d-navy);
}

.swatches {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.swatches i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.fonts {
  margin-top: 12px;
  font-size: 15px;
  color: var(--o2d-slate);
}

/* Step 3: hooks */

.hooks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hooks .card {
  padding: 22px;
  min-height: 230px;
  animation: enter 0.45s ease both;
}

.hooks h3 {
  margin: 12px 0 0;
  min-height: 2.4em;
  font-family: var(--o2d-font-title);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--o2d-navy);
}

.hooks ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hooks li {
  margin-top: 8px;
  font-size: 15px;
  color: var(--o2d-slate);
}

.hooks li::before {
  content: "— ";
  color: var(--o2d-periwinkle);
}

.caret::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.95em;
  margin-left: 3px;
  vertical-align: -0.1em;
  background: var(--o2d-periwinkle);
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Steps 4–5: scenes */

.scenes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.scene {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: var(--o2d-mist);
  box-shadow: var(--shadow);
}

.scene img,
.scene video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene img {
  filter: blur(18px) saturate(0.4);
  transform: scale(1.12);
  opacity: 0;
  transition: filter 1.4s ease, transform 1.4s ease, opacity 0.5s ease;
}

.scene.is-in img {
  opacity: 1;
}

.scene.is-sharp img {
  filter: none;
  transform: none;
}

.scene video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scene.is-live video {
  opacity: 1;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--o2d-white) 55%, transparent) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: shimmer 1.3s linear infinite;
}

.scene.is-sharp::after {
  display: none;
}

@keyframes shimmer {
  from {
    background-position: 130% 0;
  }
  to {
    background-position: -130% 0;
  }
}

.scene figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 6px 8px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--o2d-navy) 72%, transparent);
  color: var(--o2d-white);
  font-size: 12px;
  line-height: 1.3;
}

.scene .ring-progress {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(var(--o2d-turquoise) calc(var(--p, 0) * 1%), color-mix(in srgb, var(--o2d-white) 40%, transparent) 0);
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%);
  mask: radial-gradient(circle, transparent 52%, #000 54%);
  opacity: 0;
  transition: opacity 0.3s;
}

.scene.is-working .ring-progress {
  opacity: 1;
}

.stage-note {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--o2d-slate);
}

/* Phones (step 6 and results) */

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  max-width: 1080px;
  margin: 0 auto;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  border: 9px solid var(--o2d-navy);
  background: var(--o2d-navy);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone img,
.phone video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone .build {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--o2d-navy) 55%, transparent);
  transition: opacity 0.5s;
}

.phone .build span {
  width: 64%;
  height: 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--o2d-white) 25%, transparent);
  overflow: hidden;
}

.phone .build span::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 1%);
  background: var(--o2d-grad-teal);
  transition: width 0.3s linear;
}

.phone.is-ready .build {
  opacity: 0;
}

/* ---------- 3. Resultados ---------- */

.res-head {
  max-width: 1080px;
  margin: 6px auto 34px;
}

.ads {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}

.ad {
  min-width: 0;
}

.ad .meta {
  margin-top: 18px;
  padding: 16px 18px;
}

.ad .meta strong {
  display: block;
  margin-top: 6px;
  font-family: var(--o2d-font-title);
  font-weight: 800;
  font-size: 18px;
  color: var(--o2d-navy);
}

.ad .meta p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--o2d-slate);
}

.ad .aud {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  background: var(--o2d-periwinkle);
  color: var(--o2d-white);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 13px;
}

.res-foot {
  max-width: 1080px;
  margin: 44px auto 0;
  padding: 28px clamp(20px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--o2d-grad-deep);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.res-ask {
  margin: 0;
  font-family: var(--o2d-font-title);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--o2d-white);
}

.res-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.res-foot .btn {
  background: var(--o2d-turquoise);
  color: var(--o2d-navy);
}

.res-foot .btn:hover {
  background: var(--o2d-white);
}

.res-foot .btn-ghost {
  background: transparent;
  color: var(--o2d-white);
  box-shadow: inset 0 0 0 2px var(--o2d-white);
}

/* ---------- Presenter mode (?presentador): bigger for a projector ---------- */

body.is-presenter {
  font-size: 18px;
}

body.is-presenter .skip {
  display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .gen-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps {
    display: none;
  }

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

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

@media (max-width: 720px) {
  .url-form {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 8px 8px 8px 18px;
  }

  .url-form input {
    font-size: 18px;
  }

  .url-form button {
    width: 100%;
    margin-top: 6px;
  }

  .msg {
    margin-left: 4px;
  }

  .profile,
  .hooks {
    grid-template-columns: 1fr;
  }

  .hooks .card {
    min-height: 0;
  }

  .phones {
    gap: 10px;
  }

  .phone {
    border-width: 5px;
    border-radius: 18px;
  }

  .ads {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
  }

  .ad {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }

  .ring {
    width: 90vw;
    right: -50vw;
    top: 4vh;
  }

  .deco .split,
  .deco .diag,
  .deco .outline,
  .deco .dot-a {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep phones inside the viewport (projector at 16:9) */
.phone {
  width: min(100%, calc(60vh * 9 / 16));
  margin: 0 auto;
}

.stage .phone {
  width: min(100%, calc(56vh * 9 / 16));
}

.ad .aud {
  display: table;
  margin: 0 auto 12px;
}

.res-head {
  margin-bottom: 26px;
}

@media (max-width: 720px) {
  .phone,
  .stage .phone {
    width: 100%;
  }
}

/* Sound toggle on result phones */
.phone .sound {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--o2d-navy) 78%, transparent);
  color: var(--o2d-white);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.phone .sound[aria-pressed="true"] {
  background: var(--o2d-turquoise);
  color: var(--o2d-navy);
}

.sound-icon {
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 720px) {
  .gen-logo {
    max-width: 130px;
    height: 52px;
    padding: 6px;
  }

  .gen-logo img {
    max-width: 116px;
    height: 38px;
  }

  .gen-url {
    font-size: 19px;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

/* ---------- Seasons ---------- */

[hidden] {
  display: none !important;
}

.camp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 22px 0 0 26px;
}

.camp-label {
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--o2d-slate);
}

.camp-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.camp-opt {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--o2d-white);
  color: var(--o2d-navy);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.camp-opt:hover {
  border-color: var(--o2d-periwinkle);
}

.camp-opt[aria-pressed="true"] {
  background: var(--o2d-navy);
  border-color: var(--o2d-navy);
  color: var(--o2d-white);
}

.gen-camp {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--o2d-turquoise);
  color: var(--o2d-navy);
  font-family: var(--o2d-font-title);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.season {
  margin-top: 18px;
}

.season-curve {
  position: relative;
  height: 118px;
  margin: 8px 0 34px;
}

.season-curve svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.season-fill {
  fill: var(--o2d-sky-soft);
}

.season-line {
  fill: none;
  stroke: var(--o2d-periwinkle);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.season-stop {
  position: absolute;
  translate: -50% -9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font-family: var(--o2d-font-title);
  color: var(--o2d-navy);
}

.season-stop i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--o2d-white);
  border: 4px solid var(--o2d-periwinkle);
  transition: transform 0.15s ease;
}

.season-stop b {
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--o2d-white);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.season-stop small {
  font-size: 12px;
  color: var(--o2d-slate);
  white-space: nowrap;
}

.season-stop:hover i {
  transform: scale(1.2);
}

.season-stop[aria-pressed="true"] i {
  background: var(--o2d-navy);
  border-color: var(--o2d-turquoise);
  transform: scale(1.25);
}

.season-stop[aria-pressed="true"] b {
  background: var(--o2d-navy);
  color: var(--o2d-white);
}

@media (max-width: 720px) {
  .camp {
    margin-left: 4px;
  }

  .gen-site {
    flex-wrap: wrap;
  }

  .gen-camp {
    font-size: 13px;
  }

  .camp-opt {
    padding: 7px 12px;
    font-size: 14px;
  }

  .season-stop b {
    padding: 3px 7px;
    font-size: 13px;
  }

  .season-stop small {
    display: none;
  }
}
