:root {
  color-scheme: dark;
  --bg: #0d0d0f;
  --panel: #18181c;
  --ink: #f6f4ee;
  --muted: #bab8b3;
  --line: #343339;
  --accent: #ffd324;
  --gutter: clamp(20px, 5vw, 80px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 2; background: var(--accent); color: var(--bg); padding: .65rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header { min-height: 78px; border-bottom: 1px solid var(--line); }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3.6vw, 50px); }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 650; white-space: nowrap; }
.header nav a:hover, .nav-contact { color: var(--accent); }
.wordmark { display: inline-block; color: #fff; white-space: nowrap; font: italic 950 1.75rem/.96 "Arial Black", system-ui, sans-serif; letter-spacing: -.087em; }
.wordmark span { color: var(--accent); }
.wordmark small { font-size: .46em; letter-spacing: -.055em; margin-left: .16em; }
.hero { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 16px; align-items: center; padding-block: clamp(44px, 6vw, 92px) clamp(42px, 5.6vw, 82px); }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; line-height: 1.35; }
.eyebrow i { display: inline-block; width: 12px; height: 1px; vertical-align: middle; margin-right: .5em; background: currentColor; }
.hero h1, h2 { font-weight: 900; letter-spacing: -.068em; line-height: .98; text-wrap: balance; }
.hero h1 { font-size: clamp(2.68rem, 6.1vw, 6.4rem); margin: .24em 0 .31em; }
h1 span, h2 span { color: var(--accent); }
.hero-tagline { font-size: clamp(1.04rem, 1.65vw, 1.44rem); line-height: 1.43; color: var(--muted); margin-bottom: 32px; }
.cta { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 54px; border: 1px solid var(--accent); background: var(--accent); color: #111; border-radius: 3px; padding: .72em 1.16em; font-size: 1rem; font-weight: 830; text-align: center; cursor: pointer; }
.cta:hover { background: #ffe273; border-color: #ffe273; }
.cta:disabled { cursor: wait; opacity: .65; }
.hero-brand { min-width: 0; }
.hero-experience { margin-top: .55rem; color: var(--muted); font-size: 1rem; text-align: center; }
.logo { display: flex; flex-direction: column; align-items: center; container-type: inline-size; margin: auto; width: min(100%, 520px); padding: 0 0 12px; border: 0; border-radius: 2px; background: transparent; cursor: pointer; }
.portraits { display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.portrait { position: relative; display: block; flex: 0 0 55%; aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; object-fit: contain; }
.portrait .reaction { position: absolute; inset: 0; opacity: 0; }
.artem { margin-left: -10%; transform: scale(.92); transform-origin: center 92.5%; }
.portrait img { transition: opacity 120ms ease; }
.artem img { transition-delay: 110ms; }
.logo[aria-pressed="true"] img:first-child { opacity: 0; }
.logo[aria-pressed="true"] .reaction { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .logo:hover img:first-child { opacity: 0; }
  .logo:hover .reaction { opacity: 1; }
}
.wordmark-large { font-size: clamp(2.2rem, 5.8vw, 5.6rem); font-size: min(16.6cqi, 5.6rem); margin-top: -.12em; }
.art { border: 1px solid var(--line); }
.art img { width: 100%; height: auto; }
.art figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 17px clamp(14px, 2.1vw, 33px); background: #151518; }
.art figcaption strong { font-size: clamp(1.06rem, 2.3vw, 1.7rem); letter-spacing: -.025em; }
.art figcaption span { font-size: .88rem; color: var(--muted); }
.section { padding-block: clamp(68px, 9vw, 136px); scroll-margin-top: 12px; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 14px min(6vw, 110px); margin-bottom: 36px; }
.section-head .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(2.5rem, 6vw, 5.85rem); }
.section-head > p:last-child, .contact-copy > p:last-child { max-width: 45ch; color: var(--muted); font-size: clamp(1.03rem, 1.55vw, 1.23rem); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case { padding: clamp(21px, 3.3vw, 48px); border: 1px solid var(--line); background: var(--panel); }
.case h3 { font-size: clamp(1.52rem, 3vw, 2.65rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.12; margin: .35em 0 .48em; }
.case p:not(.eyebrow), .case-processes dd { color: var(--muted); }
.case-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px 56px; border-top: 3px solid var(--accent); }
.case-feature h3 { font-size: clamp(1.85rem, 4vw, 3.8rem); }
.case-metrics { display: flex; flex-wrap: wrap; align-items: flex-start; container-type: inline-size; gap: 20px 32px; margin-block: 22px; }
.case-feature .case-metrics { align-content: center; margin: 0; }
.case-metrics strong { display: block; color: var(--accent); font-size: clamp(2.1rem, 5vw, 4.65rem); font-size: min(clamp(2.1rem, 5vw, 4.65rem), 22cqi); font-weight: 900; line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.case-metrics span { display: block; max-inline-size: 16ch; font-size: .9rem; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.case-processes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 25px; border-top: 1px solid var(--line); }
.case-processes dt { font-weight: 800; margin-bottom: .32em; }
.case-compact { background: transparent; }
.services { background: #121215; border-block: 1px solid var(--line); }
.service-list > div { display: grid; grid-template-columns: 1fr 1.38fr; gap: 26px; padding: 24px 0; border-top: 1px solid var(--line); }
.service-list > div:last-child { border-bottom: 1px solid var(--line); }
.service-list dt { font-size: clamp(1.22rem, 2.35vw, 2.15rem); font-weight: 810; letter-spacing: -.032em; line-height: 1.13; }
.service-list dd { color: var(--muted); max-width: 70ch; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 42px clamp(30px, 7vw, 105px); }
.contact h2 { margin: 14px 0 20px; font-size: clamp(2.55rem, 5vw, 4.6rem); }
.contact-budget { margin-bottom: 12px; font-size: clamp(1.04rem, 1.65vw, 1.3rem); font-weight: 680; }
.contact-budget strong { color: var(--accent); }
.lead-form { display: grid; gap: 16px; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-form label { display: block; font-size: .94rem; font-weight: 700; min-width: 0; }
.lead-form label span { color: var(--accent); }
.lead-form input, .lead-form textarea { display: block; width: 100%; min-height: 49px; margin-top: 6px; border: 1px solid #55545b; border-radius: 3px; padding: 10px 12px; background: var(--panel); color: var(--ink); font-size: 1rem; }
.lead-form textarea { min-height: 116px; resize: vertical; }
.lead-form input::placeholder { color: var(--muted); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-note, .form-status { color: var(--muted); font-size: .9rem; }
.form-status:not(:empty) { margin-top: .625rem; }
.form-status[data-error="true"] { color: #ffbca8; }
.form-status[data-error="false"] { color: var(--accent); }
.footer { border-top: 1px solid var(--line); padding-block: 27px; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .case-processes { grid-template-columns: 1fr 1fr; }
  .case-feature { gap: 21px 28px; }
}
@media (max-width: 690px) {
  .header { min-height: 66px; }
  .header nav { gap: 13px; }
  .header nav a { font-size: .82rem; }
  .wordmark-small { font-size: 1.46rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 38px; padding-bottom: 22px; }
  .hero h1 { font-size: clamp(2.1rem, 10.35vw, 4.9rem); }
  h2 { font-size: clamp(2rem, 9vw, 4rem); }
  .hero-tagline { margin-bottom: 24px; }
  .logo { width: min(100%, 390px); }
  .wordmark-large { font-size: clamp(2.3rem, 9.5vw, 3.8rem); font-size: min(16.6cqi, 3.8rem); }
  .art figcaption, .footer { display: grid; gap: 5px; }
  .section-head, .cases, .case-feature, .contact { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 13px; margin-bottom: 24px; }
  .section-head .eyebrow, .case-feature, .case-processes { grid-column: auto; }
  .service-list > div { grid-template-columns: 1fr; gap: 7px; padding: 19px 0; }
}
@media (max-width: 520px) {
  .header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 13px; }
  .header .wordmark { justify-self: start; padding-block: 8px; }
  .header nav { justify-content: space-between; }
  .header nav a { font-size: .875rem; }
  .fields { grid-template-columns: 1fr; }
  .lead-form .cta { width: 100%; }
}
@media (max-width: 370px) {
  .contact h2 { font-size: 2.15rem; }
  .case-processes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait img { transition: none; }
}
