/* Skill store: warm ink + Honeycraft honey. */
:root {
  --bg: #0e0d0b;
  --bg-2: #14120f;
  --card: #1a1814;
  --card-2: #211e19;
  --line: rgba(255, 238, 205, .09);
  --line-2: rgba(255, 238, 205, .16);
  --text: #f6efe2;
  --muted: #b9b0a0;
  --dim: #8a8273;
  --honey: #ffb627;
  --honey-2: #f59e0b;
  --honey-soft: rgba(255, 182, 39, .12);
  --on-honey: #1b1206;
  --ok: #5ee08a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 2px 0 rgba(255, 238, 205, .04) inset;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
code { font: 500 .88em/1.4 var(--mono); background: rgba(255, 238, 205, .07); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: #ffe1a3; word-break: break-word; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: var(--h); padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-honey { background: linear-gradient(180deg, #ffc54d, var(--honey) 55%, var(--honey-2)); color: var(--on-honey); box-shadow: 0 10px 30px -10px rgba(255, 182, 39, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-honey:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(255, 182, 39, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-honey:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 238, 205, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 238, 205, .08); border-color: rgba(255, 238, 205, .28); }
.is-disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.4); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(14, 13, 11, .72); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: rgba(255, 238, 205, .06); }
.nav-yt { display: inline-flex; align-items: center; gap: 6px; }
.nav-yt svg { width: 18px; height: 18px; color: #ff4e45; }
@media (max-width: 640px) { .nav a:not(.nav-yt):not([href="/#skills"]) { display: none; } .brand span { font-size: 17px; } }

/* ---------- hero ---------- */
.hero, .skill-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 320px at 78% 30%, rgba(255, 182, 39, .16), transparent 70%),
    radial-gradient(420px 260px at 12% 10%, rgba(255, 120, 60, .08), transparent 70%);
}
.hero-glow::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffeecd' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 85%); mask-image: linear-gradient(180deg, #000 10%, transparent 85%);
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--honey); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 4px var(--honey-soft); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd166, var(--honey) 45%, #ff9f1c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin: 20px 0 0; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--ok); }

.hero-feature { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform .25s ease, border-color .25s; }
.hero-feature:hover { transform: rotate(0) translateY(-3px); border-color: rgba(255, 182, 39, .4); }
.hf-media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.hf-media img { width: 100%; height: 100%; object-fit: contain; }
.hf-play { position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--on-honey); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.hf-play svg { width: 22px; height: 22px; margin-left: 3px; }
.hf-body { padding: 16px 10px 8px; }
.hf-new { font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--honey); }
.hf-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.hf-title b { font: 700 24px/1.1 var(--display); }
.hf-body p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.price { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 700 14px/1 var(--sans); background: rgba(255, 238, 205, .08); border: 1px solid var(--line-2); color: var(--text); }
.price.free { background: rgba(94, 224, 138, .12); border-color: rgba(94, 224, 138, .35); color: var(--ok); }
.tag-draft { display: inline-flex; padding: 3px 8px; border-radius: 6px; background: #3a2a10; color: var(--honey); font: 700 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 36px; flex-wrap: wrap; }
.kicker { margin: 0 0 10px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-sub { margin: 0; color: var(--muted); max-width: 32em; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, border-color .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); border-color: rgba(255, 182, 39, .38); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/9; background: #000; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { display: flex; align-items: center; gap: 10px; color: var(--dim); font: 600 12.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.card-kicker .price { margin-left: auto; text-transform: none; letter-spacing: 0; }
.card h3 { font-size: 25px; font-weight: 700; margin-top: 12px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card-tags span, .chips span { font: 500 12.5px/1 var(--sans); padding: 7px 10px; border-radius: 999px; background: rgba(255, 238, 205, .05); border: 1px solid var(--line); color: var(--muted); }
.card-go { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--honey); }
.card-go svg { width: 17px; height: 17px; transition: transform .2s; }
a.card:hover .card-go svg { transform: translateX(3px); }
.card-next { border-style: dashed; border-color: var(--line-2); background: repeating-linear-gradient(135deg, rgba(255, 238, 205, .015) 0 12px, transparent 12px 24px); min-height: 320px; }
.next-in { margin: auto; padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.next-badge { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--honey); padding: 7px 10px; border-radius: 999px; background: var(--honey-soft); }
.next-in h3 { font-size: 23px; margin-top: 4px; }
.next-in p { margin: 0 0 8px; }

/* ---------- install steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 16px; right: 18px; font: 800 44px/1 var(--display); color: rgba(255, 238, 205, .06); }
.step-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--honey-soft); color: var(--honey); border: 1px solid rgba(255, 182, 39, .25); }
.step-ico svg { width: 24px; height: 24px; }
.steps h4 { font-size: 19px; font-weight: 700; margin-top: 2px; }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.manual { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; background: rgba(255, 238, 205, .02); }
.manual summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--muted); }
.manual p, .manual ul { color: var(--muted); font-size: 15px; }
.manual ul { padding-left: 18px; }
.manual li { margin: 6px 0; }

/* ---------- opt-in ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: 24px; border: 1px solid rgba(255, 182, 39, .28); background: radial-gradient(600px 240px at 0% 0%, rgba(255, 182, 39, .16), transparent 70%), var(--card); }
.band-copy { display: flex; gap: 18px; align-items: flex-start; }
.band-ico, .modal-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--honey); color: var(--on-honey); }
.band-ico svg, .modal-ico svg { width: 26px; height: 26px; }
.band h2 { font-size: clamp(24px, 2.6vw, 30px); }
.band p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 28px 22px; } }
.optin-row { display: flex; gap: 8px; }
.optin input[type=email] { flex: 1 1 auto; min-width: 0; height: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--text); font: 500 15px var(--sans); }
.optin input[type=email]::placeholder { color: var(--dim); }
.optin input[type=email]:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 4px var(--honey-soft); }
.optin .btn { --h: 48px; }
.optin .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.optin-msg { margin: 8px 4px 0; min-height: 1.2em; font-size: 14px; color: var(--muted); }
.optin-msg.ok { color: var(--ok); }
.optin-msg.err { color: #ff8a7a; }
.optin.done .optin-row { display: none; }
@media (max-width: 480px) { .optin-row { flex-direction: column; } .optin .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 17px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: -6px 0 20px; color: var(--muted); max-width: 40em; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-2); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand svg { width: 38px; height: 38px; }
.foot-brand b { display: block; font: 700 17px/1.2 var(--display); }
.foot-brand span { color: var(--dim); font-size: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot-nav a:hover { color: var(--text); }
.fine { grid-column: 1 / -1; margin: 12px 0 0; color: var(--dim); font-size: 13px; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- skill page ---------- */
.skill-hero .wrap { padding: 36px 0 28px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--dim); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.skill-title h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.skill-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-bottom: 96px; }
.skill-side { position: sticky; top: 90px; }
.buy-mobile { display: none; }
@media (max-width: 980px) {
  .skill-grid { grid-template-columns: 1fr; }
  .skill-side { display: none; }
  .buy-mobile { display: block; margin-top: 24px; }
}
.buy { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.buy-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.buy-top .price { height: 34px; font-size: 16px; padding: 0 14px; }
.buy-ver { font-size: 13px; color: var(--dim); }
.buy-meta { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.buy-meta li { display: flex; align-items: center; gap: 10px; }
.buy-meta svg { width: 18px; height: 18px; flex: none; color: var(--ok); }
.buy-meta li:first-child svg { color: var(--honey); }
.buy-meta code { font-size: 12.5px; }
.buy-optin { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.buy-optin > p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.buy-optin > p b { color: var(--text); }
.buy-optin .optin-row { flex-direction: column; }
.buy-optin .btn { width: 100%; }

.player { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 12px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 999px; }
.tabs button { border: 0; background: none; color: var(--muted); font: 600 14px/1 var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected=true] { background: var(--honey); color: var(--on-honey); }
.vframe { display: none; }
.vframe.is-on { display: block; }
.vframe video { width: 100%; aspect-ratio: var(--ar); border-radius: 14px; background: #000; }
.vframe[style*="9/16"] video { width: auto; max-width: 100%; height: min(72vh, 760px); margin-inline: auto; }
.caption { margin: 12px 6px 4px; font-size: 14px; color: var(--dim); }

.block { margin-top: 64px; }
.block h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 18px; }
.block-lede { margin: -4px 0 24px; color: var(--muted); font-size: 17px; max-width: 42em; }
.makes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.makes li { display: flex; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.makes .n { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 800 16px/1 var(--display); background: var(--honey-soft); color: var(--honey); }
.makes h3 { font-size: 18px; font-weight: 700; margin-top: 4px; }
.makes p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.makes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .makes { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.shot { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; cursor: zoom-in; aspect-ratio: 16/9; transition: transform .2s, border-color .2s; }
.shot:hover { transform: scale(1.025); border-color: rgba(255, 182, 39, .45); }
.shot img { width: 100%; height: 100%; object-fit: contain; }

.copy { margin-top: 18px; border: 1px solid var(--line-2); border-radius: 14px; background: #0b0a08; overflow: hidden; }
.copy-label { padding: 10px 16px; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); background: rgba(255, 238, 205, .02); }
.copy-row { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; }
.copy-row code { flex: 1; background: none; border: 0; padding: 0; font-size: 15px; line-height: 1.55; color: #ffe1a3; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 238, 205, .05); color: var(--text); font: 600 13px/1 var(--sans); cursor: pointer; }
.copy-btn:hover { border-color: var(--honey); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.ok { color: var(--ok); border-color: rgba(94, 224, 138, .5); }
.note { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--honey); background: var(--honey-soft); border-radius: 0 10px 10px 0; color: var(--text); font-size: 15px; }

.reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reqs li { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.req-name { font-weight: 600; }
.req-name a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.req-name a:hover { color: var(--honey); }
.req-name svg { width: 14px; height: 14px; opacity: .6; }
.reqs p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .reqs li { grid-template-columns: 1fr; gap: 4px; } }

.tree { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.tree-row { display: grid; grid-template-columns: 230px 1fr; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tree-row:last-child { border-bottom: 0; }
.tree-row:nth-child(odd) { background: rgba(255, 238, 205, .02); }
.tree-row code { justify-self: start; align-self: start; }
.tree-row span { color: var(--muted); }
@media (max-width: 640px) { .tree-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- dialogs ---------- */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(5, 4, 3, .72); backdrop-filter: blur(4px); }
.modal { width: min(520px, 100% - 24px); border: 1px solid var(--line-2); border-radius: 24px; background: var(--card); padding: 30px 28px 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.modal[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 238, 205, .06); color: var(--muted); font-size: 22px; cursor: pointer; }
.modal-x:hover { color: var(--text); }
.modal-ico.ok { background: var(--ok); color: #06240f; }
.modal h2 { font-size: 26px; margin-top: 16px; }
.modal p { color: var(--muted); margin: 10px 0 0; }
.mini-steps { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.mini-steps li { margin: 6px 0; }
.mini-steps b { color: var(--text); }
.modal .copy { margin-top: 12px; }
.modal-optin { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal-optin > p { margin: 0 0 12px; font-size: 14.5px; }
.modal-optin > p b { color: var(--text); }
.modal-fine { font-size: 13px; margin-top: 18px !important; }
.modal-fine a { color: var(--honey); }
.modal .modal-gate, .modal.is-gate .modal-done { display: none; }
.modal.is-gate .modal-gate { display: block; }
.modal-gate .optin { margin-top: 18px; }

.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 56px 72px; border: 0; background: rgba(8, 7, 6, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: var(--muted); margin: 0; padding: 0 20px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 238, 205, .08); color: var(--text); cursor: pointer; border-radius: 50%; }
.lb-close { top: 14px; right: 16px; width: 44px; height: 44px; font-size: 26px; }
.lb-nav { top: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 182, 39, .25); }
@media (max-width: 640px) { .lightbox { padding: 64px 12px; } .lb-nav { top: auto; bottom: 60px; transform: none; } }

/* ---------- 404 ---------- */
.nf { padding: 120px 0 140px; }
.nf h1 { font-size: clamp(36px, 5vw, 56px); }
.nf .btn { margin-top: 28px; }

/* ---------- responsive hero ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .hero-feature { transform: none; }
  .section { padding: 64px 0; }
}

/* Install steps stack inside the narrower skill column. */
.skill-main .steps { grid-template-columns: 1fr; gap: 12px; }
.skill-main .steps li { padding: 18px 20px; }
.skill-main .steps li::before { top: 50%; transform: translateY(-50%); }
