@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

:root {
  --ink: #07111f;
  --navy: #0c1c33;
  --navy-2: #14304f;
  --blue: #1769c9;
  --cyan: #2ec8ea;
  --sky: #d9f6ff;
  --copper: #c9893d;
  --copper-2: #e7c07a;
  --sand: #f4efe6;
  --paper: #fbfaf7;
  --white: #ffffff;
  --text: #172232;
  --muted: #5d6c80;
  --line: rgba(16, 36, 61, 0.12);
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
  --header: 84px;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(46, 200, 234, 0.16), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(201, 137, 61, 0.1), transparent 50%),
    var(--paper);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--cyan));
}
.section { padding: 6.2rem 0; }
.section-head { max-width: 680px; margin-bottom: 2.6rem; }
.section-head h2, .block-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 0.7rem 0 0.8rem;
}
.lede { color: var(--muted); font-size: 1.08rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #1b1206;
  background: linear-gradient(135deg, #f0d7a4, #d39245 45%, #b8742c);
  background-size: 180% 180%;
  box-shadow: 0 10px 24px rgba(184, 116, 44, 0.28);
  animation: sheen 7s ease infinite;
}
.btn-primary:hover { box-shadow: 0 16px 30px rgba(184, 116, 44, 0.36); }
.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-line {
  color: var(--navy);
  background: transparent;
  border-color: rgba(12, 28, 51, 0.2);
}
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark {
  color: white;
  background: linear-gradient(135deg, #123a66, #0c1c33);
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  margin-bottom: calc(var(--header) * -1);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.header-inner {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  min-width: max-content;
}
.brand img { width: 52px; height: 52px; }
.brand strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.brand small {
  display: block;
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  text-transform: uppercase;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.2rem; }
.nav a, .nav-drop > button {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"], .nav-drop > button:hover, .nav-drop > button[aria-expanded="true"] {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 0.35rem; }
.caret { width: 0.45rem; height: 0.45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  width: 320px;
  padding: 0.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  display: none;
}
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown, .nav-drop > button[aria-expanded="true"] + .dropdown { display: grid; }
.dropdown a {
  color: var(--navy);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.dropdown a:hover { background: var(--sand); color: var(--navy); }
.header-cta { margin-left: 0.6rem; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  position: relative;
  margin: 0 auto;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.hero { position: relative; min-height: 100vh; color: white; overflow: hidden; background: var(--ink); }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.9s ease, visibility 0s;
}
.slide:not(.is-active) .hero-copy { visibility: hidden; }
.slide picture, .page-hero picture { position: absolute; inset: 0; display: block; }
.slide-media, .page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.slide.is-active .slide-media { animation: drift 14s ease-in-out alternate infinite; }
.slide-shade, .page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.88) 0%, rgba(7, 20, 40, 0.72) 42%, rgba(7, 20, 40, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 12, 24, 0.25), transparent 30%, rgba(5, 12, 24, 0.45));
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: floaty 12s ease-in-out infinite;
  pointer-events: none;
}
.orb-a { width: 280px; height: 280px; right: 8%; top: 18%; background: radial-gradient(circle, rgba(46, 200, 234, 0.75), transparent 68%); }
.orb-b { width: 220px; height: 220px; right: 24%; bottom: 10%; background: radial-gradient(circle, rgba(232, 176, 92, 0.55), transparent 70%); animation-delay: -4s; }
.hero-copy, .page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  padding-top: calc(var(--header) + 7vh);
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6.4vw, 5.5rem);
  font-weight: 600;
}
.hero h1 span, .gradient-text {
  background: linear-gradient(100deg, #fff 10%, #9ae9ff 45%, #f2d39a 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { max-width: 40rem; color: rgba(255, 255, 255, 0.84); font-size: 1.16rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 2rem;
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.dots { display: flex; gap: 0.45rem; }
.dots button, .hero-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
}
.dots button { width: 2.4rem; height: 4px; border-radius: 99px; padding: 0; }
.dots button[aria-current="true"] { background: linear-gradient(90deg, var(--copper-2), var(--cyan)); width: 3.4rem; }
.hero-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-nav:hover { background: rgba(255, 255, 255, 0.32); }

.ticker {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.95rem 0;
  animation: marquee 32s linear infinite;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.ticker b { color: var(--copper-2); font-weight: 700; }

.about-grid, .split, .contact-grid, .why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.collage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0.8rem; }
.collage img, .frame img, .project-card img, .photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage figure, .frame {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.collage figure:first-child { grid-row: span 2; min-height: 420px; }
.collage figure { min-height: 200px; }
.collage img, .frame img { transition: transform 0.8s ease; }
.collage figure:hover img, .frame:hover img, .project-card:hover img, .photo-card:hover img { transform: scale(1.06); }
.frame { min-height: 320px; }
.frame figcaption, .project-card figcaption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  color: white;
  background: rgba(7, 17, 31, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.86rem;
}

.mv-grid, .value-grid, .service-grid, .stat-grid, .card-grid, .info-grid {
  display: grid;
  gap: 1rem;
}
.mv-grid { grid-template-columns: 1fr 1fr; margin-top: 1.4rem; }
.value-grid { grid-template-columns: repeat(5, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: 1fr 1fr; }

.panel, .value-card, .service-card, .project-card, .info-card, .grade-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 36, 61, 0.05);
}
.panel { padding: 1.3rem 1.3rem 1.2rem; }
.panel h3, .value-card h3, .service-card h3 { font-size: 1.35rem; margin-bottom: 0.45rem; }
.panel p, .value-card p, .service-card p, .info-card p { color: var(--muted); margin: 0; }
.sand { background: linear-gradient(180deg, rgba(244, 239, 230, 0.4), rgba(244, 239, 230, 0.85)); }
.value-card { padding: 1.2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover, .service-card:hover, .project-card:hover, .info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: #0c4f86;
  background: linear-gradient(160deg, #e7f8ff, #fff4df);
  border: 1px solid rgba(23, 105, 201, 0.12);
}
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.service-card, .project-card { overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.service-card { padding: 1.25rem; min-height: 100%; position: relative; }
.service-card::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: linear-gradient(90deg, var(--copper), var(--cyan));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card span, .text-link {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}
.photo-card { min-height: 280px; position: relative; color: white; justify-content: flex-end; }
.photo-card img { position: absolute; inset: 0; }
.photo-card div {
  position: relative;
  z-index: 1;
  padding: 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(5, 12, 24, 0.88));
}
.photo-card h3, .photo-card p { color: white; }
.photo-card p { color: rgba(255, 255, 255, 0.82); }

.why-grid { align-items: start; }
.why-list { display: grid; gap: 0.8rem; }
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1rem;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}
.why-item strong { display: block; font-family: "Outfit", sans-serif; font-size: 1.12rem; }
.why-item p { margin: 0.2rem 0 0; color: var(--muted); }

.stats {
  position: relative;
  color: white;
  overflow: hidden;
  background: linear-gradient(120deg, #07111f, #0e3d68, #0b6d84, #16325a, #07111f);
  background-size: 280% 280%;
  animation: mesh 18s ease infinite;
}
.stats .eyebrow { color: #bfefff; }
.stat {
  padding: 1.2rem 0.4rem 0.2rem;
}
.stat b {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
  font-weight: 600;
}
.stat span { color: rgba(255, 255, 255, 0.76); }
.note { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; margin-top: 1.5rem; }

.clients { overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  padding: 0.4rem 0 1rem;
}
.marquee:hover .marquee-track, .ticker:hover .ticker-track { animation-play-state: paused; }
.logo-card {
  width: 230px;
  height: 130px;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 0.8rem 1rem;
}
.logo-card img { max-height: 92px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(0.2); transition: filter 0.3s ease, transform 0.3s ease; }
.logo-card:hover img { filter: none; transform: scale(1.04); }

.project-card img { height: 220px; }
.project-card div { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.meta { display: flex; justify-content: space-between; gap: 0.6rem; color: var(--muted); font-size: 0.86rem; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-done { background: #e5f7ee; color: #0d6b3d; }
.badge-live { background: #fff1d8; color: #8a5a10; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.filters button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.filters button[aria-pressed="true"] {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #1769c9, #0c1c33);
}

.contact-band {
  background:
    radial-gradient(500px 240px at 90% 0%, rgba(46, 200, 234, 0.18), transparent 60%),
    linear-gradient(180deg, #fff, #f4efe6);
}
.form {
  display: grid;
  gap: 0.85rem;
  background: white;
  border-radius: 28px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(16, 36, 61, 0.16);
  background: #fbfaf7;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(46, 200, 234, 0.7);
  border-color: #1769c9;
  background: white;
}
.field-error { color: #9d2c2c; font-weight: 600; font-size: 0.82rem; min-height: 1em; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; color: var(--muted); }
.check input { width: auto; margin-top: 0.25rem; }
.form-status {
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  display: none;
}
.form-status.is-on { display: block; }
.form-status.ok { background: #e7f7ee; color: #0d5c36; }
.form-status.err { background: #fdecec; color: #8d2424; }
.hp { position: absolute; left: -9999px; }

.info-card { padding: 1.1rem 1.15rem; }
.info-card a { color: var(--blue); font-weight: 700; }
.hours { margin: 0.4rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.35rem 0; }

.page-hero { position: relative; min-height: 46vh; color: white; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.page-hero-copy { padding: calc(var(--header) + 3rem) 0 3rem; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 16ch; }
.crumbs { display: flex; gap: 0.45rem; flex-wrap: wrap; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; margin-bottom: 0.8rem; }
.crumbs a { color: white; }

.prose { max-width: 760px; }
.prose p { color: var(--muted); }
.grade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.grade-card { padding: 1.1rem; }
.grade-card b { display: block; font-family: "Outfit", sans-serif; font-size: 1.7rem; color: var(--blue); }
.map-frame {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: 22px;
  filter: saturate(0.8);
}
.detail-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.detail-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}
.detail-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--cyan));
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.site-footer {
  background: #07111f;
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 1.4rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer h2 { color: white; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-brand p { max-width: 32ch; }
.legal {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.legal nav { display: flex; gap: 1rem; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #07111f;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader img { width: 84px; height: 84px; animation: pulse 1.1s ease-in-out infinite; }

.js .reveal { opacity: 0; transform: translateY(22px); animation: none; }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@keyframes mesh { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pulse { 50% { transform: scale(0.94); opacity: 0.8; } }

@media (max-width: 1040px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: rgba(7, 17, 31, 0.98);
    padding: 0.6rem 1rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .site-header.is-open .nav { display: flex; }
  .dropdown { position: static; width: auto; display: none; background: transparent; box-shadow: none; padding: 0 0 0.4rem 0.6rem; }
  .nav-drop.is-open .dropdown { display: grid; }
  .dropdown a { color: white; }
  .about-grid, .split, .contact-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .value-grid, .grade-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .card-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .collage figure:first-child { min-height: 280px; }
}
@media (max-width: 720px) {
  .section { padding: 4.2rem 0; }
  .service-grid, .card-grid, .stat-grid, .mv-grid, .value-grid, .grade-grid, .info-grid, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero h1 { max-width: 12ch; }
  .hero-copy { padding-top: calc(var(--header) + 3.2rem); }
  .collage { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .slide-media { transform: none; }
  .loader { display: none; }
}
