/* =========================================================================
   NEON UI BLOG — style sheet
   Colours live in the tokens right below. The six glows and the light mode
   only swap those tokens, so every page follows along.
   ========================================================================= */

@font-face { font-family: "Bebas"; src: url(fonts/BebasNeue-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Oswald"; src: url(fonts/Oswald.ttf) format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --g1: #ff2e7a;                       /* glow start */
  --g2: #ff8f2e;                       /* glow end   */
  --grad:  linear-gradient(90deg, var(--g1), var(--g2));
  --gradv: linear-gradient(180deg, var(--g1), var(--g2));

  --void: #131416;                     /* around the rounded screen */
  --bg:   #2c2f34;                     /* the screen itself          */
  --hi:   #393d44;                     /* soft light edge            */
  --lo:   #1c1e22;                     /* soft dark edge             */
  --ink:  #eceef1;
  --soft: #b8bdc5;
  --mute: #858b94;
  --line: rgba(236, 238, 241, .85);
  --faint: rgba(236, 238, 241, .13);

  --r: 22px;
  --pad: clamp(18px, 4vw, 60px);
  --nm:    9px 9px 20px var(--lo), -9px -9px 20px var(--hi);
  --nm-sm: 5px 5px 11px var(--lo), -5px -5px 11px var(--hi);
  --nm-in: inset 5px 5px 11px var(--lo), inset -5px -5px 11px var(--hi);
}
html[data-mode="light"] {
  --void: #c3c8d0; --bg: #e3e6eb; --hi: #ffffff; --lo: #b5bbc6;
  --ink: #202328; --soft: #454a53; --mute: #6b717b;
  --line: rgba(32, 35, 40, .8); --faint: rgba(32, 35, 40, .11);
}
html[data-glow="aqua"]   { --g1: #00d9ff; --g2: #7a5cff; }
html[data-glow="violet"] { --g1: #a64dff; --g2: #ff4fc3; }
html[data-glow="lime"]   { --g1: #b8f53a; --g2: #00c98a; }
html[data-glow="gold"]   { --g1: #ffc93c; --g2: #ff5a36; }
html[data-glow="ice"]    { --g1: #8fd3ff; --g2: #3a74ff; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { background: var(--void); }
body {
  margin: 0; padding: clamp(8px, 2.2vw, 28px);
  font: 400 15px/1.75 "Montserrat", system-ui, sans-serif;
  color: var(--soft); background: var(--void);
}
a { color: inherit; }
img, svg { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); }
h2 { font: 400 clamp(38px, 5vw, 64px)/.95 "Bebas", sans-serif; letter-spacing: .05em; }
h3 { font: 400 29px/1.02 "Bebas", sans-serif; letter-spacing: .05em; }
[hidden] { display: none !important; }

.frame {
  max-width: 1380px; margin: 0 auto; position: relative;
  background: var(--bg); border-radius: 30px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gb { border: 2px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; }
.nm { background: var(--bg); border-radius: var(--r); box-shadow: var(--nm); }
.muted { color: var(--mute); }
.eyebrow { display: inline-block; font: 600 12px/1 "Montserrat", sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.meta { font: 500 12px/1.4 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ic { width: 24px; height: 24px; flex: none; }

/* ---------- top bar ---------- */
.top {
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: stretch;
  gap: 16px; min-height: 100px; padding: 0 var(--pad); border-bottom: 2px solid var(--line);
}
.burger, .iconbtn { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); align-self: center; }
.burger { display: flex; flex-direction: column; gap: 6px; }
.burger i { display: block; width: 38px; height: 5px; border-radius: 3px; background: var(--grad); }
.iconbtn .ic { width: 38px; height: 38px; }
.nav { display: flex; gap: clamp(10px, 4vw, 70px); }
.nav.l { justify-content: flex-end; }
.nav a {
  position: relative; display: flex; align-items: center; padding: 0 16px;
  font: 300 18px/1 "Oswald", sans-serif; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--mute); transition: color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 5px; background: var(--ink); }
.logo {
  align-self: center; padding: 0 clamp(8px, 3vw, 46px);
  font: 400 clamp(34px, 4.2vw, 60px)/1 "Bebas", sans-serif; letter-spacing: .08em; text-decoration: none; white-space: nowrap;
}

/* ---------- drawers, search ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: min(370px, 88vw);
  padding: 26px 28px 40px; overflow-y: auto; background: var(--bg);
  box-shadow: 20px 0 60px rgba(0, 0, 0, .45); transform: translateX(-105%); transition: transform .35s ease;
}
.drawer.right { left: auto; right: 0; transform: translateX(105%); box-shadow: -20px 0 60px rgba(0, 0, 0, .45); }
.drawer.open { transform: none; }
.dhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dhead .logo { padding: 0; font-size: 40px; }
.dhead .iconbtn .ic { width: 30px; height: 30px; }
.dnav { display: grid; gap: 14px; margin-bottom: 34px; }
.dnav a {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; box-shadow: var(--nm-sm);
  font: 300 19px/1 "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--soft);
}
.dnav a i { font: 400 20px/1 "Bebas", sans-serif; font-style: normal; color: var(--mute); }
.dnav a:hover { color: var(--ink); }
.dnav a.on { box-shadow: var(--nm-in); color: var(--ink); }
.dnav a.on i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.drawer .eyebrow { margin: 6px 0 16px; }
.glows { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.glow {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: var(--nm-sm); position: relative;
}
.glow[aria-pressed="true"]::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--ink); }
.moderow { display: flex; align-items: center; gap: 14px; color: var(--mute); }
.switch {
  position: relative; width: 76px; height: 40px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); box-shadow: var(--nm-in);
}
.switch::after {
  content: ""; position: absolute; top: 6px; left: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); box-shadow: var(--nm-sm); transition: transform .3s;
}
.switch[aria-checked="true"]::after { transform: translateX(36px); }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 16px 16px 16px 58px; border-radius: 16px; box-shadow: var(--nm-sm); font-size: 14px; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 13px;
  font: 400 26px/1 "Bebas", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps b { color: var(--ink); }
.steps code { font-size: 12px; color: var(--ink); }

.finder { position: fixed; top: 18px; left: 50%; z-index: 55; width: min(640px, calc(100vw - 32px)); transform: translateX(-50%); }
.finder form { display: flex; gap: 12px; padding: 14px; }

/* ---------- inputs & buttons ---------- */
.inp {
  width: 100%; border: 0; border-radius: 14px; padding: 15px 18px; outline: 0;
  font: 500 15px/1.4 "Montserrat", sans-serif; color: var(--ink); background: var(--bg); box-shadow: var(--nm-in);
}
.inp::placeholder { color: var(--mute); }
.inp:focus { box-shadow: var(--nm-in), 0 0 0 2px var(--g1); }
textarea.inp { min-height: 150px; resize: vertical; }
.field { display: block; }
.field > span { display: block; margin-bottom: 10px; }
.btn {
  flex: none; border: 0; border-radius: 999px; padding: 15px 30px 12px; cursor: pointer;
  font: 400 22px/1 "Bebas", sans-serif; letter-spacing: .12em; color: #fff; background: var(--grad); box-shadow: var(--nm-sm);
  text-decoration: none; display: inline-block; transition: transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.pill {
  display: inline-block; padding: 12px 28px 9px; border: 2px solid var(--ink); border-radius: 999px;
  font: 400 23px/1 "Bebas", sans-serif; letter-spacing: .12em; color: var(--ink); text-decoration: none; transition: .25s;
}
.pill:hover { border-color: transparent; background: var(--grad); color: #fff; }
.done { margin-top: 12px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr auto; align-items: center; gap: 28px;
  min-height: min(820px, calc(100vh - 170px)); padding: clamp(40px, 5vw, 70px) var(--pad);
}
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; align-self: center;
  opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .6s, transform .6s, visibility .6s;
}
.slide.on { opacity: 1; visibility: visible; transform: none; }
.ghost {
  position: absolute; top: -.3em; left: -.02em; z-index: 0; pointer-events: none;
  font: 400 clamp(140px, 17vw, 260px)/1 "Bebas", sans-serif; color: transparent; -webkit-text-stroke: 2px var(--faint);
}
.hero h1, .phero h1 { position: relative; z-index: 1; }
.outline {
  display: block; font: 400 clamp(44px, 6.2vw, 94px)/.92 "Bebas", sans-serif; letter-spacing: .12em;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.mega { display: block; font: 400 clamp(76px, 13vw, 200px)/.86 "Bebas", sans-serif; letter-spacing: .09em; }
.dash { width: 30px; height: 3px; margin: 30px 0 22px; border: 0; background: var(--ink); }
.lede { max-width: 54ch; }
.slide .pill { margin-top: 42px; }
.pager { display: flex; flex-direction: column; gap: 16px; }
.pager button { position: relative; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--bg); box-shadow: var(--nm-in); }
.pager button[aria-current="true"]::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }

/* ---------- the illustrated scene (all drawn by glow.js) ---------- */
.scene { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.scene > * { position: absolute; }
.gear { display: block; animation: spin 46s linear infinite; }
.gear.rev { animation-direction: reverse; animation-duration: 38s; }
.scene .gear.a { left: 0; top: 11%; width: 20%; }
.scene .gear.b { left: 7%; top: 27%; width: 31%; }
.scene .gear.c { right: 1%; bottom: 5%; width: 17%; }
.sel { position: absolute; display: grid; place-items: center; border: 1.5px solid var(--line); }
.sel > .h { position: absolute; width: 9px; height: 9px; background: var(--ink); translate: -50% -50%; }
.h.tl { left: 0; top: 0; } .h.tm { left: 50%; top: 0; } .h.tr { left: 100%; top: 0; }
.h.ml { left: 0; top: 50%; } .h.mr { left: 100%; top: 50%; }
.h.bl { left: 0; top: 100%; } .h.bm { left: 50%; top: 100%; } .h.br { left: 100%; top: 100%; }
.sel > svg { width: 64%; height: 64%; }
.sel > .mini { width: 72%; height: 72%; display: grid; place-items: center; border-radius: 22%; }
.sel > .mini .ic { width: 52%; height: 52%; }
.float { animation: bob 7s ease-in-out infinite; }
.float.late { animation-delay: -3.5s; }

.phone { left: 41%; top: 8%; width: 37%; height: 82%; border-radius: 7cqi; }
.phone .glass { position: absolute; inset: 2.4cqi; border-radius: 5cqi; }
.player { position: absolute; left: 6cqi; right: 6cqi; top: 7cqi; padding: 3.2cqi 2cqi 2.6cqi; border-radius: 3.4cqi; text-align: center; }
.cover { display: grid; place-items: center; width: 13cqi; aspect-ratio: 1; margin: 0 auto 2.6cqi; border-radius: 3cqi; }
.cover .ic { width: 55%; height: 55%; }
.track { display: block; font: 500 2.5cqi/1.2 "Montserrat", sans-serif; letter-spacing: .14em; color: var(--soft); }
.by { display: block; margin-top: .6cqi; font: 500 1.7cqi/1.2 "Montserrat", sans-serif; }
.wave { display: flex; align-items: center; justify-content: center; gap: .9cqi; height: 5cqi; margin-top: 2.2cqi; }
.wave i { display: block; width: 2px; height: 100%; background: var(--gradv); animation: eq 1.1s ease-in-out infinite alternate; }
.wire { left: 50%; top: 49cqi; width: 2px; height: 13cqi; translate: -50% 0; background: repeating-linear-gradient(var(--g1) 0 4px, transparent 4px 8px); }
.wire::before, .wire::after { content: ""; position: absolute; left: -3px; width: 8px; height: 5px; background: var(--grad); }
.wire::before { top: -2px; } .wire::after { bottom: -2px; }
.ctrls { position: absolute; left: 4.5cqi; right: 4.5cqi; bottom: 7cqi; display: flex; justify-content: space-between; }
.ctrls span { display: grid; place-items: center; width: 7.6cqi; aspect-ratio: 1; border-radius: 2cqi; box-shadow: var(--nm-sm); }
.ctrls .ic { width: 50%; height: 50%; }
.knob { left: 12%; top: 71%; width: 19%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.knob::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: var(--nm-in); }
.knob b { position: absolute; inset: 22%; border-radius: 50%; background: conic-gradient(from 210deg, var(--g1), var(--g2) 62%, transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%); }
.knob span { position: relative; font: 500 1.9cqi/1 "Montserrat", sans-serif; letter-spacing: .16em; color: var(--mute); }
.dot { border-radius: 50%; }
.dot.fill { background: var(--ink); }
.dot.glowdot { background: var(--grad); }
.dot.ring { border: 1.5px solid var(--mute); }

/* ---------- sections ---------- */
.sec { padding: clamp(46px, 6vw, 84px) var(--pad); border-top: 2px solid var(--faint); }
.sec-h { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 38px; }
.sec-h .n { font: 400 70px/.8 "Bebas", sans-serif; color: transparent; -webkit-text-stroke: 1.5px var(--mute); }
.more {
  margin-left: auto; font: 300 16px/1 "Oswald", sans-serif; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--mute);
}
.more:hover { color: var(--ink); }
.grid { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }

.card { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 24px; text-decoration: none; transition: transform .25s; }
.card:hover { transform: translateY(-5px); }
.card .art { margin-bottom: 8px; }
.go { font: 400 21px/1 "Bebas", sans-serif; letter-spacing: .12em; margin-top: 4px; }
.tag {
  display: inline-block; padding: 8px 12px 7px; border-radius: 999px; box-shadow: var(--nm-sm);
  font: 600 11px/1 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* small illustrated panels (data-art) */
.art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; box-shadow: var(--nm-in); }
.art.sq { aspect-ratio: 1; }
img.art { display: block; width: 100%; height: auto; object-fit: cover; }
.art > * { position: absolute; }
.art .tilewrap { left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.art .tile { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 24%; }
.art .tile > svg { width: 50%; height: 50%; }
.art .sel { inset: -17%; }
.art .sel > .h { width: 6px; height: 6px; }

.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: clamp(24px, 4vw, 46px); }
.cta form { display: flex; gap: 14px; }

.dial { position: relative; display: grid; place-items: center; width: 150px; aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; box-shadow: var(--nm); }
.dial::before {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background: conic-gradient(var(--g1), var(--g2) calc(var(--p) * 1%), var(--faint) 0);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%);
}
.dial b { font: 400 46px/1 "Bebas", sans-serif; color: var(--ink); }
.stat { text-align: center; }

.bars { display: grid; gap: 20px; }
.bar > div { display: flex; justify-content: space-between; margin-bottom: 9px; }
.bar b { font: 400 21px/1 "Bebas", sans-serif; letter-spacing: .08em; color: var(--ink); }
.track-in { height: 14px; border-radius: 999px; box-shadow: var(--nm-in); padding: 3px; }
.track-in i { display: block; height: 100%; width: var(--p); border-radius: 999px; background: var(--grad); }

/* ---------- inner page heading ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(50px, 7vw, 96px) var(--pad) clamp(34px, 5vw, 60px); }
.phero .ghost { top: clamp(-10px, 1vw, 20px); left: calc(var(--pad) - 12px); }
.phero .outline { font-size: clamp(44px, 6vw, 84px); }
.phero .mega { font-size: clamp(64px, 10.5vw, 156px); }
.phero .lede { margin-top: 26px; }

/* journal tools */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 40px; }
.tools .inp { max-width: 340px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 11px 18px 9px; border: 0; border-radius: 999px; cursor: pointer; background: var(--bg); box-shadow: var(--nm-sm);
  font: 300 15px/1 "Oswald", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.chip:hover { color: var(--ink); }
.chip.on { box-shadow: var(--nm-in); color: var(--ink); }
.empty { padding: 40px; text-align: center; }

/* post */
.prog { position: fixed; top: 0; left: 0; z-index: 60; width: 0; height: 4px; background: var(--grad); }
.ptitle { font: 400 clamp(52px, 7vw, 104px)/.92 "Bebas", sans-serif; letter-spacing: .04em; max-width: 16ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.article { max-width: 780px; margin: 0 auto; }
.article > p { margin-bottom: 1.35em; font-size: 16.5px; line-height: 1.9; }
.article > p:first-child::first-letter { float: left; margin: 6px 12px 0 0; font: 400 84px/.8 "Bebas", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.article h2 { margin: 1.5em 0 .5em; font-size: clamp(36px, 4vw, 48px); }
.article ul { margin: 0 0 1.6em; padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--g1); }
.article blockquote {
  position: relative; margin: 2.2em 0; padding: 26px 30px; border-radius: 18px; box-shadow: var(--nm-in);
  font: italic 500 19px/1.65 "Montserrat", sans-serif; color: var(--ink);
}
.article blockquote::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 4px; background: var(--gradv); }
.article figure { margin: 2.4em 0; }
.article figcaption { margin-top: 12px; text-align: center; }
.article code { padding: 2px 7px; border-radius: 6px; box-shadow: var(--nm-in); font-size: .9em; color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; padding-top: 30px; border-top: 2px solid var(--faint); }
.round { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; box-shadow: var(--nm-sm); color: var(--ink); }

/* gallery */
.shot { margin: 0; }
.shot button { display: block; width: 100%; padding: 14px; border: 0; cursor: zoom-in; color: inherit; transition: transform .25s; }
.shot button:hover { transform: translateY(-5px); }
.shot figcaption { margin-top: 16px; text-align: center; }
.lb { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(8, 8, 10, .82); }
.lb .box { position: relative; width: min(760px, 100%); padding: 20px; }
.lb .x { position: absolute; top: -18px; right: -12px; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: var(--bg); box-shadow: var(--nm-sm); }
.lbcap { margin-top: 16px; text-align: center; }

/* about */
.portrait { max-width: 480px; justify-self: center; width: 100%; padding: 18px; }
.timeline { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 20px 22px; border-radius: 18px; box-shadow: var(--nm-sm); }
.timeline b { font: 400 34px/1 "Bebas", sans-serif; }
.timeline h3 { font-size: 24px; margin-bottom: 4px; }
details { padding: 20px 24px; border-radius: 18px; box-shadow: var(--nm-sm); }
details + details { margin-top: 18px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 400 24px/1.1 "Bebas", sans-serif; letter-spacing: .05em; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 30px/.8 "Bebas", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; }

/* links */
.lk { display: flex; align-items: center; gap: 20px; padding: 18px 22px; text-decoration: none; transition: transform .25s; }
.lk:hover { transform: translateY(-4px); }
.lk .tile { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--nm-in); }
.lk .tile .ic { width: 28px; height: 28px; }
.lk h3 { font-size: 26px; }
.lk .ar { margin-left: auto; }
.roll { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.roll li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 16px 0; border-bottom: 1.5px solid var(--faint); }
.roll a { font: 400 24px/1 "Bebas", sans-serif; letter-spacing: .05em; color: var(--ink); text-decoration: none; }
.roll a:hover { color: var(--g1); }
.badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; box-shadow: var(--nm-sm); font: 400 18px/1 "Bebas", sans-serif; letter-spacing: .1em; color: var(--ink); text-decoration: none; }
.badge .ic { width: 18px; height: 18px; }

/* contact */
.form { display: grid; gap: 22px; padding: clamp(22px, 4vw, 40px); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info { display: grid; gap: 18px; }
.info .lk { padding: 16px 20px; }
.gbook { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.gbook li { padding: 18px 22px; border-radius: 18px; box-shadow: var(--nm-sm); }
.gbook li > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.gbook b { font: 400 22px/1 "Bebas", sans-serif; letter-spacing: .06em; color: var(--ink); }

/* ---------- blog layout: posts + sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.feed { display: grid; gap: 28px; min-width: 0; }
.feed > .sec-h { margin-bottom: 6px; }
.post-row {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 26px; align-items: center;
  padding: 18px; text-decoration: none; transition: transform .25s;
}
.post-row:hover { transform: translateY(-4px); }
.post-row .txt { display: grid; gap: 10px; padding-right: 10px; }
.post-row.feature { grid-template-columns: 1fr; }
.post-row.feature .art { aspect-ratio: 16 / 8; }
.post-row.feature .tilewrap { width: auto; height: 42%; }
.post-row.feature .txt { padding: 4px 10px 8px; }
.post-row.feature h3 { font-size: clamp(34px, 3.6vw, 50px); }
.pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
.pages a {
  display: grid; place-items: center; min-width: 50px; height: 50px; padding: 3px 16px 0; border-radius: 999px;
  box-shadow: var(--nm-sm); font: 400 22px/1 "Bebas", sans-serif; letter-spacing: .08em; color: var(--mute); text-decoration: none;
}
.pages a:hover { color: var(--ink); }
.pages a[aria-current] { box-shadow: var(--nm-in); color: var(--ink); }
.layout .article { margin: 0; max-width: none; }

.side { display: grid; gap: 30px; min-width: 0; }
.widget { padding: 24px; }
.widget h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 400 26px/1 "Bebas", sans-serif; letter-spacing: .06em; color: var(--ink); }
.widget h4 .ic { width: 22px; height: 22px; }
.profile { text-align: center; }
.profile h4 { justify-content: center; margin-bottom: 8px; font-size: 36px; }
.profile .socials { justify-content: center; margin: 18px 0 14px; }
.profile .socials .ic { width: 28px; height: 28px; }
.profile .more { margin: 0; }
.avatar { display: grid; place-items: center; width: 128px; aspect-ratio: 1; margin: 0 auto 16px; padding: 8px; border-radius: 50%; box-shadow: var(--nm-in); overflow: hidden; }
.avatar span { font: 400 64px/1 "Bebas", sans-serif; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.now, .cats, .recent { display: grid; margin: 0; padding: 0; list-style: none; }
.now { gap: 14px; }
.now li { display: flex; align-items: center; gap: 14px; }
.now .tile { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--nm-in); }
.now .ic { width: 22px; height: 22px; }
.now b { display: block; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.cats a {
  display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1.5px solid var(--faint);
  font: 300 17px/1 "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); text-decoration: none;
}
.cats li:last-child a { border-bottom: 0; }
.cats a:hover { color: var(--ink); }
.cats i { padding: 6px 10px; border-radius: 999px; box-shadow: var(--nm-in); font: 600 12px/1 "Montserrat", sans-serif; font-style: normal; color: var(--ink); }
.recent { gap: 14px; }
.recent a { display: block; font: 400 20px/1.1 "Bebas", sans-serif; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.recent a:hover { color: var(--g1); }
.mini { display: grid; gap: 12px; margin-top: 14px; }

.authorbox { display: flex; align-items: center; gap: 22px; margin-top: 44px; padding: 24px; }
.authorbox .avatar { flex: none; width: 96px; margin: 0; }
.authorbox .avatar span { font-size: 48px; }
.authorbox h3 { margin: 4px 0 6px; }
.comments { margin-top: 56px; }
.comments .gbook { margin: 26px 0; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 22px var(--pad); border-top: 2px solid var(--line); }
.socials { display: flex; gap: 22px; }
.socials a { display: grid; place-items: center; }
.socials .ic { width: 38px; height: 38px; transition: transform .2s; }
.socials a:hover .ic { transform: translateY(-3px); }
.credits { font-size: 12px; letter-spacing: .08em; color: var(--mute); text-align: center; }
.help { display: flex; align-items: center; gap: 14px; padding: 0; border: 0; cursor: pointer; background: none; }
.help span { font: 400 25px/1 "Bebas", sans-serif; letter-spacing: .06em; }
.help b { display: grid; place-items: center; width: 54px; height: 54px; border: 2px solid var(--ink); border-radius: 50%; font: 700 28px/1 "Montserrat", sans-serif; color: var(--ink); transition: .25s; }
.help:hover b { border-color: transparent; background: var(--grad); color: #fff; }

/* ---------- motion ---------- */
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 50% { translate: 0 -9px; } }
@keyframes eq { from { transform: scaleY(.3); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .scene { max-width: 520px; }
  .pager { flex-direction: row; justify-content: center; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr; }
  .side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
}
@media (max-width: 880px) {
  .top { grid-template-columns: auto 1fr auto; min-height: 78px; }
  .nav { display: none; }
  .logo { justify-self: center; }
  .burger i { width: 30px; height: 4px; }
  .iconbtn .ic { width: 30px; height: 30px; }
  .split, .cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding: 8px; }
  .frame { border-radius: 20px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .cta form, .finder form { flex-direction: column; }
  .form .two { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .foot { justify-content: center; }
  .more { margin-left: 0; }
  .tools .inp { max-width: none; }
  .post-row { grid-template-columns: 1fr; }
  .authorbox { flex-direction: column; text-align: center; }
}
