:root {
  color-scheme: dark;
  --bg: #080a0d;
  --surface: #0f1318;
  --surface-2: #151a21;
  --text: #f5f7fa;
  --muted: #a6afb9;
  --line: rgba(255, 255, 255, 0.10);
  --blue: #2d9cff;
  --blue-2: #77beff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 4px; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 10, 13, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 4px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 96px; height: 96px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; color: #d8dde3; font-size: .93rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-2); }
.nav-contact { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; margin-left: 8px; padding-left: 24px; border-left: 1px solid var(--line); text-align: left; }
.nav-contact > a, .nav-cvr { display: inline-flex; align-items: center; justify-content: flex-start; min-height: 32px; font-size: .9rem; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.nav-call { white-space: nowrap; }
.nav-email { color: var(--blue-2); }
.nav-cvr { color: var(--muted); }
.nav-contact .contact-label { font-size: inherit; }
.nav-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-label { display: inline-block; flex: 0 0 2.75rem; width: 2.75rem; font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.email-address { white-space: nowrap; }
.nav-toggle { display: none; flex: 0 0 44px; min-height: 44px; border: 0; background: transparent; color: white; padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { min-height: 670px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px max(40px, calc((100vw - var(--max))/2)) 80px max(20px, calc((100vw - var(--max))/2)); }
.eyebrow { margin: 0 0 18px; color: var(--blue-2); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.7rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.055em; font-weight: 710; }
.hero-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 4px; background: var(--blue); color: #06111b; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #66b7ff; }
.button.secondary { background: transparent; border: 1px solid var(--line); color: white; }
.hero-image { position: relative; min-height: 560px; overflow: hidden; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 35%), linear-gradient(0deg, rgba(8,10,13,.6), transparent 45%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; right: 30px; bottom: 26px; z-index: 2; max-width: 240px; padding: 14px 16px; background: rgba(8,10,13,.82); border-left: 3px solid var(--blue); color: #dbe3ec; font-size: .9rem; backdrop-filter: blur(8px); }

.section { padding: 110px 0; }
.section.compact { padding: 76px 0; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; margin-bottom: 50px; }
.section-heading.heading-only { grid-template-columns: 1fr; max-width: 780px; }
.section-heading h2, .page-intro h1 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; }
.section-heading p { margin-bottom: 0; color: var(--muted); max-width: 580px; justify-self: end; font-size: 1.05rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service { min-height: 285px; padding: 34px; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.service:last-child { border-right: 0; }
.service-number { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.service h3 { margin: auto 0 12px; font-size: 1.45rem; }
.service p { margin-bottom: 22px; color: var(--muted); }
.text-link { color: var(--blue-2); font-weight: 700; }
.text-link::after { content: "  →"; }

.proof { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.proof h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.proof p { color: var(--muted); max-width: 650px; }
.proof-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.proof-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.proof-item strong { display: block; margin-bottom: 3px; font-size: 1.05rem; }
.proof-item span { color: var(--muted); }

.project-strip { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.project-card { position: relative; min-height: 510px; overflow: hidden; background: var(--surface); }
.project-card.small { min-height: 510px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-caption { position: absolute; inset: auto 0 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(3,5,8,.92)); }
.project-caption strong { display: block; font-size: 1.1rem; }
.project-caption span { color: #c7ced6; font-size: .9rem; }

.cta { padding: 90px 0; background: var(--blue); color: #06111b; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 680px; margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.045em; }
.cta .button { background: #07111a; color: white; }

.page-intro { padding: 120px 0 80px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 15%, rgba(45,156,255,.12), transparent 31%); }
.page-intro p:not(.eyebrow) { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 1.14rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.split h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; }
.split p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.check-list li { padding: 17px 0 17px 28px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 25px; width: 8px; height: 8px; background: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: var(--surface); }
.gallery img { width: 100%; height: 460px; object-fit: cover; }
.gallery figcaption { padding: 18px 20px 22px; color: var(--muted); }
.gallery strong { display: block; margin-bottom: 4px; color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.contact-line { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-line strong { font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-grid > div { min-width: 0; }
.contact-grid h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; }
.contact-grid p:not(.eyebrow) { color: var(--muted); }

.site-footer { padding: 52px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: flex-end; gap: 40px; align-items: flex-start; }
.footer-brand { color: white; font-weight: 800; }
.footer-meta { text-align: left; font-size: .9rem; }
.footer-address { margin: 8px 0 14px; font-style: normal; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-cvr { display: flex; align-items: center; min-height: 32px; }

@media (max-width: 900px) {
  .nav { gap: 20px; }
  .nav-contact { margin-left: auto; padding-left: 0; border-left: 0; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; margin-left: 0; max-height: calc(100dvh - 120px); overflow-y: auto; padding: 14px 20px 20px; background: #0c0f13; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; }
  .nav-links.open { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 76px 20px 56px; }
  .hero-image { min-height: 460px; }
  .hero-image::after { background: linear-gradient(0deg, var(--bg), transparent 40%); }
  .section { padding: 80px 0; }
  .section-heading, .proof, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading p { justify-self: start; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .project-strip { grid-template-columns: 1fr; }
  .project-card, .project-card.small { min-height: 430px; }
  .gallery img { height: 380px; }
  .cta-inner, .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .footer-grid { gap: 20px; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .nav { min-height: 120px; display: grid; grid-template-columns: 88px minmax(0, 1fr) 44px; grid-template-rows: 44px auto auto; align-content: center; column-gap: 10px; row-gap: 0; }
  .nav .brand { grid-column: 1; grid-row: 1 / 4; }
  .nav-contact { display: contents; }
  .nav-call { grid-column: 2; grid-row: 1; align-self: end; }
  .nav-email { grid-column: 2 / 4; grid-row: 2; align-self: start; min-width: 0; }
  .nav-cvr { grid-column: 2 / 4; grid-row: 3; align-self: start; }
  .nav-toggle { grid-column: 3; grid-row: 1; align-self: end; }
  .brand img { width: 88px; height: 88px; }
  .email-address { white-space: normal; overflow-wrap: anywhere; }
  .nav-links { max-height: calc(100dvh - 120px); }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-image { min-height: 380px; }
  .hero-note { right: 15px; bottom: 15px; left: 15px; max-width: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 390px; }
  .page-intro { padding: 86px 0 60px; }
}
