:root {
  color-scheme: dark;
  --base: #121210;
  --black: #10100f;
  --paper: #f4f1eb;
  --copy: #c1bdb5;
  --muted: #aaa59d;
  --accent: #ff874c;
  --line: #383630;
  --shell: 1280px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
img { display: block; max-width: 100%; }
p { line-height: 1.62; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
section[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(var(--shell), calc(100% - clamp(2.5rem, 11vw, 10rem))); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 5; padding: .7rem 1rem; color: var(--black); background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: var(--black); }
.header-inner, .footer-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; font-size: 1.95rem; font-weight: 760; letter-spacing: -.085em; line-height: 1; white-space: nowrap; }
.brand-dot { color: var(--accent); margin-left: -.46rem; }
.brand-mark { display: block; flex: none; width: 1.35rem; height: 1.35rem; background: var(--accent); clip-path: polygon(50% 0, 60% 34%, 86% 14%, 66% 40%, 100% 50%, 66% 60%, 86% 86%, 60% 66%, 50% 100%, 40% 66%, 14% 86%, 34% 60%, 0 50%, 34% 40%, 14% 14%, 40% 34%); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); font-size: .9rem; font-weight: 570; }
.nav-item { color: var(--copy); }
.nav-item:hover, .plain-link:hover, .site-footer a:hover { color: var(--accent); }
.header-contact { display: inline-flex; align-items: center; gap: .85rem; border: 1px solid #5b5348; padding: .65rem .95rem; }
.header-contact:hover { border-color: var(--accent); }
.header-contact span, .plain-link span { color: var(--accent); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #0d0c0b; border-block: 1px solid #2b2823; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12, 11, 10, .97) 0%, rgba(12, 11, 10, .87) 27%, rgba(12, 11, 10, .51) 46%, transparent 70%), linear-gradient(0deg, rgba(12, 11, 10, .32), transparent 30%); }
.hero-inner { min-height: min(760px, 86svh); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(4rem, 7vw, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .875rem; letter-spacing: .085em; text-transform: uppercase; font-weight: 600; color: var(--muted); line-height: 1.45; }
.eyebrow span { width: .5rem; height: .5rem; flex: none; background: var(--accent); }
.hero .eyebrow { color: #e1d5ca; }
h1 { margin: 1.45rem 0 1.5rem; font-size: clamp(3.3rem, 7.45vw, 7.6rem); font-weight: 760; line-height: .93; letter-spacing: -.078em; text-wrap: unset; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero-lead { max-width: 34rem; color: #e0dcd4; font-size: clamp(1.025rem, 1.45vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.7rem; margin-top: 2rem; width: fit-content; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.15rem; min-height: 3.25rem; padding: .75rem 1rem; font-weight: 700; font-size: .95rem; }
.button-accent { color: var(--black); background: var(--accent); }
.button-accent:hover { background: #ffa476; }
.plain-link { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .95rem; }
.services, .approach, .contact { padding-block: clamp(4rem, 8vw, 8rem); }
.section-intro, .approach-layout, .contact-inner { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(1.3rem, 6vw, 6rem); align-items: end; }
.section-intro p:last-child, .approach-layout > div > p:last-child { color: var(--copy); max-width: 36rem; font-size: 1.1rem; }
h2 { font-size: clamp(2.75rem, 5.6vw, 5.6rem); font-weight: 735; letter-spacing: -.073em; line-height: 1.01; margin-top: .9rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 4.4rem); }
.service { padding: 2.1rem clamp(1rem, 3vw, 2.6rem) 2.25rem; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--line); }
.service h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); letter-spacing: -.055em; margin-bottom: .65rem; }
.service p, .service li { color: var(--copy); }
.service ul { list-style: none; margin: 1.35rem 0 0; padding: 0; display: grid; gap: .55rem; }
.service li { display: flex; align-items: baseline; gap: .55rem; line-height: 1.45; }
.service li::before { content: "↳"; color: var(--accent); }
.service-icon { position: relative; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid #6d5140; margin-bottom: 1.3rem; color: var(--accent); }
.icon-build span { width: .94rem; height: .94rem; transform: rotate(45deg); border: 2px solid currentColor; box-shadow: inset 0 0 0 2px var(--base); }
.icon-connect span { width: 1.25rem; height: .83rem; border: 2px solid currentColor; border-radius: 1rem; transform: rotate(-35deg); }
.icon-connect span::after { content: ""; width: .8rem; border-top: 2px solid currentColor; position: absolute; left: .1rem; top: .27rem; }
.icon-run span { height: 1.13rem; width: 1.25rem; border: 2px solid currentColor; border-radius: 2px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.approach { background: #1c1b18; border-top: 1px solid var(--line); }
.approach-layout { align-items: center; }
.approach-layout h2 { margin-bottom: 1.15rem; }
.example { border: 1px solid #55483c; background: var(--black); }
.example-head { display: flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--line); padding: .9rem 1.2rem; color: var(--paper); font-size: .9rem; font-weight: 620; }
.example-head .brand-mark { width: 1rem; height: 1rem; }
.example-dialog { padding: clamp(1rem, 3vw, 2rem); display: grid; gap: .85rem; }
.example-question { background: #332820; color: #ffe8d8; width: fit-content; margin-left: auto; padding: .7rem .9rem; line-height: 1.45; }
.example-dialog p { color: var(--copy); }
.source { color: #d7a17e; border-top: 1px solid var(--line); padding-top: .8rem; font-size: .875rem; line-height: 1.45; }
.source span { margin-right: .3rem; }
.contact { background: var(--accent); color: var(--black); }
.contact .eyebrow { color: #302015; }
.contact .eyebrow span { background: var(--black); }
.contact h2 { font-size: clamp(2.65rem, 5.6vw, 5.4rem); }
.contact-inner > div > p:not(.eyebrow) { font-size: 1.1rem; max-width: 32rem; }
.button-dark { color: var(--paper); background: var(--black); margin-top: 1.4rem; }
.button-dark:hover { background: #32221a; }
.site-footer { background: var(--black); color: var(--muted); }
.footer-inner { min-height: 6rem; font-size: .9rem; flex-wrap: wrap; padding-block: 1.25rem; }
.footer-inner .brand { color: var(--paper); }
@media (max-width: 800px) {
  .section-intro, .approach-layout, .contact-inner { grid-template-columns: 1fr; }
  .service { padding-inline: 1rem; }
}
@media (max-width: 620px) {
  .header-inner { min-height: 4.1rem; }
  .nav-item { display: none; }
  .hero-image { height: 58%; object-position: 72% 49%; }
  .hero::after { background: linear-gradient(0deg, #0d0c0b 0%, #0d0c0b 44%, rgba(13, 12, 11, .65) 66%, rgba(13, 12, 11, .05) 100%); }
  .hero-inner { min-height: auto; justify-content: flex-end; padding-block: clamp(13rem, 49vw, 19rem) 3rem; }
  h1 { font-size: clamp(2.8rem, 10.5vw, 4.4rem); margin-block: 1.15rem; }
  .hero-actions { margin-top: 1.55rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child { padding: 1.55rem 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.3rem; column-gap: 1.3rem; row-gap: .9rem; }
  .footer-inner .brand { margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Legal pages share the site's typography and keep long text readable. */
.legal-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; font-size: .9rem; }
.legal-page { max-width: 54rem; padding-block: clamp(2.5rem, 6vw, 5rem); overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(2.4rem, 5.8vw, 4.5rem); line-height: 1.08; letter-spacing: -.055em; }
.legal-page h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: -.025em; margin-top: 2.3rem; }
.legal-page p, .legal-page ul { margin-top: 1rem; color: var(--copy); }
.legal-page ul { padding-left: 1.5rem; }
.legal-page li { margin-block: .5rem; line-height: 1.6; }
.legal-page a { text-decoration: underline; text-underline-offset: .2em; }
.legal-page a:hover { color: var(--accent); }
