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

:root {
  --navy:   #000000;
  --gold:   #EFBF04;
  --cyan:   #3AD6EF;
  --white:  #ffffff;
  --muted:  rgba(255, 255, 255, 0.55);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Homepage Logo Circle ───────────────────────────────── */
.home-logo-bar {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.home-logo-bar img {
  height: 130px;
  width: 130px;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 50%;
  background: #111;
  padding: 22px 20px 26px;
  box-shadow:
    0 0 0 2px rgba(239,191,4,0.25),
    0 0 24px 6px rgba(239,191,4,0.35),
    0 0 60px 16px rgba(239,191,4,0.18);
}

@media (max-width: 600px) {
  .home-logo-bar { padding: 2rem 0; }
  .home-logo-bar img { height: 72px; width: 72px; }
}

/* ─── Hamburger Button ──────────────────────────────────── */
.hbg-btn {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(239, 191, 4, 0.35);
  transition: background 0.3s, border-color 0.3s;
}

.hbg-btn:hover {
  background: #d4a900;
  border-color: #d4a900;
}

.hbg-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.28s ease,
              width 0.28s ease;
  transform-origin: center;
}

.hbg-btn.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hbg-btn.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hbg-btn.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Hamburger Menu Overlay ────────────────────────────── */
.hbg-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #060606;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: circle(0% at calc(100% - 3.1rem) calc(100% - 3.1rem));
  transition: clip-path 0.72s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.hbg-menu.is-open {
  clip-path: circle(160% at calc(100% - 3.1rem) 3.1rem);
  pointer-events: all;
}

.hbg-nav {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.hbg-nav li {
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.hbg-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  font-weight: 400;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.1;
  transform: translateY(110%);
  opacity: 0;
  transition: color 0.22s ease,
              transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.55s ease;
}

.hbg-menu.is-open .hbg-nav li:nth-child(1) a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.18s;
}
.hbg-menu.is-open .hbg-nav li:nth-child(2) a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.26s;
}
.hbg-menu.is-open .hbg-nav li:nth-child(3) a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.34s;
}

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

.hbg-menu-footer {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity 0.4s ease 0.42s;
}

.hbg-menu.is-open .hbg-menu-footer {
  opacity: 1;
}

@media (max-width: 600px) {
  .hbg-btn { top: 1.4rem; right: 1.4rem; width: 52px; height: 52px; }
  .hbg-menu { clip-path: circle(0% at calc(100% - 2.7rem) calc(100% - 2.7rem)); }
  .hbg-menu.is-open { clip-path: circle(160% at calc(100% - 2.7rem) calc(100% - 2.7rem)); }
}

/* ─── Primary CTA Button ────────────────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

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

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: #000;
}

/* ─── Hero Columns ──────────────────────────────────────── */
.hero-columns {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
}

.hero-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-col:last-child {
  border-right: none;
}

.hero-col video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.68);
  transition: filter 0.4s ease;
}

.hero-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 30%);
  z-index: 1;
}

.hero-col:hover video {
  filter: grayscale(45%) brightness(0.82);
}

/* Service label — vertical text, top of each column (below navbar) */
.hero-col-label {
  position: absolute;
  top: 6.8rem;
  left: 0;
  right: 0;
  display: block;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  z-index: 5;
  pointer-events: none;
  transition: color 0.35s ease;
  white-space: nowrap;
}

.hero-col:hover .hero-col-label {
  color: rgba(255, 255, 255, 0.9);
}

[data-target="card-media"] .hero-col-label { color: var(--gold); }
[data-target="card-media"]:hover .hero-col-label { color: var(--gold); }

/* Center text overlay */
.hero-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 6.8rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 60px rgba(0, 0, 0, 0.85);
  padding: 0 2rem;
}

/* Bottom-right tagline */
.hero-tagline {
  position: absolute;
  bottom: 2.6rem;
  right: 3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
  line-height: 1.55;
  z-index: 10;
  pointer-events: none;
  margin: 0;
}

/* hide mobile word-breaks on desktop */
.hero-br   { display: none; }
.hero-m-br { display: none; }

/* ─── Hero Mobile ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-br   { display: none; }
  .hero-m-br { display: inline; }  /* force each word onto its own line */

  /* Hero stays position:relative — overlay text stays inside it */
  .hero {
    display: block;
  }

  /* 8 stacked rows — no fixed nav on home page, logo bar is above the hero */
  .hero-columns {
    flex-direction: column;
    flex: none;
    height: 100%;
    padding-top: 0;
  }

  .hero-col {
    flex: 1;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero-col:last-child {
    border-bottom: none;
  }

  /* Label: horizontal, right-aligned, vertically centred in each row */
  .hero-col-label {
    writing-mode: horizontal-tb;
    display: block;
    text-align: right;
    transform: translateY(-50%);
    top: 50%;
    bottom: auto;
    left: auto;
    right: 1rem;
    font-size: 0.52rem;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }

  /* Heading: aligned with row 1 top, spans rows 1–7 */
  .hero-text-overlay {
    position: absolute;
    inset: auto;
    top: 0;
    bottom: auto;
    left: 1.4rem;
    right: 0;
    width: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    background: none;
    pointer-events: none;
    z-index: 10;
  }

  .hero-heading {
    font-size: min(calc(100svh * 0.175), 38vw);
    text-align: left;
    padding: 0;
    line-height: 1.0;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.95);
  }

  /* Tagline: bottom-left, separate from heading */
  .hero-tagline {
    display: block;
    position: absolute;
    bottom: 1.6rem;
    left: 1.4rem;
    right: auto;
    text-align: left;
    font-size: 0.88rem;
  }
}

/* ─── Services Section ──────────────────────────────────── */
.services {
  background: var(--navy);
  padding: 8rem 8% 10rem;
  will-change: transform;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Centered header */
.services-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* ─── Two-column body ───────────────────────────────────── */
.services-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: start;
}

/* ─── Chip Wrap ─────────────────────────────────────────── */
.chip-wrap {
  position: sticky;
  top: 3rem;
}

/* Nav arrows - desktop hidden, mobile visible */
.chip-nav {
  display: none;
}

/* ─── Chip Column (left) ────────────────────────────────── */
/* Desktop: 2-column grid so 13 chips fit in 7 rows, no page scroll */
.chip-col {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.5rem;
  align-content: start;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.chip.is-active {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Card Column (right) ───────────────────────────────── */
.card-col {
  padding-left: 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-card {
  display: none;
}

.svc-card.is-active {
  display: block;
  animation: svcFadeIn 0.28s ease;
}

@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.svc-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.svc-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
}

.svc-tags {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 2.1;
  margin-bottom: 2.4rem;
}

.svc-cta {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.4rem;
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.svc-cta:hover { opacity: 0.72; }

.svc-arrow {
  display: inline-block;
  font-size: 3em;
  transform: rotate(45deg);
  margin-bottom: -0.3rem;
}

.svc-cta:hover .svc-arrow { transform: rotate(45deg); }

#card-media .svc-cta { color: var(--gold); }

/* ─── Mobile (Services) ─────────────────────────────────── */
@media (max-width: 860px) {
  .services {
    padding: 5rem 6% 7rem;
  }

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

  .services-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Chip wrap: arrow + scrollable row + arrow */
  .chip-wrap {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    width: 100%;
  }

  /* Horizontal scroll strip - flex:1 + min-width:0 forces it to fit the remaining space */
  .chip-col {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    gap: 0.45rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .chip-col::-webkit-scrollbar { display: none; }

  .chip {
    flex-shrink: 0;
    font-size: 0.72rem;
    padding: 0.42rem 0.9rem;
  }

  /* Arrow nav buttons */
  .chip-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
  }

  .chip-nav:hover {
    border-color: var(--gold);
    color: var(--gold);
  }

  .card-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
  }

  .svc-body { font-size: 0.95rem; }
}

/* ─── Clientele Section ─────────────────────────────────── */
.clientele {
  background: var(--navy);
  padding: 8rem 0 9rem;
  overflow: hidden;
}

.clientele-head {
  text-align: center;
  padding: 0 8%;
  margin-bottom: 5rem;
}

.clientele-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25em;
}

.ch-word { display: inline-block; }
.ch-by   { font-style: italic; color: var(--muted); }
.ch-count, .ch-plus { color: var(--gold); }

/* ─── Marquee ───────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  margin-bottom: 1.6rem;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.track-left  { animation: scrollLeft  28s linear infinite; }
.track-right { animation: scrollRight 28s linear infinite; }

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

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

.marquee-set {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.25rem;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 120px;
  padding: 0.5rem 1.4rem;
  flex-shrink: 0;
}

.logo-item img {
  max-height: 52px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

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

@media (max-width: 860px) {
  .clientele { padding: 5rem 0 6rem; }
  .clientele-head { margin-bottom: 3.5rem; }
  .logo-item { height: 50px; min-width: 100px; padding: 0.4rem 1rem; }
  .logo-item img { max-height: 28px; max-width: 90px; }
}

/* ─── Parallax Decorative Blobs ─────────────────────────── */
.parallax-deco {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
  z-index: 0;
}

.services    { position: relative; overflow: visible; }
.clientele   { position: relative; }
.faq         { position: relative; }

.deco-services {
  width: 600px;
  height: 600px;
  top: -80px;
  right: -180px;
  background: radial-gradient(circle, rgba(239,191,4,0.055) 0%, transparent 70%);
}

.deco-clientele {
  width: 700px;
  height: 700px;
  top: 40px;
  left: -200px;
  background: radial-gradient(circle, rgba(58,214,239,0.045) 0%, transparent 70%);
}

.deco-faq {
  width: 500px;
  height: 500px;
  top: 60px;
  right: -100px;
  background: radial-gradient(circle, rgba(239,191,4,0.05) 0%, transparent 70%);
}

/* ─── FAQ Section ───────────────────────────────────────── */
.faq {
  background: var(--navy);
  padding: 8rem 8% 10rem;
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
  margin-bottom: 4rem;
  will-change: transform;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--gold); }

.faq-q-text {
  line-height: 1.5;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.3s ease, background 0.2s ease;
  position: relative;
}

/* + icon via pseudo-elements */
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  width: 10px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 10px;
}

.faq-q:hover .faq-icon {
  border-color: var(--gold);
  background: rgba(239, 191, 4, 0.06);
}

.faq-item.is-open .faq-icon {
  border-color: var(--gold);
  background: rgba(239, 191, 4, 0.06);
  transform: rotate(45deg);
}

/* CSS grid accordion */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-a-inner p {
  padding-bottom: 1.8rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  max-width: 720px;
}

/* ─── Mobile (FAQ) ──────────────────────────────────────── */
@media (max-width: 860px) {
  .faq {
    padding: 5rem 6% 7rem;
  }

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

  .faq-q {
    font-size: 0.92rem;
    padding: 1.3rem 0;
    gap: 1rem;
  }

  .faq-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .faq-a-inner p {
    font-size: 0.88rem;
    padding-bottom: 1.4rem;
  }
}

/* ─── Team Section ──────────────────────────────────────── */
.teammates {
  background: var(--navy);
  padding: 8rem 8% 9rem;
  position: relative;
  overflow: hidden;
}

.deco-team {
  width: 520px;
  height: 520px;
  top: -80px;
  right: -120px;
  background: radial-gradient(circle, rgba(239,191,4,0.07) 0%, transparent 70%);
  filter: blur(60px);
}

.teammates-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.teammates-head {
  text-align: center;
  margin-bottom: 4rem;
  will-change: transform;
}

.teammates-grid--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.tm-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tm-row--2 .tm-card { width: calc(33.333% - 1rem); }
.tm-row--3 .tm-card { width: calc(25% - 1.125rem); }

.tm-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.tm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

.tm-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 191, 4, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.tm-card:hover::before {
  transform: scaleX(1);
}

.tm-photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.tm-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tm-card:hover .tm-photo {
  transform: scale(1.06);
}

.tm-info {
  padding: 1rem 1.2rem 1.3rem;
}

.tm-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.tm-role {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.tm-bio {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.65rem;
}


.tm-linkedin {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
  opacity: 0.85;
}

.tm-linkedin:hover {
  opacity: 1;
}

@media (max-width: 860px) {
  .teammates {
    padding: 5rem 6% 6rem;
  }
  .tm-row { gap: 1rem; }
  .tm-row--2 .tm-card { width: calc(50% - 0.5rem); }
  .tm-row--3 .tm-card { width: calc(33.333% - 0.667rem); }
}

@media (max-width: 480px) {
  .teammates {
    padding: 4rem 5% 5rem;
  }
  .tm-row { flex-direction: column; align-items: center; gap: 0.75rem; }
  .tm-row--2 .tm-card,
  .tm-row--3 .tm-card { width: 100%; }
  .tm-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .tm-photo-frame {
    width: 90px;
    flex-shrink: 0;
    aspect-ratio: unset;
    height: 115px;
  }
  .tm-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .tm-role {
    font-size: 0.65rem;
  }
}

/* ─── Contact ───────────────────────────────────────────── */
.contact {
  background: #07070d;
  padding: 9rem 8% 8rem;
  position: relative;
  overflow: hidden;
}

.contact-inner {
  max-width: 860px;
  margin: 0 auto;
}

.contact-head {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subtitle {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-field label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-field:has(input[required], textarea[required]) label::after {
  content: ' *';
  color: #e53e3e;
}

.contact-field input,
.contact-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

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

.contact-captcha {
  display: flex;
}

.contact-status {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 400;
  min-height: 1.2em;
  transition: color 0.2s ease;
}

.contact-status.success { color: #4ade80; }
.contact-status.error   { color: #f87171; }

.contact-submit {
  align-self: flex-start;
}

@media (max-width: 860px) {
  .contact {
    padding: 6rem 6% 5rem;
  }

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

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6rem 8% 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.footer-logo {
  flex-shrink: 0;
  display: block;
  text-decoration: none;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  align-self: center;
}

.footer-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 3rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.footer-address {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-contact a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.18s ease;
  width: fit-content;
}

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

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.footer-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
  max-width: 480px;
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.6rem;
}

.footer-legal-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
  white-space: nowrap;
}

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

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

.footer-made-by {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.footer-made-by a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-made-by a:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 860px) {
  .site-footer {
    padding: 4rem 6% 3rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
  }

  .footer-tagline {
    font-size: 0.95rem;
    white-space: normal;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .footer-disclaimer {
    text-align: center;
  }

  .footer-made-by {
    text-align: center;
  }
}

/* ─── Mobile (Hero) ─────────────────────────────────────── */
@media (max-width: 860px) {
  .hero {
    height: 100svh;
    min-height: unset;
  }

  /* Copy fills remaining space; image is capped at 48vh */
  .hero-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr minmax(120px, 43vh);
    height: 100%;
  }

  /* Copy: centered vertically between logo and image top */
  .copy-col {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.75rem;
    height: 100%;
  }

  /* Push the group down so it clears the logo and sits centred */
  .copy-group {
    align-items: center;
    margin-top: 4.5rem;
  }

  .cta-btn { align-self: center; }

  .tagline { margin-bottom: 0.8rem; }

  .team-col {
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }

  .team-photo-wrap {
    position: relative;
    right: unset;
    bottom: unset;
    width: 100%;
    height: 100%;
  }

  .team-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  /* Person cards on mobile */
  .person-card { gap: 0.08rem; }

  .p-name    { font-size: 0.68rem; }
  .p-role    { font-size: 0.62rem; }
  .p-connect { font-size: 0.62rem; }

  .card-1 { top: 9%;   left: 2%;  }
  .card-2 { top: 4%;   left: 33%; }
  .card-3 { top: 9%;   left: 63%; }
}

/* ─── Contact Modal Overlay ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
  box-sizing: border-box;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 3rem 3.2rem;
  max-width: 660px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.38);
  font-size: 1.7rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
  font-family: var(--font-ui);
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-top: 0.4rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .modal-box {
    padding: 2.2rem 1.5rem;
  }
}
