/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --ink: #101022;
  --ink-2: #181832;
  --ink-3: #25254c;
  --paper: #faf7f1;
  --sand: #f1ebdf;
  --white: #ffffff;
  --accent: #ff5a36;
  --amber: #ffc24b;
  --violet: #6b5bff;
  --text: #26263a;
  --muted: #666679;
  --line: rgba(16, 16, 34, .12);
  --on-ink: #f4f1ea;
  --on-ink-muted: rgba(244, 241, 234, .68);
  --line-ink: rgba(255, 255, 255, .13);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.nav-open, body.modal-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--sand { background: var(--sand); }

/* Section headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 800; text-wrap: balance; }
.section-title em, .hero__title em, .cta__title em { font-style: normal; color: var(--accent); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.section--ink .section-lead { color: var(--on-ink-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { flex: 1 1 460px; max-width: 680px; }
.section-head--split > .section-lead { flex: 0 1 420px; margin-top: 0; }
.section-head--split > .btn { flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink);
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--paper); }
.btn--ghost { border-color: var(--line-ink); color: var(--on-ink); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, .1); }
.btn--ghost:hover { border-color: var(--on-ink); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink .btn__icon { background: var(--accent); color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-ink { border-color: rgba(16, 16, 34, .35); color: var(--ink); padding: 20px 28px; }
.btn--outline-ink:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--sm { padding: 6px 6px 6px 20px; font-size: .95rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Placeholder artwork: swap any .art block for an <img> */
.art { position: relative; overflow: hidden; background: var(--ink-2); }
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art::before, .art::after { content: ""; position: absolute; pointer-events: none; }
.art--1 { background: radial-gradient(circle at 22% 18%, #ff8d5e 0, transparent 46%), radial-gradient(circle at 85% 88%, var(--violet) 0, transparent 52%), var(--ink-3); }
.art--1::before { inset: 18% 14% auto auto; width: 44%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.art--1::after { left: 12%; bottom: 14%; width: 38%; height: 26%; border-radius: 16px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.art--2 { background: linear-gradient(140deg, var(--amber), var(--accent)); }
.art--2::before { inset: 0; background-image: radial-gradient(rgba(16, 16, 34, .28) 1.6px, transparent 1.6px); background-size: 18px 18px; }
.art--2::after { right: -12%; bottom: -18%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); opacity: .9; }
.art--3 { background: linear-gradient(160deg, #2b2b63, #101022); }
.art--3::before { left: 10%; top: 14%; width: 56%; height: 58%; border-radius: 18px; background: linear-gradient(135deg, var(--accent), #ff9d6c); transform: rotate(-8deg); }
.art--3::after { right: 10%; bottom: 12%; width: 46%; height: 46%; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .55); transform: rotate(6deg); }
.art--4 { background: linear-gradient(135deg, #e9e2ff, #c9c1ff); }
.art--4::before { left: 50%; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 40deg, var(--violet), var(--accent), var(--amber), var(--violet)); }
.art--4::after { left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: #e9e2ff; }
.art--5 { background: linear-gradient(150deg, #ffe7c2, var(--amber)); }
.art--5::before { left: 14%; right: 14%; bottom: 0; height: 68%; border-radius: 26px 26px 0 0; background: var(--ink); }
.art--5::after { left: 24%; right: 24%; bottom: 44%; height: 10%; border-radius: 99px; background: var(--accent); }
.art--6 { background: linear-gradient(160deg, #173a3a, #0f1f2c); }
.art--6::before { inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 26px); }
.art--6::after { left: 16%; top: 22%; width: 44%; aspect-ratio: 1; border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%; background: linear-gradient(135deg, #6ff2c1, #2bb8d6); }

/* ==========================================================================
   3. Preloader
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; color: var(--on-ink); animation: pre-failsafe .01s linear 9s forwards; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.preloader__panel--a { top: 0; }
.preloader__panel--b { bottom: 0; }
.preloader__content { position: relative; text-align: center; transition: opacity .35s ease, transform .35s ease; }
.preloader__word { display: flex; justify-content: center; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 8vw, 4.6rem); letter-spacing: -.02em; line-height: 1.1; }
.preloader__word span { display: inline-block; animation: pre-wave 1.3s var(--ease) infinite; animation-delay: calc(var(--i) * 75ms); }
.preloader__bar { width: min(320px, 68vw); height: 3px; margin: 26px auto 14px; background: var(--line-ink); border-radius: 9px; overflow: hidden; }
.preloader__fill { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.preloader__count { font-size: .82rem; font-weight: 700; letter-spacing: .24em; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.preloader.is-done { pointer-events: none; }
.preloader.is-done .preloader__content { opacity: 0; transform: scale(.96); }
.preloader.is-done .preloader__panel--a { transform: translateY(-101%); transition-delay: .25s; }
.preloader.is-done .preloader__panel--b { transform: translateY(101%); transition-delay: .25s; }
@keyframes pre-wave { 0%, 55%, 100% { transform: translateY(0); color: var(--on-ink); } 28% { transform: translateY(-16px); color: var(--accent); } }
@keyframes pre-failsafe { to { visibility: hidden; pointer-events: none; } }

/* ==========================================================================
   4. Header, menu, mobile drawer
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; padding-block: 20px; color: var(--on-ink); transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.site-header.is-stuck { padding-block: 10px; background: rgba(16, 16, 34, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--accent); color: var(--ink); font-size: 1.25rem; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg); }

.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu a { display: flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 999px; font-weight: 500; font-size: .98rem; transition: background .25s ease, color .25s ease; }
.menu > li > a:hover, .menu > li > a.is-active { background: rgba(255, 255, 255, .09); }
.menu > li > a.is-active { color: var(--accent); }
.menu .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.menu li:hover > a .icon { transform: rotate(180deg); }
.sub-menu { position: absolute; left: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s var(--ease), visibility .25s; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { border-radius: 12px; padding: 11px 14px; }
.sub-menu a:hover { background: rgba(255, 255, 255, .08); color: var(--accent); }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; place-items: center; border: 1.5px solid var(--line-ink); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(8, 8, 18, .6); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(88vw, 380px); padding: 22px 24px 28px; background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; gap: 22px; transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; overflow-y: auto; }
.nav-open .drawer { transform: none; visibility: visible; }
.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-ink); }
.drawer__nav a { display: block; padding: 15px 2px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; border-bottom: 1px solid var(--line-ink); }
.drawer__nav .sub a { font-family: var(--body); font-weight: 500; font-size: 1rem; padding: 11px 16px; color: var(--on-ink-muted); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; color: var(--on-ink-muted); font-size: .98rem; }
.drawer__foot a { display: flex; align-items: center; gap: 10px; }
.drawer__foot .icon { width: 18px; height: 18px; color: var(--accent); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding-top: clamp(128px, 15vw, 190px); }
.hero__grid-lines { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(var(--line-ink) 1px, transparent 1px), linear-gradient(90deg, var(--line-ink) 1px, transparent 1px); background-size: 76px 76px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 0, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 0, transparent 72%); }
.hero__glow { position: absolute; right: -8%; top: -12%; width: 560px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); filter: blur(140px); opacity: .32; }
.hero__glow--2 { left: -14%; right: auto; top: auto; bottom: -30%; background: var(--violet); opacity: .28; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__title { font-size: clamp(2.6rem, 6vw, 5.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.hero__title em { position: relative; white-space: nowrap; }
.hero__title em svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .22em; overflow: visible; }
.hero__title em path { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.is-ready .hero__title em path { animation: draw 1s .7s var(--ease) forwards; }
.hero__text { margin-top: 34px; max-width: 54ch; font-size: 1.14rem; color: var(--on-ink-muted); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.04; margin-left: auto; }
.mock { position: absolute; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-ink); box-shadow: 0 34px 80px rgba(0, 0, 0, .45); }
.mock--window { inset: 7% 0 17% 11%; overflow: hidden; animation: floaty 7s ease-in-out infinite; }
.mock__bar { display: flex; gap: 7px; padding: 15px 18px; border-bottom: 1px solid var(--line-ink); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.mock__bar i:first-child { background: var(--accent); }
.mock__body { padding: 18px; display: grid; gap: 14px; height: calc(100% - 41px); grid-template-rows: 1fr auto auto; }
.mock__hero { border-radius: 14px; min-height: 120px; }
.mock__lines { display: grid; gap: 9px; }
.mock__lines span { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.mock__lines span:first-child { width: 72%; }
.mock__lines span:last-child { width: 46%; background: rgba(255, 255, 255, .09); }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__tiles span { height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.mock__tiles span:first-child { background: rgba(255, 90, 54, .28); }
.mock--chart { left: 0; bottom: 5%; width: 47%; padding: 18px 18px 16px; background: var(--paper); color: var(--ink); border-color: transparent; animation: floaty 6s ease-in-out -2s infinite; }
.mock--chart b { display: block; font-family: var(--display); font-size: 1rem; margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; }
.bars i { flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: var(--ink); transform-origin: bottom; transform: scaleY(0); }
.bars i:last-child { background: var(--accent); }
.is-ready .bars i { animation: grow .9s var(--ease) forwards; animation-delay: calc(.5s + var(--n) * 90ms); }
.mock--chip { right: -1%; top: 0; display: flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--ink); border: 0; font-weight: 700; font-size: .95rem; animation: floaty 5s ease-in-out -1s infinite; }
.mock--chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(16, 16, 34, .5); animation: ping 1.8s ease-out infinite; }
.hero__badge { position: absolute; right: 1%; bottom: -2%; width: 150px; height: 150px; }
.hero__badge svg.ring { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero__badge text { font-family: var(--body); font-size: 15.5px; font-weight: 700; letter-spacing: .2em; fill: var(--on-ink); text-transform: uppercase; }
.hero__badge span { position: absolute; inset: 31%; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(16, 16, 34, 0); } }

.stats { position: relative; margin-top: clamp(56px, 7vw, 92px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-ink); }
.stat { padding: 30px 24px 38px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-ink); }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 3.8vw, 3.1rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 8px; color: var(--on-ink-muted); font-size: .98rem; }

/* Scrolling strips */
.marquee { overflow: hidden; background: var(--accent); color: var(--ink); padding-block: 20px; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.5vw, 2.1rem); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.marquee__group svg { width: 26px; height: 26px; margin-inline: clamp(20px, 3vw, 40px); fill: var(--ink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   6. Services
   ========================================================================== */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.service__num { position: absolute; right: 26px; top: 24px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--muted); opacity: .6; }
.service__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--sand); color: var(--ink); transition: background .4s var(--ease), transform .4s var(--ease); }
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { margin-top: 30px; font-size: 1.42rem; }
.service p { margin-top: 12px; color: var(--muted); font-size: 1rem; transition: color .4s var(--ease); }
.service .link-arrow { margin-top: auto; padding-top: 26px; }
.service:hover { background: var(--ink); color: var(--on-ink); transform: translateY(-8px); box-shadow: 0 30px 60px rgba(16, 16, 34, .22); }
.service:hover p, .service:hover .service__num { color: var(--on-ink-muted); }
.service:hover .service__icon { background: var(--accent); transform: rotate(-8deg); }
.service:hover .link-arrow { color: var(--accent); }

/* ==========================================================================
   7. About
   ========================================================================== */
.about__grid > *, .skills__grid > *, .why__grid > *, .quotes__grid > *, .hero__inner > * { min-width: 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.about__media { position: relative; aspect-ratio: 1 / 1.04; }
.about__img--1 { position: absolute; inset: 0 17% 11% 0; border-radius: var(--radius); }
.about__img--2 { position: absolute; right: 0; bottom: 0; width: 47%; aspect-ratio: 1 / 1.08; border-radius: var(--radius); border: 9px solid var(--sand); }
.about__badge { position: absolute; right: 3%; top: 7%; z-index: 2; padding: 20px 24px; border-radius: 20px; background: var(--ink); color: var(--on-ink); box-shadow: 0 24px 50px rgba(16, 16, 34, .25); }
.about__badge strong { display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent); }
.about__badge span { font-size: .92rem; color: var(--on-ink-muted); }
.play { position: absolute; left: 41.5%; top: 44.5%; z-index: 2; transform: translate(-50%, -50%); display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: transform .35s var(--ease), background .3s ease; }
.play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--paper); animation: pulse 2.2s ease-out infinite; }
.play:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.play .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }
.about__text { margin-top: 20px; color: var(--muted); font-size: 1.06rem; }
.checks { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 2.6; }
.about__cta { margin-top: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.about__phone { display: flex; align-items: center; gap: 12px; }
.about__phone .icon { width: 46px; height: 46px; padding: 12px; border-radius: 50%; border: 1.5px solid var(--line); }
.about__phone small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.about__phone b { font-family: var(--display); font-size: 1.1rem; }

/* ==========================================================================
   8. Capabilities
   ========================================================================== */
.caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; }
.cap { padding: 40px 30px 42px; transition: background .35s ease; }
.cap + .cap { border-left: 1px solid var(--line-ink); }
.cap:hover { background: var(--ink-2); }
.cap .icon { width: 38px; height: 38px; color: var(--accent); transition: transform .4s var(--ease); }
.cap:hover .icon { transform: translateY(-6px); }
.cap h3 { margin-top: 28px; font-size: 1.36rem; }
.cap p { margin-top: 12px; color: var(--on-ink-muted); font-size: 1rem; }

/* ==========================================================================
   9. Skills
   ========================================================================== */
.skills__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.skills__grid .section-head { margin-bottom: 0; }
.chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.chips li:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.bars-list { display: grid; gap: 30px; }
.skill__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-family: var(--display); font-weight: 700; font-size: 1.14rem; }
.skill__row span:last-child { color: var(--accent); font-variant-numeric: tabular-nums; }
.skill__track { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.skill__fill { display: block; height: 100%; width: var(--v); border-radius: 99px; background: linear-gradient(90deg, var(--ink), var(--ink-3) 70%, var(--accent)); transform-origin: left center; transform: scaleX(0); transition: transform 1.5s var(--ease); }
.skill.is-in .skill__fill { transform: scaleX(1); }
html:not(.js) .skill__fill { transform: none; }
html:not(.js) .bars i { transform: none; }
html:not(.js) .hero__title em path { stroke-dashoffset: 0; }

/* ==========================================================================
   10. Case studies
   ========================================================================== */
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.project { grid-column: span 7; display: block; }
.project:nth-child(4n + 2), .project:nth-child(4n + 3) { grid-column: span 5; }
.project__art { position: relative; height: clamp(260px, 30vw, 400px); border-radius: var(--radius); overflow: hidden; }
.project__art .art { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.project:hover .art { transform: scale(1.06); }
.project__tag { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 15px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .82rem; font-weight: 700; }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px 0; }
.project__meta h3 { font-size: 1.5rem; }
.project__meta p { margin-top: 6px; color: var(--on-ink-muted); font-size: .98rem; }
.project__go { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-ink); transition: background .35s ease, color .35s ease, transform .4s var(--ease), border-color .35s ease; }
.project:hover .project__go { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(45deg); }

/* ==========================================================================
   11. Team
   ========================================================================== */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member__photo { position: relative; aspect-ratio: 4 / 4.8; border-radius: var(--radius); overflow: hidden; display: grid; place-items: end center; }
.member__photo .person { width: 78%; fill: rgba(255, 255, 255, .88); stroke: none; transition: transform .6s var(--ease); }
.member:hover .person { transform: scale(1.05) translateY(-4px); }
.member__photo--a { background: linear-gradient(160deg, #ff8d5e, var(--accent)); }
.member__photo--b { background: linear-gradient(160deg, #8d80ff, var(--violet)); }
.member__photo--c { background: linear-gradient(160deg, #ffd884, var(--amber)); }
.member__photo--d { background: linear-gradient(160deg, #3a3a78, var(--ink)); }
.member__socials { position: absolute; left: 14px; top: 14px; display: grid; gap: 8px; opacity: 0; transform: translateX(-10px); transition: opacity .35s ease, transform .35s var(--ease); }
.member:hover .member__socials, .member:focus-within .member__socials { opacity: 1; transform: none; }
.member__socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.member__socials a:hover { background: var(--ink); color: var(--on-ink); }
.member__socials .icon { width: 17px; height: 17px; }
.member h3 { margin-top: 20px; font-size: 1.3rem; }
.member p { margin-top: 4px; color: var(--muted); }

/* ==========================================================================
   12. Why us
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why__head { position: sticky; top: 120px; margin-bottom: 0; }
.why__head .btn { margin-top: 34px; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-card { padding: 34px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why__cards { padding-bottom: 34px; }
.why-card:nth-child(even) { position: relative; top: 34px; }
.why-card:hover { box-shadow: 0 26px 50px rgba(16, 16, 34, .12); }
.why-card .icon { width: 54px; height: 54px; padding: 14px; border-radius: 16px; background: var(--ink); color: var(--accent); }
.why-card h3 { margin-top: 24px; font-size: 1.32rem; }
.why-card p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   13. Awards
   ========================================================================== */
.awards__list { border-top: 1px solid var(--line-ink); }
.award { display: grid; grid-template-columns: 130px 1.3fr 1fr 54px; align-items: center; gap: 24px; padding: 30px 18px; border-bottom: 1px solid var(--line-ink); transition: background .35s ease, padding .35s var(--ease); }
.award:hover { background: var(--ink-2); padding-inline: 30px; }
.award__year { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--accent); }
.award h3 { font-size: clamp(1.2rem, 2.1vw, 1.65rem); }
.award p { color: var(--on-ink-muted); }
.award .icon { width: 54px; height: 54px; padding: 15px; border-radius: 50%; border: 1.5px solid var(--line-ink); transition: background .35s ease, color .35s ease, border-color .35s ease; }
.award:hover .icon { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ==========================================================================
   14. Process
   ========================================================================== */
.process__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process__grid::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; border-top: 2px dashed var(--line); }
.step { position: relative; counter-increment: step; }
.step__num { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.35rem; transition: background .35s ease, color .35s ease, transform .4s var(--ease); }
.step__num::before { content: "0" counter(step); }
.step:hover .step__num { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.step h3 { margin-top: 26px; font-size: 1.36rem; }
.step p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   15. Testimonials
   ========================================================================== */
.quotes__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.quotes__grid .section-head { margin-bottom: 0; }
.slider__nav { margin-top: 34px; display: flex; align-items: center; gap: 12px; }
.slider__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background .3s ease, color .3s ease; }
.slider__btn:hover { background: var(--ink); color: var(--on-ink); }
.slider__btn--prev .icon { transform: rotate(180deg); }
.slider__dots { display: flex; gap: 8px; margin-left: 10px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 99px; background: var(--line); transition: width .35s var(--ease), background .35s ease; }
.slider__dots button[aria-current="true"] { width: 30px; background: var(--accent); }
.slider { min-width: 0; }
.slider__viewport { overflow: hidden; border-radius: var(--radius); }
.slider__track { display: flex; transition: transform .7s var(--ease); }
.quote { flex: 0 0 100%; min-width: 0; padding: clamp(30px, 4vw, 52px); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.quote__mark { font-family: var(--display); font-weight: 800; font-size: 5.6rem; line-height: .6; color: var(--accent); height: 44px; }
.quote blockquote { margin: 18px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.16rem, 1.9vw, 1.5rem); line-height: 1.42; letter-spacing: -.01em; }
.quote__by { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.quote__avatar { width: 58px; height: 58px; flex: none; border-radius: 50%; overflow: hidden; background: var(--sand); display: grid; place-items: end center; }
.quote__avatar .person { width: 84%; fill: var(--ink); stroke: none; opacity: .75; }
.quote__by b { display: block; font-family: var(--display); font-size: 1.1rem; }
.quote__by span { color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   16. Client logos
   ========================================================================== */
.logos { padding-block: 54px; border-block: 1px solid var(--line); overflow: hidden; }
.logos__title { text-align: center; font-family: var(--body); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.logos .marquee__track { animation-duration: 40s; gap: 0; }
.logo { margin-inline: 14px; padding: 16px 30px; border-radius: 16px; border: 1.5px dashed rgba(16, 16, 34, .25); font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.logo i { width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: .55; }

/* ==========================================================================
   17. Blog
   ========================================================================== */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post__thumb { display: block; position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; }
.post__thumb .art { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.post:hover .post__thumb .art { transform: scale(1.06); }
.post__meta { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.post__cat { padding: 5px 13px; border-radius: 999px; background: var(--sand); color: var(--ink); font-weight: 700; }
.post h3 { margin-top: 14px; font-size: 1.42rem; line-height: 1.2; }
.post h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease); }
.post:hover h3 a { background-size: 100% 2px; }
.post .link-arrow { margin-top: 18px; }

/* ==========================================================================
   18. Call to action + footer
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--ink); padding-block: clamp(60px, 7vw, 100px); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(16, 16, 34, .16); }
.cta::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.cta::after { width: 260px; height: 260px; right: 60px; bottom: -170px; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta__title { font-size: clamp(2rem, 4.8vw, 3.8rem); font-weight: 800; max-width: 15ch; }
.cta__title em { color: var(--paper); }
.cta__text { margin-top: 16px; max-width: 46ch; font-size: 1.08rem; font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.site-footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(64px, 8vw, 104px); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 76px); }
.site-footer__about { margin-top: 20px; color: var(--on-ink-muted); max-width: 36ch; }
.site-footer__title { font-size: 1.16rem; margin-bottom: 22px; }
.site-footer__list { display: grid; gap: 11px; }
.site-footer__list a { color: var(--on-ink-muted); transition: color .25s ease, padding .3s var(--ease); }
.site-footer__list a:hover { color: var(--accent); padding-left: 6px; }
.site-footer__contact { display: grid; gap: 15px; color: var(--on-ink-muted); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--accent); }
.site-footer__contact a:hover { color: var(--on-ink); }
.socials { margin-top: 26px; display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-ink); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line-ink); color: var(--on-ink-muted); font-size: .94rem; }
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom a:hover { color: var(--on-ink); }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 14px 30px rgba(16, 16, 34, .3); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s ease, transform .35s var(--ease), visibility .35s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 20px; height: 20px; }

/* Video popup */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(8, 8, 18, .82); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(100%, 960px); }
.modal__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__close { position: absolute; right: 0; top: -58px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-inline: auto; max-width: 460px; }
  .services__grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(3) { border-left: 0; }
  .cap:nth-child(n + 3) { border-top: 1px solid var(--line-ink); }
  .about__grid, .skills__grid, .why__grid, .quotes__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .why__head { position: static; }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process__grid::before { display: none; }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid .post:last-child { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  .hero__title br { display: none; }
  .hero__badge { width: 112px; height: 112px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 24px 0 26px; border-left: 0; }
  .stat:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line-ink); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-ink); }
  .services__grid, .blog__grid, .why__cards, .process__grid { grid-template-columns: 1fr; }
  .blog__grid .post:last-child { display: block; }
  .team__grid { gap: 16px; }
  .caps__grid { grid-template-columns: 1fr; }
  .cap + .cap { border-left: 0; border-top: 1px solid var(--line-ink); }
  .why__cards { padding-bottom: 0; }
  .why-card:nth-child(even) { top: 0; }
  .checks { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; gap: 34px; }
  .project, .project:nth-child(4n + 2), .project:nth-child(4n + 3) { grid-column: auto; }
  .award { grid-template-columns: 1fr 48px; gap: 6px 16px; padding-inline: 4px; }
  .award:hover { padding-inline: 4px; background: none; }
  .award__year, .award h3, .award p { grid-column: 1; }
  .award .icon { grid-column: 2; grid-row: 1 / span 3; width: 48px; height: 48px; padding: 13px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .hero__title em path { stroke-dashoffset: 0; }
  .bars i { transform: none; }
}

/* ==========================================================================
   20. WordPress: admin bar, menus, inner pages (posts, pages, archives)
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.drawer__nav .sub-menu a { font-family: var(--body); font-weight: 500; font-size: 1rem; padding: 11px 16px; color: var(--on-ink-muted); }

.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: clamp(150px, 16vw, 210px) 0 clamp(56px, 7vw, 92px); }
.page-hero::before { content: ""; position: absolute; right: -8%; top: -40%; width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); filter: blur(140px); opacity: .3; }
.page-hero .container { position: relative; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; max-width: 22ch; text-wrap: balance; }
.page-hero__meta { margin-top: 16px; color: var(--on-ink-muted); }
.container--narrow { width: min(100% - 48px, 820px); margin-inline: auto; }

.entry__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.entry__thumb img { width: 100%; height: auto; }
.entry-content { font-size: 1.08rem; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2 { font-size: 1.9rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.45rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.2rem; margin-top: 1.5em; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entry-content a:hover { color: var(--accent); }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { border-left: 4px solid var(--accent); padding: 6px 0 6px 22px; font-family: var(--display); font-size: 1.25rem; line-height: 1.4; }
.entry-content img { height: auto; border-radius: var(--radius-sm); }
.entry-content pre { background: var(--ink); color: var(--on-ink); padding: 20px; border-radius: var(--radius-sm); overflow: auto; font-size: .95rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.page-links { margin-top: 32px; font-weight: 700; }

.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; }
.page-numbers.current, a.page-numbers:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.post-navigation { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { font-family: var(--display); font-weight: 700; }
.post-navigation a:hover { color: var(--accent); }
.nav-subtitle { display: block; font-family: var(--body); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.empty { text-align: center; }
.empty p { color: var(--muted); margin-bottom: 28px; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; }
.search-form label { flex: 1; }
.site-main input[type="text"], .site-main input[type="email"], .site-main input[type="url"], .site-main input[type="search"], .site-main textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); font: inherit; color: inherit;
}
.site-main input:focus, .site-main textarea:focus { outline: none; border-color: var(--ink); }
.site-main input[type="submit"] { padding: 14px 26px; border-radius: 999px; border: 0; background: var(--ink); color: var(--on-ink); font: inherit; font-weight: 700; cursor: pointer; transition: background .3s ease, color .3s ease; }
.site-main input[type="submit"]:hover { background: var(--accent); color: var(--ink); }

.comments { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 20px; }
.comment-list, .comment-list .children { list-style: none; }
.comment-list { margin: 0; padding: 0; }
.comment-list .children { padding-left: 28px; }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { margin: 6px 0 12px; font-size: .88rem; color: var(--muted); }
.comment-content > * + * { margin-top: .8em; }
.reply { margin-top: 10px; font-size: .9rem; font-weight: 700; }
.reply a:hover { color: var(--accent); }
.comment-respond { margin-top: 40px; }
.comment-form > * + * { margin-top: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
