:root {
  --cream: #fff7ec;
  --cream-2: #fbecd6;
  --ink: #2b1d14;
  --ink-soft: #6b5546;
  --orange: #e2803a;
  --orange-deep: #c25e1c;
  --tabby: #5d4a3c;
  --white: #fffdf9;
  --sea: #0f3d5c;
  --sea-2: #155a82;
  --sea-light: #8fd3f4;
  --gold: #f2c14e;
  --red: #c8102e;
  --med: #12a39a;
  --med-deep: #0b6e68;
  --med-light: #dff5f2;
  --med-red: #e63946;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(43, 29, 20, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-align: center; font-weight: 900; }
h3 { font-size: 1.6rem; }
.center { text-align: center; }
.lead { color: var(--ink-soft); font-style: italic; margin-top: -.6em; margin-bottom: 2rem; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 247, 236, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 29, 20, .08);
}
.nav-logo { font-family: "Fraunces", serif; font-weight: 900; font-size: 1.3rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 1.2rem; overflow-x: auto; scrollbar-width: none; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav-links a:hover { color: var(--orange-deep); }
.nav-cocola { color: var(--sea-2) !important; }
.nav-medicotta { color: var(--med-deep) !important; }
@media (max-width: 720px) {
  .nav { flex-direction: column; gap: .3rem; padding: .5rem 1rem; }
  .nav-links { max-width: 100%; flex-wrap: wrap; justify-content: center; gap: .1rem .9rem; }
  .nav-links a { font-size: .85rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  padding: 3rem clamp(1rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 80% 30%, rgba(226, 128, 58, .25), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(93, 74, 60, .15), transparent 40%),
    var(--cream);
  overflow: hidden;
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars span {
  position: absolute; color: var(--orange); opacity: .5;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8) rotate(0); } 50% { opacity: .7; transform: scale(1.15) rotate(20deg); } }
.hero-text { position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; color: var(--orange-deep); font-weight: 600; }
.hero h1 {
  font-size: clamp(4rem, 14vw, 9.5rem); font-weight: 900; margin: 0;
  background: linear-gradient(100deg, var(--tabby) 0 33%, var(--orange) 33% 66%, #b9a493 66%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.03em;
}
.hero-sub { font-family: "Fraunces", serif; font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-style: italic; margin: .5rem 0 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-badges span { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
.hero-pic { position: relative; justify-self: center; z-index: 2; }
.hero-pic img { max-height: 70vh; width: auto; filter: drop-shadow(0 20px 25px rgba(43, 29, 20, .3)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.bubble {
  position: absolute; top: 4%; left: -12%;
  background: var(--white); border: 3px solid var(--ink); border-radius: 20px;
  padding: .7rem 1rem; font-family: "Caveat", cursive; font-size: 1.5rem; line-height: 1.1;
  box-shadow: 4px 4px 0 var(--ink); transform: rotate(-6deg);
}
.bubble small { font-size: 1.1rem; color: var(--ink-soft); }
.bubble::after { content: ""; position: absolute; right: 20px; bottom: -16px; border: 8px solid transparent; border-top-color: var(--ink); border-left-color: var(--ink); }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; min-height: auto; }
  .hero-badges { justify-content: center; }
  .hero-pic img { max-height: 55vh; }
  .bubble { left: -4%; font-size: 1.25rem; }
}

/* ---------- MEDICOTTA ---------- */
.medicotta {
  position: relative; overflow: hidden;
  padding: 5rem clamp(1rem, 6vw, 6rem);
  background:
    linear-gradient(rgba(18, 163, 154, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(18, 163, 154, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--med-light);
}
.ecg { position: absolute; top: 1.2rem; left: 0; width: 100%; height: 60px; opacity: .55; }
.ecg path { fill: none; stroke: var(--med-red); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: ecg 3.2s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 900; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.medicotta-inner { max-width: 960px; margin: 0 auto; position: relative; }
.med-eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--med-red); }
.med-title { font-size: clamp(2.2rem, 6.5vw, 4.2rem); color: var(--med-deep); }
.med-title span {
  font-family: "Caveat", cursive; font-size: 1.5em; color: var(--med-red); display: inline-block; transform: rotate(-3deg);
  background: linear-gradient(transparent 62%, rgba(230, 57, 70, .18) 62%);
}

.diploma {
  position: relative; max-width: 680px; margin: 2rem auto 3rem; text-align: center;
  background: var(--white); border-radius: 6px; padding: 2.2rem 2rem 2rem;
  border: 3px solid var(--med); outline: 2px solid var(--med); outline-offset: 6px;
  box-shadow: 0 18px 40px rgba(11, 110, 104, .2);
}
.diploma-seal {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--med-red); color: #fff; font-size: 1.6rem; box-shadow: 0 0 0 5px var(--med-light);
}
.diploma-head { font-family: "Fraunces", serif; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--med-deep); margin-bottom: .6rem; }
.diploma-body { color: var(--ink-soft); }
.diploma-spec { font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(1.3rem, 3.6vw, 1.9rem); color: var(--ink); margin: .4rem 0; line-height: 1.2; }
.diploma-note { font-family: "Caveat", cursive; font-size: 1.5rem; color: var(--med-red); margin: 0; }

.med-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 3rem; }
.med-quotes blockquote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); display: grid; grid-template-columns: 64px 1fr; gap: .2rem 1rem; align-items: start; }
.med-quotes img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; grid-row: span 2; background: var(--cream-2); border: 3px solid var(--med); }
.med-quotes p { margin: 0; font-family: "Fraunces", serif; font-style: italic; }
.med-quotes cite { font-style: normal; font-size: .82rem; color: var(--ink-soft); }

.rx { max-width: 760px; margin: 0 auto; }
.rx-sealed {
  text-align: center; background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.5rem;
  border: 3px dashed var(--med); box-shadow: var(--shadow);
}
.rx-label { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--med-deep); margin: 0; }
.rx-big { font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.1rem); margin: .3rem 0; }
.rx-small { color: var(--ink-soft); margin-top: 0; }
.btn.btn-med { background: var(--med-red); box-shadow: 4px 4px 0 var(--med-deep); font-size: 1.1rem; padding: .9rem 1.6rem; animation: pulse 1.6s ease-in-out infinite; }
.btn.btn-med:hover { box-shadow: 6px 6px 0 var(--med-deep); }
.btn.btn-med:active { box-shadow: 1px 1px 0 var(--med-deep); }
@keyframes pulse { 50% { transform: scale(1.05); } }

.rx-open { animation: pop .6s cubic-bezier(.2, 1.5, .4, 1); }
.rx-paper {
  background: #fff; border-radius: 4px; padding: 1.6rem 1.8rem; margin-bottom: 1.6rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12); border-top: 8px solid var(--med);
  background-image: repeating-linear-gradient(0deg, transparent 0 29px, rgba(18, 163, 154, .12) 29px 30px);
}
.rx-paper-head { display: flex; align-items: center; gap: .8rem; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; color: var(--med-deep); }
.rx-paper-head small { font-weight: 400; font-style: italic; color: var(--ink-soft); }
.rx-symbol { font-size: 2.6rem; line-height: 1; color: var(--med-red); }
.rx-paper p { margin: .35rem 0; }
.rx-sign { font-family: "Caveat", cursive; font-size: 1.6rem; text-align: right; color: var(--med-deep); margin-top: .8rem !important; }

.boarding { display: grid; grid-template-columns: 1fr 170px; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(11, 110, 104, .28); }
.bp-main { background: var(--med-deep); color: #fff; padding: 1.4rem 1.6rem; }
.bp-airline { margin: 0 0 .8rem; font-family: "Anton", sans-serif; letter-spacing: .14em; font-size: .85rem; color: #9ee8e1; }
.bp-route { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.bp-route > div:not(.bp-plane) { display: grid; }
.bp-code { font-family: "Anton", sans-serif; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; }
.bp-city { font-size: .8rem; opacity: .8; }
.bp-route > div:last-child { text-align: right; }
.bp-plane { flex: 1; text-align: center; font-size: 1.8rem; position: relative; }
.bp-plane { isolation: isolate; }
.bp-plane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .4); z-index: -1; }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem 1rem; }
.bp-grid span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.bp-grid b { font-size: 1rem; }
.bp-stub {
  background: #fff; color: var(--ink); padding: 1.4rem 1rem; text-align: center;
  border-left: 3px dashed var(--med-deep); display: flex; flex-direction: column; justify-content: space-between; gap: .6rem;
}
.bp-stub > p:first-child { font-family: "Anton", sans-serif; font-size: 2rem; margin: 0; color: var(--med-deep); }
.bp-days { margin: 0; display: grid; }
.bp-days b { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--med-red); }
.bp-days span { font-size: .75rem; color: var(--ink-soft); }
.bp-barcode { height: 44px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.rx-ps { text-align: center; font-family: "Caveat", cursive; font-size: 1.45rem; color: var(--med-deep); margin-top: 1.5rem; }
@media (max-width: 640px) {
  .boarding { grid-template-columns: 1fr; }
  .bp-stub { border-left: none; border-top: 3px dashed var(--med-deep); flex-direction: row; align-items: center; }
  .bp-barcode { width: 70px; height: 40px; }
  .bp-grid { grid-template-columns: repeat(2, 1fr); }
  .diploma { padding: 2.2rem 1.2rem 1.5rem; }
  .rx-paper { padding: 1.3rem 1.1rem; }
}

.confetti { position: fixed; top: -20px; z-index: 120; pointer-events: none; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- SECTIONS ---------- */
.section { padding: 5rem clamp(1rem, 6vw, 6rem); }
.section.alt { background: var(--cream-2); }

/* ID card */
.id-card {
  position: relative;
  max-width: 900px; margin: 0 auto 4rem;
  display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--orange);
}
.id-photo { background: linear-gradient(160deg, var(--orange), #f4c79d); border-radius: 16px; padding: 1rem; display: flex; justify-content: center; }
.id-photo img { max-height: 260px; width: auto; }
.id-card dl { margin: 0; display: grid; gap: .55rem; }
.id-card dl div { display: grid; grid-template-columns: 150px 1fr; gap: .5rem; border-bottom: 1px dashed rgba(43, 29, 20, .2); padding-bottom: .4rem; }
.id-card dt { font-weight: 600; color: var(--ink-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.id-card dd { margin: 0; }
.note { color: var(--ink-soft); font-style: italic; font-size: .9em; }
.stamp {
  position: absolute; right: 1.5rem; bottom: 1.2rem;
  border: 4px double var(--red); color: var(--red); border-radius: 10px;
  padding: .3rem .8rem; font-family: "Anton", sans-serif; font-size: 1.4rem; line-height: 1; text-align: center;
  transform: rotate(-12deg); opacity: .8;
}
.stamp small { font-family: "Inter", sans-serif; font-size: .6rem; }
@media (max-width: 720px) {
  .id-card { grid-template-columns: 1fr; padding: 1.3rem; }
  .id-card dl div { grid-template-columns: 1fr; gap: 0; }
  .stamp { position: static; justify-self: center; margin-top: .5rem; }
}

/* Pet game */
.pet-game { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.pet-cat {
  position: relative; border: none; background: radial-gradient(circle, #ffe3c7, transparent 70%);
  cursor: pointer; padding: 1rem; border-radius: 50%; display: flex; flex-direction: column; align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.pet-cat img { max-height: 360px; width: auto; transition: transform .15s; user-select: none; -webkit-user-drag: none; }
.pet-cat:active img { transform: scale(.96); }
.pet-cat.shake img { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px) rotate(-4deg); } 40%, 80% { transform: translateX(10px) rotate(4deg); } }
.pet-hint { font-family: "Caveat", cursive; font-size: 1.4rem; color: var(--ink-soft); }
.heart { position: absolute; pointer-events: none; font-size: 1.6rem; animation: float-up 1.1s ease-out forwards; }
@keyframes float-up { to { transform: translateY(-90px) scale(1.4); opacity: 0; } }
.pet-panel { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.meter-label { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; }
.meter { height: 18px; background: #eee3d6; border-radius: 999px; overflow: hidden; margin: .4rem 0 1rem; }
.meter-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #e84a3a, var(--orange), #7cc36a); background-size: 300% 100%; background-position: 100% 0; transition: width .3s, background-position .3s; border-radius: 999px; }
.pet-msg { font-family: "Fraunces", serif; font-size: 1.25rem; font-style: italic; min-height: 3.4em; }
.pet-count { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 720px) { .pet-game { grid-template-columns: 1fr; } .pet-cat img { max-height: 280px; } }

.btn {
  font: 600 1rem "Inter", sans-serif; cursor: pointer;
  background: var(--ink); color: var(--white); border: none; border-radius: 999px; padding: .8rem 1.4rem;
  box-shadow: 4px 4px 0 var(--orange); transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--orange); }

/* Gallery */
.gallery { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.gallery figure { flex: 0 1 240px; }
.gallery figure {
  margin: 0; background: var(--white); padding: .8rem .8rem 1rem; border-radius: 6px;
  box-shadow: 0 0 0 10px #8a5a33, 0 0 0 13px #d7a86e, 0 18px 30px rgba(0, 0, 0, .25);
  transition: transform .25s;
}
.gallery figure:nth-child(odd) { transform: rotate(-1.5deg); }
.gallery figure:nth-child(even) { transform: rotate(1.2deg); }
.gallery figure:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.gallery img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 3px; }
.gallery figcaption { font-size: .85rem; text-align: center; margin-top: .7rem; color: var(--ink-soft); }
.gallery figcaption b { font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--ink); }
@media (max-width: 560px) { .gallery { gap: 2.4rem; padding: 0 12px; } .gallery figure { flex-basis: 100%; } }

/* Stellina TV */
.tv { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 1.8rem; align-items: start; }
.tv-set {
  background: linear-gradient(160deg, #6e4a32, #3e2819);
  border-radius: 30px; padding: 1.2rem 1.2rem .9rem;
  box-shadow: 0 18px 40px rgba(43, 29, 20, .35), inset 0 2px 0 rgba(255, 255, 255, .15), inset 0 0 0 3px #2a1a0f;
}
.tv-screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: 26px / 22px; background: #000;
  box-shadow: inset 0 0 0 6px #1a0f08, inset 0 0 40px rgba(0, 0, 0, .8);
}
.tv-backdrop { position: absolute; inset: -30px; z-index: -1; background: center / cover no-repeat; filter: blur(26px) brightness(.55) saturate(1.2); transition: background-image .3s; }
.tv-screen video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
.tv-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .45));
}
.tv-static {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background:
    repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, #000 1px 2px, #888 2px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 4px);
  background-size: 7px 7px, 100% 100%;
}
.tv-static.on { animation: static .5s steps(6) forwards; }
@keyframes static {
  0% { opacity: 1; background-position: 0 0, 0 0; }
  50% { opacity: .9; background-position: 3px 5px, 0 2px; }
  100% { opacity: 0; background-position: -4px 2px, 0 0; }
}
.tv-osd {
  position: absolute; top: 1rem; right: 1.3rem; z-index: 4; pointer-events: none;
  font: 700 1.5rem/1 "Courier New", monospace; color: #7dff7a; text-shadow: 0 0 8px #3cff3a, 2px 2px 0 #000;
  opacity: 0; transition: opacity .4s;
}
.tv-osd.show { opacity: 1; }
.tv-panel { display: flex; align-items: center; gap: 1rem; padding: .9rem .4rem 0; color: #f3e3cf; }
.tv-brand { font-family: "Anton", sans-serif; letter-spacing: .18em; font-size: .8rem; color: #e9c99f; opacity: .8; writing-mode: vertical-rl; transform: rotate(180deg); }
.tv-now { flex: 1; min-width: 0; }
.tv-now b { display: block; font-family: "Fraunces", serif; font-size: 1.25rem; color: #fff; }
.tv-now span { font-size: .9rem; }
.tv-knobs { display: flex; gap: .6rem; }
.tv-knobs i { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d8c2a5, #7a5a3e 60%, #3e2819); box-shadow: 0 3px 6px rgba(0, 0, 0, .4); position: relative; }
.tv-knobs i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 11px; margin-left: -1.5px; background: #2a1a0f; border-radius: 2px; }
.tv-knobs i:last-child { transform: rotate(60deg); }

.tv-guide { list-style: none; margin: 0; padding: .7rem; display: grid; gap: .5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.tv-chan {
  width: 100%; display: grid; grid-template-columns: 52px auto 1fr; align-items: center; gap: .7rem;
  padding: .45rem; border: 2px solid transparent; border-radius: 14px; background: none; cursor: pointer;
  font: 600 .95rem "Inter", sans-serif; color: var(--ink); text-align: left; transition: background .15s;
}
.tv-chan:hover { background: var(--cream-2); }
.tv-chan img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.tv-num { font: 700 .8rem "Courier New", monospace; color: var(--ink-soft); }
.tv-chan[aria-current="true"] { background: var(--cream-2); border-color: var(--orange); }
.tv-chan[aria-current="true"] .tv-num { color: var(--orange-deep); }
.tv-chan[aria-current="true"] .tv-name::after { content: " ▶"; color: var(--orange-deep); font-size: .75em; }

@media (max-width: 820px) {
  .tv { grid-template-columns: 1fr; gap: 1.2rem; }
  .tv-set { padding: .8rem .8rem .7rem; border-radius: 24px; scroll-margin-top: 90px; }
  .tv-screen { aspect-ratio: 3 / 4; }
  .tv-guide { grid-template-columns: 1fr 1fr; padding: .5rem; gap: .3rem; }
  .tv-chan { grid-template-columns: 44px 1fr; gap: .5rem; font-size: .82rem; }
  .tv-chan img { width: 44px; height: 44px; grid-row: span 2; }
  .tv-num { align-self: end; }
  .tv-name { align-self: start; }
  .tv-knobs i { width: 26px; height: 26px; }
}

/* ---------- C.O.C.O.L.A. ---------- */
.cocola {
  position: relative; color: #eaf6ff;
  background: linear-gradient(180deg, var(--sea-2) 0%, var(--sea) 60%, #0a2a40 100%);
  padding: 6rem clamp(1rem, 6vw, 6rem) 5rem;
  overflow: hidden;
}
.waves {
  position: absolute; inset: 0 0 auto; height: 60px;
  background: radial-gradient(circle at 30px -10px, var(--cream-2) 40px, transparent 41px) 0 0 / 60px 60px repeat-x;
}
.cocola-inner { position: relative; max-width: 1000px; margin: 0 auto; }
.cocola-eyebrow { text-align: center; font-family: "Anton", sans-serif; letter-spacing: .2em; color: var(--gold); font-size: .9rem; }
.cocola-title {
  font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(3.5rem, 14vw, 8rem); letter-spacing: .05em;
  color: var(--gold); text-shadow: 5px 5px 0 var(--red), 10px 10px 0 rgba(0, 0, 0, .3); margin-bottom: .2em;
}
.acronym { list-style: none; padding: 0; margin: 0 auto 3rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .3rem 1rem; font-family: "Fraunces", serif; font-size: clamp(1rem, 2.4vw, 1.35rem); }
.acronym b { color: var(--gold); font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.4em; }
.acronym .filler { opacity: .6; font-style: italic; }

.leader { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.poster {
  background: var(--red); padding: 1.2rem 1.2rem 0; border-radius: 6px;
  box-shadow: 0 0 0 6px var(--gold), 0 20px 40px rgba(0, 0, 0, .4);
  transform: rotate(-2deg);
}
.poster .otter { width: 100%; height: auto; aspect-ratio: 661 / 800; object-fit: cover; border-radius: 4px; border: 4px solid var(--gold); filter: saturate(1.1) contrast(1.05); }
.poster-credit { font-size: .6rem; opacity: .7; text-align: right; margin-top: .2rem; }
.poster-caption { text-align: center; padding: .8rem .3rem 1rem; }
.poster-caption strong { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 2.4rem; letter-spacing: .12em; color: var(--gold); line-height: 1; }
.poster-caption span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.leader-text p { font-size: 1.05rem; }
.quote { font-family: "Fraunces", serif; font-style: italic; font-size: 1.4rem !important; border-left: 4px solid var(--gold); padding-left: 1rem; color: #fff; }
.quote span { font-family: "Inter", sans-serif; font-style: normal; font-size: .8rem; color: var(--sea-light); }
@media (max-width: 820px) { .leader { grid-template-columns: 1fr; } .poster { max-width: 340px; margin: 0 auto; } }

.cocola-h3 { text-align: center; font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-size: 1.8rem; margin-top: 1rem; }
.decrees { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; margin-bottom: 3.5rem; }
.decrees article {
  background: #f5ecd7; color: var(--ink); border-radius: 4px; padding: 1.1rem 1.2rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3); position: relative;
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(15, 61, 92, .08) 27px 28px);
}
.decrees article::before { content: "🦦"; position: absolute; top: -.8rem; right: .8rem; font-size: 1.6rem; }
.dn { font-family: "Anton", sans-serif; color: var(--red); letter-spacing: .06em; }
.decrees p { margin: .3rem 0 0; font-size: .95rem; }

.request { max-width: 560px; margin: 0 auto; display: grid; gap: 1rem; background: rgba(255, 255, 255, .08); border: 2px solid rgba(242, 193, 78, .5); border-radius: var(--radius); padding: 1.6rem; }
.request label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
.request input, .request select, .request textarea {
  font: inherit; font-weight: 400; padding: .7rem .9rem; border-radius: 12px; border: none; background: #f5ecd7; color: var(--ink); width: 100%;
}
.request textarea { resize: vertical; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 var(--red); justify-self: center; }
.btn-gold:hover { box-shadow: 6px 6px 0 var(--red); }
.btn-gold:active { box-shadow: 1px 1px 0 var(--red); }

.certificate {
  position: relative; max-width: 620px; margin: 2rem auto 3.5rem; padding: 2rem 2.2rem;
  background: #fbf3df; color: var(--ink); text-align: center;
  border: 10px double var(--gold); outline: 3px solid var(--red); outline-offset: -22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes pop { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }
.cert-head { font-family: "Anton", sans-serif; letter-spacing: .15em; color: var(--sea); }
.cert-head small { font-family: "Inter", sans-serif; letter-spacing: 0; font-size: .7rem; color: var(--ink-soft); }
.cert-title { font-family: "Fraunces", serif; font-weight: 900; font-size: 1.8rem; color: var(--red); margin: .2rem 0 1rem; }
.cert-type { font-family: "Caveat", cursive; font-size: 2rem; color: var(--sea-2); margin: 0; }
.cert-why { font-style: italic; color: var(--ink-soft); }
.cert-verdict { font-weight: 600; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 1.5rem; font-size: .8rem; text-align: left; }
.cert-sign { font-family: "Caveat", cursive; font-size: 1.8rem; text-align: center; border-top: 1px solid var(--ink); padding-top: .2rem; line-height: 1; }
.cert-sign small { font-family: "Inter", sans-serif; font-size: .65rem; }
.cert-stamp {
  position: absolute; right: 28%; bottom: 1.2rem; border: 4px solid rgba(200, 16, 46, .75); color: rgba(200, 16, 46, .75);
  font-family: "Anton", sans-serif; font-size: 1.5rem; padding: .1rem .7rem; border-radius: 8px; transform: rotate(-14deg);
}
@media (max-width: 560px) { .certificate { padding: 1.8rem 1.3rem; } .cert-stamp { right: 1.2rem; top: 1.2rem; bottom: auto; font-size: 1rem; } }

.anthem { max-width: 560px; margin: 0 auto; text-align: center; font-family: "Fraunces", serif; font-style: italic; font-size: 1.2rem; line-height: 1.8; }

.footer { background: #0a2a40; color: #b8d6ea; text-align: center; padding: 2rem 1rem 2.5rem; }
.footer p { margin: .3rem 0; }
.footer .small { font-size: .8rem; opacity: .75; }

/* Bite overlay */
.bite {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(200, 16, 46, .35); pointer-events: none; animation: bite-flash .9s forwards;
}
.bite img { width: min(70vw, 420px); animation: lunge .9s forwards; }
@keyframes bite-flash { 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lunge { 0% { transform: scale(.2) rotate(-20deg); } 30% { transform: scale(1.25) rotate(5deg); } 60% { transform: scale(1) rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .order { opacity: 1; transform: none; }
}
