/* Vindobona Tech */

@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0d1726;
  --ink-2: #16243a;
  --ink-3: #22344f;
  --paper: #f3f0e9;
  --paper-2: #e9e4d8;
  --line: #d6cfbf;
  --line-dark: #2b3d58;
  --text: #0d1726;
  --muted: #5b6574;
  --muted-dark: #9aa6b8;
  --accent: #e2592a;
  --accent-ink: #b8431b;
  --sans: "Schibsted", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 23, 38, .94);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo-word { font-weight: 800; font-size: 19px; letter-spacing: .06em; line-height: 1; }
.logo-word span { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .32em; color: var(--accent); margin-left: 6px; vertical-align: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; color: #d4dae3; }
.nav a:hover { color: #fff; }
.nav .lang { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-dark); padding: 4px 8px; border-radius: 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 6px;
  border: 0; cursor: pointer; font-family: inherit;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.nav .btn { padding: 9px 16px; color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--paper); border-radius: 6px; padding: 8px 10px; font-family: var(--mono); font-size: 12px; cursor: pointer; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero .wrap { position: relative; padding-top: clamp(64px, 11vw, 140px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted-dark); margin-bottom: 36px; }
.hero-meta b { color: var(--accent); font-weight: 500; }
.hero h1 {
  font-size: clamp(42px, 7.6vw, 104px);
  line-height: .98; letter-spacing: -.03em; font-weight: 800;
  margin: 0 0 32px; max-width: 13ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(18px, 2vw, 21px); color: #c9d1dc; max-width: 56ch; margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-strip {
  position: relative; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-strip div { padding: 22px var(--gut) 26px; border-right: 1px solid var(--line-dark); }
.hero-strip div:last-child { border-right: 0; }
.hero-strip strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.hero-strip span { color: var(--muted-dark); font-size: 14px; }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px; margin-bottom: 56px; align-items: start; }
.section-head .mono { color: var(--accent-ink); padding-top: 12px; border-top: 2px solid var(--accent); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.025em; margin: 0; font-weight: 800; max-width: 18ch; }
.section-head p { grid-column: 2; margin: 0; color: var(--muted); max-width: 60ch; font-size: 18px; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 220px 1fr 1.1fr; gap: 12px 48px;
  padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.service .num { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.service h3 { margin: 0; font-size: 24px; letter-spacing: -.01em; font-weight: 700; line-height: 1.2; }
.service p { margin: 0; color: var(--muted); }
.service:hover h3 { color: var(--accent-ink); }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 3px 7px; border-radius: 3px; margin-left: 8px; vertical-align: 4px; white-space: nowrap; }

/* Process */
.process { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.step { padding: 28px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .mono { color: var(--accent-ink); display: block; margin-bottom: 18px; }
.step h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Why */
.why { background: var(--ink); color: var(--paper); }
.why .section-head .mono { color: var(--accent); }
.why .section-head p { color: var(--muted-dark); }
.why-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.quote { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.015em; font-weight: 500; margin: 0; }
.quote em { font-style: normal; color: var(--accent); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.facts li:first-child { border-top: 1px solid var(--line-dark); }
.facts .mono { color: var(--accent); padding-top: 3px; }
.facts strong { display: block; font-size: 18px; }
.facts span { color: var(--muted-dark); font-size: 15px; }

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.districts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.districts span { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); padding: 6px 10px; border-radius: 4px; background: #fff; }
.districts span.hq { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.map { aspect-ratio: 1 / 1; width: 100%; max-width: 480px; justify-self: end; }

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.channels { list-style: none; padding: 0; margin: 0; }
.channels li { border-top: 1px solid var(--line); }
.channels li:last-child { border-bottom: 1px solid var(--line); }
.channels a { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; padding: 20px 0; text-decoration: none; align-items: baseline; }
.channels .mono { color: var(--muted); }
.channels strong { font-size: 19px; font-weight: 700; }
.channels .arrow { color: var(--accent); font-weight: 700; transition: transform .15s ease; }
.channels a:hover .arrow { transform: translateX(4px); }
.hours { margin-top: 28px; color: var(--muted); font-size: 15px; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 8px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 500; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--text);
  border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; background: var(--paper);
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.consent { grid-column: 1 / -1; font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--muted); }
.hp { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.site-footer .logo { color: var(--paper); margin-bottom: 16px; }
.site-footer h4 { color: var(--paper); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }

/* Legal pages */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal p, .legal li { color: #2b3442; }
.ph { background: #ffe7a3; padding: 0 4px; border-radius: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { grid-column: 1; }
  .service { grid-template-columns: 56px 1fr; }
  .service p { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .why-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .map { justify-self: start; max-width: 380px; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip div:nth-child(2) { border-right: 0; }
  .hero-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gut) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav .lang { border: 0; padding: 14px 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav .btn { margin-top: 16px; justify-content: center; padding: 14px; border: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  form { grid-template-columns: 1fr; }
  .channels a { grid-template-columns: 1fr auto; }
  .channels .mono { grid-column: 1 / -1; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
