@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #161714;
  --paper: #f5f4ee;
  --lime: #d9fa57;
  --muted: #bcbdb3;
  --line: #373932;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --display: "Instrument Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
:focus-visible { outline: 2px solid #7f9e00; outline-offset: 5px; }
section { scroll-margin-top: 1rem; }
.wrap { width: min(100% - clamp(2rem, 8.9vw, 9rem), 80rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .5rem 1rem; color: var(--ink); background: var(--lime); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.masthead { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.15rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; font: 700 1.45rem/1 var(--display); letter-spacing: -.075em; white-space: nowrap; text-decoration: none; }
.brand-accent { color: var(--lime); }
.header-inner nav { display: flex; align-items: center; gap: clamp(1.15rem, 3.7vw, 3.6rem); font-size: .875rem; }
.header-inner nav a { color: var(--muted); text-decoration: none; }
.header-inner nav a:hover { color: var(--paper); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.15rem; min-height: 3.25rem; padding: .625rem 1.1rem; border: 1px solid transparent; font-size: .875rem; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.button span, .text-link span { font-size: 1.15em; }
.button-outline { min-height: 2.75rem; color: var(--paper); border-color: #65675a; }
.button-outline:hover { color: var(--lime); border-color: var(--lime); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { background: #ebff9c; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { color: var(--lime); background: #313529; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-size: .875rem; font-weight: 600; text-underline-offset: .35em; text-decoration-color: #858879; }
.text-link:hover { text-decoration-color: currentColor; }

.hero { padding: clamp(2.5rem, 5vw, 5.4rem) 0 clamp(3rem, 5.2vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 500 .75rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .11em; }
.indicator { display: inline-block; flex: 0 0 auto; width: .5rem; height: .5rem; background: var(--lime); }
.hero .eyebrow { margin-bottom: 1.55rem; color: var(--lime); }
h1 { font-size: clamp(3.2rem, 5.65vw, 6rem); font-weight: 700; line-height: .98; letter-spacing: -.057em; word-spacing: .025em; }
h1 em { font-style: normal; color: var(--lime); }
.hero-description { max-width: 29rem; margin-top: 1.7rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; align-items: center; margin-top: 1.85rem; }
.hero-visual { position: relative; aspect-ratio: 1.06; overflow: hidden; background: #11120f; border: 1px solid #363a2f; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.art-corner { position: absolute; width: 1rem; height: 1rem; color: #d9fa57a8; border: 0 solid; }
.art-top-left { top: .85rem; left: .85rem; border-top-width: 1px; border-left-width: 1px; }
.art-top-right { top: .85rem; right: .85rem; border-top-width: 1px; border-right-width: 1px; }
.art-bottom-left { bottom: .85rem; left: .85rem; border-bottom-width: 1px; border-left-width: 1px; }
.art-bottom-right { bottom: .85rem; right: .85rem; border-bottom-width: 1px; border-right-width: 1px; }

.services, .faq { color-scheme: light; color: var(--ink); background: var(--paper); }
.services, .visibility, .faq, .contact { padding: clamp(3.25rem, 7.2vw, 7.2rem) 0; }
.section-intro { margin-bottom: clamp(2rem, 4.6vw, 4.5rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 5rem); font-weight: 700; line-height: 1.03; letter-spacing: -.05em; word-spacing: .015em; text-wrap: balance; }
section:not(.hero) .eyebrow { margin-bottom: 1.1rem; }
.services .indicator, .faq .indicator, .contact .indicator { background: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #c7c9ba; }
.service-grid article { padding: 1.8rem clamp(1rem, 2.6vw, 2.75rem) 1.9rem; }
.service-grid article:first-child { padding-left: 0; }
.service-grid article:last-child { padding-right: 0; }
.service-grid article + article { border-left: 1px solid #c7c9ba; }
.service-grid h3 { margin-bottom: .5rem; font-size: clamp(1.2rem, 1.85vw, 1.55rem); line-height: 1.2; letter-spacing: -.035em; }
.service-grid p, .questions p { color: #4b4e41; text-wrap: pretty; }
.service-symbol { position: relative; display: block; width: 2.45rem; height: 2.45rem; margin-bottom: 1.4rem; background: var(--lime); }
.service-symbol::before, .service-symbol::after { position: absolute; content: ""; }
.symbol-design::before { inset: 29%; border: 1.5px solid; transform: rotate(45deg); }
.symbol-design::after { inset: 41%; background: currentColor; transform: rotate(45deg); }
.symbol-speed::before { inset: 21%; background: currentColor; clip-path: polygon(51% 0, 100% 0, 62% 43%, 86% 43%, 24% 100%, 42% 55%, 13% 55%); }
.symbol-search::before { width: .95rem; height: .95rem; top: .55rem; left: .57rem; border: 1.5px solid; border-radius: 50%; }
.symbol-search::after { width: .49rem; height: 1.5px; top: 1.48rem; left: 1.31rem; background: currentColor; transform: rotate(45deg); }

.visibility { background: #21241c; }
.visibility-grid, .faq-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.visibility h2, .contact h2 { text-wrap: initial; }
.visibility .eyebrow { color: var(--lime); }
.visibility h2 ~ p { margin-top: 1.15rem; max-width: 37rem; color: var(--muted); text-wrap: pretty; }
.readout { align-self: center; border: 1px solid #545746; background: var(--ink); }
.readout-header { display: flex; gap: .6rem; align-items: center; padding: .85rem 1.2rem; border-bottom: 1px solid #545746; color: var(--muted); font: .72rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.readout-body { padding: clamp(1.2rem, 2.8vw, 2.6rem); }
.readout-query { margin-bottom: 1.1rem; font: 650 clamp(1.04rem, 1.75vw, 1.35rem)/1.35 var(--display); letter-spacing: -.015em; }
.readout-query span, .readout a { color: var(--lime); }
.readout dl > div { display: grid; grid-template-columns: 5.15rem 1fr; gap: .65rem; padding-block: .66rem; border-top: 1px solid var(--line); }
.readout dt { color: var(--muted); font: .75rem/1.75 var(--mono); }
.readout dd { font-size: .9rem; }
.readout a { text-underline-offset: .22em; }

.faq h2 { text-wrap: initial; }
.questions { border-top: 1px solid #c7c9ba; }
.questions details { border-bottom: 1px solid #c7c9ba; }
.questions summary { position: relative; display: block; padding: 1rem 2rem 1rem 0; cursor: pointer; font-weight: 650; line-height: 1.45; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { position: absolute; top: .9rem; right: .1rem; content: "+" / ""; font: 1.3rem/1.3 var(--mono); }
.questions details[open] summary::after { content: "−" / ""; }
.questions p { padding-bottom: 1.15rem; }

.contact { color-scheme: light; color: var(--ink); background: var(--lime); }
.contact-grid { align-items: center; }
.contact-grid > div:last-child { max-width: 28rem; }
.contact-grid .button { margin-top: 1rem; }
.contact-email { margin-top: .45rem; font: .82rem/1.5 var(--mono); overflow-wrap: anywhere; }
.footer { padding: 1.65rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer small { color: var(--muted); }
.footer .brand { font-size: 1.25rem; }

@media (max-width: 900px) {
  .hero-grid { gap: 1.6rem; }
  h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; padding-block: .85rem .4rem; }
  .header-inner nav { order: 3; width: 100%; gap: 1.5rem; }
  .header-inner nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .hero-grid, .visibility-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .hero-visual { max-height: 32rem; }
  h1 { font-size: clamp(2.2rem, 10.1vw, 5.4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { padding: 1.2rem 0 1.35rem; }
  .service-grid article + article { border-left: 0; border-top: 1px solid #c7c9ba; }
  .service-symbol { margin-bottom: .75rem; }
}
@media (max-width: 410px) {
  .header-inner { column-gap: .5rem; }
  .header-inner .brand { font-size: 1.15rem; }
  .header-inner .brand img { width: 30px; height: 30px; }
  .header-inner .button { padding-inline: .65rem; gap: .4rem; }
  .footer-inner { flex-wrap: wrap; }
  .footer small { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
