html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
/* Layout: the business card's charcoal world, carried to the web. Split hero with a real job photo, spec-sheet service grid, photo wall, contact sheet. Single dark theme on purpose: it is the brand. */
:root {
  --bg: #171717;          /* card charcoal */
  --bg-2: #1e1e1e;
  --surface: #252525;
  --ink: #f3f1ec;
  --muted: #a9a6a0;
  --line: #343434;
  --yellow: #f9c933;      /* logo yellow */
  --orange: #eba12e;      /* logo orange */
  --purple: #9c4589;      /* logo light purple */
  --plum: #5e2557;        /* logo dark purple */
  --tag: #d08fc2;         /* purple lifted for text on charcoal */
  --on-yellow: #171717;
  --display: "Fira Sans Extra Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mark: "Tinos", "Times New Roman", Times, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--body); }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow::before {
  content: ""; width: 12px; height: 14px; flex: none;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand svg { width: 30px; height: auto; display: block; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font: 400 1.45rem/1 var(--mark); letter-spacing: -0.01em; }
.brand-sub { font: 400 0.52rem/1 var(--mark); letter-spacing: 0.06em; color: var(--muted); margin-top: 3px; padding-left: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 0.93rem; color: var(--muted); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.langs { display: flex; border: 1px solid var(--line); }
.langs a {
  font: 500 0.75rem/1 var(--mono); letter-spacing: 0.06em; text-decoration: none;
  padding: 8px 9px; color: var(--muted); border-left: 1px solid var(--line);
}
.langs a:first-child { border-left: 0; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: var(--on-yellow); }
.top .btn { padding: 10px 16px; font-size: 0.9rem; }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px; align-items: center; padding-block: 64px 80px;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin-block: 18px 22px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; padding-top: 18px;
  border-top: 1px solid var(--line); font: 400 0.8rem/1.4 var(--mono); color: var(--muted);
}
.facts b { color: var(--ink); font-weight: 500; }
.hero-photo { margin: 0; position: relative; min-width: 0; isolation: isolate; }
.hero-photo img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}
.hero-photo::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 64px; height: 74px;
  background: linear-gradient(135deg, var(--plum) 0 50%, var(--purple) 50% 100%);
  clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: -1;
}
.hero-photo figcaption { margin-top: 12px; font: 400 0.78rem/1.4 var(--mono); color: var(--muted); }

/* Sections */
section { scroll-margin-top: 70px; }
.band { padding-block: 88px; border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-2); }
.sec-head { display: grid; gap: 14px; max-width: 44em; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sec-head p { color: var(--muted); }

.feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line); margin-bottom: 48px;
}
.feature img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.feature-body { display: grid; gap: 14px; align-content: center; padding: 40px; }
.feature-body h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.feature-body p { color: var(--muted); }
.tag { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.05em; color: var(--tag); }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.svc { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--yellow); }
.svc:nth-child(3n+2) { border-top-color: var(--orange); }
.svc:nth-child(3n) { border-top-color: var(--purple); }
.svc h3 { font-size: 1.65rem; font-weight: 600; }
.svc p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; display: block; min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
dialog.lightbox img { display: block; max-width: 100%; max-height: 86vh; object-fit: contain; }
dialog.lightbox .close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px;
  border: 0; background: var(--yellow); color: var(--on-yellow); font: 600 1.4rem/1 var(--body); cursor: pointer;
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px;
  display: grid; place-items: center; background: var(--yellow); color: var(--on-yellow);
  font: 600 1rem/1 var(--mono);
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 50px; right: -22px; border-top: 2px dashed var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.45rem; font-weight: 600; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-text { display: grid; gap: 16px; }
.about-text h2 { font-size: clamp(2rem, 4vw, 3rem); }
.about-text p { color: var(--muted); max-width: 36em; }
.reqs { margin: 0; border: 1px solid var(--line); background: var(--surface); }
.reqs-title { padding: 12px 18px; font: 600 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; background: var(--yellow); color: var(--on-yellow); }
.reqs .row { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.reqs .row:first-of-type { border-top: 0; }
.reqs dt { font: 500 0.74rem/1.7 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.reqs dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
.contact .intro { color: var(--muted); margin-top: 14px; max-width: 32em; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.person { padding: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.person .who { font: 600 1.35rem/1.1 var(--display); }
.person .k { font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 8px; }
.person a { font: 500 1.08rem/1.3 var(--mono); text-decoration: none; color: var(--yellow); font-variant-numeric: tabular-nums; }
.person a:hover { text-decoration: underline; }
.infos { display: grid; gap: 20px; margin-top: 28px; }
.info { display: grid; gap: 4px; }
.info .k { font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.info .v { font: 600 1.35rem/1.25 var(--display); overflow-wrap: anywhere; }
.info .v a { text-decoration: none; }
.info .v a:hover { color: var(--yellow); }
.info .v small { display: block; font: 400 0.95rem/1.4 var(--body); color: var(--muted); margin-top: 2px; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 500; }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-bottom: 2px solid var(--muted);
  padding: 11px 12px; border-radius: 0;
}
input::placeholder, textarea::placeholder { color: #77746f; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--yellow); }
textarea { min-height: 120px; resize: vertical; }
form .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-left: 4px solid var(--yellow); background: var(--bg); font-size: 0.92rem; }

footer { border-top: 1px solid var(--line); padding-block: 28px; font: 400 0.78rem/1.6 var(--mono); color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero .wrap, .about, .contact, .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature { gap: 0; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .gallery { grid-auto-rows: 190px; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 16px; }
  .top .btn { display: none; }
  .hero .wrap { padding-block: 36px 56px; }
  .band { padding-block: 60px; }
  .services, .steps, .people { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .feature-body { padding: 24px; }
  form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .reqs .row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hero-photo::before { left: -8px; top: -8px; width: 40px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }
.consent a, footer a { color: var(--muted); }
.consent a:hover, footer a:hover { color: var(--yellow); }
form .btn[disabled] { opacity: 0.6; cursor: wait; }

/* Privacy page */
.doc { max-width: 44em; padding-block: 64px 88px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.6rem; margin: 36px 0 10px; }
.doc p { color: var(--muted); }
.doc a { color: var(--yellow); }
.doc .updated { margin-top: 40px; font: 400 0.8rem/1.4 var(--mono); }
.back { display: inline-block; margin-bottom: 28px; font: 500 0.8rem/1 var(--mono); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--yellow); }
