/* HotRod Productions — flagship, WOW Edition.
   Deep blue, graphite, black and chrome. No gold, no pointer-following effects.
   The logo is drawn as a mask (hrp-mark-*.png) filled with a chrome gradient. */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --black: #04050a;
  --night: #070a14;
  --graphite: #10141d;
  --graphite-2: #161b26;
  --graphite-3: #1e2431;
  --navy: #0b1d4a;
  --blue: #1546b8;
  --blue-bright: #5b93ff;
  --text: #e6e9f0;
  --muted: #a3abbd;
  --dim: #7c859a;
  --line: rgba(196, 206, 228, 0.12);
  --line-strong: rgba(196, 206, 228, 0.26);
  --chrome: linear-gradient(176deg, #ffffff 0%, #dfe4ec 22%, #a9b2c2 44%, #59616f 52%, #c3cad6 63%, #f4f6fa 80%, #9ba4b4 100%);
  --chrome-mark: linear-gradient(170deg, #ffffff 0%, #eef1f6 30%, #cdd4e0 62%, #e9edf3 82%, #b9c2d1 100%);
  --chrome-edge: linear-gradient(140deg, rgba(255,255,255,0.55), rgba(160,172,196,0.10) 30%, rgba(91,147,255,0.35) 60%, rgba(255,255,255,0.12) 85%, rgba(255,255,255,0.45));
  --steel: linear-gradient(180deg, #2a3140 0%, #161b25 100%);
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 14px;
  --radius-s: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Page-wide atmosphere: two fixed deep-blue glows and a fine horizontal line texture (logo stripes). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 85% -10%, rgba(21, 70, 184, 0.30), transparent 60%),
    radial-gradient(50vmax 40vmax at -10% 40%, rgba(11, 29, 74, 0.55), transparent 65%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, var(--night), var(--black) 60%);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; color: #8db4ff; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: rgba(91, 147, 255, 0.4); color: #fff; }

h1, h2, h3 { font-family: var(--font-display); color: #f4f6fa; font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.1vw, 2.9rem); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.38rem); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { color: #f4f6fa; }

.chrome-text {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) { .chrome-text { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; } }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.kicker {
  display: block;
  font-family: var(--font-display); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem;
}
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem); line-height: 1.6; color: #c9cfdb; max-width: 46rem; }
.note { color: var(--muted); font-size: 0.97rem; max-width: 52rem; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: #fff; color: var(--black); font-weight: 600; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- chrome mark (logo) */
.mark {
  display: block; aspect-ratio: 1; background: var(--chrome-mark);
  -webkit-mask: url("../img/hrp-mark-640.png") center / contain no-repeat;
          mask: url("../img/hrp-mark-640.png") center / contain no-repeat;
}
.mark-s {
  -webkit-mask-image: url("../img/hrp-mark-128.png"); mask-image: url("../img/hrp-mark-128.png");
}
@media (forced-colors: active) { .mark { background: CanvasText; } }

/* ---------------------------------------------------------------- icons (one SVG line family) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico-tile {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 15px; isolation: isolate;
  background: radial-gradient(120% 120% at 25% 15%, rgba(91, 147, 255, 0.28), rgba(21, 70, 184, 0.10) 55%, rgba(10, 14, 24, 0.6));
}
.ico-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: var(--chrome-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ico { width: 26px; height: 26px; fill: none; stroke: #9dbdff; stroke: url(#ico-grad); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico-tile-l { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 1.4rem; }
.ico-tile-l .ico { width: 34px; height: 34px; }
@media (forced-colors: active) { .ico { stroke: CanvasText; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 50px;
  padding: 0.8em 1.5em; border: 0; border-radius: 999px; isolation: isolate;
  background: linear-gradient(180deg, #f6f8fb 0%, #c8cfdb 55%, #e9edf3 100%);
  color: #070a14; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 -1px 0 rgba(0,0,0,0.25) inset,
              0 10px 30px -10px rgba(91, 147, 255, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.btn:hover { color: #070a14; transform: translateY(-2px); filter: brightness(1.05);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 -1px 0 rgba(0,0,0,0.25) inset, 0 16px 40px -12px rgba(91, 147, 255, 0.75); }
.btn-ghost {
  background: rgba(16, 20, 29, 0.55); color: #eef1f6; box-shadow: none;
  border: 1px solid transparent; background-clip: padding-box;
}
.btn-ghost::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: var(--chrome-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-ghost:hover { color: #fff; background-color: rgba(21, 70, 184, 0.35); box-shadow: 0 10px 30px -14px rgba(91,147,255,0.7); }
.btn-small { min-height: 42px; padding: 0.45em 1.15em; font-size: 0.95rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 5, 10, 0.55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(4, 5, 10, 0.8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f4f6fa; }
.brand:hover { color: #fff; }
.brand .mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; align-items: center; gap: 4px 24px; list-style: none; flex-wrap: wrap; }
.site-nav a:not(.btn) {
  position: relative; font-family: var(--font-display); font-weight: 500; text-decoration: none; color: #cfd5e1; padding: 8px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--chrome);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.site-nav a[aria-current="page"]:not(.btn) { color: #fff; }
.nav-portal a:not(.btn) { color: #fff; }
.nav-portal a:not(.btn)::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%;
  background: var(--blue-bright); box-shadow: 0 0 10px var(--blue-bright); vertical-align: 0.12em;
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid var(--line);
  text-decoration: none; color: #cfd5e1;
}
.lang-switch:hover { color: #fff; }
.lang-short { font-weight: 700; font-family: var(--font-display); }
.lang-name { color: var(--muted); }
.menu-toggle { display: none; }

@media (max-width: 999px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
    background: rgba(16, 20, 29, 0.7); border: 1px solid var(--line-strong); border-radius: 999px;
    color: #eef1f6; font-family: var(--font-display); font-weight: 500; font-size: 1rem; cursor: pointer;
  }
  .menu-icon, .menu-icon::before { display: block; width: 18px; height: 2px; background: #eef1f6; transition: transform 0.25s var(--ease); }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::before { content: ""; position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }

  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: rgba(7, 10, 20, 0.97); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li a:not(.btn) { display: block; padding: 15px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .js .site-nav li a:not(.btn)::after { display: none; }
  .js .site-nav .nav-cta { margin-top: 20px; }
  .js .site-nav .nav-cta .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
  .js .lang-switch { border-left: 0; padding: 18px 0 0; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(36px, 5vw, 72px) 0 0; overflow: hidden; overflow: clip; isolation: isolate; }
.hero-aurora {
  position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 72% 40%, rgba(37, 99, 235, 0.42), transparent 70%),
    radial-gradient(30% 38% at 88% 70%, rgba(14, 40, 110, 0.65), transparent 70%),
    radial-gradient(28% 30% at 55% 15%, rgba(140, 160, 200, 0.16), transparent 70%);
  filter: blur(10px);
  animation: aurora 22s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.1rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 0.5em; }
.hero-title span { display: block; }
.hero-accent { padding-bottom: 0.06em; }
.hero .lead { color: #c9cfdb; }
.hero-mark { position: relative; display: grid; place-items: center; }
.hero-mark::before {           /* chrome halo ring */
  content: ""; position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(255,255,255,0.0), rgba(255,255,255,0.35), rgba(91,147,255,0.35), rgba(255,255,255,0.0) 55%, rgba(170,180,200,0.25), rgba(255,255,255,0));
  -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%);
          mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%);
  animation: spin 40s linear infinite;
}
.hero-mark::after {            /* soft blue glow behind the mark */
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), transparent 65%);
}
@keyframes spin { to { transform: rotate(1turn); } }
.hero-mark .mark {
  position: relative; width: min(100%, 440px);
  /* a soft light band drifts over the light chrome; nothing darker than the base is ever painted */
  background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 60%) 0 0 / 300% 100% no-repeat,
              var(--chrome-mark);
  animation: sheen 12s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }

.facts {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line-strong); position: relative;
}
.facts::before { content: ""; position: absolute; left: 0; top: -1px; width: 160px; height: 1px; background: var(--chrome); }
.facts li { padding: 26px 24px 30px 0; display: grid; gap: 6px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 1.8vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; }
.fact-text { color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: var(--section) 0; }
.section-alt { background: linear-gradient(180deg, rgba(16, 20, 29, 0.0), rgba(16, 20, 29, 0.85) 18%, rgba(16, 20, 29, 0.85) 82%, rgba(16, 20, 29, 0)); }
.section-head { margin-bottom: clamp(28px, 4vw, 56px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.intro-text { font-size: clamp(1.12rem, 1rem + 0.55vw, 1.4rem); color: #c9cfdb; line-height: 1.6; }
.more { margin-top: 36px; }

/* glass panel with chrome edge (used by cards) */
.glass {
  position: relative; background: linear-gradient(180deg, rgba(30, 36, 49, 0.72), rgba(16, 20, 29, 0.72));
  border-radius: var(--radius); isolation: isolate;
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--chrome-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.section-tight { padding-block: calc(var(--section) * 0.6); }
.scale { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scale-item { padding: 28px 26px; }
.scale-item h3 { margin: 18px 0 8px; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); }
.scale-item p { margin: 0; color: var(--muted); }

/* services list (home) */
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-row { display: flex; }
.svc-row a {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; gap: 10px; width: 100%;
  padding: 28px 26px 24px; text-decoration: none; color: var(--text); border-radius: var(--radius); isolation: isolate;
  background: linear-gradient(180deg, rgba(30, 36, 49, 0.72), rgba(16, 20, 29, 0.72));
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc-row a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 40%, rgba(91,147,255,0.0) 70%, rgba(255,255,255,0.10));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: background 0.35s var(--ease);
}
.svc-row .ico-tile { margin-bottom: 6px; transition: transform 0.35s var(--ease); }
.svc-row a:hover .ico-tile, .svc-row a:focus-visible .ico-tile { transform: translateY(-2px); }
.svc-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); color: #f4f6fa; line-height: 1.2; }
.svc-short { color: var(--muted); }
.svc-arrow { font-size: 1.3rem; color: var(--blue-bright); transition: transform 0.3s var(--ease); }
.svc-row a:hover, .svc-row a:focus-visible {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(21, 70, 184, 0.35), rgba(16, 20, 29, 0.85));
  box-shadow: 0 24px 50px -24px rgba(37, 99, 235, 0.65);
}
.svc-row a:hover::before, .svc-row a:focus-visible::before { background: var(--chrome-edge); }
.svc-row a:hover .svc-arrow { transform: translateX(5px); }

/* work cards (home) */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.work-card { display: flex; flex-direction: column; overflow: hidden; }
.work-card.glass { overflow: visible; }
.work-shot { display: block; margin: 12px 12px 0; border-radius: calc(var(--radius) - 4px); overflow: hidden; border: 1px solid var(--line); }
.work-shot img { transition: transform 0.8s var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.03); }
.work-body { padding: 24px 26px 28px; }
.work-body h3 a { color: #f4f6fa; text-decoration: none; }
.work-body h3 a:hover { text-decoration: underline; }
.work-body p { color: var(--muted); }
.work-type { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.4rem; }
.ext { font-weight: 600; }
.ext::after { content: " ↗"; }

/* portal feature (home) */
.portal-feature { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px); }
.portal-feature-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.portal-feature h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); }
.portal-feature p { color: #c9cfdb; max-width: 38rem; }
.portal-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.portal-tags li {
  padding: 7px 14px; border-radius: 999px; font-size: 0.93rem; color: #dfe4ec;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
}
.eq { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 180px; }
.eq span {
  width: 14px; border-radius: 3px; background: var(--chrome); background-size: 100% 300%;
  height: 30%; animation: eq 1.6s ease-in-out infinite alternate; transform-origin: bottom;
}
.eq span:nth-child(2) { animation-delay: -0.4s; height: 70%; }
.eq span:nth-child(3) { animation-delay: -0.9s; height: 50%; }
.eq span:nth-child(4) { animation-delay: -0.2s; height: 90%; }
.eq span:nth-child(5) { animation-delay: -1.2s; height: 40%; }
.eq span:nth-child(6) { animation-delay: -0.6s; height: 75%; }
.eq span:nth-child(7) { animation-delay: -1.0s; height: 55%; }
@keyframes eq { 0% { transform: scaleY(0.35); } 100% { transform: scaleY(1); } }

/* contact band */
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band-ink { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 100% 0%, rgba(21, 70, 184, 0.55), transparent 60%),
              linear-gradient(180deg, #0a1022, #05070d); border-block: 1px solid var(--line); }
.band-ink::before {
  content: ""; position: absolute; inset: 0 0 0 55%; z-index: -1;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 26px, transparent 26px 52px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%);
  pointer-events: none;
}
.band-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.band-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); letter-spacing: -0.035em; }
.band-ink p { color: #c3cad8; font-size: 1.12rem; max-width: 34rem; }
.band-actions { display: grid; gap: 22px; }
.contact-big {
  display: grid; gap: 4px; text-decoration: none; font-family: var(--font-display); font-weight: 700; color: #f4f6fa;
  font-size: clamp(1.25rem, 0.95rem + 1.6vw, 2.1rem); letter-spacing: -0.015em; overflow-wrap: anywhere;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s, color 0.3s;
}
.contact-big:hover { color: #fff; border-bottom-color: var(--blue-bright); }
.contact-label { font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- page heads */
.page-head { position: relative; padding: clamp(48px, 8vw, 120px) 0 clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; overflow: clip; isolation: isolate; }
.page-head::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 65%);
}
.page-head h1 { max-width: 18ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  text-decoration: none; font-size: 0.95rem; color: #dfe4ec; background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s, border-color 0.25s;
}
.chips a:hover { border-color: var(--blue-bright); background: rgba(21, 70, 184, 0.35); color: #fff; }

/* services page */
.svc-blocks { padding: clamp(24px, 4vw, 48px) 0 var(--section); }
.svc-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 24px 64px; padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.svc-block-head { display: flex; gap: 18px; align-items: center; position: sticky; top: 110px; align-self: start; }
.svc-block-head h2 { font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.3rem); }
.svc-block-body { color: #c9cfdb; }
.svc-block-body.with-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); gap: 32px; align-items: start; }
.svc-photo { margin: 0; }
.photo { border-radius: var(--radius); border: 1px solid var(--line-strong); }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.58em; width: 16px; height: 6px;
  background: var(--chrome); border-radius: 1px;
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 34px 0 30px; }
.steps li { padding: 24px 22px; border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.steps .ico-tile { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px; }
.steps .ico { width: 23px; height: 23px; }
.steps p { color: var(--muted); margin: 0; }

/* work page */
.refs { padding-bottom: var(--section); }
.ref { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); padding: clamp(56px, 7vw, 100px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.ref-media { position: relative; padding-right: 12%; }
.frame { margin: 0; background: var(--graphite-2); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,0.03); }
.frame-desktop { padding-top: 18px; position: relative; background: linear-gradient(180deg, #232a38, #161b26); }
.frame-desktop::before { content: ""; position: absolute; top: 7px; left: 12px; width: 34px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.22); }
.frame-mobile { position: absolute; right: 0; bottom: -8%; width: 26%; border-radius: 18px; border: 4px solid #2a3140; }
.frame-second { margin-top: 28px; }
.ref-body p { color: #c9cfdb; }
.ref-body .btn { margin-top: 8px; }
.facts-dl { display: grid; gap: 0; margin: 22px 0 26px; border-top: 1px solid var(--line); }
.facts-dl div { display: grid; grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1.4fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; font-weight: 600; color: #f4f6fa; }
.own-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.own-list li { padding: 26px; }
.own-list a { display: grid; gap: 2px; text-decoration: none; margin-bottom: 12px; color: #f4f6fa; }
.own-list a:hover strong { text-decoration: underline; }
.own-list strong { font-family: var(--font-display); font-size: 1.25rem; }
.own-domain { color: var(--blue-bright); font-size: 0.95rem; }
.own-list p { margin: 0; color: var(--muted); }

/* about */
.about-head { overflow: hidden; overflow: clip; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait { margin: 0; position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: 8% -8% -6% 10%; z-index: -1; border-radius: var(--radius);
  background: repeating-linear-gradient(to bottom, rgba(196, 206, 228, 0.08) 0 22px, transparent 22px 44px);
}
.portrait::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 5, 10, 0.45));
}
.prose { color: #c9cfdb; }
.prose p { max-width: 42rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); margin-top: 2.2rem; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.principles li { padding: 26px 22px; }
.principles p { color: var(--muted); margin: 0; }
.facts-dl-wide { margin-top: 8px; }
.portal-card { padding: clamp(26px, 3vw, 42px); }
.portal-card h2 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); }
.portal-card p { color: #c9cfdb; }

/* shop (under construction) */
.shop-head { padding-bottom: clamp(48px, 7vw, 96px); }
.shop-head .hero-aurora { inset: -30% -10% -20%; opacity: 0.8; }
.shop-title { max-width: 20ch; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.page-head .shop-title { max-width: 20ch; }
.code-dots { display: flex; gap: 10px; margin-top: 2rem; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 12px var(--blue-bright); animation: blink 1.4s ease-in-out infinite; }
.code-dots span:nth-child(2) { animation-delay: 0.2s; }
.code-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.shop-card { max-width: 760px; }
.shop-card .note { margin: 1.4rem 0 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.contact-methods { display: grid; gap: 30px; align-content: start; }
.contact-methods .contact-big { font-size: clamp(1.35rem, 0.9rem + 2.3vw, 2.5rem); }
.contact-grid h2 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); }
.contact-grid .ticks { margin-bottom: 38px; color: #c9cfdb; }
.plain-list { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.plain-list span { color: var(--muted); }

/* contact form (only rendered when an endpoint is configured) */
.contact-form, .form-success { margin-bottom: 40px; padding: clamp(20px, 3vw, 32px); background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form[hidden], .form-success[hidden] { display: none; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; color: #f4f6fa; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--black); border: 1px solid var(--line-strong); border-radius: var(--radius-s);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 1px; }
[aria-invalid="true"] { border-color: #ff6b6b !important; border-width: 2px !important; }
.field-error { margin: 0; color: #ff8f8f; font-weight: 600; font-size: 0.95rem; }
.field-check { grid-template-columns: 24px 1fr; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; }
.field-check label { font-weight: 400; color: var(--text); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-left: 4px solid #ff6b6b; background: var(--black); color: var(--text); font-weight: 600; }
.form-success { border-left: 4px solid var(--blue-bright); }
.form-success:focus { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.contact-form .btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: #030408; color: var(--muted); padding: clamp(56px, 7vw, 96px) 0 30px; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(420px, 60%); height: 1px; transform: translateX(-50%); background: var(--chrome); opacity: 0.7; }
.site-footer a { color: #dfe4ec; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-brand .mark { width: 52px; height: 52px; margin-bottom: 16px; }
.footer-brand strong { font-family: var(--font-display); }
.footer-title { color: #f4f6fa; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.92rem; }

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero-text > * { animation: rise 0.9s var(--ease) both; }
.js .hero-text > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-text > :nth-child(3) { animation-delay: 0.16s; }
.js .hero-text > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav ul { gap: 4px 18px; }
}
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-self: start; width: 190px; margin: 6px 0 4px 6px; }
  .split, .band-grid, .about-grid, .contact-grid, .ref, .svc-block, .portal-feature-grid { grid-template-columns: 1fr; }
  .svc-block-head { position: static; }
  .work-grid, .scale { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .own-list { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .ref-media { padding-right: 18%; }
  .eq { height: 110px; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 20px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .svc-list { grid-template-columns: 1fr; }
  .svc-block-body.with-photo { grid-template-columns: 1fr; }
  .svc-photo { max-width: 320px; }
  .steps, .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts-dl div { grid-template-columns: 1fr; gap: 2px; }
  .brand-name { font-size: 1rem; }
  .hero-mark { width: 150px; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}
@media print {
  body::before, .site-header, .band-ink::before, .hero-aurora, .hero-mark::before, .menu-toggle, .eq { display: none; }
  body, .band-ink, .site-footer { background: #fff; color: #000; }
  h1, h2, h3, strong, .chrome-text { color: #000; -webkit-text-fill-color: #000; background: none; }
  .js .reveal { opacity: 1; transform: none; }
}
