/* ============================================================
   DESERT CAT — Static build stylesheet
   Faithful conversion of src/index.css + tailwind.config.js
   Design tokens: brand (blues), ink (navy), Oswald/Inter, ease-smooth
   ============================================================ */

/* ---------- Design tokens (tailwind theme.extend) ---------- */
:root {
  --brand-50: #f2f9fd;
  --brand-100: #e3f2fa;
  --brand-200: #c0e4f5;
  --brand-300: #8ed0ec;
  --brand-400: #43b0dc;
  --brand-500: #0186c1;
  --brand-600: #0176a9;
  --brand-700: #01608c;
  --brand-800: #014a6c;
  --brand-900: #02364e;

  --ink: #0b2a3a;
  --ink-soft: #3d5a68;
  --ink-muted: #6d8593;

  --font-display: 'Montserrat', 'Segoe UI', sans-serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);

  --shadow: none;
}

/* ---------- Base / reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background-color: var(--brand-500);
  color: #ffffff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 80rem;
  /* max-w-7xl */
  margin-inline: auto;
  padding-inline: 1.5rem;
  /* px-6 */
}

.py-24 {
  padding-block: 6rem;
}

.py-20 {
  padding-block: 5rem;
}

/* ---------- Type helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  /* text-xs */
  text-transform: uppercase;
  letter-spacing: 0.32em;
  /* tracking-[0.32em] */
  color: var(--brand-500);
}

.h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  font-size: 2rem;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .h2 {
    font-size: 3rem;
  }
}

.body-copy {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  /* py-4 px-8 */
  font-family: var(--font-display);
  font-size: 0.875rem;
  /* text-sm */
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.5rem;
  transition: background-color 0.15s var(--ease-smooth),
    color 0.15s var(--ease-smooth),
    border-color 0.15s var(--ease-smooth);
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-400);
}

.btn-solid {
  background: var(--brand-500);
  color: #fff;
}

.btn-solid:hover {
  background: var(--brand-700);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  align-items: center;
  gap: 0.75rem;
}

.btn-outline svg {
  width: 1.4rem;
  height: 1.4rem;
  min-width: 1.4rem;
  flex-shrink: 0;
}

.btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--brand-700);
}

.btn-ghost {
  border: 1px solid var(--brand-500);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  /* text-xs */
  color: var(--brand-500);
}

.btn-ghost:hover {
  background: var(--brand-500);
  color: #fff;
}

.btn-ghost-border {
  border: 1px solid var(--brand-200);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  color: var(--brand-500);
}

.btn-ghost-border:hover {
  border-color: var(--brand-500);
}

.btn .arrow {
  display: inline-flex;
  transition: transform 0.15s var(--ease-smooth);
}

.btn:hover .arrow {
  transform: translateX(0.25rem);
}

/* ============================================================
   HEADER
   ============================================================ */
/* hidden attribute support (mirrors Tailwind's hidden utility).
   header.js toggles the `hidden` attribute on .dropdown and
   [data-mobile-menu]; without this rule those elements keep
   their default display value and never actually hide. */
[hidden] {
  display: none !important;
}

#siteHeader,
#siteFooter {
  display: block !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* top info bar */
.header-top {
  background: var(--brand-700);
  color: #fff;
  display: none;
}

@media (min-width: 768px) {
  .header-top {
    display: block;
  }
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.75rem;
}

.header-top address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: normal;
}

.header-top .pin {
  color: var(--brand-200);
  flex-shrink: 0;
}

.header-top .pin svg {
  width: 0.875rem;
  height: 0.875rem;
}

.header-top .top-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-top .top-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s var(--ease-smooth);
}

.header-top .top-links a:hover {
  color: var(--brand-200);
}

.header-top .top-links svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* main bar */
.header-main {
  position: relative;
  border-bottom: 1px solid var(--brand-100);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Narrow-desktop safeguard: keep every header item on one line so the
   trailing nav links / CTA are never pushed off-screen and clipped. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-main .container {
    gap: 0.875rem;
    padding-inline: 1rem;
  }

  .nav-primary>ul {
    gap: 1rem;
  }

  .nav-link {
    letter-spacing: 0.1em;
  }

  .brand-name .name {
    font-size: 1.125rem;
  }

  .btn-cta {
    padding-inline: 1.1rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border: none;
  background: transparent;
  overflow: hidden;
  flex: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  line-height: 1.25;
}

.brand-name .name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.brand-name .tagline {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
}

.nav-primary {
  display: none;
}

@media (min-width: 1024px) {
  .nav-primary {
    display: block;
  }
}

.nav-primary>ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  transition: color 0.15s var(--ease-smooth);
}

.nav-link:hover {
  color: var(--brand-500);
}

.nav-link.active {
  color: var(--brand-500);
}

/* services dropdown */
.nav-item {
  position: relative;
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-toggle svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s var(--ease-smooth);
}

.nav-toggle.open svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  width: 18rem;
  margin-top: 1rem;
  border: 1px solid var(--brand-100);
  background: #fff;
  padding-block: 0.5rem;
  box-shadow: none;
}

.dropdown li {
  display: block;
}

.dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: background-color 0.15s var(--ease-smooth), color 0.15s var(--ease-smooth);
}

.dropdown a:hover {
  background: var(--brand-50);
  color: var(--brand-500);
}

.dropdown .all {
  margin-top: 0.25rem;
  border-top: 1px solid var(--brand-100);
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-500);
}

.dropdown .all:hover {
  background: transparent;
}

/* CTA + hamburger */
.header-cta {
  display: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

.btn-cta {
  background: var(--brand-500);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  transition: background-color 0.15s var(--ease-smooth);
}

.btn-cta:hover {
  background: var(--brand-700);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--ink);
  box-shadow: none;
  transition: background-color 0.15s var(--ease-smooth), border-color 0.15s var(--ease-smooth), color 0.15s var(--ease-smooth), transform 0.15s var(--ease-smooth);
}

.menu-btn:hover {
  border-color: var(--brand-200);
  background: var(--brand-100);
}

.menu-btn.is-open {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  width: min(88vw, 360px);
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--brand-100);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  backdrop-filter: blur(10px);
  transform: translateX(-110%);
  transition: transform 0.22s var(--ease-smooth);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--brand-100);
  background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
}

.mobile-menu-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-700);
}

.mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--brand-100);
  background: #fff;
  color: var(--ink);
}

.mobile-close svg {
  width: 1rem;
  height: 1rem;
}

.mobile-menu .container {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-link,
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--brand-100);
  border-radius: 0.75rem;
  background: var(--brand-50);
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  transition: background-color 0.15s var(--ease-smooth), border-color 0.15s var(--ease-smooth), color 0.15s var(--ease-smooth);
}

.mobile-link:hover,
.mobile-services-toggle:hover {
  background: var(--brand-100);
  border-color: var(--brand-200);
  color: var(--brand-700);
}

.mobile-services-toggle svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s var(--ease-smooth);
}

.mobile-services-toggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.mobile-services-panel {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--brand-100);
  border-radius: 0.75rem;
  background: #fff;
}

.mobile-services-panel a {
  display: block;
  padding: 0.75rem 0.8rem;
  border-radius: 0.65rem;
  background: var(--brand-50);
  color: var(--ink-soft);
  transition: background-color 0.15s var(--ease-smooth), color 0.15s var(--ease-smooth);
}

.mobile-services-panel a:hover {
  background: var(--brand-100);
  color: var(--brand-700);
}

.m-cta {
  padding-top: 0.5rem;
}

.m-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: var(--brand-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.m-cta a:hover {
  background: var(--brand-700);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-900);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease-in-out, transform 8s ease-in-out;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(2, 54, 78, 0.6);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 54, 78, 0.82) 0%, rgba(2, 54, 78, 0.45) 65%, rgba(2, 54, 78, 0.1) 100%);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: 760px;
  }
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: heroFadeUp 0.3s var(--ease-smooth) both;
}

.hero-kicker svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-300);
}

.hero-kicker span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--brand-300);
}

.hero-title {
  margin-top: 1.5rem;
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  animation: heroFadeUp 0.3s var(--ease-smooth) 0.06s both;
}

.hero-title .accent {
  display: block;
  color: var(--brand-300);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.25rem;
    letter-spacing: -0.035em;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5.25rem;
    font-weight: 800;
  }
}

.hero-text {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(242, 249, 253, 0.9);
  animation: heroFadeUp 0.3s var(--ease-smooth) 0.12s both;
}

@media (min-width: 640px) {
  .hero-text {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .hero-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .hero-kicker span {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 0.97;
  }

  .hero-text {
    max-width: 29rem;
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .about-copy,
  .step-desc,
  .feature-card p,
  .feature-card li,
  .story-panel p,
  .info-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: heroFadeUp 0.3s var(--ease-smooth) 0.18s both;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--brand-500);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  padding-inline: 1.5rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--brand-500);
  padding: 2rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .stat {
    padding-block: 2.5rem;
  }
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: #fff;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-100);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about .container {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about .container {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
}

.about-copy {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.about-copy+.about-copy {
  margin-top: 1rem;
}

.process {
  margin-top: 3rem;
  padding-left: 2rem;
  border-left: 2px solid var(--brand-100);
}

.process li {
  position: relative;
  padding-bottom: 1.5rem;
}

.step-num {
  position: absolute;
  left: -2.5625rem;
  /* -(pl + dot/2) alignment */
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background: var(--brand-500);
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.step-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.about-media {
  position: sticky;
  top: 8rem;
}

/* lg:sticky lg:top-32 */
.about-img {
  height: 420px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about-img {
    height: 520px;
  }
}

.about-panel {
  background: var(--brand-50);
  padding: 2rem;
}

.about-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.about-panel ul {
  margin-top: 1.25rem;
}

.about-panel li {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.about-panel li:first-child {
  margin-top: 0;
}

.about-panel li svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--brand-500);
}

/* ============================================================
   SERVICES (carousel)
   ============================================================ */
.services {
  background: var(--brand-50);
}

.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.services-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.car-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border: 1px solid var(--brand-200);
  background: #fff;
  color: var(--brand-500);
  transition: border-color 0.15s var(--ease-smooth), color 0.15s var(--ease-smooth);
}

.car-btn:hover {
  border-color: var(--brand-500);
}

.car-btn:disabled {
  cursor: not-allowed;
  color: var(--brand-200);
}

.car-btn:disabled:hover {
  border-color: var(--brand-200);
}

.car-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.carousel {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.car-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
}

@media (min-width: 640px) {
  .car-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .car-card {
    flex-basis: calc((100% - 3rem) / 3);
  }
}

.car-card img {
  height: 12rem;
  width: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.car-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
}

.car-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.car-dots {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.car-dot {
  height: 0.25rem;
  width: 1.25rem;
  background: var(--brand-200);
  transition: all 0.2s var(--ease-smooth);
}

.car-dot:hover {
  background: var(--brand-300);
}

.car-dot.active {
  width: 2.5rem;
  background: var(--brand-500);
}

/* ============================================================
   MANAGEMENT
   ============================================================ */
.management {
  background: #fff;
}

.management-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .management-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .management-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.management-card {
  min-width: 0;
}

.management-card>img,
.management-placeholder {
  height: 16rem;
  width: 100%;
  object-fit: cover;
}

.management-placeholder {
  display: grid;
  place-items: center;
  background: var(--brand-900);
  color: var(--brand-300);
  font-family: var(--font-display);
  font-size: 2rem;
}

.management-role {
  margin-top: .4rem;
  color: var(--brand-600);
  font-family: var(--font-display);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ============================================================
   PARTNERS (edge-to-edge logo marquee)
   ============================================================ */
.partners {
  overflow: hidden;
  padding-block: 5rem;
  background: var(--brand-50);
}

.partners-head {
  margin-bottom: 2.5rem;
}

.partners-marquee {
  overflow: hidden;
  width: 100%;
  border-block: 1px solid var(--brand-200);
  background: #fff;
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 15rem;
  animation: partner-scroll 32s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 15rem;
  height: 10rem;
  padding: 1.25rem 2rem;
  border-right: 1px solid var(--brand-100);
  flex: none;
}

.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: opacity .2s var(--ease-smooth);
}

.partner-logo:hover img {
  opacity: 1;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.public-loading,
.public-empty {
  color: var(--ink-muted);
  font-size: .9rem;
}

.public-empty {
  grid-column: 1 / -1;
  padding-block: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation-play-state: paused;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.gallery-filter-btn {
  appearance: none;
  border: 1px solid rgba(1, 134, 193, 0.2);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.gallery-filter-btn:hover,
.gallery-filter-btn:focus-visible {
  border-color: var(--brand-500);
  color: var(--brand-700);
}

.gallery-filter-btn.is-active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--brand-900);
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
}

.gallery-item img {
  height: 16rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-smooth);
}

@media (min-width: 1024px) {
  .gallery-item img {
    height: 20rem;
  }
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 20, 30, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-panel {
  position: relative;
  width: min(100%, 960px);
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(7, 31, 43, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-lightbox-media-wrap {
  overflow: hidden;
  border-radius: 0.9rem;
  max-height: 75vh;
  background: #000;
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  margin: 0 auto;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close {
  top: 1rem;
  right: 1rem;
  transform: none;
}

.gallery-lightbox-nav.prev {
  left: 0.75rem;
}

.gallery-lightbox-nav.next {
  right: 0.75rem;
}

.gallery-lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding-inline: 0.5rem;
}

.gallery-lightbox-meta small {
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .gallery-lightbox-panel {
    padding: 0.75rem;
  }

  .gallery-lightbox-close,
  .gallery-lightbox-nav {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.6rem;
  }

  .gallery-lightbox-meta {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

.car-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.car-points {
  margin-top: 1.5rem;
  padding-bottom: 2rem;
}

.car-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.car-points li:first-child {
  margin-top: 0;
}

.car-points .dot {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--brand-500);
}

.car-cta {
  margin-top: auto;
}

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(1, 134, 193, 0.12), rgba(2, 54, 78, 0.04));
}

.page-hero-inner {
  display: grid;
  gap: 1.5rem;
  padding-block: 5rem 3rem;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.page-hero p {
  max-width: 45rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-page .page-hero,
.gallery-page .page-hero {
  background: linear-gradient(135deg, rgba(2, 54, 78, 0.92), rgba(1, 134, 193, 0.74));
  color: #fff;
}

.about-page .page-hero h1,
.gallery-page .page-hero h1,
.about-page .page-hero p,
.gallery-page .page-hero p,
.about-page .page-kicker,
.gallery-page .page-kicker {
  color: #fff;
}

.page-hero-copy {
  max-width: 40rem;
}

.about-page-hero .about-hero-layout,
.gallery-page-hero .gallery-hero-layout {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.about-hero-visual,
.gallery-hero-stats {
  display: grid;
  gap: 1rem;
}

.about-hero-visual {
  position: relative;
  min-height: 22rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-image: linear-gradient(180deg, rgba(2, 54, 78, 0.4), rgba(2, 54, 78, 0.72)), url('../images/Head%20office%20special.png');
  background-size: cover;
  background-position: center;
}

.about-hero-card {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 16rem;
  display: grid;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.about-hero-card strong,
.mini-stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-hero-card span,
.mini-stat span {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-stat {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 1024px) {

  .about-page-hero .about-hero-layout,
  .gallery-page-hero .gallery-hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.story-grid,
.info-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.story-panel,
.info-card,
.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(1, 134, 193, 0.14);
  border-radius: 1rem;
  padding: 2rem;
}

.story-panel h2,
.feature-card h3,
.info-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.story-panel p,
.info-card p,
.feature-card p,
.feature-card li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.story-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.story-panel p {
  margin: 0 0 1.3rem;
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 42rem;
}

.story-panel p:last-child {
  margin-bottom: 0;
}

.story-panel strong {
  color: var(--ink);
  font-weight: 700;
}

.feature-card {
  padding: 2rem 1.75rem;
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 100%);
  border: 1px solid rgba(1, 134, 193, 0.18);
}

.feature-card-accent {
  background: linear-gradient(180deg, #f0f8fc 0%, #ffffff 100%);
  border-top: 4px solid var(--brand-500);
}

.feature-card-header {
  margin-bottom: 0.75rem;
}

.eyebrow-inverse {
  display: inline-block;
  color: var(--brand-600);
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.feature-card-address {
  font-size: 1.04rem;
  color: var(--ink);
  font-weight: 600;
}

.feature-card p {
  font-size: 1.02rem;
}

.feature-card ul {
  margin-top: 1.25rem;
  list-style: disc;
  padding-left: 1.25rem;
}

.feature-card li+li {
  margin-top: 0.65rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 1.8rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(1, 134, 193, 0.12);
}

.info-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.info-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

.page-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-heading-section {
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.gallery-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.gallery-page-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.gallery-page .gallery-grid {
  margin-top: 2rem;
}

.gallery-page .gallery-item {
  border-radius: 1rem;
  border: 1px solid rgba(1, 134, 193, 0.08);
  overflow: hidden;
  box-shadow: none;
}

.gallery-page .gallery-item img {
  border-radius: 1rem 1rem 0 0;
}

.gallery-page .gallery-caption {
  border-radius: 0 0 1rem 1rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--brand-50);
}

.contact-grid {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-copy {
  max-width: 28rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.contact-details {
  margin-top: 2.5rem;
}

.contact-details .cd-item {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-details .cd-item:first-child {
  margin-top: 0;
}

.cd-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-500);
}

.cd-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.cd-value {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink);
}

.cd-value a {
  color: var(--ink);
  transition: color 0.15s var(--ease-smooth);
}

.cd-value a:hover {
  color: var(--brand-500);
}

.contact-card {
  background: #fff;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .contact-card {
    padding: 2.5rem;
  }
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form>.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid var(--brand-200);
  background: #fff;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s var(--ease-smooth);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-500);
}

.form-textarea {
  resize: none;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: #fef2f2;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #b91c1c;
}

.form-error svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.btn-submit {
  width: 100%;
}

.btn-submit:disabled {
  cursor: not-allowed;
  background: var(--brand-300);
}

.spinner {
  width: 1rem;
  height: 1rem;
  animation: spin 1s linear infinite;
}

.contact-success {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-success .ok-check {
  width: 3rem;
  height: 3rem;
  color: var(--brand-500);
}

.contact-success h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.contact-success p {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.contact-success button {
  margin-top: 2rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-900);
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 54, 78, 0.8);
}

.service-hero .container {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .service-hero .container {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brand-300);
  transition: color 0.15s var(--ease-smooth);
}

.crumb:hover {
  color: #fff;
}

.crumb svg {
  width: 1rem;
  height: 1rem;
}

.service-title {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
}

@media (min-width: 1024px) {
  .service-title {
    font-size: 4.5rem;
  }
}

.service-intro {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(242, 249, 253, 0.9);
}

.service-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.service-actions .btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .service-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.svc-overview {
  background: #fff;
}

.svc-overview-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .svc-overview-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.overview-copy {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.overview-copy+.overview-copy {
  margin-top: 1.5rem;
}

.deliverables-title {
  margin-top: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
}

.deliverables {
  margin-top: 2rem;
  display: grid;
  gap: 1px;
  background: var(--brand-100);
}

@media (min-width: 640px) {
  .deliverables {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deliverable {
  background: #fff;
  padding: 1.5rem;
}

.deliverable h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.deliverable p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.svc-aside {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.suited {
  background: var(--brand-50);
  padding: 2rem;
}

.suited h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.suited ul {
  margin-top: 1.25rem;
}

.suited li {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.suited li:first-child {
  margin-top: 0;
}

.suited li svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--brand-500);
}

.svc-cta {
  margin-top: 1.5rem;
  background: var(--brand-500);
  padding: 2rem;
  color: #fff;
}

.svc-cta h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.svc-cta p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--brand-50);
}

.svc-cta a {
  display: inline-block;
  margin-top: 1.5rem;
  background: #fff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-700);
  transition: background-color 0.15s var(--ease-smooth);
}

.svc-cta a:hover {
  background: var(--brand-50);
}

.others {
  background: var(--brand-50);
}

.others-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
}

.others-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1px;
  background: var(--brand-200);
}

@media (min-width: 768px) {
  .others-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.other-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 2rem;
}

.other-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.other-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.other-card a {
  margin-top: auto;
  display: inline-flex;
  gap: 0.5rem;
  padding-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-500);
  transition: color 0.15s var(--ease-smooth);
}

.other-card a:hover {
  color: var(--brand-700);
}

.other-card a .arrow {
  display: inline-flex;
  transition: transform 0.15s var(--ease-smooth);
}

.other-card a:hover .arrow {
  transform: translateX(0.25rem);
}

/* 404 */
.not-found {
  display: flex;
  min-height: 60vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding-inline: 1.5rem;
  text-align: center;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--ink);
}

.not-found p {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.not-found a {
  margin-top: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brand-900);
  color: var(--brand-100);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand .brand-mark {
  border-color: var(--brand-400);
  color: var(--brand-300);
}

.footer-brand .brand-name .name {
  color: #fff;
}

.footer-brand .brand-name .tagline {
  color: var(--brand-300);
}

.footer-blurb {
  margin-top: 1.5rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--brand-200);
}

.footer-col h2 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
}

.footer-col ul {
  margin-top: 1.25rem;
}

.footer-col li {
  margin-top: 0.75rem;
}

.footer-col li:first-child {
  margin-top: 0;
}

.footer-col a {
  color: var(--brand-200);
  transition: color 0.15s var(--ease-smooth);
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact {
  margin-top: 1.25rem;
  font-style: normal;
}

.footer-contact p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--brand-200);
}

.footer-contact p:first-child {
  margin-top: 0;
}

.footer-contact a {
  color: var(--brand-200);
  transition: color 0.15s var(--ease-smooth);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--brand-300);
}

@media (min-width: 640px) {
  .footer-bottom .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ============================================================
   MOTION HELPERS (Hero entrance — faithful to framer-motion)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(1rem);
    animation: revealUp 0.4s var(--ease-smooth) forwards;
  }

  .reveal-1 {
    animation-delay: 0.06s;
  }

  .reveal-2 {
    animation-delay: 0.12s;
  }

  .reveal-3 {
    animation-delay: 0.18s;
  }

  @keyframes revealUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Contact form state switching (driven by data-status on .contact-card) */
.contact-success {
  display: none;
}

[data-error] {
  display: none;
}

.contact-card[data-status="error"] [data-error] {
  display: flex;
}

.contact-card[data-status="submitting"] [data-submit-text] {
  display: none;
}

.contact-card[data-status="submitting"] [data-submit-loader] {
  display: inline-flex;
}

.contact-card[data-status="success"] .contact-form {
  display: none;
}

.contact-card[data-status="success"] .contact-success {
  display: flex;
}

.m-cta a {
  display: block;
  background: var(--brand-500);
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
}