/* ==========================================================================
   SAN PVT LTD — homepage stylesheet
   Single-file, dependency-free. Replaces the old Bootstrap/template CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --indigo: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-200: #c7d2fe;
  --indigo-100: #e0e7ff;
  --indigo-50: #eef2ff;

  --ink: #0e0d1f;
  --ink-2: #4a4966;
  --ink-3: #7b7a94;
  --line: #e7e7f0;
  --bg: #ffffff;
  --bg-alt: #f7f7fc;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 13, 31, 0.06), 0 2px 8px rgba(14, 13, 31, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 13, 31, 0.10), 0 2px 6px rgba(14, 13, 31, 0.06);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, 0.18);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-indigo :focus-visible,
.hero :focus-visible,
.site-header:not(.is-scrolled):not(.is-open) :focus-visible {
  outline-color: #fff;
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-head .lead,
.lead {
  font-size: 1.1875rem;
  color: var(--ink-2);
  max-width: 38rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28);
}

.btn--primary:hover {
  background: var(--indigo-700);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.34);
}

.btn--white {
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 8px 24px rgba(14, 13, 31, 0.18);
}

.btn--white:hover {
  background: var(--indigo-50);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.btn--sm {
  padding: 0.7rem 1.15rem;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.no-js .site-header {
  position: absolute;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 15px;
  width: auto;
}

.brand__dark {
  display: none;
}

@media (max-width: 480px) {
  .brand img {
    height: 13px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9875rem;
  opacity: 0.86;
  position: relative;
  padding: 0.35rem 0;
  transition: opacity 0.2s var(--ease);
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  opacity: 1;
}

.site-nav__links a:hover::after,
.site-nav__links a.is-active::after {
  transform: scaleX(1);
}

.site-nav .btn {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.site-nav .btn:hover {
  background: #fff;
  color: var(--indigo);
  border-color: #fff;
}

/* Scrolled state: frosted white bar with dark text */
.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .brand__light,
.site-header.is-open .brand__light {
  display: none;
}

.site-header.is-scrolled .brand__dark,
.site-header.is-open .brand__dark {
  display: block;
}

.site-header.is-scrolled .site-nav .btn,
.site-header.is-open .site-nav .btn {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

.site-header.is-scrolled .site-nav .btn:hover,
.site-header.is-open .site-nav .btn:hover {
  background: var(--indigo-700);
  border-color: var(--indigo-700);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.is-open .nav-toggle__bars {
  transform: rotate(45deg);
}

.is-open .nav-toggle__bars::before {
  transform: translateY(7px) rotate(90deg);
}

.is-open .nav-toggle__bars::after {
  transform: translateY(-7px);
  opacity: 0;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 40px rgba(14, 13, 31, 0.12);
    border-top: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s 0.3s;
  }

  .is-open .site-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s;
  }

  .no-js .site-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    color: inherit;
    box-shadow: none;
    border: 0;
    padding: 0;
    flex-direction: row;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__links li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav__links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    opacity: 1;
  }

  .site-nav__links a::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 1rem;
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
  }

  .no-js .site-nav__links {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--indigo);
  color: #fff;
  overflow: hidden;
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
}

/* Soft band under the fixed header so nav text stays legible over the art */
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(67, 56, 202, 0.55), rgba(67, 56, 202, 0));
  pointer-events: none;
}

/* Legibility gradient: flat indigo on the left, art shows through on the right */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    var(--indigo) 0%,
    rgba(79, 70, 229, 0.92) 38%,
    rgba(79, 70, 229, 0.45) 60%,
    rgba(79, 70, 229, 0) 80%
  );
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(2rem, 4vh, 3rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-200);
  margin-bottom: 1.5rem;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a5f3c6;
  box-shadow: 0 0 0 4px rgba(165, 243, 198, 0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--indigo-200);
}

.hero__lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: clamp(3rem, 8vh, 5.5rem);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem clamp(1.5rem, 3.5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__trust-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
}

.hero__trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem clamp(1.5rem, 3.5vw, 3rem);
}

.hero__trust-logos img {
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.hero__trust-logos a:hover img {
  opacity: 1;
}

/* Per-logo heights so the marks read at similar visual weight */
.logo--team-beard {
  height: 30px;
}

.logo--maldives-cargo {
  height: 60px;
}

.logo--s-and-a {
  height: 40px;
}

.logo--iulaan {
  height: 44px;
}

@media (max-width: 760px) {
  .hero__art img {
    object-position: 62% 18%;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(79, 70, 229, 0.15) 0%,
      rgba(79, 70, 229, 0.6) 32%,
      rgba(79, 70, 229, 0.96) 48%,
      var(--indigo) 60%
    );
  }

  .hero__inner {
    padding-top: calc(var(--header-h) + 30vh);
  }

  .hero__actions .btn {
    padding-inline: 1.25rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__trust-label {
    width: 100%;
    margin: 0;
  }

  .logo--team-beard {
    height: 24px;
  }

  .logo--maldives-cargo {
    height: 48px;
  }

  .logo--s-and-a {
    height: 32px;
  }

  .logo--iulaan {
    height: 36px;
  }
}

/* --------------------------------------------------------------------------
   7. Intro
   -------------------------------------------------------------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.intro__statement mark {
  background: linear-gradient(transparent 62%, var(--indigo-100) 62%);
  color: var(--indigo);
  padding: 0 0.1em;
}

.intro__copy p {
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.intro__copy p + p {
  margin-top: 1rem;
}

.intro__facts {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding-left: 1.4rem;
  position: relative;
}

.fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px var(--indigo-50);
}

.fact strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.fact span {
  font-size: 0.9375rem;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .intro__grid {
    grid-template-columns: 1fr;
  }

}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo-100);
}

.service__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--indigo-50);
  color: var(--indigo);
  display: grid;
  place-items: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.service__icon svg {
  width: 24px;
  height: 24px;
}

.service:hover .service__icon {
  background: var(--indigo);
  color: #fff;
}

.service h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.service p {
  color: var(--ink-2);
  font-size: 0.975rem;
  line-height: 1.6;
}

.service__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.service--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.service--accent h3 {
  color: #fff;
}

.service--accent p {
  color: rgba(255, 255, 255, 0.72);
}

.service--accent .service__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--indigo-200);
}

.service--accent:hover .service__icon {
  background: var(--indigo);
  color: #fff;
}

.service--accent .service__num {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   9. Work
   -------------------------------------------------------------------------- */
.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.work__head .section-head {
  margin-bottom: 0;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.work__grid > li {
  display: flex;
}

.project {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo-100);
}

.project__frame {
  position: relative;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.project__chrome {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.project__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.project__chrome span:nth-child(1) {
  background: #fca5a5;
}

.project__chrome span:nth-child(2) {
  background: #fcd34d;
}

.project__chrome span:nth-child(3) {
  background: #86efac;
}

.project__shot {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.project__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}

.project:hover .project__shot img {
  transform: scale(1.04);
}

.project__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 1.2rem;
  margin-top: auto;
}

.project h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.project__tag {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.project__arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.project__arrow svg {
  width: 16px;
  height: 16px;
}

.project:hover .project__arrow {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .work__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* --------------------------------------------------------------------------
   10. Experience
   -------------------------------------------------------------------------- */
.experience__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.experience__grid .section-head {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.experience__groups {
  display: grid;
  gap: 2rem;
}

.experience__group h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.experience__group h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

a.chip:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--indigo-50);
  transform: translateY(-2px);
}

a.chip:hover svg {
  color: var(--indigo);
  transform: translate(1px, -1px);
}

.chip--static {
  background: var(--bg-alt);
  color: var(--ink-2);
  border-style: dashed;
}

@media (max-width: 860px) {
  .experience__grid {
    grid-template-columns: 1fr;
  }

  .experience__grid .section-head {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   11. Clients + contact CTA
   -------------------------------------------------------------------------- */
.clients__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem clamp(2.5rem, 8vw, 7rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.clients__row a {
  display: block;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.clients__row a:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

.clients__row img {
  width: auto;
}

@media (max-width: 640px) {
  .clients__row {
    justify-content: center;
  }
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--indigo);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.cta::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -200px;
  background: radial-gradient(closest-side, rgba(14, 13, 31, 0.28), rgba(14, 13, 31, 0));
}

.cta > * {
  position: relative;
}

.cta .eyebrow {
  color: var(--indigo-200);
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.cta p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.0625rem;
  max-width: 34rem;
}

.cta__side {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

@media (min-width: 861px) {
  .cta__side {
    justify-items: end;
    text-align: right;
  }
}

.cta__email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.25s var(--ease);
}

.cta__email:hover {
  border-color: #fff;
}

.cta__note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 860px) {
  .cta {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.9375rem;
}

.site-footer .brand img {
  height: 16px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__tagline {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col h3 {
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col li + li {
  margin-top: 0.6rem;
}

.footer__col a {
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.footer__bottom .heart {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.1em;
  color: #f87171;
}

@media (max-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   13. Scroll reveal (progressive enhancement)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
