/* Xpress Design — studio pages. Editorial, image-led, dark. No external fonts or scripts. */
:root {
  --bg: #0b0b0d; --bg-2: #141418; --bg-3: #1c1c22;
  --fg: #f4f3ef; --fg-2: #cfcfd4; --muted: #8e8e96; --line: rgba(255,255,255,.12);
  --xb: #0e74bc; --xb-2: #1590e0; --xl: #8fd8fa; --xl-soft: #bae8fa;
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --max: 1320px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--xl); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: .95; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.muted { color: var(--muted); }
.blue { color: var(--xl); }

/* ---------- endorsement + header ---------- */
.endorse { font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.endorse .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.endorse a { color: var(--fg-2); }
.endorse a:hover { color: var(--fg); }
.xd-head { position: sticky; top: 0; z-index: 50; background: rgba(11,11,13,.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.xd-head.scrolled { border-bottom-color: var(--line); }
.xd-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.xd-logo img { width: 132px; height: auto; }
.xd-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.xd-nav a { color: var(--fg-2); transition: color .2s; }
.xd-nav a:hover, .xd-nav a[aria-current="page"] { color: var(--fg); }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 12px 22px; border-radius: 99px; font-weight: 600; font-size: 15px; background: var(--fg); color: var(--bg) !important; transition: transform .25s var(--ease), background .2s; border: 0; cursor: pointer; font-family: inherit; }
.pill:hover { background: var(--xl-soft); transform: translateY(-2px); }
.pill.blue { background: var(--xb); color: #fff !important; }
.pill.blue:hover { background: var(--xb-2); }
.pill.line { background: transparent; color: var(--fg) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.pill.line:hover { box-shadow: inset 0 0 0 1.5px var(--fg); background: transparent; }
.pill .arr { transition: transform .25s var(--ease); }
.pill:hover .arr { transform: translateX(4px); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 99px; padding: 10px 16px; font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .xd-nav { position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px); flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 20px 40px; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s; overflow-y: auto; }
  .menu-open .xd-nav { opacity: 1; visibility: visible; transform: none; }
  .xd-nav a:not(.pill) { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--fg); padding: 8px 0; }
  .xd-nav .pill { margin-top: 18px; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 28px; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--xb-2); box-shadow: 0 0 0 5px rgba(21,144,224,.18); }
.display { font-size: clamp(54px, 10.6vw, 172px); letter-spacing: -0.055em; line-height: .88; }
.display em { color: var(--xl); letter-spacing: -0.03em; }
.display .outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.hero-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-top: clamp(32px, 5vw, 56px); }
.lede { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; color: var(--fg-2); max-width: 620px; letter-spacing: -0.012em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 800px) { .hero-row { grid-template-columns: 1fr; } .hero-cta { justify-content: flex-start; } }

/* ---------- reel (auto-scrolling strip of work) ---------- */
.reel { overflow: hidden; padding: 8px 0 clamp(56px, 8vw, 96px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 16px; width: max-content; animation: reel 60s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel figure { margin: 0; height: clamp(220px, 28vw, 380px); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); flex: none; }
.reel img { height: 100%; width: auto; object-fit: cover; }
@keyframes reel { to { transform: translateX(-50%); } }

/* ---------- client marquee ---------- */
.names { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.names-track { display: flex; width: max-content; animation: reel 45s linear infinite; }
.names span { font-size: clamp(26px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; padding-right: 36px; color: var(--fg-2); }
.names span::after { content: "✕"; color: var(--xb-2); font-size: .55em; margin-left: 36px; vertical-align: middle; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec.alt { background: var(--bg-2); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.h2 { font-size: clamp(40px, 6.4vw, 96px); letter-spacing: -0.05em; }
.h2 em { color: var(--xl); }
.h2 sup { font-size: .28em; font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: 0; color: var(--muted); vertical-align: top; margin-left: 8px; }
.sec-head p { max-width: 460px; color: var(--fg-2); font-size: 18px; }

/* ---------- work grid (bento) ---------- */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { grid-column: span 6; position: relative; display: block; cursor: zoom-in; border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; }
.card.w8 { grid-column: span 8; } .card.w4 { grid-column: span 4; } .card.w12 { grid-column: span 12; } .card.w3 { grid-column: span 3; }
.card .ph { border-radius: var(--radius); overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.card.tall .ph { aspect-ratio: 3 / 4; } .card.sq .ph { aspect-ratio: 1 / 1; } .card.wide .ph { aspect-ratio: 16 / 9; }
.card.contain .ph img { object-fit: contain; background: #fff; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.card:hover .ph img { transform: scale(1.04); }
.card .cap { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px 6px; }
.card .cap strong { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.card .cap span { color: var(--muted); font-size: 15px; text-align: right; }
.card .more { position: absolute; top: 16px; right: 16px; background: rgba(11,11,13,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--fg); font-size: 13px; padding: 7px 12px; border-radius: 99px; opacity: 0; transform: translateY(-4px); transition: .3s var(--ease); }
.card:hover .more, .card:focus-visible .more { opacity: 1; transform: none; }
@media (max-width: 900px) { .card, .card.w8, .card.w4, .card.w3 { grid-column: span 6; } .card.w12 { grid-column: span 12; } }
@media (max-width: 620px) { .work { gap: 28px 0; } .card, .card.w8, .card.w4, .card.w3, .card.w12 { grid-column: span 12; } .card .more { opacity: 1; transform: none; } }

/* ---------- services index ---------- */
.index { border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 90px 1fr 1.1fr 60px; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .35s var(--ease), color .2s; }
.index .num { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 15px; }
.index .t { font-size: clamp(34px, 5vw, 72px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.index .d { color: var(--fg-2); font-size: 17px; max-width: 460px; }
.index .go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .35s var(--ease); justify-self: end; }
.index a:hover { padding-left: 14px; }
.index a:hover .t { color: var(--xl); }
.index a:hover .go { background: var(--fg); color: var(--bg); transform: rotate(-45deg); border-color: var(--fg); }
.index .peek { position: absolute; right: 120px; top: 50%; width: 220px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; transform: translateY(-50%) scale(.85) rotate(-4deg); opacity: 0; pointer-events: none; transition: .45s var(--ease); z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.index .peek img { width: 100%; height: 100%; object-fit: cover; }
.index a:hover .peek { opacity: 1; transform: translateY(-50%) scale(1) rotate(-4deg); }
@media (max-width: 900px) { .index a { grid-template-columns: 50px 1fr 44px; } .index .d { grid-column: 2 / 3; } .index .go { grid-row: 1; grid-column: 3; width: 44px; height: 44px; } .index .peek { display: none; } }

/* ---------- feature band ---------- */
.band { background: var(--xb); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; overflow: hidden; position: relative; }
.band h2 { font-size: clamp(38px, 5.4vw, 80px); letter-spacing: -0.05em; }
.band h2 em { color: #d6f1fd; }
.band p { color: #e3f4fd; font-size: 19px; margin-bottom: 26px; }
.band .pill { background: #fff; }
.band .x { position: absolute; right: -60px; top: -40px; width: 380px; opacity: .12; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .big { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 7vw, 104px); line-height: 1; color: var(--xl); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 10px; line-height: 1.1; }
.steps p { color: var(--fg-2); font-size: 16px; padding-bottom: 28px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2) { border-right: 0; margin-right: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- service page parts ---------- */
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumb a { color: var(--fg-2); } .crumb a:hover { color: var(--fg); }
.crumb span[aria-hidden] { margin: 0 8px; }
.page-title { font-size: clamp(48px, 8.4vw, 132px); letter-spacing: -0.055em; line-height: .9; max-width: 14ch; }
.page-title em { color: var(--xl); }
.scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.scope .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.scope h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--xl); font-weight: 600; margin-bottom: 18px; line-height: 1.3; }
.scope li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 18px; letter-spacing: -0.01em; }
.scope li:first-child { border-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.note { color: var(--muted); font-size: 15px; margin-top: 22px; }
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.next a { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; justify-content: space-between; align-items: center; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; transition: .3s var(--ease); }
.next a:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }
.fee { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 10px; }
.fee div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-weight: 600; font-size: 18px; }

/* ---------- final CTA + footer ---------- */
.final { padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 110px); }
.final h2 { font-size: clamp(50px, 9.6vw, 156px); letter-spacing: -0.055em; line-height: .9; }
.final h2 em { color: var(--xl); }
.final .mail { display: inline-block; margin-top: 40px; font-size: clamp(24px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; border-bottom: 2px solid var(--xb-2); padding-bottom: 4px; transition: color .2s; }
.final .mail:hover { color: var(--xl); }
.final .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot img { width: 150px; margin-bottom: 16px; }
.foot h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; margin-bottom: 14px; line-height: 1.3; }
.foot a { display: block; padding: 5px 0; color: var(--fg-2); }
.foot a:hover { color: var(--fg); }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot a { padding: 11px 0; } }

/* ---------- lightbox ---------- */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--fg); }
dialog.lb::backdrop { background: rgba(5,5,7,.94); backdrop-filter: blur(6px); }
.lb-in { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 60px 24px 24px; }
.lb-in figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lb-in img { max-width: min(1400px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 12px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1400px; width: 100%; margin: 16px auto 0; }
.lb-bar strong { font-size: 18px; } .lb-bar span { color: var(--muted); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--fg); font-size: 20px; cursor: pointer; display: inline-grid; place-items: center; }
.lb-btn:hover { background: var(--fg); color: var(--bg); }
.lb-close { position: absolute; top: 14px; right: 18px; }
.lb-nav { display: flex; gap: 8px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .reel-track, .names-track { animation: none; }
  .reel { overflow-x: auto; }
  * { transition: none !important; }
}
.sec.flush { padding-top: 0; }
a.card { display: block; }
