/* ============================================
   KINLINE CPAs V2 — Bold Color Block Design
   Inspired by Hoskens + Suretax
   ============================================ */

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

:root {
  /* Warm earthy palette */
  --cream: #f5f0e8;
  --sand: #e8dfd3;
  --warm-white: #faf7f2;
  --white: #ffffff;
  --orange: #ed6c4e;
  --orange-dark: #d85a3d;
  --orange-light: #f4a58e;
  --copper: #c4703f;
  --charcoal: #1c1917;
  --dark: #0f0e0c;
  --dark-card: #1a1816;
  --text-primary: #1c1917;
  --text-secondary: #6b6560;
  --text-muted: #9c9590;
  --text-on-dark: #f5f0e8;
  --border-light: #ddd6cc;
  --border-dark: rgba(255,255,255,0.08);

  /* Type */
  --font-display: 'Playfair Display', serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  /* Scale */
  --text-hero: clamp(3.5rem, 8vw, 7rem);
  --text-6xl: clamp(3rem, 6vw, 5rem);
  --text-5xl: clamp(2.25rem, 5vw, 3.75rem);
  --text-4xl: clamp(2rem, 4vw, 3rem);
  --text-3xl: clamp(1.5rem, 3vw, 2rem);
  --text-xl: clamp(1.1rem, 1.5vw, 1.25rem);
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Spacing */
  --section-gap: clamp(5rem, 10vw, 8rem);
  --container-max: 1320px;
  --gutter: clamp(1.5rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.7s;

  --radius: 16px;
  --radius-sm: 8px;
}

/* --- Base --- */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--warm-white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--orange); color: #fff; }

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

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

section { padding-block: var(--section-gap); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.nav--scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.875rem 0;
}

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

.nav__logo svg { height: 28px; width: auto; }

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

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

/* White nav over hero */
.nav--hero .nav__link { color: rgba(255,255,255,0.75); }
.nav--hero .nav__link:hover,
.nav--hero .nav__link--active { color: #fff; }
.nav--hero .nav__cta { background: #fff; color: var(--charcoal); }
.nav--hero .nav__cta:hover { background: var(--cream); }

.nav__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

/* Mobile */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav--hero .nav__toggle span { background: #fff; }

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav__mobile.active { opacity: 1; pointer-events: all; }

.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  transition: color 0.3s;
}

.nav__mobile a:hover { color: var(--orange); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(237,108,78,0.3); }

.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #2c2825; transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--charcoal); }
.btn--white:hover { background: var(--cream); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--border-light); }
.btn--outline:hover { border-color: var(--charcoal); transform: translateY(-2px); }

.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid var(--border-dark); }
.btn--outline-light:hover { border-color: rgba(255,255,255,0.3); }

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================
   HERO — Split color block
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem var(--gutter) 4rem;
  background: var(--charcoal);
  position: relative;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2rem;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--orange);
}

.hero__title {
  font-size: var(--text-hero);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero__title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__right {
  position: relative;
  overflow: hidden;
}

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

/* Orange accent stripe at the top of the image side */
.hero__right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--orange);
  z-index: 2;
}

/* Hero entrance animations */
.hero__label { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s var(--ease) 0.2s forwards; }
.hero__title { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s var(--ease) 0.4s forwards; }
.hero__subtitle { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s var(--ease) 0.6s forwards; }
.hero__actions { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s var(--ease) 0.8s forwards; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   INTRO — Two columns like Suretax welcome
   ============================================ */
.intro {
  background: var(--warm-white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.intro__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.intro__title {
  font-size: var(--text-5xl);
}

.intro__text {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: var(--text-lg);
}

/* ============================================
   COLOR BLOCKS — Hoskens-inspired
   ============================================ */
.color-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.color-block {
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.color-block--orange {
  background: var(--orange);
  color: #fff;
}

.color-block--dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.color-block--cream {
  background: var(--cream);
}

.color-block--sand {
  background: var(--sand);
}

.color-block__number {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  opacity: 0.2;
  margin-bottom: 1rem;
  line-height: 1;
}

.color-block__title {
  font-size: var(--text-4xl);
  margin-bottom: 1rem;
}

.color-block__text {
  opacity: 0.8;
  line-height: 1.7;
  max-width: 480px;
}

.color-block__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease);
}

.color-block__link:hover { gap: 0.875rem; }

/* ============================================
   PILLARS — Horizontal strip on warm bg
   ============================================ */
.pillars {
  background: var(--cream);
}

.pillars__header {
  margin-bottom: 4rem;
}

.pillars__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.pillars__title {
  font-size: var(--text-5xl);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pillar {
  padding: 2.5rem 2rem;
  border-left: 1px solid var(--border-light);
  position: relative;
}

.pillar:first-child { border-left: none; }

.pillar__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.pillar__title {
  font-size: var(--text-3xl);
  margin-bottom: 0.75rem;
}

.pillar__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   BENEFITS — Dark section, card grid (Suretax)
   ============================================ */
.benefits {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.benefits__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}

.benefits__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.benefits__title {
  font-size: var(--text-5xl);
  color: #fff;
}

.benefits__subtitle {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-lg);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  background: #201e1c;
}

.benefit-card:hover::after { transform: scaleX(1); }

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(237, 108, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.benefit-card__icon svg { width: 22px; height: 22px; }

.benefit-card__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.benefit-card__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ============================================
   LEGACY — Warm earthy tones
   ============================================ */
.legacy {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.legacy__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.legacy__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.legacy__title {
  font-size: var(--text-5xl);
  margin-bottom: 1.5rem;
}

.legacy__text {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legacy__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.legacy__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.legacy__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.legacy__stat {
  padding: 1.5rem;
  background: var(--warm-white);
  border-radius: var(--radius-sm);
}

.legacy__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.legacy__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   TECH MARQUEE
   ============================================ */
.tech {
  background: var(--warm-white);
  padding-block: 3.5rem;
  overflow: hidden;
}

.tech__label {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: marquee 25s linear infinite;
  flex-shrink: 0;
  padding-right: 4rem;
}

.marquee__item {
  flex-shrink: 0;
  height: 32px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.marquee__item:hover { opacity: 1; filter: none; }
.marquee__item img { height: 100%; width: auto; object-fit: contain; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============================================
   TEAM PREVIEW — Photo with overlapping text
   ============================================ */
.team-section {
  background: var(--warm-white);
}

.team-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.team-section__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.team-section__title { font-size: var(--text-5xl); }

.team-section__photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.team-section__photo img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center 25%;
}

.team-section__lead {
  text-align: center;
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TEAM PAGE — Grid
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(28, 25, 23, 0.1);
  border-color: transparent;
}

.team-card__photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
}

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

.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__info { padding: 1.75rem; }

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.team-card__edu {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.team-card__edu svg { flex-shrink: 0; margin-top: 2px; }

/* ============================================
   CTA — Bold orange full-bleed (Hoskens vibe)
   ============================================ */
.cta {
  background: var(--orange);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.6) 1px, transparent 0);
  background-size: 32px 32px;
}

.cta__inner { position: relative; z-index: 2; }

.cta__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.cta__title {
  font-size: var(--text-5xl);
  color: #fff;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.cta__text {
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form { max-width: 560px; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-label--light { color: rgba(255,255,255,0.7); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--text-primary);
  transition: all 0.3s;
  outline: none;
}

.form-input--dark,
.form-select--dark,
.form-textarea--dark {
  border-color: var(--border-dark);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237,108,78,0.12);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b6560' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox--light { color: rgba(255,255,255,0.5); }

.form-checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.form-checkbox--light input[type="checkbox"] { border-color: var(--border-dark); }

.form-checkbox input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   FOOTER — Large wordmark (Hoskens style)
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--text-on-dark);
  overflow: hidden;
}

.footer__wordmark {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.footer__wordmark-text {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
}

.footer__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.footer__brand { max-width: 380px; }

.footer__logo svg { height: 26px; width: auto; margin-bottom: 1.5rem; }

.footer__mission {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer__link:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
}

.footer__legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
}

.footer__social { display: flex; gap: 1rem; }

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s;
}

.footer__social a:hover { border-color: var(--orange); color: var(--orange); }
.footer__social svg { width: 16px; height: 16px; }

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  padding: 10rem 0 var(--section-gap);
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
  background-size: 32px 32px;
}

.page-header__content { position: relative; z-index: 2; }

.page-header__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.page-header__title {
  font-size: var(--text-5xl);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.page-header__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================
   SERVICES PAGE — Blocks
   ============================================ */
.service-section { background: var(--warm-white); }
.service-section--alt { background: var(--cream); }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-block--reverse { direction: rtl; }
.service-block--reverse > * { direction: ltr; }

.service-block__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.service-block__title { font-size: var(--text-5xl); margin-bottom: 1.5rem; }

.service-block__text {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.service-list { display: grid; gap: 0; }

.service-list__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
  transition: all 0.3s;
}

.service-list__item:first-child { border-top: 1px solid var(--border-light); }
.service-list__item:hover { padding-left: 0.5rem; color: var(--orange); }

.service-list__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.service-list__item:hover .service-list__dot { opacity: 1; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { background: var(--warm-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info__title { font-size: var(--text-5xl); margin-bottom: 1.5rem; }

.contact-info__text {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(237,108,78,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-detail__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail__value { font-weight: 500; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(28,25,23,0.04);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: none; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__content { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__left { padding: 8rem var(--gutter) 4rem; min-height: 70vh; }
  .hero__right { height: 50vh; }

  .intro__grid,
  .color-blocks,
  .service-block,
  .service-block--reverse,
  .contact-grid,
  .benefits__header {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-block--reverse { direction: ltr; }

  .color-blocks { min-height: auto; }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-left: none; border-top: 1px solid var(--border-light); }
  .pillar:first-child { border-top: none; }

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

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

  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  .footer__content { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .team-section__header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .legacy__stats { grid-template-columns: 1fr; }
}
