/* ============================================================
   CROW'S NEST DIGITAL MEDIA — redesign preview
   Hand-written CSS, no framework. Light theme only.
   ============================================================ */

:root {
  --ink: #0a121e;
  --ink-2: #111c2c;
  --ink-line: rgba(255, 255, 255, 0.12);
  --paper: #f6f2eb;        /* warm off-white */
  --white: #ffffff;
  --blue: #1570ef;         /* brand / Pulse blue */
  --blue-deep: #0f56c2;
  --blue-tint: #e8f0fe;
  --live: #ef3b3b;

  --bg: var(--paper);
  --bg-alt: #fffdf9;
  --text: #121a26;
  --muted: #5a6473;
  --line: rgba(18, 26, 38, 0.13);

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --shadow: 0 30px 60px -28px rgba(18, 26, 38, 0.35), 0 8px 20px -12px rgba(18, 26, 38, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}
.h2 { font-size: clamp(36px, 5vw, 64px); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label b { color: var(--blue); font-weight: 500; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 54ch; }

.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .h2 { margin-top: 18px; max-width: 15ch; }
.sec-head .lede { max-width: 40ch; }
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-outline { border: 1px solid rgba(18, 26, 38, 0.3); background: transparent; }
.btn-outline:hover { border-color: var(--text); background: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .arrow { transition: transform 0.2s; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Live dot ---------- */
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live); display: inline-block; flex: none;
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(239, 59, 59, 0.6); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(239, 59, 59, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.nav-link { font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav a.nav-link:hover { color: var(--text); }
.nav a.nav-live { display: inline-flex; align-items: center; gap: 8px; }
.nav .btn { padding: 11px 20px; font-size: 14px; }

.menu-btn { display: none; width: 44px; height: 44px; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 24px; height: 2px; background: currentColor; transition: transform 0.25s, background 0.25s;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 76px 0 0 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 16px var(--gutter) 40px;
    background: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
    overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { background: var(--paper); }
  .nav a.nav-link {
    width: 100%; padding: 18px 0; color: var(--text);
    font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn { margin-top: 28px; padding: 15px 26px; font-size: 16px; }
}

/* ---------- Browser frame ---------- */
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f3f6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(18, 26, 38, 0.18); }
.browser-bar span { margin-left: 10px; flex: 1; max-width: 300px; background: #fff; border-radius: 6px; padding: 3px 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.browser img { width: 100%; height: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: 76px; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(64px, 8vw, 110px);
}
.hero h1 { font-size: clamp(52px, 7.2vw, 108px); margin: 22px 0 26px; line-height: 0.92; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lede { font-size: clamp(18px, 1.55vw, 21px); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.hero-proof b { color: var(--text); font-weight: 600; }

.hero-art { position: relative; padding: 34px 0 64px 44px; }
.hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: 0 -200px 20px 110px;
  background: var(--blue-tint); border-radius: 28px 0 0 28px;
}
.float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.float-cam { left: 0; bottom: 0; width: 44%; padding: 6px 6px 10px; }
.float-cam .shot { position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 9; }
.float-cam .shot img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(10, 18, 30, 0.72); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; }
.float-cam .badge { position: absolute; top: 8px; left: 8px; }
.float-cam .cap { display: flex; justify-content: space-between; gap: 8px; padding: 9px 6px 0; font-size: 13px; font-weight: 600; }
.float-cam .cap span { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.float-stat { right: -8px; top: 0; width: 212px; padding: 16px 18px 18px; }
.float-stat .label { font-size: 10.5px; }
.float-stat strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 40px; line-height: 1; margin: 8px 0 12px; letter-spacing: -0.02em; }
.float-stat strong small { font-family: var(--mono); font-size: 11px; font-weight: 500; color: #12824c; letter-spacing: 0; margin-left: 6px; vertical-align: middle; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.bars i { flex: 1; background: var(--blue); border-radius: 3px 3px 0 0; opacity: 0.35; }
.bars i:nth-last-child(-n + 2) { opacity: 1; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { padding: 30px 0 56px 20px; }
  .hero-art::before { inset: 0 -40px 20px 60px; }
  .float-stat { right: 0; width: 180px; }
  .float-stat strong { font-size: 32px; }
}

/* ---------- Clients ---------- */
.clients { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.clients .wrap { display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: center; }
.clients .label { line-height: 1.7; }
.logo-wall { display: grid; grid-template-columns: repeat(7, 1fr); gap: 36px; align-items: center; }
.logo-wall a { display: grid; place-items: center; height: 64px; }
.logo-wall img { max-height: 60px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.2s; }
.logo-wall a:hover img { transform: scale(1.06); }
.logo-wall img.inv { filter: invert(1); }
@media (max-width: 1080px) {
  .clients .wrap { grid-template-columns: 1fr; gap: 22px; }
  .clients .label { text-align: center; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
}
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Platform bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  min-height: 400px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.tile:hover { border-color: rgba(21, 112, 239, 0.55); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile-text { padding: 28px 28px 0; }
.tile h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 8px; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 44ch; }
.tile .num { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.1em; }
.tile-art { margin-top: auto; padding: 24px 28px 28px; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-6 { grid-column: span 6; }

/* websites tile: screenshot peeks from the corner */
.tile-web { flex-direction: row; }
.tile-web .tile-text { flex: 0 0 42%; padding-bottom: 28px; }
.tile-web .tile-art { flex: 1; padding: 36px 0 0 8px; margin: 0; align-self: stretch; }
.tile-web .browser { border-radius: 12px 0 0 0; border-right: 0; border-bottom: 0; height: 100%; box-shadow: -12px 12px 40px -20px rgba(18, 26, 38, 0.3); }
.tile-web .browser img { height: calc(100% - 37px); object-fit: cover; object-position: left top; }

/* mini UI pieces */
.ui { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13px; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.ui-stats div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; }
.ui-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; }
.ui-stats span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-top: 6px; }
.pill { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); white-space: nowrap; }
.pill.ok { background: #e3f5ea; color: #12703f; }
.pill.wait { background: #fdf1d8; color: #8a5a00; }
.ui .bars { height: 86px; gap: 7px; margin-top: 4px; }
.ui-cap { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; }
.chips span.on { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-tint); font-weight: 600; }
.ui-btn { display: block; text-align: center; background: var(--blue); color: #fff; font-weight: 600; font-size: 13px; border-radius: 8px; padding: 9px; }
.steps-bar { display: flex; gap: 4px; margin-bottom: 10px; }
.steps-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps-bar i.on { background: var(--blue); }

/* camera tile */
.tile-cam .tile-art { padding: 20px 14px 14px; }
.tile-cam .shot { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.tile-cam .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tile-cam:hover .shot img { transform: scale(1.04); }
.tile-cam .badge { position: absolute; top: 10px; left: 10px; }

/* wide photo tile */
.tile-photo { min-height: 320px; color: #fff; justify-content: flex-end; isolation: isolate; border: 0; }
.tile-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s; }
.tile-photo:hover > img { transform: scale(1.03); }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 22, 44, 0.78) 0%, rgba(8, 22, 44, 0.25) 55%, rgba(8, 22, 44, 0) 80%); }
.tile-photo .tile-text { padding: 32px; }
.tile-photo .num { color: #9cc3ff; }
.tile-photo h3 { font-size: clamp(26px, 3vw, 40px); }
.tile-photo p { color: rgba(255, 255, 255, 0.88); }

.bento-foot { margin-top: 32px; }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .span-4, .span-6 { grid-column: span 2; }
  .span-2, .span-3 { grid-column: span 1; }
  .tile { min-height: 0; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .span-4, .span-6, .span-2, .span-3 { grid-column: span 1; }
  .tile-web { flex-direction: column; }
  .tile-web .tile-text { flex: none; padding-bottom: 0; }
  .tile-web .tile-art { padding: 24px 0 0 28px; }
  .tile-web .browser img { height: 200px; }
  .tile-photo { min-height: 300px; }
  .tile-photo::after { background: linear-gradient(0deg, rgba(8, 22, 44, 0.85) 0%, rgba(8, 22, 44, 0.1) 80%); }
}

/* ---------- Platform hub ---------- */
.icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); }
.hub-head .h2 { margin: 18px auto 18px; }
.hub-head .lede { margin: 0 auto; }
.hub { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hub-col { display: grid; gap: 20px; }
.hub-item { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.hub-item:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.hub-item .ico { color: var(--blue); margin-bottom: 10px; }
.hub-item h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 21px; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 5px; }
.hub-item p { color: var(--muted); font-size: 15px; }
.hub-item::after { content: ""; position: absolute; top: 50%; width: clamp(24px, 4vw, 64px); border-top: 2px dashed rgba(21, 112, 239, 0.45); }
.hub-col.left .hub-item::after { left: 100%; }
.hub-col.right .hub-item::after { right: 100%; }
.hub-col.left .hub-item { text-align: right; }
.hub-col.left .hub-item .ico { margin-left: auto; }
.hub-core { position: relative; width: clamp(180px, 20vw, 250px); aspect-ratio: 1; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(21, 112, 239, 0.14), 0 0 0 34px rgba(21, 112, 239, 0.07), 0 30px 60px -20px rgba(21, 112, 239, 0.6); }
.hub-core img { width: 68%; }
@media (max-width: 980px) {
  .hub { grid-template-columns: 1fr; justify-items: center; }
  .hub-core { order: -1; width: 170px; margin-bottom: 24px; }
  .hub-col { width: 100%; grid-template-columns: 1fr 1fr; }
  .hub-item::after { display: none; }
  .hub-col.left .hub-item { text-align: left; }
  .hub-col.left .hub-item .ico { margin-left: 0; }
}
@media (max-width: 560px) { .hub-col { grid-template-columns: 1fr; } }

.hub-foot { text-align: center; margin-top: clamp(36px, 4vw, 56px); }

/* ---------- Work ---------- */
.case { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.case h3 { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.02em; line-height: 1.05; margin: 14px 0 16px; }
.case p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tags span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 44px 24px; margin-top: clamp(48px, 6vw, 88px); }
.work-card { grid-column: span 2; }
.work-card.wide { grid-column: span 3; }
.work-card.wide h4 { font-size: 27px; }
.work-card .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--paper); }
.work-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work-card:hover .shot img { transform: scale(1.04); }
.work-card .label { display: block; margin: 18px 0 6px; }
.work-card h4 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 23px; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 12px; }
.work-card h4 .arrow { opacity: 0.3; transition: opacity 0.2s, transform 0.2s, color 0.2s; }
.work-card:hover h4 .arrow { opacity: 1; transform: translate(3px, -3px); color: var(--blue); }
.work-card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 980px) { .case { grid-template-columns: 1fr; } .work-grid { grid-template-columns: 1fr 1fr; } .work-card, .work-card.wide { grid-column: span 1; } }
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Camera network ---------- */
.cams-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.cams-head .h2 { margin: 18px 0 18px; max-width: 13ch; }
.stats { display: flex; gap: clamp(24px, 4vw, 56px); }
.stats div { border-left: 1px solid var(--line); padding-left: 18px; }
.stats strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.02em; line-height: 1; }
.stats span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cam-tile { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); color: #fff; isolation: isolate; }
.cam-tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.cam-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cam-tile:hover img { transform: scale(1.04); }
.cam-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 18, 30, 0.85) 0%, rgba(10, 18, 30, 0) 55%); }
.cam-tile .badge { position: absolute; top: 12px; left: 12px; }
.cam-tile .meta { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cam-tile strong { display: block; font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 18px; letter-spacing: -0.01em; line-height: 1.15; }
.cam-tile.big strong { font-size: clamp(22px, 2.6vw, 34px); }
.cam-tile small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.cam-tile .clock { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.cams-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.cams-foot p { color: var(--muted); max-width: 56ch; }
.cams-foot div { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .cams-head { grid-template-columns: 1fr; }
  .cam-grid { grid-template-columns: 1fr 1fr; }
  .cam-tile.big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .stats { gap: 16px; }
  .stats div { padding-left: 12px; }
}

/* ---------- How it grows ---------- */
.grows { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grows .h2 { margin: 18px 0 0; max-width: 16ch; }
.pulse-line { width: 100%; height: 70px; margin: clamp(36px, 5vw, 64px) 0 8px; color: var(--blue); overflow: visible; }
.pulse-line path { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pulse-line.in path { animation: draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.steps .num { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.steps h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.02em; line-height: 1.1; margin: 12px 0 10px; }
.steps p { color: var(--muted); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; position: relative; }
.cta .label { color: rgba(255, 255, 255, 0.8); }
.cta h2 { font-size: clamp(42px, 7vw, 104px); margin: 18px 0 22px; max-width: 12ch; }
.cta p { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; color: rgba(255, 255, 255, 0.9); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-actions a.mail { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.cta .pulse-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 150%; width: auto; opacity: 0.09; pointer-events: none; }
@media (max-width: 880px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6ceda; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo img { height: 34px; width: auto; margin-bottom: 18px; }
.site-footer p { max-width: 34ch; color: #98a3b3; }
.site-footer h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #7f8b9c; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #7f8b9c; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: span 2; } }

/* ---------- Hero reel (right side) ---------- */
.hero-reel { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; max-height: 640px; justify-self: end; width: 100%; background: var(--ink-2); box-shadow: var(--shadow); }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; }
.hero-reel figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 12px; padding: 48px 22px 18px; background: linear-gradient(0deg, rgba(10, 18, 30, 0.7), rgba(10, 18, 30, 0)); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Mobile pass ---------- */
@media (max-width: 880px) {
  /* header has a backdrop-filter, so the fixed menu is sized against the header: give it an explicit height */
  .nav { inset: 76px 0 auto 0; height: calc(100dvh - 76px); }
}
@media (max-width: 980px) {
  .hero-reel { aspect-ratio: 4 / 3; border-radius: 20px; max-height: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-inner { padding-top: 36px; padding-bottom: 48px; gap: 36px; }
  .hero h1 { font-size: clamp(46px, 14vw, 60px); margin: 16px 0 18px; }
  .hero-cta { flex-direction: column; margin-top: 26px; }
  .hero-cta .btn, .cams-foot .btn { width: 100%; justify-content: center; }
  .hero-proof { margin-top: 28px; padding-top: 20px; gap: 6px 20px; }
  .hero-reel figcaption { font-size: 10px; padding: 36px 16px 14px; }

  .clients { padding: 30px 0 32px; }
  .logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; }
  .logo-wall a { flex: 0 0 calc(25% - 17px); height: 52px; }
  .logo-wall img { max-height: 48px; }

  /* platform hub: compact rows instead of six tall cards */
  .hub-core { width: 112px; margin-bottom: 8px; box-shadow: 0 0 0 9px rgba(21, 112, 239, 0.14), 0 0 0 20px rgba(21, 112, 239, 0.07); }
  .hub { gap: 0; }
  .hub-col { gap: 0; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); }
  .hub-col.left { border-radius: 16px 16px 0 0; border-bottom: 0; margin-top: 28px; }
  .hub-col.right { border-radius: 0 0 16px 16px; }
  .hub-item { display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; align-items: start; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; background: none; }
  .hub-col.right .hub-item:last-child { border-bottom: 0; }
  .hub-item:hover { transform: none; box-shadow: none; }
  .hub-item .ico { grid-row: span 2; margin: 2px 0 0; }
  .hub-item h3 { font-size: 18px; margin-bottom: 2px; }
  .hub-item p { font-size: 14.5px; }

  /* work: swipeable row instead of a long stack */
  .work-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 44px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-card, .work-card.wide { flex: 0 0 84%; scroll-snap-align: center; }
  .work-card.wide h4 { font-size: 23px; }
  .js .work-grid .reveal { opacity: 1; transform: none; }

  /* cameras: keep titles clear of the LIVE badge */
  .cam-grid { gap: 10px; }
  .cam-tile { aspect-ratio: 4 / 3; }
  .cam-tile.big { aspect-ratio: 16 / 10; }
  .cam-tile:last-child { grid-column: span 2; aspect-ratio: 16 / 8; }
  .cam-tile .badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 9.5px; }
  .cam-tile .meta { left: 10px; right: 10px; bottom: 9px; }
  .cam-tile:not(.big) strong { font-size: 15px; }
  .cam-tile:not(.big) small { font-size: 9.5px; }
  .cams-foot div { width: 100%; }

  .cta .pulse-mark { height: 60%; top: 26%; right: -70px; opacity: 0.07; }
  .footer-base { margin-top: 40px; }
}

/* ---------- Hero v3: headline row + wide player ---------- */
.hero .wrap { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.hero-top h1 { margin-bottom: 0; }
.hero-side .hero-cta { margin-top: 26px; }
.hero-reel { aspect-ratio: 21 / 9; max-height: none; border-radius: 24px; }
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-reel { aspect-ratio: 16 / 9; border-radius: 18px; }
}
@media (max-width: 620px) {
  .hero .wrap { padding-top: 32px; padding-bottom: 44px; }
  .hero-top { gap: 18px; margin-bottom: 28px; }
}

/* ---------- Work v3: six equal projects ---------- */
.work-grid { margin-top: 0; gap: 48px 24px; }
@media (max-width: 620px) { .work-grid { margin-top: 0; } }

/* ---------- Hero v4: full-size photo ---------- */
.site-header .logo-white { display: none; }
.photo-hero:not(.menu-open) .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.photo-hero:not(.menu-open) .site-header:not(.scrolled) .logo-dark { display: none; }
.photo-hero:not(.menu-open) .site-header:not(.scrolled) .logo-white { display: block; }
.photo-hero:not(.menu-open) .site-header:not(.scrolled) .nav a.nav-link { color: rgba(255, 255, 255, 0.9); }
.photo-hero:not(.menu-open) .site-header:not(.scrolled) .nav a.nav-link:hover { color: #fff; }
.site-header { transition: background 0.3s, box-shadow 0.3s, color 0.3s; }

.hero-photo { position: relative; isolation: isolate; padding-top: 0; min-height: clamp(600px, 100svh, 960px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #0b2a4a; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(6, 20, 40, 0.42) 0%, rgba(6, 20, 40, 0) 20%),
  linear-gradient(90deg, rgba(6, 20, 40, 0.66) 0%, rgba(6, 20, 40, 0.38) 36%, rgba(6, 20, 40, 0) 62%); }
.hero-photo .hero-body.wrap { width: 100%; padding-top: 130px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero-photo .label { color: rgba(255, 255, 255, 0.82); display: inline-flex; align-items: center; gap: 12px; }
.hero-photo .label::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
.hero-photo h1 { font-size: clamp(52px, 8vw, 124px); max-width: 6.2em; margin: 20px 0 24px; line-height: 0.92; text-shadow: 0 2px 30px rgba(6, 20, 40, 0.35); }
.hero-photo .lede { color: rgba(255, 255, 255, 0.92); font-size: clamp(18px, 1.6vw, 22px); max-width: 44ch; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; background: rgba(6, 20, 40, 0.25); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 20px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 700px) {
  /* phone: photo on top with the lighthouse clear, text on solid navy below */
  .hero-photo { min-height: 0; background: #071a30; }
  .hero-bg { inset: 0 0 auto 0; height: min(58svh, 470px); }
  .hero-bg img { object-position: 50% 80%; }
  .hero-photo::before { inset: 0 0 auto 0; height: min(58svh, 470px); background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.5) 0%, rgba(6, 20, 40, 0) 24%),
    linear-gradient(0deg, #071a30 0%, rgba(7, 26, 48, 0) 34%); }
  .hero-photo .hero-body.wrap { padding-top: calc(min(58svh, 470px) - 18px); padding-bottom: 40px; }
  .hero-photo h1 { font-size: clamp(46px, 14vw, 60px); margin: 14px 0 16px; max-width: none; }
  .hero-credit { display: none; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .pulse-line path { stroke-dashoffset: 0; animation: none !important; }
}

section[id] { scroll-margin-top: 76px; }

@media (max-width: 620px) { .hero-reel figcaption span:last-child { display: none; } }

/* ============================================================
   INNER PAGES — platform, live cams, camera pages, contact
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero { padding: calc(76px + clamp(40px, 6vw, 84px)) 0 clamp(40px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(44px, 6.6vw, 96px); margin: 18px 0 22px; line-height: 0.94; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-hero .lede { font-size: clamp(18px, 1.55vw, 21px); max-width: 56ch; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.page-hero .hub-core { margin: 0 auto; width: clamp(200px, 24vw, 320px); }
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-current] { color: var(--text); }
.nav a.nav-link[aria-current="page"] { color: var(--text); }
@media (max-width: 880px) {
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero .hub-core { display: none; }
}

/* ---------- Feature rows (platform page) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-row.flip .feature-art { order: -1; }
.feature-row h2 { font-size: clamp(32px, 4vw, 54px); margin: 16px 0 18px; }
.feature-row > div > p { color: var(--muted); max-width: 54ch; }
.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231570ef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.feature-row .link-arrow { margin-top: 28px; }
.feature-art .browser img { aspect-ratio: 16 / 10.4; object-fit: cover; object-position: top; }
.feature-art .photo { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.feature-art .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-art .photo .badge { position: absolute; top: 14px; left: 14px; }
.feature-art figcaption, .art-cap { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feature-art figure { margin: 0; }
.dash { aspect-ratio: 16 / 10.4; background: var(--paper); padding: clamp(14px, 2vw, 26px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; font-size: 13.5px; }
.dash .ui-stats { grid-column: span 2; margin: 0; gap: 12px; }
.dash .ui-stats div { padding: 12px 14px; }
.dash .ui-stats b { font-size: 28px; }
.dash .card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.dash .ui-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0; margin: 0; }
.dash .ui-row:last-child { border-bottom: 0; }
.dash .bars { height: 100px; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .feature-art { order: 0; }
  .dash { font-size: 11.5px; }
  .dash .bars { height: 70px; }
}

/* ---------- Live cams: hero ---------- */
.live-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.live-hero .stats { margin-top: 34px; }
.quote-card { background: var(--blue); color: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -28px rgba(21, 112, 239, 0.7); }
.quote-card h2 { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 12px; }
.quote-card p { color: rgba(255, 255, 255, 0.92); font-size: 16px; margin-bottom: 22px; }
@media (max-width: 880px) { .live-hero { grid-template-columns: 1fr; } }

/* ---------- Rotating player ---------- */
.player { max-width: 1040px; margin: 0 auto; }
.player-stage { position: relative; border-radius: 18px; overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow); transition: opacity 0.3s; }
.player-stage.switching { opacity: 0; }
.player-stage .frame, .cam-frame { position: relative; aspect-ratio: 16 / 9; }
.player-stage iframe, .cam-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-stage .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.player-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, 0.35); z-index: 2; }
.player-progress div { height: 100%; width: 0; background: var(--blue); }
.player-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 16px 2px 14px; }
.player-meta h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 24px; letter-spacing: -0.015em; }
.player-meta p { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.thumbs { display: flex; align-items: center; gap: 10px; }
.thumb-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: border-color 0.2s, color 0.2s; }
.thumb-arrow:hover { border-color: var(--blue); color: var(--blue); }
.thumb-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thumb-track { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; padding: 3px; }
.thumb-track::-webkit-scrollbar { display: none; }
.thumb-card { flex: 0 0 132px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); opacity: 0.62; text-align: left; transition: opacity 0.2s, box-shadow 0.2s; }
.thumb-card:hover { opacity: 1; }
.thumb-card.on { opacity: 1; box-shadow: 0 0 0 2px var(--blue); border-color: var(--blue); }
.thumb-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink-2); }
.thumb-card span { display: block; padding: 6px 8px 7px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Camera cards ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.cam-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cam-tab:hover { color: var(--text); border-color: var(--text); }
.cam-tab.on { background: var(--text); border-color: var(--text); color: #fff; }
.cam-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cam-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.2s, box-shadow 0.2s; }
.cam-card:hover { border-color: rgba(21, 112, 239, 0.5); box-shadow: var(--shadow); }
.cam-card[hidden] { display: none; }
.cam-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; }
.cam-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.cam-play:hover img { transform: scale(1.04); }
.cam-play .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.cam-play .play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.2s, background 0.2s; }
.cam-play:hover .play { transform: scale(1.08); background: #fff; }
.cam-play .play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--blue); }
.cam-play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cam-card-body .label { font-size: 10.5px; }
.cam-card-body h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 21px; letter-spacing: -0.015em; line-height: 1.15; margin: 6px 0 6px; }
.cam-card-body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.cam-card-body a { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue-deep); }
.cam-card-body a:hover { text-decoration: underline; }
.mini-cams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-cam { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.mini-cam:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-cam .shot { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); }
.mini-cam .shot img { width: 100%; height: 100%; object-fit: cover; }
.mini-cam .badge { position: absolute; top: 10px; left: 10px; font-size: 9.5px; padding: 4px 8px; }
.mini-cam div.txt { padding: 14px 16px 16px; }
.mini-cam h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 18px; letter-spacing: -0.01em; }
.mini-cam p { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
@media (max-width: 980px) { .cam-cards, .mini-cams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .cam-cards { grid-template-columns: 1fr; }
  .mini-cams { gap: 10px; }
  .mini-cam div.txt { padding: 10px 12px 12px; }
  .mini-cam h3 { font-size: 15px; }
  .thumb-card { flex-basis: 108px; }
  .thumb-arrow { display: none; }
  .player-stage { border-radius: 12px; }
  .player-meta { flex-direction: column; gap: 2px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .cam-tab { flex: none; }
}

/* ---------- Service cards + numbered steps ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.info-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.info-card h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 20px; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 8px; }
.info-card h3 small { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.info-card p { color: var(--muted); font-size: 15px; }
.how { margin-top: clamp(48px, 6vw, 88px); }
.how > h3 { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.02em; margin-bottom: 28px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.how-steps li { padding: 24px 24px 0 0; counter-increment: step; }
.how-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.how-steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 13px; color: var(--blue); }
.how-steps h4 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 21px; letter-spacing: -0.015em; margin: 10px 0 6px; }
.how-steps p { color: var(--muted); font-size: 15px; }
.trust-line { margin-top: clamp(36px, 5vw, 64px); font-size: clamp(18px, 1.7vw, 22px); max-width: 60ch; }
.trust-line b { color: var(--blue-deep); font-weight: 600; }
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .how-steps li:nth-child(n + 3) { margin-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .cards-4 { grid-template-columns: 1fr; gap: 12px; }
  .info-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 18px; }
  .info-card .ico { grid-row: span 2; margin: 0; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li, .how-steps li + li { padding: 18px 0 0; border-left: 0; margin-top: 18px; border-top: 1px solid var(--line); }
  .how-steps li:first-child { margin-top: 0; border-top: 0; }
}

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.form-wrap .h2 { margin: 16px 0 16px; font-size: clamp(34px, 4.4vw, 58px); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form-card > h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: 24px; letter-spacing: -0.015em; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span, .field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 15px; border: 1px solid rgba(18, 26, 38, 0.22); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa3b0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 112, 239, 0.15); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: var(--live); box-shadow: 0 0 0 4px rgba(239, 59, 59, 0.12); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(18, 26, 38, 0.18); border-radius: 12px; font-size: 15px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.choice:hover { border-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.choice input { width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.choice.full { grid-column: 1 / -1; }
.form-card .btn { width: 100%; justify-content: center; padding: 17px 26px; font-size: 16px; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 15px; font-weight: 600; }
.form-status.ok { color: #12703f; }
.form-status.err { color: #b42318; }
.contact-list { margin-top: 34px; display: grid; gap: 22px; }
.contact-list h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-list a:hover { color: var(--blue); }
.contact-list .socials { display: flex; gap: 16px; font-weight: 600; }
.next-steps { margin-top: 30px; display: grid; gap: 14px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; counter-increment: n; color: var(--muted); }
.next-steps li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.next-steps b { color: var(--text); font-weight: 600; }
@media (max-width: 880px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid, .choice-grid { grid-template-columns: 1fr; } }

/* ---------- Prose + FAQ ---------- */
.prose { max-width: 70ch; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-wrap .h2 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--display); font-weight: 700; font-stretch: 94%; font-size: 19px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--body); font-weight: 500; font-size: 20px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 50px 22px 0; }
.faq details p a { color: var(--blue-deep); text-decoration: underline; }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* ---------- Camera page ---------- */
.cam-page-hero { padding-bottom: clamp(24px, 3vw, 40px); }
.cam-page-hero h1 { max-width: 16ch; font-size: clamp(40px, 5.6vw, 80px); }
.cam-player { border-radius: 18px; overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow); position: relative; }
.cam-player .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.cam-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.cam-about .h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 16px; }
@media (max-width: 880px) { .cam-about { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .page-hero { padding-top: calc(76px + 28px); }
  .cam-player { border-radius: 12px; margin-left: calc(var(--gutter) * -0.5); margin-right: calc(var(--gutter) * -0.5); }
  .prose-actions .btn { width: 100%; justify-content: center; }
  .quote-card .btn { width: 100%; justify-content: center; }
}
