/* Lewis and Clark Technologies — site styles
   Brand: cyan #00ADEF and charcoal #4D4D4D from the logo, on deep navy. */

:root {
  /* Color */
  --navy-950: #070d18;
  --navy-900: #0a1220;
  --navy-800: #111c2f;
  --navy-700: #1a2840;
  --line-dark: rgba(155, 190, 230, 0.14);
  --cyan: #00adef;
  --cyan-300: #5fd0ff;
  --cyan-700: #00719e;            /* cyan for text on light: 5.0:1 on white */
  --charcoal: #4d4d4d;
  --ink: #0e1726;
  --ink-2: #3c4757;               /* body text on light: 9.4:1 */
  --ink-3: #5a6576;               /* secondary text on light: 5.9:1 */
  --paper: #ffffff;
  --paper-2: #f3f6f9;
  --line: #dfe5ec;
  --on-dark: #eef3f8;
  --on-dark-2: #a9b6c7;           /* 8.6:1 on navy-900 */
  --danger: #c62828;
  --success: #1b7f4b;

  /* Type */
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);
  --fs-xl: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);

  /* Space (8pt) */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1280px;

  /* Shape & motion */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms; --t-med: 280ms; --t-slow: 600ms;
  --shadow: 0 1px 2px rgba(10, 18, 32, 0.06), 0 8px 24px rgba(10, 18, 32, 0.08);
  --header-h: 72px;

  /* Layers */
  --z-header: 40; --z-menu: 50; --z-dialog: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0 0 var(--s-2); font-weight: 700; text-wrap: balance; }
p { margin: 0 0 var(--s-2); text-wrap: pretty; }
a { color: var(--cyan-700); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--navy-950); }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-2); top: -100px; z-index: 200; background: var(--cyan); color: var(--navy-950); padding: 0.75rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: var(--s-2); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 4.5rem; height: 4.5rem; }

/* ---------- Type ---------- */
.display { font-size: var(--fs-h2); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.02; }
h1.display { font-size: var(--fs-h1); }
.display-xl { font-size: var(--fs-xl) !important; letter-spacing: -0.03em; line-height: 0.96; }
.mini-display { font-size: var(--fs-h3); font-weight: 800; font-stretch: 108%; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lg); line-height: 1.55; max-width: 60ch; }
.mini-h { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin: var(--s-4) 0 var(--s-2); font-weight: 500; }

/* Cable-tag section labels: the site's signature detail */
.tag-label { display: inline-flex; align-items: stretch; margin: 0 0 var(--s-3); font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.tag-num { background: var(--cyan); color: var(--navy-950); padding: 0.3em 0.6em; border-radius: 4px 0 0 4px; }
.tag-text { border: 1px solid currentColor; border-left: 0; padding: calc(0.3em - 1px) 0.75em; border-radius: 0 4px 4px 0; color: var(--ink-3); position: relative; }
.tag-text::after { content: ''; position: absolute; left: 100%; top: 50%; width: 2.5rem; height: 1px; background: currentColor; opacity: 0.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.01em; text-decoration: none;
  border: 1.5px solid transparent; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; }
.btn-lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn-primary { background: var(--cyan); color: var(--navy-950); }
.btn-primary:hover { background: var(--cyan-300); }
.btn-ghost { color: var(--on-dark); border-color: rgba(238, 243, 248, 0.32); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(238, 243, 248, 0.06); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(10, 18, 32, 0.86); color: var(--on-dark);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s-3); }
.brand img { height: 44px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.primary-nav a { display: block; padding: 0.6rem 0.8rem; color: var(--on-dark-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; border-radius: var(--r-sm); position: relative; transition: color var(--t-fast); }
.primary-nav a:hover { color: var(--on-dark); }
.primary-nav a[aria-current='page'] { color: var(--on-dark); }
.primary-nav a[aria-current='page']::after { content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem; height: 2px; background: var(--cyan); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; min-height: 44px; }
.header-phone .icon { color: var(--cyan); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-dark); border-radius: var(--r-sm); color: var(--on-dark); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu); background: var(--navy-900); padding: var(--s-3) var(--gutter) var(--s-5); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-4); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; }
.mobile-menu nav a { display: block; padding: 0.9rem 0; font-size: 1.75rem; font-weight: 800; font-stretch: 110%; color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav a[aria-current='page'] { color: var(--cyan); }
.mobile-menu-foot { display: grid; gap: var(--s-2); }
body.menu-open { overflow: hidden; }

@media (max-width: 1100px) { .header-phone span { display: none; } }
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-phone span { display: none; }
}
@media (max-width: 420px) { .header-actions .btn-sm { display: none; } .brand img { height: 38px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); }
.section-tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-tint { background: var(--paper-2); }
.section-dark, .hero, .page-hero, .site-footer { background: var(--navy-900); color: var(--on-dark-2); }
.section-dark :is(h1, h2, h3), .hero :is(h1, h2, h3), .page-hero :is(h1, h2, h3), .site-footer :is(h2, h3) { color: var(--on-dark); }
.section-dark .tag-text, .hero .tag-text, .page-hero .tag-text { color: var(--on-dark-2); }
.section-dark a:not(.btn), .page-hero a:not(.btn), .site-footer a:not(.btn) { color: var(--cyan-300); }
.section-head { max-width: 900px; margin-bottom: var(--s-5); }
.section-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.section-head-split > div { max-width: 820px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(0, 173, 239, 0.22), transparent 70%),
    linear-gradient(to right, var(--line-dark) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(to bottom, var(--line-dark) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-2); margin-bottom: var(--s-3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.2); }
.hero h1 { margin-bottom: var(--s-3); }
.hero .lead { color: var(--on-dark-2); margin-bottom: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--on-dark); }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust .icon { color: var(--cyan); }

.hero-visual { position: relative; padding: 0 0 2.5rem 2.5rem; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-reel { position: absolute; left: 0; bottom: 0; width: 44%; margin: 0; border-radius: var(--r-md); overflow: hidden; border: 4px solid var(--navy-900); background: var(--navy-800); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.hero-reel video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 0.75rem 0.6rem; font-size: 0.75rem; line-height: 1.3; color: var(--on-dark); background: linear-gradient(transparent, rgba(7, 13, 24, 0.9)); }
.hero-reel figcaption span { display: block; font-weight: 700; }
.hero-spec { position: absolute; top: 1.25rem; right: -0.75rem; display: grid; gap: 0.35rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; }
.hero-spec span { background: var(--navy-950); color: var(--cyan-300); border: 1px solid rgba(0, 173, 239, 0.4); padding: 0.3rem 0.55rem; border-radius: 4px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; padding-left: 2rem; }
  .hero-spec { right: 0.5rem; }
}

/* ---------- Proof ---------- */
.proof { background: var(--navy-950); color: var(--on-dark-2); border-top: 1px solid var(--line-dark); }
.proof-inner { display: flex; align-items: center; gap: var(--s-3) var(--s-4); padding-block: var(--s-3); flex-wrap: wrap; }
.proof-title { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan-300); margin: 0; }
.proof-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.proof-list li { font-weight: 700; font-stretch: 110%; color: var(--on-dark); font-size: var(--fs-md); }
.proof-list .proof-more { color: var(--cyan-300); font-weight: 600; font-stretch: 100%; }
.proof-list li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 1.1rem; vertical-align: 0.2em; background: var(--cyan); opacity: 0.7; transform: rotate(45deg); }

/* ---------- Stats ---------- */
.stats-section { padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { padding: var(--s-2) var(--s-3); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); order: 1; }
.stats dd { margin: 0.2rem 0 0.4rem; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 800; font-stretch: 115%; color: var(--ink); line-height: 1; letter-spacing: -0.02em; order: 2; font-variant-numeric: tabular-nums; }
.stats dd.is-text { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem); line-height: 1.35; }
@media (min-width: 801px) { .stats dd.is-text { white-space: nowrap; } }
.stats p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); order: 3; }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: var(--s-3); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Home services index ---------- */
.service-index { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-5); align-items: start; }
.service-rows { list-style: none; border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 3rem 1fr auto; grid-template-areas: 'num name arrow' 'num short arrow' 'num for arrow';
  column-gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; position: relative;
}
.service-row::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--cyan); transition: width var(--t-slow) var(--ease-out); }
.service-row:hover::before, .service-row:focus-visible::before, .service-row.is-active::before { width: 100%; }
.service-num { grid-area: num; font-family: var(--mono); font-size: var(--fs-sm); color: var(--cyan-700); padding-top: 0.45rem; }
.service-name { grid-area: name; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 800; font-stretch: 110%; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.service-short { grid-area: short; color: var(--ink-3); margin-top: 0.25rem; max-width: 52ch; }
.service-for { grid-area: for; font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 0.5rem; }
.service-arrow { grid-area: arrow; align-self: center; width: 1.75rem; height: 1.75rem; color: var(--ink); transition: transform var(--t-med) var(--ease-out), color var(--t-fast); }
.service-row:hover .service-arrow, .service-row:focus-visible .service-arrow { transform: translate(3px, -3px); color: var(--cyan-700); }
.service-preview { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); }
.service-preview-item { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.service-preview-item.is-active { opacity: 1; }
.service-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.icon-panel { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); color: var(--cyan); text-align: center; padding: var(--s-4);
  background: radial-gradient(80% 60% at 50% 30%, rgba(0, 173, 239, 0.18), transparent 70%), linear-gradient(to right, var(--line-dark) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(to bottom, var(--line-dark) 1px, transparent 1px) 0 0 / 40px 40px, var(--navy-900); }
.icon-panel span { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-2); }
.icon-panel-lg { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.more-line { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: var(--s-4); color: var(--ink-3); }
.more-line .icon { color: var(--cyan-700); }
@media (max-width: 900px) { .service-index { grid-template-columns: 1fr; } .service-preview { display: none; } }

/* ---------- Bento (featured projects) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, 26vw); gap: var(--s-2); }
@media (min-width: 1280px) { .bento { grid-auto-rows: 330px; } }
.bento-card { position: relative; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--on-dark); background: var(--navy-800); isolation: isolate; }
.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-card:nth-child(2) { grid-column: span 2; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); z-index: -2; }
.bento-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 13, 24, 0.92) 0%, rgba(7, 13, 24, 0.35) 45%, transparent 75%); z-index: -1; }
.bento-card:hover img { transform: scale(1.04); }
.bento-body { position: absolute; left: 0; right: 3.5rem; bottom: 0; padding: var(--s-3); display: grid; gap: 0.4rem; }
.bento-title { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.625rem); font-weight: 800; font-stretch: 108%; line-height: 1.15; color: var(--on-dark); }
.bento-lg .bento-title { font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); }
.bento-arrow { position: absolute; right: var(--s-3); bottom: var(--s-3); width: 2.25rem; height: 2.25rem; padding: 0.45rem; border-radius: 50%; background: var(--cyan); color: var(--navy-950); transition: transform var(--t-med) var(--ease-out); }
.bento-card:hover .bento-arrow { transform: rotate(45deg); }
.project-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin: 0; font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.project-meta span:first-child { color: var(--cyan-300); }
.project-meta span + span { opacity: 0.85; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .bento-lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-lg, .bento-card:nth-child(2) { grid-column: auto; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.process-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { position: absolute; left: var(--s-2); bottom: var(--s-2); margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--navy-950); color: var(--on-dark); padding: 0.6rem 0.9rem; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; }
.photo-note .icon { color: var(--cyan); }
.steps { list-style: none; display: grid; gap: 0; margin-top: var(--s-4); border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--mono); font-size: var(--fs-sm); color: var(--navy-950); background: var(--cyan); width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; }
.steps h3 { font-size: var(--fs-h3); margin-bottom: 0.35rem; font-stretch: 105%; }
.steps p { margin: 0; color: var(--ink-3); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-photo { aspect-ratio: 16 / 11; } }

/* ---------- Reels ---------- */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.reel { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); }
.reel video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem 0.9rem; color: var(--on-dark); font-size: var(--fs-sm); font-weight: 600; background: linear-gradient(transparent, rgba(7, 13, 24, 0.88)); }
@media (max-width: 900px) {
  .reels { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-1); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .reel { scroll-snap-align: start; }
}

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lead-dark { color: var(--ink-2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-size: 0.8125rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.chips-lg li { font-size: var(--fs-sm); padding: 0.5rem 0.9rem; background: var(--paper); }
.section-tint .chips li { background: var(--paper); }
.area-map { background: var(--navy-900); color: var(--on-dark-2); border-radius: var(--r-lg); padding: var(--s-4); position: relative; overflow: hidden; }
.area-map-title { display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan-300); }
.city-line { list-style: none; margin-top: var(--s-3); columns: 2; column-gap: var(--s-4); }
.city-line li { position: relative; padding: 0.3rem 0 0.3rem 1.25rem; color: var(--on-dark); font-weight: 600; break-inside: avoid; }
.city-line li::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; border: 1.5px solid var(--cyan); }
.city-line li.is-hq::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.22); }
.city-line li.is-hq { color: var(--cyan-300); }
.city-line li span { font-family: var(--mono); font-size: 0.6875rem; background: var(--cyan); color: var(--navy-950); padding: 0.1rem 0.35rem; border-radius: 3px; margin-left: 0.35rem; vertical-align: 2px; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .city-line { columns: 1; } }

/* ---------- FAQ ---------- */
.faq-home { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-home .display { margin-bottom: var(--s-4); }
@media (max-width: 900px) { .faq-home { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding: var(--s-3) 0; cursor: pointer; font-size: var(--fs-h3); font-weight: 700; color: var(--ink); line-height: 1.3; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan-700); }
.faq-icon { width: 1.5rem; height: 1.5rem; padding: 0.15rem; border-radius: 50%; border: 1.5px solid currentColor; transition: transform var(--t-med) var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--cyan-700); }
.faq-answer { padding: 0 3rem var(--s-3) 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 90% 0%, rgba(0, 173, 239, 0.2), transparent 70%), linear-gradient(to right, var(--line-dark) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent); -webkit-mask-image: linear-gradient(to bottom, black, transparent); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 22ch; margin-bottom: var(--s-3); }
.page-hero .lead { color: var(--on-dark-2); }
.page-hero .hero-actions { margin-top: var(--s-4); }
.jump { margin-top: var(--s-4); }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark) !important; text-decoration: none; font-size: var(--fs-sm); font-weight: 600; transition: border-color var(--t-fast), background-color var(--t-fast); }
.jump a:hover { border-color: var(--cyan); background: rgba(0, 173, 239, 0.08); }

/* ---------- About ---------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-copy p { max-width: 62ch; }
.about-collage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.about-collage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.about-collage img:nth-child(even) { transform: translateY(2rem); }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } .about-collage img:nth-child(even) { transform: none; } }
.values { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.values li, .more-grid li { padding: var(--s-4) var(--s-3); border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.02); }
.values .icon, .more-grid .icon { color: var(--cyan); margin-bottom: var(--s-3); }
.values h3, .more-grid h3 { font-size: var(--fs-h3); font-stretch: 105%; margin-bottom: 0.5rem; }
.values p, .more-grid p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.credentials { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.credentials li { padding: var(--s-4) var(--s-3); border-left: 1px solid var(--line); display: grid; gap: 0.4rem; }
.credentials li:first-child { border-left: 0; }
.credentials span { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan-700); }
.credentials strong { color: var(--ink); font-size: var(--fs-h3); font-stretch: 105%; line-height: 1.25; }
@media (max-width: 900px) { .credentials { grid-template-columns: 1fr 1fr; } .credentials li:nth-child(3) { border-left: 0; } .credentials li:nth-child(n + 3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .credentials { grid-template-columns: 1fr; } .credentials li { border-left: 0; } .credentials li + li { border-top: 1px solid var(--line); } }

/* ---------- Services page ---------- */
.service-detail + .service-detail { padding-top: 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.is-flipped .service-detail-media { order: 2; }
.service-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.service-detail-copy p { max-width: 60ch; }
.checks { list-style: none; display: grid; gap: 0.6rem; margin: var(--s-3) 0 var(--s-4); }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checks .icon { color: var(--cyan-700); margin-top: 0.2rem; }
.section-dark .checks .icon, .gallery .checks .icon { color: var(--cyan); }
@media (max-width: 900px) { .service-detail-grid { grid-template-columns: 1fr; } .is-flipped .service-detail-media { order: 0; } }
.more-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
@media (max-width: 1000px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.split-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-4); background: var(--paper-2); }
@media (max-width: 760px) { .split-cards { grid-template-columns: 1fr; } }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--s-4); }
.filter { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.filter span { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter[aria-pressed='true'] span { color: var(--cyan-300); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4) var(--s-3); }
@media (max-width: 1000px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } }
.project-card { display: flex; flex-direction: column; }
.project-card[hidden] { display: none; }
.project-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.project-card:hover .project-media img { transform: scale(1.03); }
.media-flag { position: absolute; top: 0.75rem; left: 0.75rem; display: inline-flex; align-items: center; gap: 0.3rem; background: var(--navy-950); color: var(--on-dark); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 999px; }
.media-flag .icon { width: 0.9rem; height: 0.9rem; color: var(--cyan); fill: currentColor; }
.project-body { padding-top: var(--s-2); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.project-body .project-meta span:first-child { color: var(--cyan-700); }
.project-body .project-meta span + span { color: var(--ink-3); }
.project-title { font-size: var(--fs-h3); font-stretch: 105%; margin: 0; }
.project-summary { color: var(--ink-3); font-size: var(--fs-sm); margin: 0; }
.project-open { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.25rem 0; background: none; border: 0; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); border-bottom: 2px solid var(--cyan); }
.project-open::after { content: ''; position: absolute; inset: 0; }
.project-card { position: relative; }
.project-open:hover { color: var(--cyan-700); }

/* Gallery dialog */
.gallery { width: min(1200px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--navy-900); color: var(--on-dark-2); overflow: hidden; }
.gallery::backdrop { background: rgba(4, 8, 15, 0.82); }
.gallery[open] { animation: dialog-in var(--t-med) var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.gallery-inner { display: grid; grid-template-columns: 1.5fr 1fr; max-height: calc(100dvh - 2rem); }
.gallery-stage { position: relative; background: #000; min-height: 320px; display: grid; }
.gallery-frame { display: grid; place-items: center; height: 100%; max-height: calc(100dvh - 2rem); }
.gallery-frame img, .gallery-frame video { max-width: 100%; max-height: calc(100dvh - 2rem); width: auto; height: auto; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(7, 13, 24, 0.75); color: var(--on-dark); display: grid; place-items: center; }
.gallery-nav:hover { background: var(--cyan); color: var(--navy-950); }
.gallery-prev { left: 0.75rem; } .gallery-next { right: 0.75rem; }
.gallery-count { position: absolute; left: 0.75rem; bottom: 0.75rem; margin: 0; font-family: var(--mono); font-size: 0.75rem; background: rgba(7, 13, 24, 0.75); color: var(--on-dark); padding: 0.25rem 0.5rem; border-radius: 4px; }
.gallery-info { padding: var(--s-4); overflow-y: auto; position: relative; }
.gallery-info .project-meta { margin-bottom: var(--s-2); padding-right: 3rem; }
.gallery-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-stretch: 108%; color: var(--on-dark); }
.gallery-info .mini-h { color: var(--on-dark-2); }
.gallery-info .checks { margin-bottom: var(--s-3); }
.gallery-info .checks li { color: var(--on-dark); font-size: var(--fs-sm); }
.gallery-close { position: absolute; top: var(--s-2); right: var(--s-2); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); display: grid; place-items: center; }
.gallery-close:hover { border-color: var(--cyan); color: var(--cyan); }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--s-4); }
.gallery-thumbs button { width: 56px; height: 56px; padding: 0; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; background: var(--navy-800); position: relative; }
.gallery-thumbs button[aria-current='true'] { border-color: var(--cyan); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.35); }
.gallery-thumbs .thumb-play svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
@media (max-width: 860px) {
  .gallery { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .gallery-inner { display: block; max-height: 100dvh; height: 100%; overflow-y: auto; }
  .gallery-stage { height: 56dvh; min-height: 0; }
  .gallery-frame { height: 56dvh; }
  .gallery-frame img, .gallery-frame video { max-height: 56dvh; }
  .gallery-info { overflow: visible; position: static; padding: var(--s-3) var(--gutter) var(--s-5); }
  .gallery-close { position: fixed; top: 0.75rem; right: 0.75rem; z-index: 2; background: rgba(7, 13, 24, 0.8); }
  .gallery-info .project-meta { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow); }
.form-note { font-size: var(--fs-sm); color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-2); }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field { margin: 0 0 var(--s-3); border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); font-size: var(--fs-sm); margin-bottom: 0.45rem; padding: 0; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input[type='text'], .field input[type='email'], .field input[type='tel'], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #c3ccd7; border-radius: var(--r-sm); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 140px; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--cyan-700); box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.25); }
.field [aria-invalid='true'] { border-color: var(--danger) !important; }
.field-help { font-size: var(--fs-xs); color: var(--ink-3); margin: 0.4rem 0 0; }
.field-error { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; margin: 0.4rem 0 0; }
.segmented { display: inline-flex; border: 1.5px solid #c3ccd7; border-radius: var(--r-sm); padding: 3px; gap: 3px; }
.segmented label { margin: 0; display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; border-radius: 4px; cursor: pointer; font-weight: 600; color: var(--ink-2); position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--ink); color: var(--paper); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 1px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.5rem; }
.check { display: flex !important; align-items: center; gap: 0.65rem; min-height: 48px; padding: 0.5rem 0.8rem; margin: 0 !important; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 600 !important; color: var(--ink-2) !important; transition: border-color var(--t-fast), background-color var(--t-fast); }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--cyan-700); flex: none; }
.check:has(input:checked) { border-color: var(--cyan-700); background: rgba(0, 173, 239, 0.07); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error-summary { border: 2px solid var(--danger); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); margin-bottom: var(--s-3); background: #fff5f5; }
.form-error-summary h3 { font-size: var(--fs-md); color: var(--danger); margin-bottom: 0.4rem; }
.form-error-summary ul { padding-left: 1.2rem; }
.form-error-summary a { color: var(--danger); font-weight: 600; }
.form-status { margin-top: var(--s-2); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.quote-form.is-sent > :not(.form-status):not(.mini-display) { display: none; }
.quote-form.is-sent .form-status { font-size: var(--fs-lg); color: var(--ink); font-weight: 400; }
.btn .spinner { width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-aside { display: grid; gap: var(--s-2); position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 960px) { .contact-aside { position: static; } }
.contact-card { background: var(--navy-900); color: var(--on-dark-2); border-radius: var(--r-lg); padding: var(--s-4); }
.contact-card h2 { color: var(--on-dark); }
.contact-big { display: flex; align-items: center; gap: 0.75rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 800; font-stretch: 110%; color: var(--on-dark) !important; text-decoration: none; margin: var(--s-2) 0 var(--s-3); font-variant-numeric: tabular-nums; }
.contact-big .icon { color: var(--cyan); }
.contact-card a:not(.contact-big) { color: var(--cyan-300); }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--s-6); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-dark); }
.footer-cta-title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; color: var(--on-dark); margin: 0; line-height: 1.05; }
.footer-cta-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: var(--s-5); padding-block: var(--s-5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 190px; height: auto; margin-bottom: var(--s-3); }
.footer-brand p { max-width: 42ch; font-size: var(--fs-sm); }
.badge-line { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark); font-weight: 600; }
.badge-line .icon { color: var(--cyan); }
.footer-h { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-2) !important; margin-bottom: var(--s-2); }
.footer-links { list-style: none; display: grid; gap: 0.1rem; }
.footer-links a { color: var(--on-dark) !important; text-decoration: none; display: inline-block; padding: 0.35rem 0; font-weight: 600; }
.footer-links a:hover { color: var(--cyan-300) !important; }
.footer-contact { list-style: none; display: grid; gap: 0.7rem; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--cyan); margin-top: 0.15rem; }
.footer-contact a { color: var(--on-dark) !important; }
.footer-base { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; padding-block: var(--s-3); border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--on-dark-2) !important; }

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Service pages and articles (src/content) ---------- */
.heading-link { color: inherit; text-decoration: none; }
.heading-link:hover { color: var(--cyan-700); }
.service-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s-4); }
.service-actions .btn { margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0 0 var(--s-3); padding: 0; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-2); }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--cyan); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-hero h1 { max-width: 26ch; }
.post-hero .lead { max-width: 68ch; }
.post-hero .lead strong { font-weight: 400; }
.prose { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.7; }
.prose > p:first-child { font-size: var(--fs-lg); color: var(--ink); }
.prose section { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 800; font-stretch: 108%; letter-spacing: -0.015em; margin-bottom: var(--s-3); }
.prose h3 { font-size: var(--fs-h3); margin: var(--s-4) 0 var(--s-1); }
.prose p { margin: 0 0 var(--s-3); max-width: 70ch; }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { color: var(--cyan-700); text-decoration: underline; text-underline-offset: 0.15em; }
.prose a:not(.btn):hover { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 var(--s-3); padding-left: 1.4rem; max-width: 70ch; }
.prose li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.prose ul li::marker { color: var(--cyan); }
.prose ol li::marker { color: var(--cyan-700); font-family: var(--mono); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-3) 0 var(--s-4); font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--navy-900); color: var(--on-dark); font-weight: 700; }
.prose tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.prose tbody tr:nth-child(even) { background: var(--paper-2); }
.prose #faq h3 { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.prose .quote-cta { margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 var(--s-4); padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); border-radius: 18px; background: var(--navy-900); color: var(--on-dark-2); position: relative; overflow: hidden; }
.prose .quote-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 90% at 100% 0%, rgba(0, 173, 239, 0.25), transparent 70%); }
.prose .quote-cta > * { position: relative; }
.prose .quote-cta h2 { color: var(--on-dark); margin-bottom: var(--s-2); }
.prose .quote-cta p { margin: 0; }
.prose .quote-cta a { color: var(--cyan-300); font-weight: 700; }
.prose .quote-cta a:hover { color: var(--on-dark); }
@media (max-width: 640px) { .prose tbody th { white-space: normal; } }
#post-list { list-style: none; padding: 0; max-width: none; }
#post-list:empty { display: none; }
#post-list li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
#post-list li:first-child { border-top: 1px solid var(--line); }
#post-list a { font-size: var(--fs-h3); font-weight: 700; color: var(--ink); text-decoration: none; }
#post-list a:hover { color: var(--cyan-700); }
.post-list-empty { color: var(--ink-3); }
