/* ===========================
   FOURGE BRANDING — styles.css
   =========================== */

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

:root {
  /* Fourge Brand Colors */
  --gold:       #FBAF1B;
  --gold-dark:  #D4911A;
  --blue:       #222160;
  --blue-2:     #1c1b52;  /* darker blue for cards on blue bg */
  --blue-3:     #2d2c7a;  /* lighter blue for hover/accent */
  --teal:       #33BCAD;
  --teal-dark:  #289d90;
  --pink:       #E10A8C;
  --black:      #000000;
  --black-2:    #111111;  /* cards on black bg */
  --black-3:    #1a1a1a;  /* slightly lighter on black */
  /* Aliases */
  --orange:     #FBAF1B;
  --orange-dark:#D4911A;
  --dark:       #1a1a1a;
  --dark-2:     #242424;
  --dark-3:     #2e2e2e;
  --mid:        #4a4a4a;
  --muted:      #888;
  --light:      #f5f5f5;
  --white:      #ffffff;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.14);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--dark);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--dark-3);
  border-color: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Combined nav pill */
.nav__pill {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.nav__pill:hover {
  border-color: rgba(255,255,255,.4);
}

.nav__pill-btn {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav__pill-btn:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}

.nav__pill-btn--accent {
  background: var(--orange);
  color: var(--dark);
}
.nav__pill-btn--accent:hover {
  background: var(--orange-dark);
  color: var(--dark);
}

.nav__pill-divider {
  width: 1.5px;
  height: 20px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* --- Section shared --- */
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

.section-header h2 em,
h1 em, h2 em {
  font-style: normal;
  color: var(--orange);
}

.section-sub {
  margin-top: 14px;
  color: var(--mid);
  font-size: 1.05rem;
  max-width: 100%;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(26,26,26,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
}
.nav__logo strong { font-weight: 800; }

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__links .btn { margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(180,180,180,.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(180,180,180,.04) 0%, transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(60px, 10vw, 120px);
  text-align: left;
  width: 100%;
  align-self: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero__headline {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero__sub {
  color: rgba(255,255,255,.65);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}


/* ===========================
   MARQUEE
   =========================== */
.marquee {
  background: var(--orange);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: marquee 28s linear infinite;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
}

.marquee__track .sep {
  font-size: .6rem;
  opacity: .6;
}

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

/* ===========================
   BELIEF
   =========================== */
.belief {
  background: var(--dark);
  padding: clamp(60px, 8vw, 100px) 0;
}

.belief__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.belief__quote {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  border-left: 3px solid var(--orange);
  padding-left: 24px;
  margin-bottom: 20px;
}

.belief__body {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 580px;
  padding-left: 27px;
}

.belief__stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-shrink: 0;
}

.stat {
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-section {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--white);
}

.about__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.about__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.about__left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.about__tagline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  font-style: italic;
}

.about__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
  aspect-ratio: 4/3;
  background: var(--light);
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.about__img:hover img { transform: scale(1.03); }

.about__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 52px;
}

.about__right p {
  color: var(--mid);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.about__pills span {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--light);
  color: var(--dark);
  border: 1px solid rgba(0,0,0,.08);
  transition: background var(--transition), color var(--transition);
}

.about__pills span:hover {
  background: var(--orange);
  color: var(--dark);
  border-color: var(--orange);
}

/* ===========================
   TEAM
   =========================== */
.team {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--light);
}

.team .section-header h2 { color: var(--dark); }
.team .section-sub { color: var(--mid); }

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

.team-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(251,175,27,.4);
}

.team-card__photo-wrap {
  flex-shrink: 0;
  padding: 24px 16px 24px 24px;
}

.team-card__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: #d0d0d0;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.05);
  transition: filter .4s ease, transform .5s ease;
}

.team-card:hover .team-card__photo img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.04);
}

.team-card__body {
  padding: 24px 20px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.team-card__body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}

.team-card__role {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-card__body p {
  font-size: .83rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--dark);
}

.section-header--light h2 { color: var(--white); }
.section-sub--light { color: rgba(255,255,255,.45); }

/* Featured hero cards */
.services__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.service-hero {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
  border: 1px solid rgba(251,175,27,.2);
  border-radius: var(--radius-md);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(251,175,27,.08), transparent);
  pointer-events: none;
}

.service-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  border-color: rgba(251,175,27,.45);
}

.service-hero--alt {
  background: linear-gradient(135deg, rgba(251,175,27,.12) 0%, var(--dark-2) 60%);
  border-color: rgba(251,175,27,.3);
}
.service-hero--alt::before {
  background: radial-gradient(ellipse 60% 60% at 0% 100%, rgba(251,175,27,.1), transparent);
}

.service-hero__icon {
  width: 56px;
  height: 56px;
  background: rgba(251,175,27,.15);
  border: 1px solid rgba(251,175,27,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.service-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  width: fit-content;
}
.service-hero__badge::before {
  content: '★';
  font-size: .65rem;
}

.service-hero h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}

.service-hero p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.75;
  flex: 1;
}

.service-hero .btn { width: fit-content; margin-top: 4px; }

/* Supporting service cards */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  border-color: rgba(251,175,27,.25);
}

.service-card--cta {
  background: var(--orange);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card--cta h3 { color: var(--dark); font-size: 1.2rem; }
.service-card--cta p { color: rgba(26,26,26,.7); margin-bottom: 20px; }
.service-card--cta:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(245,166,35,.25); border-color: transparent; }

.service-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(251,175,27,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.service-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-card__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card__link:hover { gap: 8px; }

/* ===========================
   PROCESS
   =========================== */
.process {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--white);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step__num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .9;
}

.process__step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.process__step p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.6;
}

.process__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(251,175,27,.3));
  margin-top: 28px;
  border-radius: 2px;
}

/* ===========================
   WORK
   =========================== */
.work {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--light);
}

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

.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-card__img {
  height: 220px;
  background-color: #e0e0e0;
  position: relative;
  overflow: hidden;
}

/* Placeholder gradient swatches for portfolio */
.work-card__img--1 { background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 50%, #F5A623 100%); }
.work-card__img--2 { background: linear-gradient(135deg, #F5A623 0%, #D4881A 50%, #1a1a1a 100%); }
.work-card__img--3 { background: linear-gradient(135deg, #2e2e2e 0%, #1a1a1a 40%, #F5A623 100%); }
.work-card__img--4 { background: linear-gradient(135deg, #D4881A 0%, #F5A623 50%, #242424 100%); }

.work-card__img::after {
  content: 'Coming Soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-card__info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-card__tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
}

.work-card__info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

/* ===========================
   CONTACT (merged with CTA band)
   =========================== */
.contact {
  background: var(--orange);
  padding: clamp(72px, 10vw, 120px) 0;
}

.contact__headline {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.contact__headline h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.contact__headline h2 em {
  font-style: normal;
  color: var(--white);
}

.contact__headline p {
  color: rgba(26,26,26,.6);
  font-size: 1.05rem;
  margin-top: 12px;
}

.contact__outer {
  /* uses .container max-width */
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
}

.contact__info {
  padding: clamp(36px, 5vw, 56px);
  background: var(--dark-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__info .section-tag { color: var(--orange); margin-bottom: 0; }

.contact__info h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.contact__info > p {
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  font-size: .95rem;
  margin-bottom: 8px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.55);
  font-size: .92rem;
}
.contact__details li svg { color: var(--orange); flex-shrink: 0; }
.contact__details a { color: rgba(255,255,255,.55); }
.contact__details a:hover { color: var(--orange); }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(36px, 5vw, 56px);
  background: var(--dark);
}

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

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

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--white);
  background: rgba(255,255,255,.07);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.25);
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}

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

.form-note {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  margin-top: -4px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
  color: var(--white);
}

.footer__brand p {
  color: rgba(255,255,255,.45);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h5 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 6px;
}

.footer__links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--orange); }

.footer__bottom {
  padding-block: 20px;
}
.footer__bottom p {
  color: rgba(255,255,255,.25);
  font-size: .82rem;
  text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process__step { max-width: 320px; }

  .process__connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--orange), rgba(251,175,27,.3));
    margin: 0 auto;
  }

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

  .belief__stats {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

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

  .about__left {
    position: static;
  }

  .about__right {
    padding-top: 0;
  }

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

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


/* Mobile: ≤ 640px */
@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background: var(--dark-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
    z-index: 99;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav__pill {
    margin-top: 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }
  .nav__pill-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
  }

  .nav__hamburger { display: flex; z-index: 101; }

  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 98;
    backdrop-filter: blur(2px);
  }
  .nav__overlay.open { display: block; }

  .hero__headline {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

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

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

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

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

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

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .team-card { flex-direction: column; align-items: center; }
  .team-card__photo-wrap { padding: 24px 24px 0; }
  .team-card__body { padding: 16px 24px 24px; }
}

/* ===========================
   ANIMATIONS
   =========================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }
}
