/* ───────── Base ───────── */
:root { --ac: #00B8FF; --ink: #0A0A0A; --muted: #5C6166; --soft: #6A7075; --faint: #9AA0A6; --line: #ECECEC; --pad: clamp(20px, 5vw, 56px); --mono: 'JetBrains Mono', ui-monospace, monospace; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ac); }
img, video { max-width: 100%; }
::selection { background: var(--ac); color: #fff; }
input, textarea, button { font-family: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #DADADA; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #0A0A0A; color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; color: #fff; }
main { display: block; min-height: 100vh; outline: none; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in, .no-reveal [data-reveal] { opacity: 1; transform: none; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: clamp(80px, 13vh, 150px); padding-bottom: clamp(80px, 13vh, 150px); }
.page { padding-top: clamp(120px, 18vh, 190px); padding-bottom: clamp(80px, 12vh, 140px); }
.dark { background: #0A0A0A; color: #fff; }
.dark a { color: #fff; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.dark .eyebrow { color: rgba(255,255,255,.45); }
.h2 { margin: 0; font-size: clamp(30px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.h1 { margin: 0; font-size: clamp(34px, 6vw, 78px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.intro { margin: 22px 0 0; max-width: 62ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--muted); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(36px, 6vh, 64px); }
.arrow { color: var(--ac); }
.link-line { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: gap .25s ease, border-color .25s ease; }
.link-line:hover { gap: 18px; border-color: var(--ac); color: var(--ink); }
.dark .link-line { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.3); }
.dark .link-line:hover { color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.crumbs a, .crumbs button { color: var(--soft); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; display: inline-flex; gap: 10px; align-items: center; }
.crumbs a:hover, .crumbs button:hover { color: var(--ac); }
.crumbs .cur { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, opacity .3s ease; }
.btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10,10,10,.2); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 22px; font-size: 13.5px; font-weight: 600; transition: background .3s ease, color .3s ease; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--soft); border: 1px solid #E6E8EA; padding: 5px 10px; border-radius: 999px; }
.chip.solid { color: var(--ink); background: #F5F6F7; border-color: transparent; padding: 6px 11px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E6E8EA; color: var(--ink); transition: border-color .25s ease, transform .25s ease; flex: 0 0 auto; }
.icon-btn:hover { border-color: var(--ac); transform: translateY(-2px); color: var(--ink); }

/* media frames: zoom on hover */
.frame { position: relative; display: block; width: 100%; overflow: hidden; background: #F1F3F4; border: 1px solid var(--line); }
.frame .zoom { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
a:hover > .frame .zoom, .frame:hover .zoom, .card:hover .frame .zoom { transform: scale(1.045); }
.frame .tag { position: absolute; top: 0; left: 0; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; padding: 8px 12px; }
.frame.empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0F1215, #1A2026); border-color: #1A2026; }
.frame.empty span { color: rgba(255,255,255,.9); font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.03em; padding: 24px; text-align: center; }
.r-16-10 { aspect-ratio: 16/10; } .r-4-3 { aspect-ratio: 4/3; } .r-3-2 { aspect-ratio: 3/2; } .r-16-9 { aspect-ratio: 16/9; }

/* ───────── Header ───────── */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 72px; display: flex; align-items: center; transition: background .35s ease, color .35s ease, border-color .35s ease; background: rgba(255,255,255,.86); color: var(--ink); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.hdr.top { background: rgba(7,9,11,0); color: #fff; border-bottom-color: rgba(255,255,255,.12); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 7px; color: inherit; font-weight: 800; font-size: 21px; letter-spacing: -.04em; }
.logo:hover { color: inherit; }
.logo i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--ac); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a { position: relative; color: inherit; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; opacity: .62; padding: 6px 0; transition: opacity .25s ease; }
.hdr.top .nav a { opacity: .72; }
.nav a:hover, .nav a.on, .hdr.top .nav a:hover { opacity: 1; color: inherit; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav a.on::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
.burger span:nth-child(2) { width: 14px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 899px) { .nav { display: none; } .burger { display: flex; } }

.mmenu { position: fixed; inset: 0; z-index: 65; background: #fff; padding: 96px clamp(24px, 7vw, 48px) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow-y: auto; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); opacity: 0; transform: translateY(-14px); pointer-events: none; visibility: hidden; }
.menu-open .mmenu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid #F0F0F0; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.mmenu nav a.on { color: var(--ac); }
.mmenu nav a small { font-family: var(--mono); font-size: 11px; font-weight: 400; color: #B4B4B4; }
.mmenu .soc { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mmenu .soc a { color: #8A8F94; }
.menu-open { overflow: hidden; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #07090B; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .4; }
.hero .bgv { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero .bgv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .bgv iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero .bgv.yt-short iframe { width: 100vw; height: 177.8vw; min-height: 100vh; min-width: 56.25vh; }
.hero .shade { position: absolute; inset: 0; }
.hero .inner { position: relative; padding-top: clamp(90px, 14vh, 140px); padding-bottom: clamp(90px, 14vh, 140px); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { animation: heroUp 1s .18s cubic-bezier(.2,.7,.2,1) both; margin: 0; font-size: clamp(30px, 6vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.hero .sub { animation: heroUp 1s .3s cubic-bezier(.2,.7,.2,1) both; margin: 18px 0 0; font-size: clamp(15px, 1.8vw, 23px); font-weight: 600; color: rgba(255,255,255,.92); letter-spacing: -.015em; }
.hero .sub2 { animation: heroUp 1s .38s cubic-bezier(.2,.7,.2,1) both; margin: 9px 0 0; font-size: clamp(13px, 1.35vw, 16.5px); font-weight: 400; color: rgba(255,255,255,.74); letter-spacing: 0; max-width: 62ch; }
.hero .socials { animation: heroUp 1s .42s cubic-bezier(.2,.7,.2,1) both; margin-top: clamp(26px, 4vh, 40px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.soc-circle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.82) !important; transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.soc-circle:hover { color: #fff !important; border-color: var(--ac); transform: translateY(-3px); }
.hero .cta { animation: heroUp 1s .52s cubic-bezier(.2,.7,.2,1) both; margin-top: clamp(24px, 4vh, 36px); display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 14px 26px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.hero .cta:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,184,255,.28); color: var(--ink); }
.hero .cta i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.hero .scroll { position: absolute; right: var(--pad); bottom: clamp(64px, 10vh, 110px); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.42); font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero .scroll span { display: block; width: 1px; height: 52px; background: linear-gradient(180deg, rgba(255,255,255,.5), transparent); }
@media (max-width: 600px) { .hero .scroll { display: none; } }

/* ───────── About (image grows/shrinks with the text) ───────── */
.about-title { margin: 0 auto clamp(40px, 6vh, 72px); text-align: center; font-size: clamp(32px, 5.4vw, 70px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); align-items: stretch; }
.about-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
.about-img { position: relative; min-height: clamp(280px, 38vh, 520px); background: #F1F3F4; border: 1px solid var(--line); overflow: hidden; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img .badge { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; padding: 9px 13px; }
.about-text { display: flex; flex-direction: column; gap: 22px; }
.about-text .lead { margin: 0; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.45; font-weight: 600; letter-spacing: -.03em; }
.about-text p.body { margin: 0; font-size: 16.5px; line-height: 1.78; color: var(--muted); text-wrap: pretty; white-space: pre-line; }
.about-text .btn { align-self: flex-start; margin-top: 8px; }
.about-text .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.about-text .btn-row .btn { margin-top: 0; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-img { min-height: 0; aspect-ratio: 4/5; max-height: 80vh; }
}

/* ───────── Experience ───────── */
.exp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px clamp(20px, 4vw, 60px); align-items: baseline; padding: clamp(22px, 3.4vh, 34px) 0; border-top: 1px solid rgba(255,255,255,.12); transition: padding-left .35s cubic-bezier(.2,.7,.2,1); }
.exp-row:hover { padding-left: 14px; }
.exp-row .role { margin: 0; font-size: clamp(21px, 2.6vw, 34px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.exp-row .co { margin: 9px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: rgba(255,255,255,.55); }
.exp-row .date { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: rgba(255,255,255,.5); text-align: right; }
@media (max-width: 560px) { .exp-row { grid-template-columns: 1fr; } .exp-row .date { text-align: left; } }

.timeline { position: relative; padding-left: clamp(22px, 4vw, 48px); margin-top: clamp(50px, 8vh, 96px); }
.timeline::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, var(--ac) 0%, #D8DBDE 26%, #E9EBEC 100%); }
.tl-item { position: relative; padding: clamp(26px, 4vh, 44px) 0; }
.tl-item .dot { position: absolute; left: calc(clamp(22px, 4vw, 48px) * -1); top: calc(clamp(26px, 4vh, 44px) + 12px); width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #fff; transform: translateX(-4px); }
.tl-item:first-child .dot { background: var(--ac); }
.tl-item .tick { position: absolute; left: calc(clamp(22px, 4vw, 48px) * -1); top: calc(clamp(26px, 4vh, 44px) + 16px); width: clamp(22px, 4vw, 48px); height: 1px; background: #E2E4E6; }
.tl-grid { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 2.4fr) auto; gap: 10px clamp(20px, 4vw, 56px); align-items: baseline; }
.tl-grid .co { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--soft); }
.tl-grid h2 { margin: 0; font-size: clamp(24px, 3.4vw, 44px); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; }
.tl-grid .note { margin: 12px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 56ch; white-space: pre-line; }
.tl-grid .date { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--faint); text-align: right; }
@media (max-width: 760px) { .tl-grid { grid-template-columns: 1fr; } .tl-grid .date { text-align: left; } }

/* ───────── Cards / grids ───────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 300px)), 1fr)); gap: var(--gap, clamp(20px, 2.6vw, 36px)); }
.grid.fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); }
.card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.card .desc { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); margin: 0; }
.card .chip { font-size: 10px; padding: 5px 9px; }
.card .body { display: flex; flex-direction: column; gap: 10px; }

.work-card { gap: 20px; }
.work-card h3 { font-size: clamp(21px, 2.3vw, 28px); letter-spacing: -.032em; }
.work-card .desc { font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 58ch; -webkit-line-clamp: 4; }
.title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }

.work-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 3.4vw, 56px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(28px, 4vh, 48px); }
.work-row.solo { grid-template-columns: minmax(0, 1fr); }
.work-row.solo .txt { max-width: 820px; }
.work-row .txt { display: flex; flex-direction: column; gap: 14px; }
.work-row h2 { margin: 0; font-size: clamp(24px, 3.2vw, 40px); font-weight: 650; letter-spacing: -.04em; line-height: 1.08; }
.work-row .desc { margin: 0; font-size: 16px; line-height: 1.72; color: var(--muted); max-width: 56ch; }
.work-row .actions .icon-btn { width: 40px; height: 40px; }
.stack { display: flex; flex-direction: column; gap: clamp(44px, 7vh, 90px); margin-top: clamp(44px, 7vh, 88px); }

/* events */
.events-band { background: #FAFAFB; border-top: 1px solid #F0F0F0; border-bottom: 1px solid #F0F0F0; }
.events-band .wrap { padding-top: clamp(64px, 10vh, 110px); padding-bottom: clamp(64px, 10vh, 110px); }
.ev { position: relative; aspect-ratio: 3/2; overflow: hidden; background: #EFF1F2; display: block; color: #fff; }
.ev img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.ev:hover img { transform: scale(1.04); }
.ev .cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; gap: 5px; padding: 18px; background: linear-gradient(180deg, rgba(7,9,11,0) 25%, rgba(10,10,10,.62) 58%, rgba(10,10,10,.93) 100%); color: #fff; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.ev:hover .cap, .ev:focus-visible .cap, .ev.noimg .cap { opacity: 1; }
.ev.noimg { background: linear-gradient(135deg, #0F1215, #1D252C); }
.ev .cap p { margin: 0; }
.ev .cap .t { font-size: 14.5px; font-weight: 650; letter-spacing: -.02em; }
.ev .cap .d { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.85); }
@media (hover: none) { .ev .cap { opacity: 1; } }
.btn-outline { margin-top: 36px; }
.ev-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: clamp(28px, 5vh, 48px); text-align: center; }
.ev-title { margin: 0; font-size: clamp(22px, 2.8vw, 34px); font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
.ev-title.big { font-size: clamp(24px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.04em; }
.ev-more { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); border-bottom: 1px solid #D6D8DA; padding-bottom: 4px; }
.ev-more:hover { border-color: var(--ac); }
.ev-more-wrap { display: flex; justify-content: center; }
.ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
@media (max-width: 860px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } }
.btn-outline { margin-top: 36px; background: none; border: 1px solid #DDE0E2; border-radius: 999px; padding: 13px 26px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); transition: border-color .25s ease, transform .25s ease; }
.btn-outline:hover { border-color: var(--ac); transform: translateY(-2px); }

/* blog */
.post-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.post-card .frame { border: 0; }
.dark .post-card .frame { background: #15181B; }
.post-card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.35; }
.post-card .desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dark .post-card .desc { color: rgba(255,255,255,.62); }
.post-card .rm { margin: 0; display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0; }
.post-meta .cat { color: var(--ac); }
.dark .post-meta { color: rgba(255,255,255,.45); }
.dark a.post-card:hover { color: #fff; }
.dark a.post-card:hover .frame { opacity: .78; }
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 3.4vw, 52px); align-items: center; border-top: 1px solid var(--ink); padding-top: clamp(24px, 4vh, 40px); margin-top: clamp(44px, 7vh, 84px); }
.featured .frame { border: 0; }
.featured .frame .tag { background: var(--ac); }
.featured h2 { margin: 0; font-size: clamp(25px, 3.4vw, 44px); font-weight: 650; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.featured .txt { display: flex; flex-direction: column; gap: 14px; }
.featured .desc { margin: 0; font-size: 16px; line-height: 1.72; color: var(--muted); max-width: 54ch; }
.featured:hover { color: var(--ink); }
.sub-h { margin: clamp(60px, 9vh, 110px) 0 clamp(26px, 4vh, 40px); font-size: clamp(20px, 2.4vw, 28px); font-weight: 650; letter-spacing: -.03em; }

/* CTA */
.cta-sec { text-align: center; padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(80px, 14vh, 160px); }
.cta-sec h2 { margin: 0 auto; max-width: 18ch; font-size: clamp(34px, 6.6vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.cta-sec .btn { margin-top: clamp(30px, 5vh, 48px); padding: 16px 30px; font-size: 14.5px; }

/* ───────── Detail page ───────── */
.detail h1 { margin: 0; max-width: 100%; font-size: clamp(30px, 5.2vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; text-wrap: pretty; overflow-wrap: break-word; }
.detail .lede { margin: 24px 0 0; max-width: 100%; font-size: clamp(16.5px, 1.8vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.detail .top-meta { margin: 0 0 18px; }
.gal { position: relative; width: 100%; aspect-ratio: 16/9; max-height: calc(100vh - 210px); overflow: hidden; background: #0E1114; border: 1px solid var(--line); margin-top: clamp(34px, 6vh, 56px); touch-action: pan-y; }
.gal .track { position: absolute; inset: 0; display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal .slide { position: relative; flex: 0 0 100%; height: 100%; cursor: zoom-in; }
.gal .slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.gal .count { position: absolute; right: 0; bottom: 0; background: rgba(10,10,10,.86); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; padding: 8px 13px; }
.gal .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.14); transition: transform .25s ease, opacity .25s ease; opacity: 0; }
.gal:hover .nav-btn, .gal .nav-btn:focus-visible { opacity: 1; }
@media (hover: none) { .gal .nav-btn { opacity: .9; width: 38px; height: 38px; } }
.gal .prev { left: 14px; } .gal .next { right: 14px; }
.gal .nav-btn:hover { transform: translateY(-50%) scale(1.06); }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 auto; width: 108px; height: 68px; padding: 0; background: #0E1114; border: 1.5px solid #E6E8EA; cursor: pointer; opacity: .55; transition: opacity .3s ease, border-color .3s ease; overflow: hidden; }
.thumbs button.on { opacity: 1; border-color: var(--ac); }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); margin-top: clamp(50px, 8vh, 96px); align-items: start; }
.detail-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { display: flex; flex-direction: column; gap: 22px; }
.prose h2 { margin: 0; font-size: clamp(21px, 2.4vw, 30px); font-weight: 650; letter-spacing: -.035em; }
.prose p { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--muted); text-wrap: pretty; white-space: pre-line; }
.aside { display: flex; flex-direction: column; gap: 28px; border-top: 1px solid var(--line); padding-top: 26px; position: sticky; top: 96px; }
.aside .lbl { margin: 0 0 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.points li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.points li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1.5px; background: var(--ac); }
.link-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #DDE0E2; border-radius: 999px; padding: 12px 22px; font-size: 13.5px; font-weight: 600; transition: border-color .3s ease, transform .3s ease; }
.pill:hover { border-color: var(--ac); color: var(--ink); transform: translateY(-2px); }
.pill.dark-pill { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.dark-pill:hover { color: #fff; }
.video-block { margin-top: clamp(40px, 7vh, 80px); }
.player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player.vertical { max-width: 420px; aspect-ratio: 9/16; }
.related { margin-top: clamp(56px, 9vh, 110px); border-top: 1px solid var(--line); padding-top: 36px; }
.related h2 { margin: 0 0 28px; font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.pager { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(56px, 9vh, 110px); border-top: 1px solid var(--line); padding-top: 28px; }
.pager a { display: flex; flex-direction: column; gap: 6px; max-width: 46%; }
.pager a:last-child { text-align: right; margin-left: auto; }
.pager small { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.pager span { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }

/* ───────── Contact ───────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(40px, 6vw, 100px); align-items: start; }
.cform { display: flex; flex-direction: column; gap: 22px; max-width: 520px; margin-top: clamp(30px, 5vh, 52px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid #DDE0E2; padding: 10px 0; font-size: 16.5px; color: var(--ink); outline: none; resize: vertical; border-radius: 0; transition: border-color .25s ease; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ac); }
.field.bad input, .field.bad textarea { border-bottom-color: #D1344B; }
.field .err { margin: 0; font-size: 12.5px; color: #D1344B; display: none; }
.field.bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .btn { align-self: flex-start; margin-top: 6px; padding: 15px 28px; font-size: 14.5px; }
.cform .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.notice { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); background: #F3FBFF; border-left: 2px solid var(--ac); padding: 14px 16px; }
.notice.bad { background: #FFF4F5; border-left-color: #D1344B; }
.clist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.clist a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 3.4vh, 30px) 0; border-bottom: 1px solid var(--line); transition: padding-left .35s cubic-bezier(.2,.7,.2,1); }
.clist a:hover { padding-left: 12px; color: var(--ink); }
.clist .l { display: flex; align-items: center; gap: 18px; min-width: 0; }
.clist .ic { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #E6E8EA; flex: 0 0 auto; }
.clist p { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clist .go { font-size: 18px; color: var(--ac); opacity: .25; transition: opacity .3s ease; }
.clist a:hover .go { opacity: 1; }
.cblurb { margin: 34px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 34ch; white-space: pre-line; }

/* ───────── Footer ───────── */
.ftr { background: #0A0A0A; color: #fff; }
.ftr .wrap { padding-top: clamp(56px, 9vh, 96px); padding-bottom: 36px; }
.ftr .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(32px, 5vw, 64px); }
.ftr .brand { margin: 0 0 16px; display: flex; align-items: baseline; gap: 7px; font-size: 28px; font-weight: 800; letter-spacing: -.05em; }
.ftr .brand i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.ftr .nm { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.ftr .tg { margin: 6px 0 0; font-size: 14.5px; color: rgba(255,255,255,.55); }
.ftr .lbl { margin: 0 0 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.ftr .links { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px 20px; }
.ftr .links a { color: rgba(255,255,255,.72); font-size: 14px; transition: color .25s ease; }
.ftr .links a:hover { color: #fff; }
.ftr .socs { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr .socs .soc-circle { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.75) !important; }
.ftr .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: clamp(40px, 7vh, 72px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.ftr .bottom p { margin: 0; }

.totop { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; background: #0A0A0A; color: #fff; border: 1px solid rgba(255,255,255,.14); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .3s ease; }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }

/* ───────── Lightbox ───────── */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,8,.94); display: flex; align-items: center; justify-content: center; animation: fadeIn .25s ease; }
.lb[hidden] { display: none; }
.lb img { max-width: calc(100vw - 120px); max-height: calc(100vh - 120px); object-fit: contain; display: block; user-select: none; }
.lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb .x { top: 18px; right: 18px; }
.lb .p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb .c { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
@media (max-width: 640px) { .lb img { max-width: 100vw; max-height: calc(100vh - 140px); } .lb .p, .lb .n { top: auto; bottom: 12px; transform: none; } }

/* 404 */
.nf { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
.nf p { margin: 0; color: var(--muted); font-size: 17px; }
