/* Drone Show Europe, koncept webu
   Základ: Refero Warp (obsidian, achromatika + jeden akcent),
   Apple Watch Ultra 4 (černé plátno, metriky jednou signální barvou),
   Flighty (noční řídicí věž, datové karty). */

:root {
  --bg: #05060a;
  --bg-2: #0a0c11;
  --surface: #111318;
  --surface-2: #181a20;
  --line: #1f2228;
  --line-2: #30333b;
  --text: #f3f1ec;
  --muted: #a3a5ab;
  --dim: #6f727a;
  --accent: #9ad4ff;
  --rgb-blue: #2f8fe0;
  --rgb-red: #e4335f;
  --rgb-green: #63c35d;

  --font-display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 10px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #05060a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-2); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; line-height: 1.08; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.005em; line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); max-width: 34em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 0.98rem/1 var(--font-body);
  padding: 15px 22px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--text); color: #07080c; }
.btn--primary:hover { background: #ffffff; }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--text); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-solid, .site-header.is-open { background: rgba(5, 6, 10, 0.96); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; transition: color .2s; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .tel { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.header-cta .tel:hover { color: var(--text); }
.header-cta .btn { padding: 11px 16px; font-size: 0.92rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius-sm); padding: 9px 12px; font: 500 0.92rem var(--font-body); cursor: pointer; }
.mobile-panel { display: none; }
@media (max-width: 980px) {
  .nav, .header-cta .tel { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-panel { display: block; position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; overflow-y: auto; }
  .site-header.is-open .mobile-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .mobile-panel a.m-link { display: block; font-family: var(--font-display); font-size: 1.75rem; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
  .mobile-panel a.m-link[aria-current="page"] { color: var(--text); }
  .mobile-panel .m-contact { margin-top: 28px; color: var(--muted); }
  .mobile-panel .m-contact a { color: var(--text); text-decoration: none; display: block; margin-top: 6px; }
}
@media (max-width: 420px) { .header-cta .btn { display: none; } }
body.menu-open { overflow: hidden; }

/* Hero + drone sky */
.sky-story { position: relative; }
.sky-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(120% 70% at 60% 100%, #0d1420 0%, var(--bg) 60%); }
.sky-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sky-poster { position: absolute; inset: 0; background: url("../img/yt-JD3pptArtC4.jpg") center 30% / cover no-repeat; opacity: .55; }
.sky-ready .sky-poster { display: none; }
.sky-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.sky-content { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.sky-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 64px; }
.sky-hero .container { width: 100%; }
.hero-copy { max-width: 600px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 32px; color: #c3c5ca; }
.hero-meta { margin-top: 40px; display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: 0.9rem; }
.hero-meta a { color: var(--muted); }

.sky-step { min-height: 78vh; display: flex; align-items: center; }
.sky-step:last-child { min-height: 92vh; }
.step-card { max-width: 420px; padding: 26px 28px; background: rgba(10, 12, 17, 0.86); border: 1px solid var(--line); border-radius: var(--radius); }
.step-card h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: 12px; }
.step-card p { color: var(--muted); font-size: 0.98rem; }
.step-card .step-src { display: block; margin-top: 14px; font-size: 0.82rem; color: var(--dim); }
.step-card .step-src a { color: var(--dim); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--text); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .sky-hero { align-items: flex-end; padding-bottom: 48px; }
  .hero-copy { background: linear-gradient(to top, rgba(5,6,10,.9) 60%, rgba(5,6,10,0)); padding-top: 40px; }
  .sky-step { align-items: flex-end; padding-bottom: 6vh; }
  .step-card { max-width: none; }
}

/* Numbers strip */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure { padding: 30px 26px 28px 0; }
.figure + .figure { padding-left: 26px; border-left: 1px solid var(--line); }
.figure b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.01em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.figure b em { font-style: normal; color: var(--accent); }
.figure span { color: var(--muted); font-size: 0.93rem; line-height: 1.45; display: block; max-width: 22em; }
@media (max-width: 860px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .figure { padding-right: 12px; } .figure + .figure { padding-left: 14px; } .figure:nth-child(3) { padding-left: 0; } }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .6s ease; }
.video button { position: absolute; inset: 0; width: 100%; height: 100%; background: none; border: 0; cursor: pointer; color: var(--text); padding: 0; }
.video .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; background: rgba(5,6,10,.82); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 9px 14px 9px 12px; font: 500 0.88rem var(--font-body); }
.video .play svg { width: 14px; height: 14px; }
.video button:hover img { transform: scale(1.02); }
.video button:hover .play { background: rgba(5,6,10,.95); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Show cards */
.shows { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.show { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.show--wide { grid-column: span 8; }
.show--side { grid-column: span 4; }
.show-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--dim); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.show h3 { font-size: 1.2rem; }
.show p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 980px) { .show, .show--wide, .show--side { grid-column: span 6; } }
@media (max-width: 640px) { .show, .show--wide, .show--side { grid-column: span 12; } }

.feature-kviff { position: relative; grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.feature-kviff .fk-visual { position: relative; min-height: 340px; background: #04050a; }
.feature-kviff .fk-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-kviff .fk-copy { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature-kviff .fk-copy p { color: var(--muted); }
.fk-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 6px 0 4px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fk-facts div b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.fk-facts div span { color: var(--dim); font-size: 0.85rem; }
@media (max-width: 860px) { .feature-kviff { grid-template-columns: 1fr; } .feature-kviff .fk-visual { min-height: 240px; } }

/* Audience columns */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.aud h3 { margin-bottom: 2px; }
.aud p { color: var(--muted); font-size: 0.97rem; }
.aud ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; color: var(--muted); }
.aud ul li { padding-left: 16px; position: relative; }
.aud ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.aud .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 920px) { .audience { grid-template-columns: 1fr; } }

/* Compare (drones vs fireworks) */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table th { color: var(--dim); font-weight: 500; font-size: 0.86rem; }
.compare-table td:first-child { color: var(--muted); width: 32%; }
.compare-table td:nth-child(2) { color: var(--text); }
.compare-table td:nth-child(3) { color: var(--muted); }
blockquote.quote { margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line-2); }
blockquote.quote p { font-family: var(--font-display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.35; color: var(--text); }
blockquote.quote cite { display: block; margin-top: 12px; font-style: normal; color: var(--dim); font-size: 0.88rem; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.proc { padding: 26px 24px 8px 0; }
.proc + .proc { padding-left: 24px; border-left: 1px solid var(--line); }
.proc .when { display: block; color: var(--accent); font-size: 0.88rem; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.proc h3 { font-size: 1.15rem; margin-bottom: 10px; }
.proc p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 920px) { .process { grid-template-columns: 1fr 1fr; } .proc:nth-child(3) { padding-left: 0; border-left: 0; } .proc:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .proc, .proc + .proc { padding-left: 0; border-left: 0; } .proc + .proc { border-top: 1px solid var(--line); } }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.client b { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; }
.client span { color: var(--dim); font-size: 0.84rem; }
.client a { color: var(--dim); }
@media (max-width: 860px) { .clients { grid-template-columns: 1fr 1fr; } }

/* CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; padding: clamp(32px, 4.5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #0e1118 0%, #07080d 70%); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 36em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.inline-cta p { margin: 0; flex: 1 1 280px; }

/* Page hero (subpages) */
.page-hero { padding: clamp(130px, 16vw, 180px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 15em; margin-bottom: 20px; }
.page-hero .lead { max-width: 36em; }
.page-hero--photo { min-height: 72vh; display: flex; align-items: flex-end; }
.page-hero--photo .ph-img { position: absolute; inset: 0; }
.page-hero--photo .ph-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero--photo .ph-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 8%, rgba(5,6,10,.55) 55%, rgba(5,6,10,.35)); }
.page-hero--photo .container { position: relative; }
.crumb { color: var(--dim); font-size: 0.9rem; margin-bottom: 18px; display: block; }
.crumb a { color: var(--dim); text-decoration: none; }
.crumb a:hover { color: var(--text); }

/* Format list (show.html) */
.formats { display: grid; gap: clamp(16px, 2vw, 22px); }
.format { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); align-items: start; }
.format .f-size { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.format .f-size small { font-size: 0.45em; color: var(--muted); margin-left: 6px; }
.format h3 { margin-bottom: 10px; }
.format p { color: var(--muted); font-size: 0.97rem; }
.format dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 0.94rem; }
.format dt { color: var(--dim); }
.format dd { margin: 0; color: var(--text); }
.format .btn { margin-top: 18px; }
@media (max-width: 860px) { .format { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split img.photo, .photo { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; object-fit: cover; }
.split .copy h2 { margin-bottom: 18px; }
.split .copy p { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { padding-left: 26px; position: relative; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.checklist li b { color: var(--text); font-weight: 500; }

/* Case studies (reference.html) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 500 0.9rem var(--font-body); color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 9px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { color: #07080c; background: var(--text); border-color: var(--text); }
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); align-items: start; }
.case[hidden] { display: none; }
.case .case-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case .case-meta b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.case .case-meta span { font-size: 0.82rem; color: var(--dim); }
.case h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: 8px 0 14px; }
.case .case-when { color: var(--dim); font-size: 0.9rem; }
.case p { color: var(--muted); }
.case .special { color: var(--text); }
.case .case-src { font-size: 0.84rem; color: var(--dim); }
.case .case-src a { color: var(--dim); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 18px; }
.tl { padding: 18px 16px 0 0; }
.tl + .tl { padding-left: 16px; border-left: 1px solid var(--line); }
.tl b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.tl span { color: var(--dim); font-size: 0.84rem; display: block; line-height: 1.4; }
.tl .bar { display: block; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; opacity: .85; }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr 1fr; } .tl:nth-child(odd) { padding-left: 0; border-left: 0; } .tl:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 12px; } }

.more-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.more-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 120px; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.more-list .y { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.more-list .t b { font-weight: 500; }
.more-list .t span { color: var(--muted); font-size: 0.93rem; display: block; }
.more-list a { font-size: 0.9rem; color: var(--muted); justify-self: end; }
@media (max-width: 640px) { .more-list li { grid-template-columns: 1fr; gap: 4px; } .more-list a { justify-self: start; } }

/* Steps (jak-to-funguje) */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stp { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(20px, 3.5vw, 48px); padding: clamp(26px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.stp .when { color: var(--accent); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.stp h3 { margin-bottom: 10px; }
.stp p { color: var(--muted); }
.stp .you { font-size: 0.93rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.stp .you b { color: var(--text); font-weight: 500; display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .stp { grid-template-columns: 1fr; gap: 12px; } }

.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.spec { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; background: var(--surface); }
.spec b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.05; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.spec h3 { font-size: 1.02rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 500; }
.spec p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }

/* About */
.team-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.awards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.award { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); align-items: center; }
.award img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; }
.award .yr { color: var(--accent); font-size: 0.88rem; }
.award h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.award p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .awards { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .award { grid-template-columns: 1fr; } }

.map-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: #04050a; overflow: hidden; }
.map-wrap svg { display: block; width: 100%; height: auto; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

.years { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.years li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.years li b { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.years li p { color: var(--muted); margin: 0; }

/* Form */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 22px; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.8vw, 30px); margin: 0; background: var(--surface); display: grid; gap: 18px; min-width: 0; }
.fieldset legend { font-family: var(--font-display); font-size: 1.2rem; padding: 0 8px; margin-left: -8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field .lbl { font-size: 0.92rem; color: var(--text); }
.field .hint { font-size: 0.82rem; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color .2s; min-width: 0;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 0.93rem; color: var(--muted); transition: all .15s; }
.choice input:checked + span { background: var(--text); color: #07080c; border-color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.count-guide { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #04050a; }
.count-guide canvas { display: block; width: 100%; height: 260px; }
.count-guide .cg-body { padding: 18px 20px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.count-guide .cg-body h4 { margin-bottom: 6px; }
.count-guide .cg-body p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.range-wrap { display: grid; gap: 10px; }
.range-wrap input[type=range] { width: 100%; accent-color: var(--accent); }
.range-ticks { display: flex; justify-content: space-between; color: var(--dim); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.range-ticks button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 2px 0; }
.range-ticks button[aria-pressed="true"] { color: var(--text); }

.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.aside-card p, .aside-card li { color: var(--muted); font-size: 0.94rem; }
.aside-card a.big { display: block; font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; margin: 4px 0; color: var(--text); }
.form-note { font-size: 0.85rem; color: var(--dim); }
.form-success { border: 1px solid var(--accent); border-radius: var(--radius); padding: 24px; background: rgba(154, 212, 255, 0.06); }
.form-success[hidden] { display: none; }
.form-success h3 { margin-bottom: 8px; }
.form-success pre { white-space: pre-wrap; font: 400 0.9rem/1.55 var(--font-body); color: var(--muted); margin: 14px 0 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 48em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 32px; background: var(--bg-2); font-size: 0.93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; color: var(--text); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand img { height: 24px; margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 0.84rem; }
.concept-note { margin-top: 18px; color: var(--dim); font-size: 0.78rem; line-height: 1.5; max-width: 70em; }
.concept-note a { color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: #000; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.case > *, .shows > *, .split > *, .compare > *, .form-layout > * { min-width: 0; }
