/* ============================================================
   Adept 365 — Global Styles
   ============================================================ */

/* --- Design Tokens --- */
:root {
  color-scheme: light;
  /* Brand colors */
  --clr-orange:    #f47920;
  --clr-red:       #ee2f53;
  --clr-navy:      #16193a;
  --clr-dark-navy: #151932;
  --clr-peach:     #ffc5ad;
  --clr-cream:     #f1f1f1;
  --clr-brown:     #bc7d62;
  --clr-gold:      #ffca94;
  --clr-yellow:    #ffcc04;
  --clr-pink:      #f18095;
  --clr-indigo:    #595d88;
  --clr-white:     #ffffff;
  --clr-muted:     #6b7280;

  /* Gradients */
  --grad-cta:    linear-gradient(90deg, #ffcc04 0%, #f47920 50%, #ee2f53 100%);
  --grad-btn:    linear-gradient(90deg, #ffcc04 0%, #ee2f53 100%);

  /* Typography */
  --ff-primary: 'Inter', sans-serif;

  /* Spacing */
  --container-max: 1440px;
  --gutter: 60px;
  --gutter-fluid: clamp(20px, 5vw, 60px);
  --section-pad-y: clamp(48px, 8vw, 120px);

  /* Motion */
  --motion-fade: 0.6s;

  /* Radius */
  --radius-sm: 14px;
  --radius-md: 34px;
  --radius-lg: 50px;
  --radius-xl: 84px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-primary);
  color: var(--clr-navy);
  background: var(--clr-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* Global focus state — keyboard users only (mouse clicks don't trigger) */
:focus-visible {
  outline: 3px solid var(--clr-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-to-content link — visible only when focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--clr-navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Screen-reader-only text */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9990;
  width: min(92%, 1340px);
}

.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 120px;
  align-items: center;
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px 40px;
  height: 86px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: height 0.35s ease, background 0.35s ease,
              box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Scrolled state — shrink + frosted glass */
.site-header.scrolled .nav-bar {
  height: 64px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
}
.site-header.scrolled .nav-bar .nav-logo img {
  height: 48px;
  transition: height 0.35s ease;
}
.site-header.scrolled .nav-links a {
  font-size: 16px;
  transition: font-size 0.35s ease;
}
.site-header.scrolled .nav-cta {
  padding: 9px 20px;
  font-size: 15px;
  transition: padding 0.35s ease, font-size 0.35s ease;
}

.nav-logo {
  justify-self: center;
}

.nav-bar .nav-logo img {
  height: 70px;
  width: auto;
  border-radius: 15px;
  transition: height 0.35s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links a {
  font-weight: 700;
  font-size: 18px;
  color: var(--clr-navy);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-orange);
}

.nav-cta {
  background: var(--grad-btn);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 18px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; }
.nav-cta.active {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
}

/* Nav tagline — hidden by default, shown inside mobile overlay */
.nav-tagline { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: opacity 0.2s;
  position: relative;
  z-index: 2;
}
.nav-toggle:hover { opacity: 0.7; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: linear-gradient(to right, var(--clr-red), var(--clr-orange));
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
/* Animated hamburger → X when open (gap 6px + height 2px → translateY 8px) */
.nav-bar.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-bar.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-bar.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(460px, 85vh, 765px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 25, 58, 0.45) 0%,
    rgba(22, 25, 58, 0.78) 60%,
    rgba(22, 25, 58, 0.92) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 16vw, 180px) var(--gutter-fluid) clamp(48px, 8vw, 80px);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero__heading {
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.1;
}

.hero__heading .line-orange { color: var(--clr-orange); }
.hero__heading .line-red    { color: var(--clr-red); }

.hero__sub {
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 24px;
  max-width: 620px;
}

.hero__sub-line {
  display: block;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 36px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 36px;
  border-radius: var(--radius-md);
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   CLIENTS BAR
   ============================================================ */
.clients {
  background: var(--clr-peach);
  padding: 50px 0;
  text-align: center;
  box-shadow: 0 16px 17px rgba(0,0,0,0.06);
}

.clients__title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  color: var(--clr-navy);
  margin-bottom: 24px;
}

.clients__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.clients__logos img {
  height: clamp(60px, 9vw, 100px);
  width: auto;
  object-fit: contain;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: #fff;
  padding: clamp(48px, 8vw, 80px) 0;
  position: relative;
  overflow: hidden;
}

.about::before,
.about::after {
  content: '';
  position: absolute;
  pointer-events: none;
  background-image: url(../assets/AboutUs-bg.svg);
  background-repeat: no-repeat;
  background-size: 100vw auto;
  z-index: 0;
}

.about::before {
  top: 0;
  left: 0;
  width: max(100px, 14vw);
  height: max(180px, 28vw);
  background-position: top left;
}

.about::after {
  bottom: 0;
  right: 0;
  width: max(150px, 22vw);
  height: max(140px, 20vw);
  background-position: bottom right;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about__label {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
}
.about__label .orange { color: var(--clr-orange); }
.about__label .red    { color: var(--clr-red); }

.about__body {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--clr-navy);
  margin-top: 40px;
  max-width: 960px;
  line-height: 1.8;
}

.about__body p + p { margin-top: 24px; }

/* ---- About / Why Choose Us tab pair ---- */
#about-hub { scroll-margin-top: 120px; }

.about-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(21, 25, 50, 0.08);
  margin-bottom: 12px;
}

.about-tab {
  font-family: var(--ff-primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--clr-navy);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.about-tab:hover {
  color: var(--clr-orange);
}
.about-tab:focus-visible {
  outline: 2px solid var(--clr-orange);
  outline-offset: 2px;
}
.about-tab.active {
  background: var(--grad-cta, var(--clr-orange));
  color: #fff;
  box-shadow: 0 4px 14px rgba(244, 121, 32, 0.32);
}

/* ---- About / Why Choose Us toggle panels ---- */
.about__panel[hidden] { display: none; }
.about__panel {
  display: none;
}
.about__panel.active {
  display: block;
  position: relative;
  z-index: 1;
  animation: panel-fade-in 0.4s ease-out;
}

@keyframes panel-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about__panel { animation: none; }
}

/* ---- Why Choose Us panel ---- */
.why__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-red);
  padding-top: clamp(30px, 6vw, 60px);
  margin-bottom: 14px;
}
.why__eyebrow::before,
.why__eyebrow::after {
  content: '';
  display: block;
  width: 52px;
  height: 1px;
  background: var(--clr-red);
  opacity: 0.45;
}

.why__heading {
  text-align: center;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.why__heading .red    { color: var(--clr-red); }
.why__heading .orange { color: var(--clr-orange); }

.why__rule {
  width: 52px;
  height: 4px;
  background: var(--clr-orange);
  border-radius: 2px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}

/* Full-bleed 4-column colour blocks */
.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.why-card {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px) clamp(48px, 6vw, 72px);
  min-height: clamp(280px, 35vw, 380px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-card--yellow { background: var(--clr-yellow); }
.why-card--orange { background: var(--clr-orange); }
.why-card--red    { background: var(--clr-red); }
.why-card--navy   { background: var(--clr-navy); }

/* Editorial numbered marker — uses data-num attribute */
.why-card::before {
  content: attr(data-num);
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: clamp(12px, 2vw, 20px);
}
.why-card--yellow::before { color: rgba(22, 25, 58, 0.28); }

.why-card h3 {
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px);
  color: #fff;
  line-height: 1.25;
}
.why-card--yellow h3 { color: var(--clr-navy); }

.why-card p {
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}
.why-card--yellow p { color: rgba(22,25,58,0.8); }

/* Stagger the why-card fade-in */
.why-card.fade-up:nth-child(1) { transition-delay: 0ms; }
.why-card.fade-up:nth-child(2) { transition-delay: 100ms; }
.why-card.fade-up:nth-child(3) { transition-delay: 200ms; }
.why-card.fade-up:nth-child(4) { transition-delay: 300ms; }


/* ============================================================
   OUR TEAM (Home)
   ============================================================ */
.team-home {
  background: var(--clr-peach);
  padding: clamp(40px, 6vw, 60px) 0 clamp(48px, 8vw, 80px);
  box-shadow: 0 3px 15px rgba(0,0,0,0.38);
}

/* about.html team-home wrapper variant */
.team-home--card {
  margin-top: clamp(24px, 5vw, 60px);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 40px);
}

.team-home__label {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 48px;
}
.team-home__label .orange { color: var(--clr-orange); }
.team-home__label .red    { color: var(--clr-red); }

.team-home__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

@keyframes profile-ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 121, 32, 0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(244, 121, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 121, 32, 0); }
}


.team-card-mini {
  text-align: center;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.team-card-mini__img-wrap {
  position: relative;
  display: inline-block;
  width: clamp(160px, 22vw, 260px);
  height: clamp(160px, 22vw, 260px);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-card-mini__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 4px solid var(--clr-yellow);
  animation: profile-ring-pulse 2.4s ease-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.team-card-mini:nth-child(2) .team-card-mini__img {
  animation-delay: 1.2s;
}

.team-card-mini__cta {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 25, 58, 0.72);
  color: #fff;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.team-card-mini:hover .team-card-mini__img {
  transform: scale(1.04);
  filter: brightness(0.85);
  animation-play-state: paused;
}

.team-card-mini:hover .team-card-mini__cta {
  opacity: 1;
}

.team-card-mini__name {
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--clr-red);
  transition: color 0.2s ease;
}

.team-card-mini__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-orange);
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.team-card-mini:hover .team-card-mini__link {
  color: var(--clr-red);
  letter-spacing: 0.16em;
}

.team-card-mini:hover .team-card-mini__name {
  color: var(--clr-orange);
}

/* ============================================================
   PAST MANAGEMENT
   ============================================================ */
.past-mgmt {
  padding: clamp(48px, 8vw, 80px) 0;
  text-align: center;
}

.past-mgmt__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--clr-orange);
  margin-bottom: 12px;
}

.past-mgmt__sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(22,25,58,0.6);
  margin-bottom: 40px;
}

.past-mgmt__footer {
  margin-top: 40px;
}


.collage {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.collage__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.collage__bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.collage__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
}

.collage__item img {
  width: 100%;
  height: clamp(180px, 28vw, 300px);
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.collage__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 52px 16px 14px;
  background: linear-gradient(to top, rgba(22,25,58,0.85) 0%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.collage__caption-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.collage__caption-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.78;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-brown);
  padding: 50px 0 20px;
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer__logo img {
  height: clamp(60px, 10vw, 90px);
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.footer__tagline {
  font-weight: 900;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.footer__tagline span {
  display: block;
  white-space: nowrap;
}
.footer__tagline .orange { color: #fff; }
.footer__tagline .red    { color: #fff; }

.footer__links {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 32px;
}

.footer__links h4,
.footer__social h4 {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer__links ul a,
.footer__social ul a {
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer__links ul a:hover,
.footer__social ul a:hover { color: var(--clr-white); }

.footer__copy {
  text-align: left;
  font-weight: 300;
  font-size: 13px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--clr-peach);
  padding: clamp(110px, 14vw, 140px) var(--gutter-fluid) clamp(40px, 6vw, 60px);
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 50vw, 480px);
}

.page-hero--team,
.page-hero--portfolio,
.page-hero--services,
.page-hero--contact {
  background-image: none;
  min-height: max(380px, 30vw);
}

.page-hero--team .page-hero__bg-svg,
.page-hero--portfolio .page-hero__bg-svg,
.page-hero--services .page-hero__bg-svg,
.page-hero--contact .page-hero__bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.page-hero--team .container,
.page-hero--portfolio .container,
.page-hero--services .container,
.page-hero--contact .container {
  position: relative;
  z-index: 1;
}

.page-hero__heading {
  font-weight: 900;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.2;
  max-width: none;
}
.page-hero__heading .red,
.page-hero__heading .orange { display: block; }
.page-hero__heading .red    { color: var(--clr-red); }
.page-hero__heading .orange { color: var(--clr-orange); }

.page-hero__sub {
  font-weight: 300;
  font-size: clamp(16px, 2vw, 24px);
  margin-top: 24px;
  max-width: 600px;
  color: var(--clr-navy);
  padding-right: 50px;
}

/* Decorative corner lines */
.page-hero__decor {
  position: absolute;
  right: 0;
  top: clamp(60px, 12vw, 120px);
  width: clamp(180px, 30vw, 400px);
  aspect-ratio: 1;
  height: auto;
  pointer-events: none;
  overflow: hidden;
}

.page-hero__decor span {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--clr-red);
  border-radius: 0;
  transform-origin: top left;
}
.page-hero__decor span:nth-child(1) { top: 0; right: 0; }
.page-hero__decor span:nth-child(2) { top: 10px; right: -18px; border-color: var(--clr-orange); }
.page-hero__decor span:nth-child(3) { top: 22px; right: -40px; border-color: var(--clr-yellow); }
.page-hero__decor span:nth-child(4) { top: 33px; right: -55px; border-color: var(--clr-yellow); }

/* ============================================================
   OUR TEAM PAGE — Cards
   ============================================================ */
.team-page {
  padding: 60px 0 40px;
  background: var(--clr-cream);
}

/* CTA reuses .services-cta but inherits team page background */
.team-cta {
  background: var(--clr-cream);
}

.team-card {
  scroll-margin-top: 120px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 39px rgba(0,0,0,0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 60px;
  min-height: clamp(420px, 60vw, 600px);
}

.team-card__visual {
  position: relative;
  padding: clamp(24px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__accent {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: clamp(180px, 24vw, 280px);
  aspect-ratio: 280 / 380;
  height: auto;
  background: var(--clr-gold);
  border-radius: var(--radius-md);
}

.team-card__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 5px solid var(--clr-yellow);
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
}

.team-card__info {
  padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 60px);
}

.team-card__name {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--clr-red);
  line-height: 1.15;
}

.team-card__role {
  font-weight: 800;
  font-size: clamp(20px, 3.5vw, 32px);
  color: var(--clr-navy);
  margin-top: 8px;
}

.team-card__divider {
  width: 88px;
  height: 4px;
  background: var(--grad-btn);
  border-radius: 2px;
  margin: 20px 0;
}

.team-card__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-navy);
}

/* ============================================================
   SERVICES PAGE — Grid Section
   ============================================================ */
.services-grid {
  padding: clamp(72px, 9vw, 112px) 0 clamp(64px, 8vw, 96px);
}

/* Eyebrow: "OUR SERVICES" with flanking lines */
.services-grid__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 18px;
}

.services-grid__eyebrow::before,
.services-grid__eyebrow::after {
  content: '';
  display: block;
  width: 52px;
  height: 1px;
  background: var(--clr-red);
  opacity: 0.45;
}

.services-grid__heading {
  text-align: center;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  color: var(--clr-navy);
  line-height: 1.15;
  max-width: 660px;
  margin: 0 auto 18px;
}

/* Accent rule under headline */
.services-grid__rule {
  width: 52px;
  height: 4px;
  background: var(--grad-btn);
  border-radius: 2px;
  margin: 0 auto clamp(48px, 7vw, 72px);
}

.services-grid__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* ── Card base ── */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 28px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card__svg-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 290;
  overflow: hidden;
}

.service-card__svg {
  width: 100%;
  height: auto;
  display: block;
}

/*
  Overlay icon on SVG circle: cx=210.5 cy=164.5 r=93.5 in 420×523 SVG.
  Wrapper clips at 290px tall (aspect-ratio 420/290), so top % is
  relative to wrapper height (290), not full SVG height (523).
  left/width are % of wrapper width (420) — unchanged.
  top  = 71  / 290 = 24.48%
  left = 117 / 420 = 27.86%
  width = 187 / 420 = 44.52%
*/
.service-card__icon-slot {
  position: absolute;
  left: 27.86%;
  top: 24.48%;
  width: 44.52%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon-slot img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.service-card:nth-child(3) .service-card__icon-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 20px 52px rgba(22, 25, 58, 0.12);
}

.service-card::before {
  display: none;
}

/* ── Top accent tab ── */
.service-card__tab {
  height: 5px;
  background: var(--grad-btn);
  border-radius: 0;
  flex-shrink: 0;
}

/* ── Icon area ── */
.service-card__icon-wrap {
  padding: 28px 28px 0;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.service-card__icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--clr-peach);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Card text content area ── */
.service-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 24px 32px;
  flex: 1;
}

.service-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-red);
  line-height: 1.3;
  margin: 0 0 12px;
}


.service-card__divider-y {
  width: 36px;
  height: 3px;
  background: var( --clr-yellow);
  border-radius: 2px;
  margin: 0 0 16px;
}

.service-card__divider-o {
  width: 36px;
  height: 3px;
  background: var(--clr-orange);
  border-radius: 2px;
  margin: 0 0 16px;
}

.service-card__divider-r {
  width: 36px;
  height: 3px;
  background: var(--clr-red);
  border-radius: 2px;
  margin: 0 0 16px;
}

.service-card__body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--clr-muted);
  flex: 1;
}


/* ============================================================
   SERVICES PAGE — CTA Banner
   ============================================================ */
.services-cta {
  padding: 0 0 clamp(64px, 8vw, 96px);
}

.services-cta__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px);
  background: var(--clr-peach);
  border-radius: 20px;
  overflow: hidden;
}

/* Concentric ring arcs (bottom-right) — echo the target icon motif */
.services-cta__card::before {
  content: '';
  position: absolute;
  bottom: -72px;
  right: -72px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 26px solid rgba(244, 121, 32, 0.2);
  pointer-events: none;
  z-index: 0;
}

.services-cta__card::after {
  content: '';
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  border: 18px solid rgba(238, 47, 83, 0.15);
  pointer-events: none;
  z-index: 0;
}

.services-cta__icon {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.services-cta__icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.services-cta__text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.services-cta__heading {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--clr-red);
  margin-bottom: 4px;
  line-height: 1.2;
}

.services-cta__sub {
  font-size: 15px;
  color: var(--clr-navy);
  opacity: 0.75;
}

.services-cta__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 32px;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 35px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: opacity 0.2s, transform 0.2s;
}

.services-cta__btn:hover {
  opacity: 0.9;
  transform: translateX(3px);
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio {
  padding: clamp(48px, 8vw, 80px) 0;
  position: relative;
  overflow: hidden;
}

.portfolio__section-title {
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--clr-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio__divider {
  width: 48px;
  height: 3px;
  background: var(--grad-btn);
  border-radius: 2px;
  margin: 10px 0 32px;
}

.project-label {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-navy);
  opacity: 0.6;
  margin-bottom: 10px;
}

.testimonial-attribution {
  margin-top: 24px;
  font-weight: 700;
  text-align: right;
  color: var(--clr-navy);
}

.testimonial-attribution span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 2px;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  background: #ddd;
  min-height: clamp(220px, 32vw, 300px);
  position: relative;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.project-card__title {
  font-weight: 700;
  font-size: 20px;
}

.project-card__desc {
  font-size: 14px;
  margin-top: 4px;
}

.projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.projects-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.projects-nav button {
  background: none;
  border: none;
  font-size: 36px;
  color: var(--clr-navy);
  cursor: pointer;
  transition: color 0.2s;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 12px;
  border-radius: 8px;
}
.projects-nav button:hover { color: var(--clr-orange); }

/* Image Showcase Carousel */
.img-showcase {
  margin-bottom: 80px;
}

.img-showcase__viewer {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 20px;
}

.img-showcase__main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ddd;
  box-shadow: 0 8px 32px rgba(22, 25, 58, 0.14);
}

.img-showcase__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.img-showcase__counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.img-showcase__info {
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 4px 24px rgba(22, 25, 58, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: opacity 0.22s ease;
}

.img-showcase__info-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-orange);
}

.img-showcase__info-title {
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--clr-red);
  line-height: 1.25;
}

.img-showcase__info-divider {
  width: 48px;
  height: 3px;
  background: var(--grad-btn);
  border-radius: 2px;
}

.img-showcase__info-body {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  color: var(--clr-navy);
  flex: 1;
  white-space: pre-line;
}

.img-showcase__carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

.img-showcase__carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--clr-orange);
  background: #fff;
  color: var(--clr-orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.img-showcase__carousel-arrow:hover {
  background: var(--clr-orange);
  color: #fff;
  box-shadow: 0 4px 18px rgba(244, 121, 32, 0.28);
}

.img-showcase__thumbs {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  border-radius: 12px;
}

.img-showcase__thumbs-track {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.img-showcase__thumb {
  position: relative;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  flex: 0 0 calc(33.333% - 8px);
  opacity: 0.65;
  transform: scale(0.88);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.42s ease,
              box-shadow 0.42s ease;
}

.img-showcase__thumb.active {
  box-shadow: 0 8px 28px rgba(22, 25, 58, 0.22);
  opacity: 1;
  transform: scale(1.08);
}

.img-showcase__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Testimonials */
.testimonials {
  margin-top: 80px;
}

.testimonial-viewport {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  touch-action: pan-y;
}

.testimonial-card {
  background: #e8e8e8;
  border-radius: 16px;
  padding: clamp(24px, 5vw, 48px);
  flex: 1;
  user-select: none;
}

.testimonial-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--clr-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(21, 25, 50, 0.12);
  transition: background 0.22s, color 0.22s, transform 0.22s;
}
.testimonial-arrow:hover {
  background: var(--clr-orange);
  color: #fff;
  transform: scale(1.06);
}
.testimonial-arrow:focus-visible {
  outline: 2px solid var(--clr-orange);
  outline-offset: 3px;
}
.testimonial-arrow[hidden] { display: none; }

@media (max-width: 640px) {
  .testimonial-arrow { width: 38px; height: 38px; }
}

.testimonial-card__text {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
  font-style: italic;
  color: var(--clr-navy);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  box-sizing: content-box;
  padding: 8px;
  background-clip: content-box;
  transition: background 0.2s, width 0.2s;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}
.testimonial-dots button:hover { background: var(--clr-indigo); background-clip: content-box; }
.testimonial-dots button.active {
  width: 36px;
  border-radius: 5px;
  background: var(--clr-orange);
  background-clip: content-box;
}

.portfolio__divider--wide { width: 64px; }


/* ============================================================
   CONTACT / ENQUIRY PAGE
   ============================================================ */
.contact-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--clr-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 40px rgba(21, 25, 50, 0.13);
  padding: 40px;
}

/* ---- Left: Get in Touch card ---- */
.contact-info__content {
  position: relative;
  border-radius: 16px;
  background-color: #FCDCA2;
  overflow: hidden;
}


.contact-info__bg { display: none; }

.contact-info__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px 64px 40px;
}

.contact-info__title {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin-bottom: 10px;
}
.contact-info__title .orange { color: var(--clr-orange); }
.contact-info__title .dark   { color: var(--clr-dark-navy); }

.contact-info__dividers {
  margin-bottom: 16px;
}
.contact-info__dividers span {
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-cta);
}

.contact-info__text {
  font-size: 14px;
  line-height: 1.7;
  color: #5a4a3a;
}

.contact-info__details {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(20px, 3vw, 32px);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-detail__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--clr-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-detail__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: 3px;
}

.contact-detail__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-dark-navy);
  line-height: 1.5;
}
a.contact-detail__value {
  display: inline-block;
  text-decoration: none;
  transition: color 0.18s;
}
a.contact-detail__value:hover,
a.contact-detail__value:focus-visible {
  color: var(--clr-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Right: Enquiry form ---- */
.contact-form-wrap {
  padding: clamp(24px, 3.5vw, 36px) 0 0;
}

.contact-form__title {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--clr-red);
  margin-bottom: 10px;
  line-height: 1.15;
}

.contact-form__dividers {
  margin-bottom: 10px;
}
.contact-form__dividers span {
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-cta);
}

.contact-form__subtitle {
  font-size: 14px;
  line-height: 1.65;
  color: #777;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clr-dark-navy);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--clr-red); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-primary);
  font-size: 14px;
  padding: 11px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 44px;
  color: var(--clr-dark-navy);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.12);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--clr-red);
  background: #fff5f7;
}

.form-error {
  color: var(--clr-red);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23f47920' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-color: #fafafa;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}


.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 28px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.form-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--clr-orange); flex-shrink: 0; }
.form-consent a { color: var(--clr-orange); font-weight: 600; text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

.btn-submit {
  width: auto;
  display: block;
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--ff-primary);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(238, 47, 83, 0.32);
}
.btn-submit--sent {
  background: var(--clr-orange) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ============================================================
   FORM SUCCESS CARD
   ============================================================ */
.contact-form-wrap--sent .contact-form__title,
.contact-form-wrap--sent .contact-form__dividers,
.contact-form-wrap--sent .contact-form__subtitle,
.contact-form-wrap--sent #enquiry-form { display: none; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 48px);
  min-height: 420px;
  animation: form-success-in 0.5s ease-out both;
}
.contact-form-wrap--sent .form-success {
  display: flex;
}

@keyframes form-success-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-success { animation: none; }
}

.form-success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(238, 47, 83, 0.28);
}

.form-success__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--clr-navy);
  margin-bottom: 12px;
}

.form-success__message {
  font-size: 16px;
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 32px;
}

.form-success__reset {
  background: transparent;
  border: 2px solid var(--clr-orange);
  color: var(--clr-orange);
  font-family: var(--ff-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.form-success__reset:hover {
  background: var(--clr-orange);
  color: #fff;
}

/* ============================================================
   WHY CHOOSE US PAGE
   ============================================================ */
.why-choose {
  background: #fff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.why-choose__title {
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
}
.why-choose__title .orange { color: var(--clr-orange); }

.why-choose__img {
  width: 100%;
  margin-top: 40px;
  border-radius: 12px;
}

/* ============================================================
   RESPONSIVE — desktop-first cascade: 1024 → 768 → 640 → 480
   ============================================================ */

/* --- TABLET LANDSCAPE & DOWN (≤1024px) --- */
@media (max-width: 1024px) {
  .footer__links { border-left: none; padding-left: 0; }

  .nav-bar {
    display: flex;
    justify-content: space-between;
  }
  .nav-logo {
    position: static;
    transform: none;
    justify-self: unset;
  }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  /* OPEN: full-screen overlay — logo + X are absolute, links center in viewport */
  body.menu-open .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    height: 100dvh;
    height: 100vh;
    height: 100dvh;
    z-index: 9990;
    background: var(--clr-navy);
  }
  body.menu-open .nav-bar {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: var(--clr-navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px 40px;
    box-shadow: none;
    overflow: hidden;
    animation: nav-overlay-in 0.25s ease-out;
    gap: 0;
  }

  /* Logo absolutely positioned top-left — removed from flex flow */
  body.menu-open .nav-logo {
    position: absolute;
    top: 20px;
    left: 24px;
    transform: none;
  }
  body.menu-open .nav-bar .nav-logo img {
    height: 48px;
    border-radius: 0;
    filter: brightness(0) invert(1);
    width: auto;
  }

  /* Close button absolutely positioned top-right */
  body.menu-open .nav-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
  }
  body.menu-open .nav-toggle:hover { opacity: 0.7; }
  body.menu-open .nav-toggle span { background: #fff; }

  /* Both .nav-links groups are the only flex children — center naturally */
  body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4px;
    margin: 0;
  }
  /* Subtle peach-tinted divider between the two link groups */
  body.menu-open .nav-links:first-of-type {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 197, 173, 0.25);
    margin-bottom: 16px;
  }

  body.menu-open .nav-links a {
    color: #fff;
    font-size: clamp(20px, 4.5vw, 28px);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 10px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: color 0.2s, background 0.2s;
    animation: nav-link-in 0.35s ease-out both;
  }
  body.menu-open .nav-links a:nth-child(1) { animation-delay: 0.05s; }
  body.menu-open .nav-links a:nth-child(2) { animation-delay: 0.10s; }
  body.menu-open .nav-links a:nth-child(3) { animation-delay: 0.15s; }
  body.menu-open .nav-links:last-of-type a:nth-child(1) { animation-delay: 0.20s; }
  body.menu-open .nav-links:last-of-type a:nth-child(2) { animation-delay: 0.25s; }
  body.menu-open .nav-links:last-of-type a:nth-child(3) { animation-delay: 0.30s; }

  body.menu-open .nav-links a:hover { background: rgba(255,255,255,0.08); color: var(--clr-orange); }
  body.menu-open .nav-links a:focus-visible { background: rgba(255,255,255,0.1); }
  body.menu-open .nav-links a.active {
    background: var(--clr-peach);
    color: var(--clr-navy);
  }

  /* Contact Us CTA — gradient pill, centered */
  body.menu-open .nav-cta {
    display: inline-flex;
    justify-content: center;
    background: var(--grad-btn);
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 999px;
    font-size: clamp(15px, 2.5vw, 17px);
    width: auto !important;
    max-width: 220px;
    margin-top: 4px;
  }
  body.menu-open .nav-cta:hover { opacity: 0.9; }

  /* Brand accent — diagonal gradient blobs in overlay corners */
  body.menu-open .nav-bar::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    background: linear-gradient(135deg, var(--clr-red), var(--clr-orange));
    border-radius: 60px;
    transform: rotate(22deg);
    opacity: 0.11;
    pointer-events: none;
  }
  body.menu-open .nav-bar::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--clr-orange), var(--clr-red));
    border-radius: 40px;
    transform: rotate(-18deg);
    opacity: 0.07;
    pointer-events: none;
  }

  /* Tagline pinned to bottom of overlay */
  body.menu-open .nav-tagline {
    display: block;
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: clamp(13px, 2.8vw, 16px);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
    pointer-events: none;
  }
  body.menu-open .nav-tagline .orange { color: var(--clr-orange); }
  body.menu-open .nav-tagline .red    { color: var(--clr-red); }

  /* Hero scaling on tablet landscape */
  .hero { min-height: clamp(420px, 70vh, 600px); }

  /* Footer collapses to 2 columns */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Team card stacks */
  .team-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .team-card__visual {
    padding: clamp(40px, 7vw, 60px) clamp(24px, 5vw, 60px) clamp(40px, 6vw, 56px);
  }
  /* Anchor accent to the centered photo's bottom-left corner.
     Photo is max 340px wide, so its left edge ≈ 50% - 170px.
     Offset 30px further left so the accent peeks out behind it. */
  .team-card__accent {
    bottom: clamp(20px, 4vw, 32px);
    left: max(24px, calc(50% - 200px));
    width: clamp(160px, 38vw, 220px);
  }

  /* Contact grid stacks */
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .contact-form-wrap { padding: 0; }
  .contact-info__body { padding: 36px 32px 56px 36px; }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Portfolio: stack hero column, drop projects-row to 2 cols */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Gallery showcase: stack viewer on tablet */
  .img-showcase__viewer {
    grid-template-columns: 1fr;
  }

  /* Collage: top row drops from 3 to 2 cols */
  .collage__top { grid-template-columns: repeat(2, 1fr); }

  /* Why Choose Us: drop to 2 columns on tablet landscape */
  .why-cards { grid-template-columns: repeat(2, 1fr); }

  /* Services: 2 columns on tablet landscape */
  .services-grid__row { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { grid-column: 1 / -1; max-width: 380px; margin: 0 auto; }
}

/* --- TABLET PORTRAIT (≤768px) — closes the biggest gap --- */
@media (max-width: 768px) {
  .contact-info__body { padding: 32px 28px 52px 32px; }
  /* Logo shrinks so the centered nav stops crowding the hamburger */
  .nav-bar { padding: 8px 20px; height: 76px; }
  .nav-bar .nav-logo img { height: 56px; }

  /* Footer collapses to single column */
  .footer__inner {
    grid-template-columns: 1fr;
  }

  /* Team-card image and accent need to be visible together */
  .team-card__accent {
    width: clamp(160px, 40vw, 240px);
  }

  /* Page-hero decor element shrinks aggressively to avoid horizontal scroll */
  .page-hero__decor {
    width: clamp(140px, 30vw, 220px);
    top: clamp(40px, 8vw, 80px);
  }

  /* About body line-height tightens slightly */
  .about__body { line-height: 1.7; }

  /* Services CTA stacks on tablet */
  .services-cta__card {
    flex-direction: column;
    text-align: center;
  }
  .services-cta__btn { align-self: center; }
}

/* --- SERVICES CTA — refined mobile composition (≤640px) --- */
@media (max-width: 640px) {
  .services-cta__card {
    gap: 18px;
    padding: 56px 28px 32px;
    border-radius: 22px;
    background:
      radial-gradient(120% 70% at 50% 0%, #ffd8c2 0%, var(--clr-peach) 60%, #f8b89b 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.5),
      0 18px 32px -16px rgba(244,121,32,0.35);
  }
  /* Hide the desktop bottom-right outer ring at mobile — composition centers on the icon */
  .services-cta__card::before { display: none; }
  /* Concentric ring motif relocates to frame the icon — target hits the center */
  .services-cta__card::after {
    width: 168px;
    height: 168px;
    top: 22px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    border: 1.5px dashed rgba(244,121,32,0.45);
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 60%);
  }
  /* Icon enlarges and gets a soft halo ring */
  .services-cta__icon {
    margin-top: 6px;
    position: relative;
  }
  .services-cta__icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(238,47,83,0.18);
    pointer-events: none;
  }
  .services-cta__icon-circle {
    width: 92px;
    height: 92px;
    box-shadow:
      0 0 0 6px rgba(255,255,255,0.55),
      0 10px 22px -8px rgba(22,25,58,0.25);
  }
  /* Eyebrow tag above the heading using ::before pseudo on heading */
  .services-cta__text { margin-top: 4px; }
  .services-cta__heading {
    font-size: clamp(22px, 5.6vw, 28px);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .services-cta__heading::before {
    content: 'LET\2019S COLLABORATE';
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--clr-orange);
    margin-bottom: 10px;
  }
  .services-cta__sub {
    font-size: 15px;
    line-height: 1.65;
    max-width: 32ch;
    margin: 0 auto;
  }
  .services-cta__btn {
    margin-top: 6px;
    padding: 15px 30px 15px 32px;
    font-size: 14.5px;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 22px -10px rgba(238,47,83,0.55);
  }
}

/* --- SERVICES CTA — small phone tightening (≤480px) --- */
@media (max-width: 480px) {
  .services-cta__card {
    padding: 52px 22px 28px;
    border-radius: 20px;
  }
  .services-cta__card::after {
    width: 148px;
    height: 148px;
    top: 18px;
  }
  .services-cta__icon-circle {
    width: 84px;
    height: 84px;
  }
  .services-cta__heading {
    font-size: clamp(20px, 6vw, 26px);
  }
  .services-cta__heading::before {
    font-size: 10px;
    letter-spacing: 0.28em;
    margin-bottom: 8px;
  }
  .services-cta__sub {
    font-size: 14.5px;
  }
  .services-cta__btn {
    padding: 14px 26px;
    font-size: 14px;
  }
}

/* --- LARGE PHONE (≤640px) --- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .nav-bar { padding: 8px 16px; height: 72px; }
  .nav-bar .nav-logo img { height: 48px; }

  .hero__content { padding-top: clamp(110px, 22vw, 150px); }
  .hero__heading { font-size: clamp(34px, 10vw, 48px); line-height: 1.05; }
  .hero__sub {
    font-size: clamp(11px, 4vw, 15px);
    margin-top: 18px;
    max-width: none;
    padding-right: 8px;
  }

  .hero__actions {
    flex-direction: column;
    margin-top: 24px;
    gap: 10px;
  }
  .hero__actions .btn-primary,
  .hero__actions .btn-outline {
    width: fit-content;
  }

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

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

  /* Collage fully stacks */
  .collage__top,
  .collage__bottom { grid-template-columns: 1fr; }

  /* Services: single column on mobile */
  .services-grid__row { grid-template-columns: 1fr; }
  .service-card:nth-child(3) { grid-column: auto; max-width: none; margin: 0; }

  /* Team mini-grid: comfortable single column */
  .team-home__grid { gap: 32px; }

  /* Past management label */
  .past-mgmt__title { margin-bottom: 8px; }
  .past-mgmt__sub   { margin-bottom: 28px; }

  /* Tighten page-hero on phones — kills the dead band beneath the heading */
  .page-hero {
    padding-top: clamp(96px, 22vw, 120px);
    padding-bottom: clamp(28px, 6vw, 44px);
  }
  .page-hero--team,
  .page-hero--portfolio,
  .page-hero--services,
  .page-hero--contact {
    min-height: auto;
  }
.page-hero__sub { margin-top: 16px; }

  .contact-info__body { padding: 28px 24px 30px; }
  .contact-info__details {
    gap: 14px;
    margin-top: 18px;
  }

  /* ----------------------------------------------------------
     Team cards — editorial mobile composition
     Photo sits on a tilted yellow "stage" with a peach glow;
     role becomes a tracked eyebrow above a magazine-scale name,
     followed by a 3-segment brand bar divider.
     ---------------------------------------------------------- */
  .team-page { padding: 40px 0 24px; }

  .team-card {
    border-radius: 24px;
    box-shadow:
      0 1px 0 rgba(238,47,83,0.05),
      0 24px 48px -18px rgba(22,25,58,0.22),
      0 4px 14px rgba(22,25,58,0.06);
    background: #fff;
    margin: 0 auto 48px;
    overflow: hidden;
  }

  .team-card__visual {
    padding: 44px 24px 28px;
    background:
      radial-gradient(120% 70% at 50% 100%, rgba(255,197,173,0.55) 0%, rgba(255,197,173,0) 65%),
      linear-gradient(180deg, #fff 0%, #fff 55%, #fff7ec 100%);
    position: relative;
    overflow: hidden;
  }
  /* Soft peach orb top-right adds depth without competing with the portrait */
  .team-card__visual::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -52px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--clr-peach) 0%, rgba(255,197,173,0) 70%);
    z-index: 0;
    pointer-events: none;
  }
  /* Brand triple-dot signature beneath the portrait */
  .team-card__visual::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 6px;
    background:
      radial-gradient(circle 3px at 3px 3px, var(--clr-yellow) 100%, transparent 0),
      radial-gradient(circle 3px at 19px 3px, var(--clr-orange) 100%, transparent 0),
      radial-gradient(circle 3px at 35px 3px, var(--clr-red) 100%, transparent 0);
    background-repeat: no-repeat;
  }

  /* Accent becomes a tilted yellow "stage" centered behind the portrait */
  .team-card__accent {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    width: 78%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1.08;
    background: var(--clr-yellow);
    border-radius: 22px;
    transform: translate(-46%, -54%) rotate(-4deg);
    box-shadow: 0 16px 28px -10px rgba(255,204,4,0.42);
  }

  .team-card__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 260px;
    border: 4px solid #fff;
    border-radius: 18px;
    box-shadow:
      0 0 0 1px rgba(22,25,58,0.18),
      0 20px 30px -12px rgba(22,25,58,0.38);
  }

  /* Reorder info as: eyebrow role → big name → brand bar → bio */
  .team-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 26px 36px;
  }
  .team-card__role {
    order: 1;
    margin-top: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-orange);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .team-card__role::before,
  .team-card__role::after {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-orange));
  }
  .team-card__role::after {
    background: linear-gradient(90deg, var(--clr-orange), transparent);
  }
  .team-card__name {
    order: 2;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-top: 8px;
  }
  .team-card__divider {
    order: 3;
    width: 72px;
    height: 3px;
    margin: 18px auto 16px;
    border-radius: 0;
    background: linear-gradient(90deg,
      var(--clr-yellow) 0 33.33%,
      var(--clr-orange) 33.33% 66.66%,
      var(--clr-red) 66.66% 100%);
  }
  .team-card__desc {
    order: 4;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(22,25,58,0.78);
    max-width: 38ch;
  }
}

/* --- SMALL PHONE (≤480px) --- */
@media (max-width: 480px) {
  .nav-bar { height: 64px; padding: 8px 12px; }
  .nav-bar .nav-logo img { height: 42px; }
  .site-header { top: 12px; }

  .btn-primary,
  .btn-outline,
  .btn-submit { padding: 11px 22px; }

  .hero { min-height: 440px; }

  /* Contact: give the card proper breathing room on narrow phones */
  .contact-grid { padding: 20px 16px; gap: 18px; border-radius: 16px; }

  /* Soften the nested-card look at this size */
  .contact-info__content { border-radius: 12px; }

  /* Symmetric, compact info body */
  .contact-info__body { padding: 18px 16px 20px; }

  /* Gap already provides separation — minimal top padding on form */
  .contact-form-wrap { padding: 6px 0 0; }

  /* Compact form inputs for small screens */
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 10px 12px; min-height: 40px; font-size: 13px; }

  .form-row { gap: 12px; margin-bottom: 12px; }

  .contact-form__subtitle { font-size: 13px; margin-bottom: 18px; }

  .contact-detail__value { font-size: 13px; }

  /* Submit button full-width on small phones for easy tap */
  .btn-submit { width: 100%; }

  /* Get in Touch: shrink icons on small phones */
  .contact-detail__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }

  /* Team card — scale the editorial composition down for small phones */
  .team-card {
    border-radius: 20px;
    margin-bottom: 36px;
  }
  .team-card__visual {
    padding: 36px 18px 24px;
  }
  .team-card__visual::before {
    width: 140px;
    height: 140px;
    top: -32px;
    right: -44px;
  }
  .team-card__accent {
    width: 84%;
    transform: translate(-46%, -54%) rotate(-3deg);
  }
  .team-card__photo {
    max-width: 220px;
    border-width: 3px;
  }
  .team-card__info {
    padding: 12px 22px 32px;
  }
  .team-card__role {
    font-size: 10.5px;
    letter-spacing: 0.26em;
  }
  .team-card__role::before,
  .team-card__role::after { width: 18px; }
  .team-card__name {
    font-size: clamp(26px, 8.8vw, 34px);
  }
  .team-card__divider {
    width: 60px;
    margin: 14px auto 12px;
  }
  .team-card__desc {
    font-size: 14.5px;
    line-height: 1.7;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--motion-fade) ease-out, transform var(--motion-fade) ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  body.menu-open .nav-bar,
  body.menu-open .nav-links a { animation: none !important; }
}

/* Mobile-nav overlay keyframes */
@keyframes nav-overlay-in {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes nav-link-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Body scroll lock helper (also set inline by JS for iOS) */
body.menu-open { overflow: hidden; }
