@font-face {
  font-family: Golos Text;
  src: url("/assets/fonts/GolosText.woff") format("woff");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #091322;
  --ink: #f5f7fa;
  --muted: #b3c3d4;
  --line: #2c4056;
  --accent: #99dcff;
  --action: #a5e1ff;
  font: 16px/1.55 "Golos Text", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, p, figure, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 2rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip { position: fixed; transform: translateY(-160%); z-index: 2; padding: .6rem; background: var(--bg); }
.skip:focus { transform: none; }
.shell { width: min(100% - 6rem, 1280px); margin-inline: auto; }
.header { display: flex; gap: 2rem; justify-content: space-between; align-items: center; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.header nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.header nav a, .text-link { font-size: .94rem; color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: .35em; }
.header nav a { text-decoration: none; }
.text-link:hover, .header nav a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; gap: .75rem; justify-content: space-between; min-height: 48px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .45rem; text-decoration: none; font-size: .94rem; font-weight: 650; }
.button.primary { color: #071724; background: var(--action); }
.button.primary:hover { background: #d0efff; }
.button.outline { border-color: var(--line); }
.button.outline:hover { border-color: var(--accent); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); min-height: 620px; align-items: center; isolation: isolate; }
.hero-copy { z-index: 1; padding: 4.5rem 0 3.5rem; }
.eyebrow { color: var(--accent); display: flex; gap: .6rem; align-items: center; font-size: .84rem; }
.eyebrow span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
h1 { margin: 1.2rem 0; font-size: clamp(2.45rem, 4.45vw, 4.7rem); line-height: 1.015; letter-spacing: -.058em; font-weight: 720; }
h1 em { display: block; font-style: normal; color: var(--accent); }
.intro { max-width: 32ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); }
.hero .actions { margin-top: 2rem; }
.location { margin-top: 2.2rem; font-size: .84rem; color: var(--muted); }
.hero-visual { position: relative; align-self: stretch; min-width: 0; overflow: clip; }
.hero-visual picture { display: block; position: absolute; inset: 0; }
.hero-visual img, .hero-motion { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-motion { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.hero-motion.is-playing { opacity: 1; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg), transparent 22%), linear-gradient(0deg, var(--bg), transparent 17%, transparent 87%, var(--bg)); }
.hero-visual figcaption { position: absolute; bottom: 1.4rem; right: .6rem; z-index: 1; color: var(--muted); font-size: .75rem; text-align: right; }

.evidence, .services, .payment, .contact { padding: 4.2rem 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.8rem; }
h2 { font-size: clamp(2rem, 4.5vw, 4.3rem); line-height: 1.05; letter-spacing: -.05em; }
.section-head > p { max-width: 32ch; color: var(--muted); }
.gallery { border: 1px solid var(--line); border-radius: .7rem; overflow: clip; background: #0e1d2e; }
.sample-controls { display: flex; gap: .25rem; padding: .45rem; border-bottom: 1px solid var(--line); }
.sample-controls button { flex: 1; min-height: 46px; border: 0; border-radius: .38rem; color: var(--muted); background: transparent; cursor: pointer; }
.sample-controls button[aria-pressed="true"] { color: #081825; background: var(--action); font-weight: 700; }
.sample { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 2.2rem; padding: 1.4rem 2rem; }
.sample + .sample { border-top: 1px solid var(--line); }
.sheet { display: grid; place-items: center; min-width: 0; height: 310px; padding: 1rem; border-radius: .35rem; background: #162a3d; }
.sheet img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px #060e1888); }
.sample-copy { max-width: 28rem; }
.sample-copy h3 { font-size: clamp(1.35rem, 2.65vw, 2.45rem); line-height: 1.1; letter-spacing: -.035em; }
.sample-copy p { color: var(--muted); margin: .9rem 0 1.3rem; }
.sample.showing { animation: appear .25s ease-out both; }
@keyframes appear { from { opacity: .7; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.check-link { display: inline-block; margin-top: 1.2rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: solid var(--line); border-width: 1px 0 0 1px; }
.service-grid a { position: relative; padding: 1.2rem 2.3rem 1.2rem 1.3rem; border: solid var(--line); border-width: 0 1px 1px 0; text-decoration: none; }
.service-grid a:hover { background: #122238; }
.service-grid h3 { font-size: 1.15rem; line-height: 1.25; }
.service-grid p, .payment li p { margin-top: .5rem; color: var(--muted); }
.service-grid span { position: absolute; right: .9rem; top: 1rem; color: var(--accent); }
.payment ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: 0 0 1.5rem; padding-left: 1.4rem; }
.payment li { padding-left: .2rem; }
.payment li::marker { color: var(--accent); }
.contact .actions { margin-top: 1.5rem; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); padding: 1.5rem 0; border-top: 1px solid var(--line); font-size: .85rem; }
.footer a { color: var(--ink); text-decoration: none; font-weight: 700; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 3.5rem); }
  .hero { min-height: 510px; }
  .hero-visual::after { background: linear-gradient(90deg, var(--bg), transparent 22%), linear-gradient(0deg, var(--bg), transparent 15%); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 2rem); }
  .header { min-height: 60px; gap: .7rem; }
  .header nav { gap: .75rem; }
  .header nav a { font-size: .82rem; }
  .brand { font-size: 1rem; gap: .3rem; }
  .brand img { width: 32px; height: auto; }
  .header-action { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 2.5rem 0 1.4rem; }
  h1 { font-size: clamp(2.05rem, 8.9vw, 3.35rem); letter-spacing: -.055em; }
  .hero .actions { margin-top: 1.35rem; }
  .location { margin-top: 1.15rem; }
  .hero-visual { height: 240px; margin-bottom: 1.4rem; border-radius: .45rem; }
  .hero-visual img { object-position: center 55%; }
  .hero-motion { display: none; }
  .hero-visual::after { background: linear-gradient(0deg, #091322, transparent 34%); }
  .hero-visual figcaption { bottom: .6rem; }
  .evidence, .services, .payment, .contact { padding: 2.7rem 0; }
  .section-head { display: grid; gap: .8rem; }
  .sample { grid-template-columns: minmax(0, 1fr); padding: .9rem; gap: 1rem; }
  .sample-controls button { font-size: .84rem; }
  .sheet { height: 220px; }
  .service-grid, .payment ol { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-motion { display: none; }
  .sample.showing { animation: none; }
}
