/* ==========================================================================
   Sign Expression — stylesheet
   You normally don't need to touch this file. Text and photos live in
   index.html. Brand colors are the first block below if you ever want them.
   ========================================================================== */

/* ---- Fonts (self-hosted: no waiting on Google's servers) ---------------- */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Brand tokens ------------------------------------------------------- */
:root {
  --red: #db1f26;
  --red-deep: #a91117;
  --blue: #0074be;
  --blue-lit: #4aa8f0;

  --ink: #0a0d12;
  --ink-1: #0e1319;
  --ink-2: #141a23;
  --ink-3: #1c2431;
  --paper: #f5f1e8;
  --paper-2: #e7e0cf;

  --text: #e9eef5;
  --text-dim: #b8c4d2;
  --muted: #8d9cb0;
  --ink-text: #191510;
  --ink-muted: #6a6151;

  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --line-paper: rgba(25, 21, 16, 0.14);

  --font-display: "Anton", "Arial Narrow", "Haettenschweiler", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  --maxw: 1220px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset / base ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.4vw + 15px, 17.5px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

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

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 500;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px; left: var(--gutter);
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--blue-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-bd: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.25), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -12px rgba(219, 31, 38, 0.75); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-2);
}
.btn--ghost:hover {
  --btn-bd: #fff;
  --btn-bg: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.btn--onpaper {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}
.btn--onpaper:hover { box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.6); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn svg { width: 1em; height: 1em; flex: none; }

/* ---- Header ------------------------------------------------------------ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.hdr.is-stuck {
  background: rgba(10, 13, 18, 0.94);
  border-bottom-color: var(--line);
}
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 36px);
  height: 76px;
  transition: height 0.3s var(--ease);
}
.hdr.is-stuck .hdr__in { height: 64px; }

.brand { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.brand img {
  height: 30px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.hdr.is-stuck .brand img { height: 26px; }
.brand__led {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red), 0 0 18px rgba(219, 31, 38, 0.7);
  animation: led 2.8s ease-in-out infinite;
}
@keyframes led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 32px); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 30px); }
.nav__links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-dim);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(10, 13, 18, 0.97);
  backdrop-filter: blur(8px);
  display: grid;
  align-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  /* visibility flips instantly on open, and only after the fade on close, so
     the panel is focusable the moment it opens */
  transition: opacity 0.28s, visibility 0s linear 0.28s;
}
.drawer[hidden] { display: none; }
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s, visibility 0s;
}
.drawer a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 11vw, 3.2rem);
  line-height: 1.12;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding: 0.42em 0;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), color 0.2s;
}
.drawer.is-open a { transform: none; opacity: 1; }
.drawer.is-open a:nth-child(1) { transition-delay: 0.06s; }
.drawer.is-open a:nth-child(2) { transition-delay: 0.12s; }
.drawer.is-open a:nth-child(3) { transition-delay: 0.18s; }
.drawer.is-open a:nth-child(4) { transition-delay: 0.24s; }
.drawer a:active { color: var(--red); }
.drawer__foot { margin-top: 2rem; display: grid; gap: 12px; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 11vh, 120px) 0 clamp(40px, 7vh, 76px);
  overflow: hidden;
}
/* The photo itself is set inline in index.html so the path stays
   relative to the page (easy to edit). This is just the fallback + motion. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: var(--ink-1);
  background-image: linear-gradient(140deg, #18202b, #090c11);
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(0, -1.4%, 0); }
}
/* Scrim keeps text readable over ANY photo you drop in */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(74, 168, 240, 0.2), transparent 62%),
    radial-gradient(90% 70% at 6% 4%, rgba(219, 31, 38, 0.14), transparent 66%),
    linear-gradient(180deg, rgba(10, 13, 18, 0.78) 0%, rgba(10, 13, 18, 0.7) 42%, rgba(10, 13, 18, 0.95) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue-lit);
  margin: 0 0 clamp(18px, 3vh, 28px);
}
.hero__kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 10.5vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  margin: 0 0 clamp(20px, 3.4vh, 32px);
  max-width: 16ch;
  text-wrap: balance;
}

/* The neon word. Layered shadows = tube glow, not a blurry smudge. */
.lit {
  color: #fff;
  position: relative;
  display: inline-block;
  --glow-a: rgba(255, 255, 255, 0.95);
  --glow-b: rgba(186, 224, 255, 0.9);
  --glow-c: rgba(74, 168, 240, 0.72);
  --glow-d: rgba(0, 116, 190, 0.5);
  text-shadow:
    0 0 3px var(--glow-a),
    0 0 12px var(--glow-b),
    0 0 34px var(--glow-c),
    0 0 72px var(--glow-d),
    0 0 130px rgba(0, 116, 190, 0.3);
  animation: powerOn 2.2s var(--ease) both, hum 5.5s ease-in-out 2.4s infinite;
}
@keyframes powerOn {
  0% { opacity: 0.12; text-shadow: none; }
  9% { opacity: 0.85; }
  13% { opacity: 0.18; text-shadow: none; }
  22% { opacity: 1; }
  27% { opacity: 0.3; }
  /* restate the glow on the final keyframe so it's held after the animation */
  34%, 100% {
    opacity: 1;
    text-shadow:
      0 0 3px var(--glow-a),
      0 0 12px var(--glow-b),
      0 0 34px var(--glow-c),
      0 0 72px var(--glow-d),
      0 0 130px rgba(0, 116, 190, 0.3);
  }
}
@keyframes hum {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.09); }
}

.hero__lead {
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  color: var(--text-dim);
  max-width: 54ch;
  margin: 0 0 clamp(26px, 4vh, 38px);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 3vw, 34px);
  margin-top: clamp(34px, 5vh, 52px);
  padding-top: clamp(22px, 3vh, 30px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 0.55rem; }
.trust li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--blue-lit);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--blue-lit);
  flex: none;
}
ul.trust { list-style: none; margin: 0; padding-left: 0; padding-top: clamp(22px, 3vh, 30px); }

/* ---- Marquee ----------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  overflow: hidden;
  display: flex;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0;
  padding-block: 17px;
  white-space: nowrap;
  will-change: transform;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  letter-spacing: 0.03em;
  color: #c9d4e1;
  padding-inline: clamp(16px, 2.4vw, 30px);
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}
.marquee__track span::after {
  content: "\2726";
  color: var(--red);
  font-size: 0.62em;
}
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---- Section frame ----------------------------------------------------- */
.section { padding: clamp(64px, 10vw, 118px) 0; }
.section--paper { background: var(--paper); color: var(--ink-text); }
.section--panel { background: var(--ink-2); }

.eyebrow { color: var(--red); font-weight: 700; margin: 0; }
.section--paper .eyebrow { color: var(--red-deep); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 44px);
  margin-bottom: clamp(34px, 5vw, 58px);
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.85rem, 5.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.008em;
  margin: 12px 0 0;
  max-width: 22ch;
  text-wrap: balance;
}

/* ---- Work / gallery ---------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.chip {
  border: 1px solid var(--line-paper);
  background: transparent;
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.chip:hover { border-color: var(--ink-text); color: var(--ink-text); }
.chip[aria-pressed="true"] {
  background: var(--ink-text);
  border-color: var(--ink-text);
  color: #fff;
}
.chip:active { transform: scale(0.97); }

.gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}
.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.tile.t-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
/* Spans two rows, so let the grid set the height instead of the ratio —
   otherwise the ratio caps it short and leaves a gap under the tile. */
.tile.t-tall { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.tile[hidden] { display: none; }
.tile.is-filtered { opacity: 0; transform: scale(0.96); pointer-events: none; }

.tile__btn {
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.tile:hover img { transform: scale(1.06); }

.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(14px, 2vw, 20px);
  background: linear-gradient(transparent, rgba(6, 8, 12, 0.55) 38%, rgba(6, 8, 12, 0.9));
  color: #fff;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.tile__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-lit);
  margin-bottom: 3px;
}
.tile__title {
  display: block;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.25;
}
.tile__zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 13, 18, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s, transform 0.25s var(--ease);
  pointer-events: none;
}
.tile:hover .tile__zoom { opacity: 1; transform: none; }
.tile__zoom svg { width: 15px; height: 15px; }

.gal__empty {
  grid-column: 1 / -1;
  padding: 3rem 0;
  text-align: center;
  color: var(--ink-muted);
}

/* ---- Services ---------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc {
  background: var(--ink-2);
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3vw, 36px);
  position: relative;
  transition: background 0.3s;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.svc:hover { background: var(--ink-3); }
.svc:hover::before { transform: scaleY(1); }
.svc__num { color: var(--blue-lit); margin: 0; }
.svc h3 {
  font-weight: 800;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  letter-spacing: -0.012em;
  margin: 14px 0 10px;
}
.svc p { color: var(--text-dim); margin: 0 0 18px; }
.svc__spec {
  color: var(--muted);
  border-top: 1px dashed var(--line-2);
  padding-top: 15px;
  margin: 0;
}

/* ---- About ------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.about-grid h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.85rem, 5vw, 3.3rem);
  line-height: 1;
  margin: 12px 0 20px;
  text-wrap: balance;
}
.about-grid p { color: var(--text-dim); margin: 0 0 17px; }
.about__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--ink); padding: clamp(22px, 2.6vw, 30px) clamp(18px, 2.2vw, 26px); }
.stat__n {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}
.stat__n em { color: var(--blue-lit); font-style: normal; }
.stat__l { color: var(--muted); margin-top: 7px; }

/* ---- Contact / form ---------------------------------------------------- */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 70%;
  z-index: -1;
  background: radial-gradient(50% 70% at 50% 100%, rgba(74, 168, 240, 0.16), transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 0.96;
  margin: 12px 0 20px;
  text-wrap: balance;
}
.contact__intro { color: var(--text-dim); max-width: 44ch; margin: 0 0 30px; }

.cinfo { display: grid; gap: 20px; margin: 0 0 30px; padding: 0; list-style: none; }
.cinfo__k { color: var(--blue-lit); margin: 0 0 3px; }
.cinfo__v { font-size: 1.1rem; font-weight: 700; margin: 0; }
.cinfo__v a { border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.cinfo__v a:hover { color: var(--blue-lit); border-bottom-color: currentColor; }
.cinfo__v--soft { font-weight: 500; font-size: 0.98rem; color: var(--text-dim); }

.form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.2vw, 38px);
}
.form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin: 0 0 6px;
}
.form__note { color: var(--muted); margin: 0 0 24px; font-size: 0.92rem; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; display: grid; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--text-dim); }
.field label .req { color: var(--red); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.78rem 0.9rem;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%238d9cb0'%3E%3Cpath d='M1 1l5 5 5-5'  stroke='%238d9cb0' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue-lit);
  box-shadow: 0 0 0 3px rgba(74, 168, 240, 0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: #64748b; }
.field__err { color: #ff8f95; font-size: 0.82rem; min-height: 1em; }
.field.has-err input,
.field.has-err textarea,
.field.has-err select { border-color: #ff8f95; }
.hp { position: absolute; left: -9999px; }

.form__submit { width: 100%; margin-top: 6px; }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form__status[data-state="ok"] { color: #6ee7a8; }
.form__status[data-state="err"] { color: #ff8f95; }
.is-sending .form__submit { opacity: 0.65; pointer-events: none; }

.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(30px, 4vw, 44px);
  filter: grayscale(0.3) contrast(1.06) brightness(0.92);
  transition: filter 0.4s;
}
.map:hover { filter: none; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---- Footer ------------------------------------------------------------ */
.ftr { border-top: 1px solid var(--line); background: var(--ink-1); }
.ftr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
  flex-wrap: wrap;
  color: var(--muted);
}
.ftr .brand img { height: 24px; opacity: 0.9; }

/* ---- Sticky mobile action bar ------------------------------------------ */
.actionbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 88;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  /* Visible by default so it still works with JavaScript off. JS only tucks it
     away while you're still up in the hero. */
  transform: none;
  transition: transform 0.35s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar.is-down { transform: translateY(110%); }
.actionbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 0.5rem;
  background: var(--ink-2);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.actionbar a.is-primary { background: var(--red); }
.actionbar svg { width: 1em; height: 1em; }

/* ---- Lightbox ---------------------------------------------------------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  background: rgba(6, 8, 12, 0.95);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  /* same reason as the drawer: focusable immediately on open */
  transition: opacity 0.3s, visibility 0s linear 0.3s;
  padding: clamp(48px, 7vh, 76px) clamp(12px, 4vw, 56px) clamp(20px, 4vh, 36px);
}
.lb[hidden] { display: none; }
.lb.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0s;
}
.lb__stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.lb__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.lb.is-open .lb__img { transform: none; opacity: 1; }
.lb__cap { text-align: center; padding-top: 16px; max-width: 60ch; }
.lb__cap b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-lit);
  margin-bottom: 4px;
}
.lb__count { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

.lb__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(20, 26, 35, 0.75);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.lb__btn:hover { background: var(--red); border-color: var(--red); }
.lb__btn:active { transform: scale(0.94); }
.lb__btn svg { width: 18px; height: 18px; }
.lb__close { top: clamp(12px, 2.4vh, 22px); right: clamp(12px, 3vw, 26px); }
.lb__prev { left: clamp(8px, 2vw, 22px); top: 50%; margin-top: -24px; }
.lb__next { right: clamp(8px, 2vw, 22px); top: 50%; margin-top: -24px; }

body.no-scroll { overflow: hidden; }

/* ---- Scroll reveal ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .burger { display: inline-flex; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .tile.t-wide { grid-column: span 2; }
  .tile.t-tall { grid-row: span 1; aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 70px; }
  .hdr__in { height: 62px; }
  .svc-grid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .tile.t-wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .actionbar { display: flex; }
  .ftr__in { padding-bottom: 84px; }
  .lb { padding-bottom: 76px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (hover: none) {
  .tile__zoom { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .lit { opacity: 1; }
  .hero__bg { animation: none; transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .hdr, .actionbar, .marquee, .map, .lb, .drawer, .filters { display: none !important; }
  body { background: #fff; color: #000; }
}
