* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #020305;
  --ink: #f6f7fb;
  --muted: #bec2cc;
  --line: #263141;
  --accent: #1685ff;
  --panel: #0b1425;
}
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.125rem/1.6 "Segoe UI", sans-serif; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: #65b0ff; }
:focus-visible { outline: 2px solid #73b8ff; outline-offset: 5px; }
.header {
  width: calc(100% - 64px); max-width: 1810px; margin: 18px auto 0;
  min-height: 96px; padding: 20px 36px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  border: 1px solid #37393e; border-radius: 21px;
  background: linear-gradient(110deg, #191919, #0b0e12);
}
.brand { flex: 1; white-space: nowrap; font-size: 1.25rem; font-weight: 650; text-decoration: none; letter-spacing: -.025em; }
.brand img { display: block; width: clamp(144px, 20vw, 225px); height: auto; }
.header nav { display: contents; }
.service-links { display: flex; justify-content: center; gap: 32px; flex: 1; }
nav a { text-decoration: none; font-weight: 600; font-size: 1rem; padding-block: 10px; white-space: nowrap; }
.service-links a[aria-current] { color: #69b2ff; }
.contact-link, button {
  border: 1px solid #419aff; border-radius: 12px;
  background: linear-gradient(135deg, #218cff, #0062d5); color: white;
  padding: 11px 24px; font: inherit; font-weight: 650;
  box-shadow: 0 6px 24px #007aff26; cursor: pointer;
}
.contact-link { margin-left: auto; font-size: 1rem; }
.contact-link:hover, button:hover { color: white; background: #167be5; }
.contact-link[aria-current] { outline: 2px solid #9dcfff; outline-offset: 3px; }
button:disabled { opacity: .7; cursor: wait; }
.service-contact { margin: 0 0 48px; }
.service-contact .contact-link { display: inline-block; margin: 0; text-decoration: none; }
.skip { position: absolute; left: 24px; top: 8px; transform: translateY(-160%); background: var(--panel); z-index: 5; }
.skip:focus { transform: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding-block: 72px 90px; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -10% -3% -10% 25%; background: radial-gradient(ellipse, #00357165, transparent 65%); pointer-events: none; }
h1, h2, h3 { margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.75rem, 4.2vw, 3.75rem); font-weight: 550; line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 550; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 34px; }
h3 { font-size: 1.45rem; font-weight: 650; line-height: 1.25; letter-spacing: -.015em; }
p, li { color: var(--muted); }
p { max-width: 70ch; }
.eyebrow { color: #75b7ff; font-size: .85rem; font-weight: 600; margin-bottom: 24px; }
.hero p:not(.eyebrow), .intro p { font-size: 1.2rem; line-height: 1.65; }
.portrait { aspect-ratio: 1.1; position: relative; overflow: hidden; border: 1px solid #394558; border-radius: 22px; background: #a8bfcb; box-shadow: 0 16px 70px #002d6133; }
.portrait img { width: 100%; height: 107%; position: absolute; top: 0; object-fit: cover; object-position: center 25%; }
.reel { padding-bottom: 90px; }
.player { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at center, #102645, #070c15 75%); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
.player iframe { width: 100%; height: 100%; border: 0; }
#video-consent { padding: 20px; text-align: center; }
#video-consent p { margin: 0 auto 16px; max-width: 55ch; }
#video-consent #play { width: auto; height: auto; padding: 10px 16px; border-radius: 10px; font-size: 1rem; }
.player:has(#video-consent:not([hidden])) { aspect-ratio: auto; min-height: clamp(240px, 38vw, 450px); }
#stop-video { margin-top: 12px; }
.player button { width: 82px; height: 82px; padding: 0 0 0 4px; border-radius: 50%; font-size: 1.8rem; box-shadow: 0 0 42px #007bff55; }
.section { padding-block: 0 90px; }
.about {
  margin-bottom: clamp(48px, 7vw, 90px);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(ellipse at top right, #12253c, #0b111b 75%);
}
.about h2 { margin-bottom: 18px; }
.about-content { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.about-content p { margin: 0; }
.about-content p + p { margin-top: 16px; }
.about-facts { margin: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.about-facts > div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.about-facts dt { color: #70baff; font-size: 1.3rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.about-facts dd { margin: 4px 0 0; color: var(--muted); }
.intro { padding-block: 80px 60px; }
.intro h1 { max-width: 20ch; }
.imprint-url { overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards:has(> article:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards:has(> article:only-child) { grid-template-columns: 1fr; }
.cards article {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: 19px;
  background: linear-gradient(160deg, #0b1425, #060b13);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card-icon { display: block; width: 32px; height: 32px; color: var(--accent); margin-bottom: 22px; }
.card-title { display: flex; align-items: flex-start; gap: 10px; }
.card-title .card-icon { flex: none; width: 26px; height: 26px; margin: 1px 0 0; }
.card-title-camera .card-icon { margin-top: 3px; }
.cards p { margin: 16px 0 0; }
@media (hover: hover) {
  .cards article:hover { border-color: #356b9d; box-shadow: 0 0 28px #087dff1f; }
}
.details { max-width: 75ch; padding-left: 1.6em; }
.tech-services {
  margin-bottom: 90px;
  padding: 20px clamp(16px, 3vw, 28px) 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #101c30, #080e19);
}
.tech-services h2 { margin-bottom: 24px; font-size: clamp(1.65rem, 3vw, 2rem); }
.tech-services-list { list-style: none; margin: 0; padding: 0; }
.tech-service {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: start;
  gap: 12px;
  padding: 16px 0 18px;
}
.tech-service + .tech-service { border-top: 1px solid var(--line); }
.tech-service-featured {
  margin: 0 -10px 9px;
  border: 1px solid #509dff;
  border-left: 4px solid #6ee6ff;
  border-radius: 12px;
  padding: 19px 9px 19px 6px;
  background: linear-gradient(105deg, #153675, #101f3d 92%);
  box-shadow: 0 0 24px #1685ff26;
}
.tech-service h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 1.125rem; }
.tech-service svg { width: 16px; height: 16px; flex: none; color: #67b8ff; }
.tech-service-featured svg { color: #9deaff; }
.tech-service p { margin: 0; font-size: 1rem; }
.tech-service-featured p { color: #eef6ff; }
.tech-service-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #a0edff;
  color: #0c2449;
  font-size: .68rem;
  font-weight: 750;
}
.details li { padding: 12px 0 12px .3em; }
li::marker { color: var(--accent); font-weight: 650; }
strong { color: var(--ink); }
.footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 28px; font-size: .95rem; }
.footer > a:last-child { justify-self: end; }
form { max-width: 725px; padding-bottom: 60px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; margin-bottom: 22px; }
input, textarea, select { display: block; margin-top: 8px; width: 100%; padding: .8em; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#status[data-state="error"] { color: #ffbaa7; }
#status[data-state="success"] { color: #8fc6ff; }
@media (max-width: 900px) {
  .header { padding: 18px 24px; gap: 16px; }
  .header nav, .service-links { gap: 18px; }
  .hero { gap: 32px; }
  .cards { gap: 16px; }
  .cards article { padding: 28px 22px; }
}
@media (max-width: 720px) {
  .brand img { width: 64px; height: 46px; object-fit: contain; object-position: left center; }
  .about-content { grid-template-columns: 1fr; gap: 24px; }
  .about-facts { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  body { font-size: 1.0625rem; }
  .wrap { width: calc(100% - 40px); }
  .header { position: sticky; top: 0; z-index: 4; width: 100%; min-height: 0; margin-top: 0; padding: 6px 16px 0; border-radius: 0 0 17px 17px; grid-template-columns: 1fr auto; gap: 0; }
  .brand { font-size: 1.15rem; }
  .service-links { grid-area: 2 / 1 / 3 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); text-align: center; }
  .header nav a { display: block; padding: 10px 4px; font-size: .875rem; }
  .header .contact-link { grid-area: 1 / 2; padding: 6px 14px; }
  main [id] { scroll-margin-top: 105px; }
  .hero, .fields, .cards, .cards:has(> article:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .hero { padding-block: 48px 60px; gap: 32px; }
  h1 { font-size: clamp(2.4rem, 9vw, 3.1rem); }
  h2 { margin-bottom: 24px; }
  .hero p:not(.eyebrow), .intro p { font-size: 1.125rem; }
  .eyebrow { font-size: .78rem; }
  .portrait { border-radius: 18px; }
  .intro { padding-block: 48px 40px; }
  .section, .reel { padding-bottom: 60px; }
  .tech-services { margin-bottom: 60px; padding: 20px 16px; }
  .tech-service { grid-template-columns: 1fr; gap: 10px; }
  .cards article { padding: 30px 26px; }
  .player { border-radius: 15px; }
  .player button { width: 64px; height: 64px; font-size: 1.4rem; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .portrait img { transform: translateY(calc(-1 * var(--portrait-offset, 0px))); }
}
@media (prefers-reduced-motion: reduce) {
  .cards article { transition: none; }
}
