@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090a;
  --bg-soft: #0c0d0f;
  --surface: #111214;
  --surface-2: #16181b;
  --text: #f3f0e9;
  --muted: #a7a39a;
  --dim: #74716a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --accent: #1098c8;
  --accent-soft: #6fd8f5;
  --accent-ink: #04161d;
  --signal: #7adcf7;
  --radius: 22px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.72, 0.22, 1);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 95% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 95% 70% at 50% 0%, #000 20%, transparent 78%);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.accent {
  background: linear-gradient(115deg, var(--accent-soft), var(--accent) 48%, #7ce6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: #2bb8e0;
}

.btn span {
  font-size: 0.95em;
  transition: transform 0.25s var(--ease);
}

.btn:hover span {
  transform: translate(2px, -2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0.55) 70%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 10, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type span {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.brand-type strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 450;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 23px;
}

body.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 78px 0 0;
  z-index: 79;
  padding: 34px 24px;
  background: rgba(8, 9, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.mobile-menu .btn {
  align-self: flex-start;
}

.mobile-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.mobile-meta a {
  color: var(--text);
}

.hero {
  position: relative;
  padding-top: 154px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 152, 200, 0.22), rgba(16, 152, 200, 0.04) 46%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(38px, 5.4vw, 84px);
  align-items: end;
}

.hero-copy {
  padding-bottom: 18px;
}

.hero h1 {
  margin: 24px 0 30px;
  font-size: clamp(4rem, 8.2vw, 7.7rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  font-weight: 620;
}

.lede {
  max-width: 500px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  gap: clamp(26px, 4vw, 54px);
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stat dt {
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.04em;
}

.stat dd {
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.025);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.media-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(10, 11, 12, 0.8);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.capabilities {
  display: flex;
  gap: clamp(18px, 4vw, 58px);
  margin-top: 64px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.capabilities::-webkit-scrollbar {
  display: none;
}

.capabilities span {
  position: relative;
  padding-right: clamp(18px, 4vw, 58px);
}

.capabilities span::after {
  content: "✳";
  position: absolute;
  right: 0;
  color: rgba(16, 152, 200, 0.75);
}

.capabilities span:last-child::after {
  display: none;
}

.section {
  padding: clamp(84px, 11vw, 140px) 0;
}

.section-refs {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 35%, transparent);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -0.055em;
}

.section-note {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.services-hero {
  position: relative;
  margin: 0 0 16px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.services-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.38) 58%, transparent),
    linear-gradient(0deg, rgba(8, 9, 10, 0.86), transparent 58%);
  pointer-events: none;
}

.services-hero-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  width: min(720px, 88%);
  max-width: 100%;
  padding: clamp(26px, 4vw, 52px);
}

.services-hero-copy .eyebrow {
  color: var(--accent-soft);
}

.services-hero-copy h2 {
  margin: 14px 0 12px;
  font-size: clamp(2.9rem, 5.8vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.services-hero-copy p:last-child {
  max-width: 540px;
  color: rgba(243, 240, 233, 0.78);
  font-size: 0.94rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: background 0.3s var(--ease);
}

.service:hover {
  transform: none;
  border-color: var(--line);
  background: var(--surface);
}

.service-index {
  display: block;
  margin-bottom: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.service h3 {
  margin: 44px 0 0;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  letter-spacing: -0.035em;
}

.service p {
  margin-top: 9px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.ref-card {
  position: relative;
  display: block;
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: left;
}

.ref-card:nth-child(1) {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
}

.ref-card:nth-child(2) {
  grid-column: span 5;
  aspect-ratio: 16 / 10;
}

.ref-card:nth-child(6),
.ref-card:nth-child(7) {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.ref-card[hidden] {
  display: none;
}

.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.ref-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.ref-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.ref-overlay {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 12px;
  color: var(--text);
}

.ref-kicker {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ref-title {
  font-size: 1.02rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.ref-arrow {
  font-size: 1.1rem;
  color: var(--accent-soft);
  transition: transform 0.3s var(--ease);
}

.ref-card:hover .ref-arrow {
  transform: translate(2px, -2px);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.detail-card {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.detail-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.detail-card figcaption {
  position: absolute;
  right: 15px;
  bottom: 13px;
  left: 15px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.split-media .media-frame {
  aspect-ratio: 4 / 5;
}

.split-copy h2 {
  margin: 18px 0 24px;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
}

.split-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.96rem;
}

.statement {
  display: flex;
  gap: 15px;
  margin: 32px 0 28px;
  padding: 20px 0 20px 20px;
  border-left: 2px solid var(--accent);
}

.statement-mark {
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.5;
}

.statement p {
  color: var(--text) !important;
  font-size: 1.02rem !important;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.process {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.process-index {
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.process-grid h3 {
  margin: 24px 0 11px;
  font-size: 1.18rem;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact {
  padding-bottom: clamp(90px, 12vw, 150px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.contact-lede {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  margin-bottom: 3px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list dd {
  font-size: 0.96rem;
  line-height: 1.5;
}

.contact-list a {
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--accent-soft);
}

.contact-form {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%),
    var(--surface);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field em {
  color: var(--accent);
  font-style: normal;
}

.field small {
  color: var(--dim);
  font-size: inherit;
  letter-spacing: 0.06em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(16, 152, 200, 0.7);
  background: rgba(0, 0, 0, 0.34);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 18px;
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.5;
}

.consent input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.consent a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  width: 100%;
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

.form-status.is-error {
  color: #ff8d7a;
}

.footer {
  padding: 64px 0 26px;
  border-top: 1px solid var(--line);
  background: #060708;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p {
  margin-top: 18px;
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-contact a {
  color: var(--muted);
  font-size: 0.84rem;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.footer-contact p {
  margin-bottom: 10px;
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.footer-bottom a:hover {
  color: var(--text);
}

.lightbox {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-body {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: stretch;
}

.lightbox-body img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: cover;
  border-radius: 19px 0 0 19px;
}

.lightbox-copy {
  padding: 30px;
  align-self: end;
}

.lightbox-copy h3 {
  margin: 10px 0 10px;
  font-size: 1.5rem;
}

.lightbox-copy p:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
}

.legal-page {
  padding: 154px 0 100px;
}

.legal {
  max-width: 760px;
}

.legal h1 {
  margin: 16px 0 38px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.legal h2 {
  margin: 38px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.legal p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .legal-note {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-page .contact-grid {
  padding-top: 0;
}

.contact-page {
  padding: 150px 0 100px;
}

.contact-page .contact-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
}

.error-page p {
  margin: 18px 0 28px;
  color: var(--muted);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy > *,
.hero-media {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.hero-media { animation-delay: 0.16s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 7.4vw, 6rem);
  }

  .ref-card:nth-child(1),
  .ref-card:nth-child(2),
  .ref-card:nth-child(6),
  .ref-card:nth-child(7) {
    grid-column: span 6;
  }

  .ref-card {
    grid-column: span 6;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    max-width: 620px;
  }

  .process-grid {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 36px));
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-header,
  .site-header.is-scrolled {
    background: rgba(8, 9, 10, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-menu {
    inset: 68px 0 0;
    height: calc(100dvh - 68px);
    overflow-y: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.4rem);
    margin-top: 18px;
  }

  .hero-stats {
    gap: 26px;
    margin-top: 38px;
  }

  .hero-badge {
    left: 14px;
    bottom: 14px;
  }

  .capabilities {
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 42px;
    overflow: visible;
    white-space: normal;
  }

  .capabilities span {
    padding-right: 0;
  }

  .capabilities span::after {
    display: none;
  }

  .hero-badge {
    top: 14px;
    bottom: auto;
    left: 14px;
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head h2 {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .section-note {
    padding-bottom: 0;
  }

  .services-hero {
    aspect-ratio: auto;
    height: 360px;
    min-height: 0;
  }

  .services-hero-copy {
    width: 100%;
    padding: 24px;
  }

  .services-hero-copy h2 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .services-hero-copy p:last-child {
    font-size: 0.86rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 180px;
  }

  .service h3 {
    margin-top: 36px;
  }

  .ref-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ref-card,
  .ref-card:nth-child(1),
  .ref-card:nth-child(2),
  .ref-card:nth-child(6),
  .ref-card:nth-child(7) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .split {
    gap: 36px;
  }

  .split-media {
    max-width: none;
  }

  .split-copy h2 {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-copy h2 {
    font-size: clamp(2.4rem, 9vw, 3.3rem);
  }

  .contact-page .contact-copy h1 {
    font-size: clamp(2.5rem, 9vw, 3.4rem);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lightbox-body {
    grid-template-columns: 1fr;
  }

  .lightbox-body img {
    max-height: 52vh;
    border-radius: 19px 19px 0 0;
  }

  .lightbox-copy {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .footer-bottom div {
    margin-left: 0;
  }

  .legal-page,
  .contact-page {
    padding-top: 120px;
  }

  .contact-page {
    padding-bottom: 80px;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    justify-content: space-between;
  }

  .stat dt {
    font-size: 1.2rem;
  }
}

@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
