/* Salmanul Farisy theme
   Layout: one dark page, 1360px max width, sticky side headings beside content, mono labels. */
:root {
	--bg: #0B0B0D;
	--surface: #111114;
	--surface-2: #17171B;
	--ink: #EDEAE3;
	--ink-2: #CFCBC2;
	--ink-3: #B8B4AC;
	--muted: #9A9AA0;
	--faint: #5E5E66;
	--line: rgba(237, 234, 227, .12);
	--line-soft: rgba(237, 234, 227, .08);
	--accent: #7CC4FF;
	--disp: 'Syne', 'Space Grotesk', system-ui, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--gutter: clamp(20px, 4vw, 48px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
main { display: block; }

.mono { font-family: var(--mono); }
.disp { font-family: var(--disp); }
.muted { color: var(--muted); }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--bg); border-radius: 999px; }

/* Type scale */
.eyebrow { margin: 0 0 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { color: inherit; text-decoration: none; }
.h-xl { margin: 0; font-weight: 700; font-size: clamp(44px, 7vw, 112px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.h-lg { margin: 0; font-weight: 700; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h-sm { margin: 0 0 24px; font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.lead { margin: 28px 0 0; max-width: 34em; color: var(--ink-3); font-size: clamp(17px, 1.3vw, 19px); }
.count { font-size: .22em; font-weight: 400; letter-spacing: 0; vertical-align: top; color: var(--muted); margin-left: 10px; }

/* Buttons and links */
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent); color: var(--bg); text-decoration: none; font-size: 16px; font-weight: 500; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s; }
.pill:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.pill-sm { min-height: 44px; padding: 0 20px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pill-lg { min-height: 64px; padding: 0 32px; font-size: 18px; }
.pill-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(237, 234, 227, .3); }
.pill-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.navlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; text-decoration: none; position: relative; }
.navlink::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 10px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-io); }
.navlink:hover::after, .navlink:focus-visible::after, .current-menu-item > .navlink::after { transform: scaleX(1); transform-origin: left; }

/* Header */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 13, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.admin-bar .site-header { top: 32px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(237, 234, 227, .25); font-weight: 800; font-size: 15px; letter-spacing: -.02em; transition: background .3s, color .3s; }
.brand:hover .brand-mark { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.brand-name { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.site-menu { display: flex; gap: 24px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.site-menu a { color: var(--ink); }
.site-menu ul, .site-menu li { display: contents; list-style: none; margin: 0; padding: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(237, 234, 227, .25); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: inline; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; pointer-events: none; z-index: 80; transform: translate3d(-100px, -100px, 0); transition: width .3s, height .3s, margin .3s; }
.cursor.big { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
@media (pointer: coarse) { .cursor { display: none; } }

/* Hero */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 140px; overflow: hidden; }
.hero-inner { position: relative; width: 100%; }
.gridbg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(237, 234, 227, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 234, 227, .06) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%); animation: pan 18s linear infinite; }
@keyframes pan { to { background-position: 80px 80px; } }
.ringwrap { position: absolute; right: clamp(16px, 6vw, 120px); top: 96px; width: 220px; height: 220px; }
.ring { animation: spin 26s linear infinite; }
.ring-text { font-family: var(--mono); font-size: 11.5px; letter-spacing: 3px; fill: var(--muted); text-transform: uppercase; }
.ring-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(237, 234, 227, .15); border-radius: 999px; font-size: 13px; color: var(--ink-2); margin-bottom: 40px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.hero-tag { margin: 0 0 18px; font-size: clamp(13px, 1.3vw, 16px); color: var(--muted); }
.type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 29ch; animation: type 1.3s steps(29) .2s both; }
@keyframes type { from { width: 0; } }
.caret { display: inline-block; width: .6ch; height: 1.1em; vertical-align: -.2em; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-name { margin: 0; font-weight: 800; font-size: clamp(36px, 8.8vw, 136px); letter-spacing: -.045em; text-transform: uppercase; }
.line { display: block; overflow: hidden; white-space: nowrap; line-height: .92; padding-bottom: .04em; }
.line-2 { padding-left: clamp(24px, 14vw, 260px); }
.ch { display: inline-block; animation: rise 1s var(--ease) both; }
.ch.accent { color: var(--accent); }
@keyframes rise { from { transform: translateY(110%) rotate(6deg); } }
.fadeup { animation: fadeup 1s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 48px; }
.hero-intro { margin: 0; max-width: 460px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cue-track { position: relative; display: block; width: 1px; height: 56px; background: rgba(237, 234, 227, .15); overflow: hidden; }
.cue { position: absolute; inset: 0; background: var(--accent); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Marquee bands */
.bands { position: relative; padding: 40px 0 72px; overflow: hidden; }
.band { background: var(--accent); color: var(--bg); padding: 18px 0; transform: rotate(-2deg) scale(1.06); }
.band-thin { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-top: 28px; transform: rotate(1deg) scale(1.06); }
.mq { display: flex; width: max-content; animation: mq 32s linear infinite; white-space: nowrap; }
.mq.disp { font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.02em; text-transform: uppercase; }
.mq-rev { animation-direction: reverse; animation-duration: 38s; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mq-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.mq-small { padding-right: 40px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section-tight { padding: 40px 0 120px; }
.split { display: flex; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.split-side { flex: 1 1 400px; min-width: 0; }
.split-main { flex: 1 1 580px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sticky { position: sticky; top: 140px; }

/* Code window */
.codewin { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.codewin-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.codewin-bar > span:not(.codewin-file) { width: 10px; height: 10px; border-radius: 50%; background: rgba(237, 234, 227, .18); }
.codewin-file { margin-left: 12px; font-size: 12px; color: var(--muted); }
.codewin-body { padding: 22px 0; font-size: clamp(12px, 1.05vw, 14px); line-height: 2; overflow-x: auto; }
.cl { display: flex; white-space: pre; padding: 0 22px; }
.ln { width: 32px; flex: none; color: var(--faint); user-select: none; }
.c-cm { color: #8C8C93; } .c-lq { color: var(--accent); } .c-tx { color: var(--ink); } .c-at { color: #A9B4FF; } .c-st { color: #D6D2C8; }
.rendered { display: flex; align-items: center; gap: 12px; color: var(--accent); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.rendered span:first-of-type { color: var(--muted); }
.rendered .rule { flex: 1; height: 1px; background: var(--line); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-soft); padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.tile-img { flex: 1; border-radius: 8px; background: #2A2A31; }
.tile-img.tone-accent { background: var(--accent); }
.tile-img.tone-light { background: var(--ink); }
.tile-l1, .tile-l2 { height: 6px; border-radius: 3px; background: rgba(237, 234, 227, .25); width: 70%; }
.tile-l2 { width: 40%; background: rgba(237, 234, 227, .12); }

/* Work rows */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.work-intro { margin: 0; max-width: 340px; color: var(--ink-3); }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 360px) 48px; align-items: center; gap: 24px; padding: 30px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: color .35s; }
.row::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-io); z-index: 0; }
.row > * { position: relative; z-index: 1; }
.row:hover, .row:focus-visible { color: var(--bg); }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.row .muted { transition: color .35s; }
.row:hover .muted, .row:focus-visible .muted { color: var(--bg); }
.row-n { font-size: 13px; }
.rname { font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; transition: transform .5s var(--ease); }
.row:hover .rname { transform: translateX(16px); }
.row-what { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0; margin-top: 8px; }
.tags { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.arrow { display: inline-flex; justify-content: flex-end; transition: transform .5s var(--ease); }
.row:hover .arrow, .row:focus-visible .arrow { transform: rotate(-45deg); }
.all-work { margin: 32px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* Services */
.svc { display: flex; flex-wrap: wrap; gap: 20px 40px; padding: 44px 0; border-top: 1px solid var(--line); transition: border-color .4s; }
.svc:hover { border-color: var(--accent); }
.svc-n { font-size: 13px; color: var(--accent); width: 48px; }
.svc-text { flex: 1 1 380px; min-width: 0; }
.stitle { margin: 0 0 14px; font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.025em; transition: transform .5s var(--ease); }
.svc:hover .stitle { transform: translateX(10px); }
.svc p { margin: 0; color: var(--ink-3); max-width: 520px; }

/* Contact call to action */
.contact-cta { padding: 140px 0 100px; position: relative; overflow: hidden; }
.contact-title { margin: 0; font-weight: 800; font-size: clamp(52px, 11vw, 184px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.contact-title .fill { display: block; }
.contact-title .indent { padding-left: clamp(0px, 12vw, 220px); }
.fill { color: transparent; -webkit-text-stroke: 1.5px rgba(237, 234, 227, .55); background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 64px; }
.contact-mail { font-size: 14px; color: var(--muted); margin-left: 12px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(237, 234, 227, .1); padding: 28px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); }

/* Inner pages */
.page-head { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 64px); }
.page-head .lead { margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(237, 234, 227, .2); background: transparent; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--accent); }
.filter.is-on { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.filter.is-on .muted { color: var(--bg); }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 40px 28px; }
.project-card[hidden] { display: none; }
.project-card-link { display: block; text-decoration: none; }
.project-card-img { display: block; aspect-ratio: 1280 / 908; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.project-card-link:hover img { transform: scale(1.04); }
.project-card-blank { display: flex; height: 100%; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; color: var(--muted); }
.project-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.project-card-title { font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.project-card-link:hover .project-card-title { color: var(--accent); }
.project-card-plat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 40px 0 36px; font-size: 13px; }
.facts dt { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin-bottom: 4px; }
.facts dd { margin: 0; }
.project-shots { display: flex; flex-direction: column; gap: 28px; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.shot img { width: 100%; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.post-card { border-bottom: 1px solid var(--line); }
.post-card-link { display: flex; flex-direction: column; gap: 10px; padding: 32px 0; text-decoration: none; height: 100%; }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; margin-bottom: 10px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card-title { font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; transition: color .3s; }
.post-card-link:hover .post-card-title { color: var(--accent); }
.post-card-excerpt { color: var(--ink-3); font-size: 15px; }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pager { margin-top: 48px; font-size: 14px; }
.pager .nav-links, .pager { display: flex; gap: 8px; flex-wrap: wrap; text-transform: none; letter-spacing: 0; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pager .page-numbers.current { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* Article content */
.prose { padding-bottom: 80px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--disp); color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin-top: 2em; margin-bottom: .5em; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); }
.prose h3 { font-size: clamp(22px, 2.2vw, 28px); }
.prose a { color: var(--accent); }
.prose img { border-radius: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--accent); color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose .sf-figure { margin: 2em 0; }
.prose .sf-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 500; }
.prose-legacy { max-width: 1000px; }
.entry-hero { margin: 0 auto 48px; }
.entry-hero img { border-radius: 16px; width: 100%; }
.entry-foot { padding-bottom: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.post-navigation a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.post-navigation a:hover { border-color: var(--accent); }
.post-navigation .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.post-navigation .disp { font-weight: 700; font-size: 20px; line-height: 1.2; }
.nav-next { text-align: right; }

.comments { margin-top: 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-top: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-author img { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }

/* Forms */
.contact-head { padding-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; font-size: 19px; }
.contact-list .mono { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { text-decoration: none; }
.contact-form { display: flex; flex-direction: column; gap: 4px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 20px; }
.field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.field label, .comment-form label { font-size: 13px; color: var(--ink-3); }
.field input, .field select, .field textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(237, 234, 227, .16); background: var(--bg); color: var(--ink); transition: border-color .3s; }
.field textarea, .comment-form textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .pill { align-self: flex-start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; font-size: 15px; }
.notice-ok { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink); border: 1px solid var(--accent); }
.notice-err { background: rgba(255, 120, 110, .12); color: #FFB4AD; border: 1px solid rgba(255, 120, 110, .5); }

/* Scroll-linked motion, where the browser supports it. Everything is visible without it. */
@supports (animation-timeline: view()) {
	.progress { animation: grow linear both; animation-timeline: scroll(root); }
	@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
	.drift-l { animation: driftl linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
	.drift-r { animation: driftr linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
	@keyframes driftl { to { transform: translateX(-18%); opacity: .15; } }
	@keyframes driftr { to { transform: translateX(18%); opacity: .15; } }
	.rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
	@keyframes rv { from { opacity: 0; transform: translateY(64px); } }
	.clip { animation: clip linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
	@keyframes clip { from { clip-path: inset(0 0 100% 0); transform: translateY(40px); } to { clip-path: inset(0 0 0 0); } }
	.cl { animation: typein linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
	@keyframes typein { from { opacity: 0; transform: translateX(-28px); filter: blur(6px); } }
	.tile { animation: tile linear both; animation-timeline: view(); }
	.t1 { animation-range: entry 40% cover 40%; } .t2 { animation-range: entry 55% cover 45%; } .t3 { animation-range: entry 70% cover 50%; } .t4 { animation-range: entry 85% cover 55%; }
	@keyframes tile { from { opacity: 0; transform: translateY(40px) scale(.9); } }
	.fill { animation: fill linear both; animation-timeline: view(); animation-range: entry 15% cover 50%; }
	@keyframes fill { from { background-size: 0% 100%; } }
	.band { animation: band linear both; animation-timeline: view(); }
	@keyframes band { from { transform: rotate(-4deg) scale(1.06); } to { transform: rotate(2deg) scale(1.06); } }
	.shot { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
}

/* Small screens */
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
	.menu-toggle { display: inline-flex; }
	.nav-right { gap: 10px; }
	.brand-name { display: none; }
	.site-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(11, 11, 13, .97); border-bottom: 1px solid var(--line); }
	.site-menu.is-open { display: flex; }
	.site-menu a { min-height: 52px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
	.site-menu a::after { display: none; }
	.split { flex-direction: column; }
	.sticky { position: static; }
	.row { grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 14px; padding: 24px 4px; }
	.row .tags { display: none; }
	.hero { min-height: 0; padding: 56px 0 96px; }
	.ringwrap { width: 150px; height: 150px; right: 12px; top: auto; bottom: 24px; opacity: .6; }
	.tiles { gap: 8px; }
	.section { padding: 80px 0; }
	.contact-cta { padding: 96px 0 72px; }
	.contact-actions { margin-top: 40px; }
	.contact-mail { margin-left: 0; width: 100%; }
	.facts { gap: 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.cursor { display: none; }
}
