﻿/* ===== DROOLIES — cards on a doodle field ===== */
:root {
  --field: #79AE5F;
  --card: #FBF6E9;
  --card2: #F3EBD6;
  --ink: #1E1C1A;
  --muted: #6B6458;
  --red: #D6483C;
  --yellow: #FFD84D;
  --yellow2: #F2C230;
  --mint: #C8EBBE;
  --drool: #CDE4EE;
  --display: "Permanent Marker", "Comic Sans MS", cursive;
  --body: "Patrick Hand", "Comic Sans MS", cursive;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 20px; line-height: 1.45;
  background: var(--field) url("../assets/img/bg_tile.png") repeat; background-size: 520px; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 .35em; line-height: 1.08; }
h1, h2 { font-family: var(--display); letter-spacing: .5px; }
h2 { font-size: clamp(32px, 4.6vw, 50px); color: var(--ink); }
h3 { font-family: var(--display); font-size: 26px; }
p { margin: 0 0 .7em; }
::selection { background: var(--yellow); }
.muted { color: var(--muted); }
.small { font-size: 17px; }
.fine { font-size: 15px; color: var(--muted); margin: 18px 0 0; }
.center { text-align: center; margin-top: 26px; }
.label {
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); margin: 0 0 12px; display: flex; align-items: center; gap: 8px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3bb54a; display: inline-block; box-shadow: 0 0 0 3px rgba(59, 181, 74, .25); }

/* ----- layout ----- */
.col { max-width: var(--max); margin: 0 auto; padding: 0 16px 60px; display: grid; gap: 26px; position: relative; z-index: 1; }
.card {
  background: var(--card); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(22px, 3.4vw, 36px);
  box-shadow: 8px 8px 0 var(--ink); position: relative;
}
.two { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: start; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-decoration: none; cursor: pointer;
  font-family: var(--display); font-size: 19px; padding: .7em 1.3em; border-radius: 14px; border: 3px solid var(--ink);
  background: var(--card); color: var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-yellow { background: var(--yellow); }
.btn-ink { background: var(--ink); color: var(--card); box-shadow: 0 5px 0 var(--red); }
.btn-ink:hover { box-shadow: 0 7px 0 var(--red); }
.btn-ghost { background: transparent; }
.btn.full { width: 100%; margin-top: 12px; }
.btn.soon { cursor: pointer; }
#mintBtn { position: relative; z-index: 5; transition: transform .28s cubic-bezier(.3, 1.6, .5, 1), box-shadow .1s; touch-action: manipulation; }
#mintBtn.soon:hover, #mintBtn.soon:active { box-shadow: 0 5px 0 var(--ink); }
.nope {
  position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px; white-space: nowrap; pointer-events: none;
  font-family: var(--body); font-size: 16px; background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; padding: 2px 10px;
  opacity: 0; transition: opacity .2s, translate .2s;
}
.nope::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
#mintBtn.ran .nope { opacity: 1; translate: -50% 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 16px; text-decoration: none; cursor: pointer;
  padding: 8px 16px; border-radius: 99px; border: 2.5px solid var(--ink); background: var(--yellow); color: var(--ink);
  box-shadow: 0 3px 0 var(--ink); white-space: nowrap;
}
.pill-btn:hover { background: var(--yellow2); }
.pill-btn svg { width: 15px; height: 15px; fill: currentColor; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px) rotate(-2deg); } 40%, 80% { transform: translateX(7px) rotate(2deg); } }

/* ----- nav ----- */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 14px 16px; }
.nav {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 3px solid var(--ink); border-radius: 18px; padding: 8px 10px 8px 14px; box-shadow: 0 5px 0 var(--ink);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-word { font-family: var(--display); font-size: 25px; letter-spacing: 1px; display: inline-flex; align-items: center; }
.eye { position: relative; display: inline-block; width: .72em; height: .72em; margin: 0 1px; border: 2.5px solid var(--ink); border-radius: 50%; background: #fff; }
.eye i { position: absolute; width: 46%; height: 46%; left: 27%; top: 27%; background: var(--ink); border-radius: 50%; transition: transform .08s linear; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { text-decoration: none; font-size: 18px; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.links a:hover { background: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.sep { width: 2px; height: 26px; background: rgba(30, 28, 26, .25); }
.burger { display: none; background: none; border: 2.5px solid var(--ink); border-radius: 10px; padding: 6px 7px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 3px; background: var(--ink); margin: 3px 0; border-radius: 2px; }

/* ----- hero ----- */
.hero h1 { font-size: clamp(50px, 8vw, 92px); margin-bottom: 14px; color: var(--ink); text-shadow: 4px 4px 0 var(--yellow); }
.wiggle { display: inline-block; animation: wig 2s ease-in-out infinite; }
@keyframes wig { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg) translateY(-4px); } }
.counter {
  display: inline-block; font-family: var(--mono); font-size: 15px; background: var(--yellow); border: 2.5px solid var(--ink);
  border-radius: 12px; padding: 8px 14px; box-shadow: 0 4px 0 var(--ink);
}
.counter b { font-size: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px; margin-top: 26px; align-items: start; }
.box { border: 2.5px solid var(--ink); border-radius: 16px; padding: 18px; background: var(--card2); }
.box h3 { font-size: 22px; color: var(--red); }
.box p { font-size: 18px; margin-bottom: 8px; }
.os-link { font-family: var(--mono); font-size: 14px !important; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.countdown div { background: var(--ink); color: var(--card); border-radius: 14px; padding: 10px 4px; text-align: center; box-shadow: 0 4px 0 var(--red); }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; }
.countdown span { font-family: var(--mono); font-size: 12px; opacity: .75; text-transform: uppercase; }
.cd-note { font-size: 17px; color: var(--muted); margin: 12px 0 0; }
.hero-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-faces img { width: 100%; height: auto; aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--card2); transition: transform .2s; }
.hero-faces img:hover { transform: scale(1.06) rotate(-3deg); }

/* ----- about ----- */
.about .huge { font-size: clamp(46px, 12.5vw, 96px); color: var(--yellow); -webkit-text-stroke: 2.5px var(--ink); text-shadow: 5px 5px 0 var(--ink); margin: 0 0 6px; line-height: 1; }
.about .sub { font-size: clamp(26px, 3.2vw, 36px); }
.side h3 { font-size: 32px; margin-bottom: 0; }
.side .muted { font-size: 17px; }
.rare-face { margin: 10px 0 12px; }
.rare-face img { width: 100%; height: auto; aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 14px; }

/* ----- stats ----- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; margin-top: 18px; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 16px 18px; border-right: 2.5px solid var(--ink); background: var(--card); }
.stat:last-child { border-right: 0; }
.stat .k { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.stat b.hl { color: var(--red); }
.stat small { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ----- collection ----- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.chip { font-family: var(--body); font-size: 17px; padding: 4px 14px; border-radius: 99px; border: 2.5px solid var(--ink); background: var(--card); cursor: pointer; }
.chip.active { background: var(--ink); color: var(--card); }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.face { position: relative; padding: 0; border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--card2); cursor: pointer; transition: transform .15s; animation: pop .4s cubic-bezier(.3, 1.5, .5, 1) both; }
.face img { width: 100%; height: auto; aspect-ratio: 1; }
.face:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 6px 0 var(--ink); }
.face .id { position: absolute; left: 6px; bottom: 6px; font-family: var(--mono); font-size: 12px; background: var(--card); border: 2px solid var(--ink); border-radius: 7px; padding: 0 6px; }
.face .badge { position: absolute; right: 6px; top: 6px; font-family: var(--mono); font-size: 11px; background: var(--red); color: #fff; border: 2px solid var(--ink); border-radius: 7px; padding: 0 6px; }
@keyframes pop { from { transform: scale(.8); opacity: 0; } }

/* ----- anatomy ----- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 10px; }
.ana-img { position: relative; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; }
.ana-img img { width: 100%; height: auto; }
.hot { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid var(--ink); background: var(--red); cursor: pointer; padding: 0; }
.hot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--red); animation: ping 1.6s ease-out infinite; }
.hot.active { background: var(--yellow); }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ana-list { display: grid; gap: 8px; }
.ana-item { text-align: left; font-family: var(--body); font-size: 17px; color: var(--ink); background: var(--card); border: 2.5px solid transparent; border-bottom-color: rgba(30, 28, 26, .15); border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.ana-item b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; }
.ana-item span { display: none; }
.ana-item.active { background: var(--yellow); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.ana-item.active span { display: block; }

/* ----- roadmap ----- */
.road { list-style: none; margin: 18px 0 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 12px; }
.road::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: 18px; width: 4px; background: var(--yellow2); border-radius: 2px; }
.road li { position: relative; border: 2.5px solid rgba(30, 28, 26, .2); border-radius: 14px; padding: 12px 16px; background: var(--card); }
.road li::before { content: ""; position: absolute; left: -28px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); }
.road li.done::before, .road li.live::before { background: #6FB35A; }
.road li.live { border-color: var(--ink); background: #FFF6CF; }
.rt { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rt b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.rt i { font-family: var(--mono); font-style: normal; font-size: 13px; color: var(--red); margin-right: 6px; }
.road p { margin: 4px 0 0; font-size: 17px; color: var(--muted); }
.st { flex: none; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 99px; border: 2px solid var(--muted); color: var(--muted); }
.done .st { border-color: #3d8a33; color: #3d8a33; }
.live .st { border-color: var(--ink); background: #6FB35A; color: #fff; animation: blink 1.4s steps(2) infinite; }
.next .st { border-color: var(--yellow2); color: #9a7400; }
@keyframes blink { 50% { opacity: .55; } }

/* ----- checker ----- */
.checker { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.checker img { animation: wob 3s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.wl-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.wl-form input { flex: 1 1 260px; min-width: 0; font-family: var(--mono); font-size: 16px; padding: 12px 14px; border: 2.5px solid var(--ink); border-radius: 12px; background: #fff; outline: none; }
.wl-form input:focus { box-shadow: 0 0 0 4px var(--yellow); }
.wl-result { font-family: var(--display); font-size: 21px; margin: 12px 0 0; min-height: 1.3em; }
.wl-result.yes { color: #2f7a2a; } .wl-result.no { color: var(--red); } .wl-result.wait { color: #8a6d00; }

/* ----- faq ----- */
.faq { margin-top: 10px; }
.faq details { border-bottom: 2px solid rgba(30, 28, 26, .15); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--display); font-size: 20px; padding: 14px 34px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 22px; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 18px; color: var(--muted); padding-bottom: 6px; }

/* ----- steps ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; margin-top: 18px; }
.step { border-top: 3px solid var(--yellow2); padding-top: 12px; }
.step span { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.step h4 { font-family: var(--display); font-size: 21px; margin: 6px 0; }
.step p { font-size: 17px; color: var(--muted); margin: 0; }

/* ----- footer ----- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; font-size: 17px; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ----- side stickers ----- */
.side-stickers { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.side-stickers img {
  position: absolute; width: 130px; height: 130px; border: 3px solid var(--ink); border-radius: 16px; background: var(--card);
  box-shadow: 5px 5px 0 var(--ink); animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ----- modal ----- */
.modal { border: 3px solid var(--ink); border-radius: 22px; background: var(--card); padding: 26px; box-shadow: 10px 10px 0 var(--ink); max-width: min(760px, 94vw); color: var(--ink); }
.modal.small { max-width: min(460px, 94vw); }
.modal::backdrop { background: rgba(30, 28, 26, .55); backdrop-filter: blur(3px); }
.modal-in { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.modal img { width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 12px; }
.modal h3 { font-size: 32px; }
.close { position: absolute; right: 14px; top: 12px; background: var(--red); color: #fff; border: 2.5px solid var(--ink); border-radius: 50%; width: 38px; height: 38px; font-size: 17px; cursor: pointer; }
.traits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.traits li { border: 2px solid var(--ink); border-radius: 10px; padding: 4px 10px; background: #fff; font-size: 17px; line-height: 1.2; }
.traits li span { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.traits li.rare-t { background: var(--yellow); }
.warn { font-size: 17px; background: var(--drool); border: 2px dashed var(--ink); border-radius: 12px; padding: 10px 14px; }

/* ----- intro: Droolies News on a TV ----- */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 22px; padding: 16px;
  background: var(--field) url("../assets/img/bg_tile.png") repeat; background-size: 520px; transition: opacity .6s, transform .6s;
}
.intro.gone { opacity: 0; transform: scale(1.08); pointer-events: none; }
.intro-on { overflow: hidden; }
.tv {
  position: relative; width: min(980px, 94vw); background: #E0A35C; border: 5px solid var(--ink); border-radius: 30px;
  padding: clamp(10px, 2vw, 22px) clamp(10px, 2vw, 22px) 0; box-shadow: 12px 12px 0 var(--ink); animation: tvIn .7s cubic-bezier(.3, 1.5, .5, 1) both;
}
@keyframes tvIn { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }
.screen { border: 5px solid var(--ink); border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.screen video { width: 100%; height: 100%; display: block; object-fit: cover; }
.tv-bottom { display: flex; align-items: center; gap: 12px; padding: 10px 6px 12px; }
.knob { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); }
.tv-brand { margin-left: auto; font-family: var(--display); font-size: 18px; }
.ant { position: absolute; top: -70px; left: 50%; width: 5px; height: 80px; background: var(--ink); border-radius: 3px; transform-origin: bottom center; }
.ant::after { content: ""; position: absolute; top: -8px; left: -6px; width: 17px; height: 17px; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); }
.a1 { transform: rotate(-28deg); } .a2 { transform: rotate(24deg); }
.intro-btns { display: flex; align-items: center; gap: 18px; }
.skip { background: none; border: 0; font-family: var(--body); font-size: 19px; text-decoration: underline; cursor: pointer; color: var(--ink); }
@media (max-width: 600px) { .ant { height: 50px; top: -48px; } .tv { border-radius: 20px; } }

/* ----- Droolie POV: sway + double vision + fly ----- */
.pov .col { animation: sway 8s ease-in-out infinite; transform-origin: 50% 30vh; }
@keyframes sway {
  0%, 100% { transform: rotate(-.5deg) translateX(-5px); }
  25% { transform: rotate(.15deg) translate(2px, 3px); }
  50% { transform: rotate(.5deg) translateX(5px); }
  75% { transform: rotate(-.1deg) translate(-1px, -2px); }
}
.dizzy .col h1, .dizzy .col h2 { animation: ghost 1.1s ease-in-out; }
.dizzy .col img { animation: blur 1.1s ease-in-out; }
@keyframes ghost { 0%, 100% { filter: none; } 40%, 60% { filter: drop-shadow(9px 2px 0 rgba(30, 28, 26, .28)) blur(.6px); } }
@keyframes blur { 0%, 100% { filter: none; } 50% { filter: blur(1.4px); } }
.fly { position: fixed; left: 0; top: 0; z-index: 60; width: 36px; height: 30px; cursor: crosshair; will-change: transform; }
.fly svg { width: 100%; height: 100%; overflow: visible; }
.fly .bd { fill: #2a2a2e; stroke: var(--ink); stroke-width: 2; }
.fly .hd { fill: #2a2a2e; stroke: var(--ink); stroke-width: 2; }
.fly .ey { fill: #c0392b; }
.fly .lg { stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.fly .wing ellipse { fill: rgba(205, 228, 238, .75); stroke: var(--ink); stroke-width: 1.5; }
.fly .w1 { transform-origin: 30px 18px; animation: flapL .06s linear infinite alternate; }
.fly .w2 { transform-origin: 30px 18px; animation: flapR .06s linear infinite alternate; }
@keyframes flapL { from { transform: rotate(-25deg) scaleY(1); } to { transform: rotate(10deg) scaleY(.6); } }
@keyframes flapR { from { transform: rotate(25deg) scaleY(1); } to { transform: rotate(-10deg) scaleY(.6); } }
.fly.rest .wing { animation: none; }
.fly .buzz { position: absolute; left: 34px; top: -14px; font-family: var(--body); font-size: 14px; color: var(--ink); opacity: .7; animation: buzz .3s steps(2) infinite; white-space: nowrap; pointer-events: none; }
.fly.rest .buzz { display: none; }
@keyframes buzz { 50% { translate: 2px -2px; } }

/* click = a drop of drool */
.drop { position: fixed; z-index: 99; width: 18px; height: 24px; pointer-events: none; background: var(--drool); border: 2.5px solid var(--ink); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; animation: fall 1s ease-in forwards; }
@keyframes fall { to { transform: translateY(160px) scale(.6); opacity: 0; } }

/* reveal on scroll */
.js .card { opacity: 0; translate: 0 26px; transition: opacity .55s, translate .55s cubic-bezier(.2, .9, .3, 1); }
.js .card.in { opacity: 1; translate: 0 0; }

/* ----- responsive ----- */
@media (max-width: 1500px) { .side-stickers { display: none; } }
@media (max-width: 980px) {
  .links { display: none; }
  .burger { display: block; }
  .nav { position: relative; }
  .nav-right { margin-left: auto; }
  .links.open {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 10px; box-shadow: 0 5px 0 var(--ink);
  }
  .links.open a { font-size: 22px; }
  .two, .hero-grid, .anatomy { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .sep { display: none; }
  .brand-word { font-size: 21px; }
  .pill-btn { font-size: 14px; padding: 6px 12px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-grid.three { grid-template-columns: 1fr; }
  .stat-grid.three .stat { border-right: 0; border-bottom: 2.5px solid var(--ink); }
  .stat-grid.three .stat:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .checker { grid-template-columns: 1fr; text-align: center; }
  .checker img { width: 110px; margin: 0 auto; }
  .modal-in { grid-template-columns: 1fr; }
  .modal img { max-width: 240px; margin: 0 auto; }
  .btn-row .btn { width: 100%; }
  .foot { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .nav { gap: 8px; padding: 6px 8px 6px 10px; }
  .brand img { display: none; }
  .nav .pill-btn .dot { display: none; }
  .nav-right { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .card { opacity: 1; translate: none; }
}
