@font-face {
  font-family: Barlow Condensed;
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: IBM Plex Mono;
  src: url("assets/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b0b0d;
  --ink: #f5f1ed;
  --muted: #b8b3b2;
  --accent: #ff533f;
  --line: #302b2d;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --gutter: clamp(1.25rem, 5.3vw, 5.5rem);
  background: var(--background);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
a.button:focus-visible { outline-color: var(--ink); }
::selection { background: var(--accent); color: var(--background); }

.shell { width: min(100% - var(--gutter) * 2, 84rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-140%); background: var(--ink); color: var(--background); padding: .75rem 1rem; }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; font: 800 1.85rem/.85 var(--display); letter-spacing: .055em; }
.brand-period { color: var(--accent); }
.brand-mark { width: 1.35rem; height: 1.35rem; margin-right: .73rem; display: inline-flex; justify-content: center; align-items: center; gap: .14rem; transform: skewX(-19deg); }
.brand-mark i { width: .19rem; height: .76rem; background: var(--accent); }
.brand-mark i:nth-child(2) { height: 1.05rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.1vw, 2.75rem); }
.nav-link, .nav-contact, .eyebrow, .button, .site-footer small { font: 400 .875rem/1.35 var(--mono); }
.nav-link, .nav-contact, .button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.nav-link { color: var(--muted); }
.nav-link:hover { color: var(--ink); }
.nav-contact { border: 1px solid #6c3a35; padding: .68rem .95rem; color: var(--accent); }
.nav-contact:hover { border-color: var(--accent); color: var(--background); background: var(--accent); }

.hero { overflow: hidden; }
.hero-inner { isolation: isolate; position: relative; display: flex; align-items: center; min-height: clamp(36rem, 49vw, 49rem); }
.hero-art { position: absolute; z-index: -1; pointer-events: none; width: min(76%, 65rem); top: 50%; right: -6%; transform: translateY(-48%); }
.hero-art img { display: block; width: 100%; height: auto; mask-image: linear-gradient(90deg, transparent, black 15%, black 88%, transparent), linear-gradient(0deg, transparent, black 15%, black 96%, transparent); mask-composite: intersect; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--background) 1%, #0b0b0db5 15%, transparent 48%); }
.hero-copy { position: relative; padding-block: 5rem 5.75rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--accent); letter-spacing: .075em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 1.35rem; height: 1px; flex: 0 0 auto; background: currentColor; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; }
h1 { margin-top: 1.45rem; font-size: clamp(5.3rem, 9.5vw, 9.6rem); line-height: .83; letter-spacing: -.018em; }
h1 span { color: var(--accent); }
.hero-description { color: var(--muted); font-size: clamp(1rem, 1.36vw, 1.2rem); max-width: 26rem; line-height: 1.65; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: .75rem 1.25rem; background: var(--accent); border: 1px solid var(--accent); color: #101012; }
.button:hover { background: #ff7464; border-color: #ff7464; }
.hero .button { margin-top: 1.65rem; }

.section-rule { border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; padding-block: clamp(4rem, 8vw, 8rem); }
h2 { font-size: clamp(3.2rem, 6.2vw, 6.1rem); line-height: .88; letter-spacing: -.013em; margin-top: 1.1rem; }
.services { list-style: none; padding: 0; }
.services li { display: grid; grid-template-columns: 2.8rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.services li:first-child { border-top: 1px solid var(--line); }
.service-icon { color: var(--accent); font: 400 1.55rem/1.4 var(--mono); text-align: center; }
.code-icon { font-size: 1.1rem; line-height: 1.9; }
.services h3 { font-size: 1.1rem; line-height: 1.5; font-weight: 600; }
.services p { color: var(--muted); line-height: 1.65; }
.services p { margin-top: .3rem; }

.contact { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: clamp(4rem, 7vw, 7rem); }
.email-button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 1.45rem; }
.site-footer small { color: var(--muted); font-size: .78rem; }

@media (max-width: 1020px) {
  .hero-art { width: 85%; right: -13%; }
  .hero-art::after { background: linear-gradient(90deg, var(--background), #0b0b0d98 19%, transparent 66%); }
}

@media (max-width: 760px) {
  .shell { --gutter: clamp(1.25rem, 5vw, 2.5rem); }
  .header-inner { min-height: 4.25rem; }
  .hero-inner { display: block; min-height: auto; }
  .hero-art { inset: auto; position: relative; width: calc(100% + var(--gutter) * 2); transform: none; margin-inline: calc(var(--gutter) * -1); margin-top: .85rem; margin-bottom: clamp(-3.2rem, -6.5vw, -1.6rem); }
  .hero-art::after { background: linear-gradient(0deg, var(--background), #0b0b0d28 25%, transparent 52%); }
  .hero-copy { padding-block: 0 3.5rem; }
  .hero-copy .eyebrow { position: relative; }
  h1 { font-size: clamp(3.25rem, 15vw, 7.3rem); margin-top: 1.1rem; }
  .hero-description { margin-top: 1.2rem; }
  .hero .button { margin-top: 1.35rem; }
  .work { grid-template-columns: 1fr; gap: 2.25rem; }
  .contact { align-items: start; flex-direction: column; gap: 1.4rem; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.55rem; }
  .brand-mark { width: .95rem; margin-right: .45rem; }
  .site-header nav { gap: .65rem; }
  .nav-link { display: none; }
  .nav-contact { padding: .55rem .65rem; }
  .site-footer small { max-width: 10rem; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none !important; }
}
