/* ============================================================
   Ajay Sutar Website 2026 — Reference-matched design system
   Dark luxury · Gold accent · Playfair Display + Poppins
   ============================================================ */

:root {
  /* Color palette (from reference) */
  --black: #0a0a0a;
  --black-deep: #050505;
  --navy: #0b1220;
  --navy-mid: #111a2e;
  --panel: #0e1526;
  --gold: #c9a227;
  --gold-bright: #d4af37;
  --gold-soft: #e8d48b;
  --gold-dim: rgba(201, 162, 39, 0.14);
  --white: #ffffff;
  --off-white: #f5f3ee;
  --muted: #9aa3b5;
  --muted-dark: #6b7285;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(201, 162, 39, 0.35);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;

  --nav-w: 88px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.lead {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
  line-height: 1.75;
}

/* ---------- Buttons (reference styles) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease, box-shadow 0.25s ease;
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary — gold fill */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1.5px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.28);
}

/* Secondary — gold outline */
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold-dim);
}

/* Text button */
.btn-text {
  background: transparent;
  color: var(--gold);
  border: none;
  padding: 0.5rem 0;
  letter-spacing: 0.1em;
}

.btn-text:hover {
  color: var(--gold-soft);
}

.btn-text .arrow,
.btn-primary .arrow,
.btn-secondary .arrow {
  transition: transform 0.25s var(--ease);
}

.btn-text:hover .arrow,
.btn-primary:hover .arrow,
.btn-secondary:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Vertical right nav (desktop) ---------- */
.side-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--nav-w);
  height: 100vh;
  z-index: 100;
  background: rgba(5, 5, 5, 0.72);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 1.25rem;
}

.side-nav .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: auto;
}

.side-nav .logo-monogram {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.side-nav .logo-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-nav .nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  margin: 2rem 0;
}

.side-nav .nav-links a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}

.side-nav .nav-links a:hover,
.side-nav .nav-links a.is-active {
  color: var(--gold);
}

.side-nav .nav-cta {
  margin-top: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.1rem 0.55rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.side-nav .nav-cta:hover {
  background: var(--gold-soft);
}

/* Top bar (mobile + always for brand) */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0) 100%);
  transition: background 0.3s ease;
}

.top-bar.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.top-brand .brand-monogram {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.top-brand .text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--gold);
}

.menu-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(5, 5, 5, 0.97);
  display: none;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.mobile-drawer nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  padding: 0.65rem 0;
  color: var(--off-white);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.mobile-drawer nav a:hover {
  color: var(--gold);
}

.mobile-drawer .drawer-cta {
  margin-top: 1.5rem;
}

/* Page shell — room for side nav on desktop */
.page {
  min-height: 100vh;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5.5rem 0 3.5rem;
  background: var(--black-deep);
}

/* Full-bleed background video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.72) 38%, rgba(8, 14, 28, 0.52) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, transparent 28%, rgba(5, 5, 5, 0.62) 100%),
    radial-gradient(ellipse 55% 45% at 75% 45%, rgba(40, 90, 180, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 70%, rgba(201, 162, 39, 0.06), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  align-items: center;
}

.hero-copy .role-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.1rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero h1 .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 30rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-trusted {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
  max-width: min(100%, 640px);
}

.hero-trusted label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 0.9rem;
}

/* Infinite logo carousel */
.brand-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: brand-marquee 38s linear infinite;
  will-change: transform;
}

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

.brand-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 0.15rem;
  opacity: 0.72;
  filter: grayscale(0.15) brightness(1.05);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.brand-slide:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

.brand-slide img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.25rem 1.5rem;
  }

  .brand-slide[aria-hidden="true"] {
    display: none;
  }

  .brand-carousel {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

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

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  background: var(--black);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat-item .value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item .label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-item .icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.65rem;
  color: var(--gold);
}

.stat-item .icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--navy);
}

.section-black {
  background: var(--black);
}

.section-panel {
  background: var(--panel);
}

.section-head {
  margin-bottom: 2.75rem;
  max-width: 36rem;
}

/* ---------- About (content-driven height; photo matches text) ---------- */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.about-text .section-title {
  margin-bottom: 1.15rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 0.95rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-text p strong {
  color: var(--off-white);
  font-weight: 600;
}

.signature {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.signature-img {
  display: block;
  width: min(240px, 78%);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 2px 10px rgba(201, 162, 39, 0.22));
}

.signature .role {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-media {
  position: relative;
  width: 100%;
  border-radius: 2px;
  /* Mobile: fixed portrait frame */
  aspect-ratio: 4 / 5;
  max-height: 460px;
  display: flex;
  flex-direction: column;
}

.about-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: var(--black);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.5s var(--ease);
}

/* Soft ambient gold pulse behind the frame */
.about-photo-glow {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(
    ellipse 55% 50% at 50% 45%,
    rgba(201, 162, 39, 0.22) 0%,
    rgba(201, 162, 39, 0.06) 40%,
    transparent 70%
  );
  animation: about-glow-pulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* Ken Burns — slow zoom + drift on founder photo */
.about-photo-img,
.about-photo img.about-photo-img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  z-index: 1;
  transform-origin: 50% 30%;
  animation: about-kenburns 18s ease-in-out infinite alternate;
  transition: filter 0.5s ease;
}

/* Gold corner frame accents */
.about-photo-frame {
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
}

.about-photo-frame .corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.85;
  animation: about-corner-breathe 4s ease-in-out infinite;
}

.about-photo-frame .corner-tl {
  top: 0;
  left: 0;
  border-width: 1.5px 0 0 1.5px;
}

.about-photo-frame .corner-tr {
  top: 0;
  right: 0;
  border-width: 1.5px 1.5px 0 0;
  animation-delay: 0.5s;
}

.about-photo-frame .corner-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1.5px 1.5px;
  animation-delay: 1s;
}

.about-photo-frame .corner-br {
  bottom: 0;
  right: 0;
  border-width: 0 1.5px 1.5px 0;
  animation-delay: 1.5s;
}

/* Light sweep across the portrait */
.about-photo-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(201, 162, 39, 0.1) 50%,
    rgba(255, 255, 255, 0.06) 52%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: about-shine 9s ease-in-out infinite;
}

.about-media:hover .about-photo {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(201, 162, 39, 0.1);
  transform: translateY(-4px);
}

.about-media:hover .about-photo-img {
  animation-play-state: paused;
  filter: brightness(1.05) contrast(1.03);
  transform: scale(1.06);
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}

.about-media:hover .about-photo-shine {
  animation-duration: 4s;
}

.about-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  background: rgba(5, 5, 5, 0.88);
  border: 1px solid var(--line-gold);
  padding: 0.85rem 1.1rem;
  backdrop-filter: blur(8px);
  animation: about-badge-float 4.5s ease-in-out infinite;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.about-media:hover .about-badge {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(201, 162, 39, 0.12);
  animation-play-state: paused;
  transform: translateY(-2px);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.about-badge span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Photo animation keyframes */
@keyframes about-kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.07) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1.04) translate(1.2%, 0.8%);
  }
}

@keyframes about-glow-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes about-shine {
  0%,
  55% {
    transform: translateX(-130%) skewX(-12deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  75% {
    transform: translateX(130%) skewX(-12deg);
    opacity: 0.9;
  }
  100% {
    transform: translateX(130%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes about-corner-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes about-badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-img,
  .about-photo-glow,
  .about-photo-shine,
  .about-photo-frame .corner,
  .about-badge {
    animation: none !important;
  }

  .about-photo-img,
  .about-photo img.about-photo-img {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .about-media:hover .about-photo {
    transform: none;
  }
}

/* ---------- Approach ---------- */
.approach-intro {
  max-width: 28rem;
  margin-bottom: 2.5rem;
}

.approach-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.approach-intro p {
  color: var(--muted);
  font-size: 0.95rem;
}

.approach-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.step {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.step:hover {
  border-color: var(--line-gold);
  background: var(--gold-dim);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.step-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.step-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--black);
  padding: 1.75rem 1.5rem;
  transition: background 0.25s ease;
}

.service-card:hover {
  background: #0f0f0f;
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Featured work / ventures ---------- */
.work-grid {
  display: grid;
  gap: 1rem;
}

.work-card {
  position: relative;
  background: linear-gradient(160deg, #121212 0%, #0a0a0a 100%);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.work-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.work-card .logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.work-card .logo-text span {
  color: var(--gold);
}

.work-card .meta {
  margin-top: 1.25rem;
}

.work-card .meta .role {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.work-card .meta p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Journey / timeline ---------- */
.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  gap: 0.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-period {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.timeline-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}

.timeline-item ul li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.timeline-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Expertise chips ---------- */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skill {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.skill:hover {
  border-color: var(--line-gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--off-white);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

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

.field select option {
  background: var(--black);
}

.contact-aside {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--black) 100%);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.contact-aside h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.contact-aside > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-links {
  display: grid;
  gap: 0.65rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-links a:hover {
  border-color: var(--line-gold);
  background: var(--gold-dim);
}

.contact-links svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2rem;
  background: var(--black-deep);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--off-white);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.footer-brand:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted-dark);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: var(--panel);
  border: 1px solid var(--line-gold);
  width: min(100%, 680px);
  max-height: min(90vh, 800px);
  overflow: auto;
  animation: modalIn 0.28s var(--ease);
}

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

.modal-body {
  padding: 1.75rem 1.5rem 2rem;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.modal-top .period {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.modal-top h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
}

.modal-top .role {
  margin-top: 0.3rem;
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.modal-desc {
  color: var(--muted);
  margin-bottom: 1.35rem;
  line-height: 1.7;
}

.modal-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.modal-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--off-white);
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.modal-impact {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.modal-impact strong {
  color: var(--gold);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--gold);
  color: var(--black);
  padding: 0.85rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 300;
  transition: transform 0.35s var(--ease);
  max-width: min(92vw, 400px);
  text-align: center;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}

/* ---------- Client testimonials ---------- */
.testimonials-grid {
  display: grid;
  gap: 1.15rem;
}

.testimonial-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
  overflow: hidden;
}

.testimonial-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 0.5rem;
  user-select: none;
}

.testimonial-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.35rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  background: var(--panel);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.08);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.testimonial-meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.li-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #0a66c2;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  text-transform: lowercase;
}

.testimonials-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--muted-dark);
  text-align: center;
  line-height: 1.6;
}

.testimonials-note a {
  color: var(--gold);
  font-weight: 500;
  margin-left: 0.35rem;
}

.testimonials-note a:hover {
  text-decoration: underline;
}

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

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

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

  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item {
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .side-nav {
    display: flex;
  }

  .top-bar .menu-btn {
    display: none;
  }

  .page {
    padding-right: var(--nav-w);
  }

  .top-bar {
    right: var(--nav-w);
  }

  .hero {
    padding: 7rem 0 5rem;
    min-height: 100vh;
  }

  .hero-inner {
    min-height: calc(100vh - 12rem);
  }

  .hero-copy {
    max-width: 38rem;
  }

  .hero-trusted {
    max-width: min(100%, 680px);
  }

  .brand-slide {
    height: 48px;
  }

  .brand-slide img {
    height: 40px;
    max-width: 130px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
    align-items: stretch;
  }

  .about-text {
    justify-content: center;
    padding: 0.5rem 0;
  }

  .about-media {
    /* No intrinsic aspect — stretch to text column height */
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    height: 100%;
    align-self: stretch;
  }

  .about-photo {
    flex: 1 1 auto;
    min-height: 100%;
  }

  .approach-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .approach-steps {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .section {
    padding: 6rem 0;
  }

  .container {
    width: min(100% - 3rem, 1120px);
  }

  .contact-form,
  .contact-aside,
  .modal-body {
    padding: 2.25rem;
  }
}

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

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

@media (min-width: 640px) and (max-width: 899px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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