/* =========================================================
   Etcetera Bioprocess Services
   Design System Stylesheet
   ========================================================= */

:root {
  --color-navy: #0B1F3A;
  --color-navy-soft: #1A2F4F;
  --color-teal: #14B8A6;
  --color-teal-dark: #0F9D8F;
  --color-cream: #FAFAF5;
  --color-cream-warm: #F4F1E8;
  --color-white: #FFFFFF;
  --color-border: #E5E1D5;
  --color-text: #0B1F3A;
  --color-text-soft: #4B5563;
  --color-muted: #9CA3AF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11,31,58,0.06);
  --shadow-md: 0 8px 24px rgba(11,31,58,0.08);
  --shadow-lg: 0 20px 50px rgba(11,31,58,0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
  background: rgba(250, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 250, 245, 0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--color-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo:hover .arrow-front { transform: translateX(3px); }
.arrow-back, .arrow-front { transition: transform 0.4s var(--ease); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}
.logo-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-teal);
  transition: width 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--color-teal-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20,184,166,0.3);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}
.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-arrow { transition: transform 0.3s var(--ease); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-navy);
  margin: 5px 0;
  transition: all 0.3s var(--ease);
}

/* =========================================================
   Hero (Home page)
   ========================================================= */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(20,184,166,0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--color-teal);
}
.hero h1 {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-teal-dark);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}
.hero-image {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-soft));
  box-shadow: var(--shadow-lg);
}
.hero-image img,
.hero-image .visual-svg,
.about-image .visual-svg,
.team-image .visual-svg,
.service-detail-image .visual-svg,
.article-image .visual-svg,
.content-image .visual-svg {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--color-white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-teal-dark);
  line-height: 1;
}
.hero-badge-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-soft);
  line-height: 1.4;
  max-width: 120px;
}

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

/* =========================================================
   Page Hero (for sub-pages)
   ========================================================= */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--color-cream-warm);
  border-bottom: 1px solid var(--color-border);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(20,184,166,0.1), transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 820px;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.1s forwards;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 24px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--color-teal);
}
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-teal-dark);
}
.page-hero p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 640px;
}

/* =========================================================
   Marquee / Trust Bar
   ========================================================= */
.marquee {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-cream-warm);
}
.marquee-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-navy);
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: 80px;
}
.marquee-item::after {
  content: '✦';
  font-size: 16px;
  color: var(--color-teal);
  opacity: 0.6;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Section Base
   ========================================================= */
section { padding: 120px 0; }
.section-header {
  max-width: 720px;
  margin-bottom: 80px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--color-teal);
}
.section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-teal-dark);
}
.section-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-soft);
}

/* =========================================================
   About / Expertise
   ========================================================= */
.about { background: var(--color-cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about-image:hover img { transform: scale(1.04); }
.about-image-tag {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(250, 250, 245, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
}
.about-content h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.about-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span {
  color: var(--color-teal-dark);
  font-style: italic;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  line-height: 1.4;
}

/* =========================================================
   Team / Principals
   ========================================================= */
.team { background: var(--color-cream-warm); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-card:hover .team-image img { transform: scale(1.05); }
.team-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-navy);
}
.team-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}
.team-body { padding: 32px; }
.team-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.team-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 20px;
}
.team-bio {
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   Services
   ========================================================= */
.services {
  background: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(20,184,166,0.2), transparent);
}
.services .section-title { color: var(--color-white); }
.services .section-eyebrow { color: var(--color-teal); }
.services .section-lede { color: rgba(255,255,255,0.7); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-navy-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all 0.5s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-teal);
  transition: width 0.5s var(--ease);
}
.service-card:hover {
  background: #1f3458;
  transform: translateY(-6px);
  border-color: rgba(20,184,166,0.3);
}
.service-card:hover::before { width: 100%; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); color: var(--color-teal); }

.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,184,166,0.12);
  border-radius: 14px;
  color: var(--color-teal);
  margin-bottom: 28px;
  transition: all 0.5s var(--ease);
}
.service-card h3 {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.service-card p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding-left: 20px;
  position: relative;
  letter-spacing: 0.02em;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--color-teal);
}

/* =========================================================
   Service Detail Sections (services page)
   ========================================================= */
.service-detail {
  padding: 100px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.alt { background: var(--color-cream-warm); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.service-detail.reverse .service-detail-grid {
  grid-template-columns: 1.1fr 1fr;
}
.service-detail.reverse .service-detail-image { order: 2; }
.service-detail-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-detail-image:hover img { transform: scale(1.04); }
.service-detail-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal-dark);
  margin-bottom: 20px;
}
.service-detail-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.service-detail-content h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-teal-dark);
}
.service-detail-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin-bottom: 32px;
}
.service-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.service-detail-list li {
  font-size: 14px;
  color: var(--color-text);
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}
.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--color-teal);
}

/* =========================================================
   Approach / Practice Areas
   ========================================================= */
.approach { background: var(--color-cream); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.approach-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  gap: 28px;
  transition: all 0.4s var(--ease);
}
.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}
.approach-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-teal-dark);
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
}
.approach-card h4 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}
.approach-card p {
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   Clients
   ========================================================= */
.clients {
  background: var(--color-cream-warm);
  padding: 100px 0;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 60px;
}
.client-cell {
  background: var(--color-white);
  padding: 32px 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  position: relative;
  text-decoration: none;
}
.client-cell:hover {
  background: var(--color-cream);
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.client-logo {
  width: 100%;
  height: 60px;
  max-width: 200px;
  display: block;
}
.client-cta {
  background: linear-gradient(135deg, var(--color-cream-warm), var(--color-white));
  border: 1.5px dashed var(--color-teal);
}
.client-cta:hover {
  background: var(--color-white);
  border-style: solid;
  border-color: var(--color-teal-dark);
}

/* =========================================================
   Articles
   ========================================================= */
.articles { background: var(--color-cream); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.article-grid.single { grid-template-columns: 1fr; max-width: 800px; margin: 60px auto 0; }
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.article-card:hover .article-image img { transform: scale(1.08); }
.article-card:hover .article-cta { color: var(--color-teal-dark); }
.article-card:hover .article-cta svg { transform: translateX(6px); }

.article-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-navy);
}
.article-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-body { padding: 32px; }
.article-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 16px;
}
.article-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-card p {
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.article-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  transition: color 0.3s var(--ease);
}
.article-cta svg { transition: transform 0.3s var(--ease); }

/* =========================================================
   CTA Banner
   ========================================================= */
.cta-banner {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(20,184,166,0.15), transparent 60%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-content h2 {
  color: var(--color-white);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.cta-content h2 em {
  color: var(--color-teal);
  font-style: italic;
}
.cta-content p {
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}
.cta-banner .btn-primary { background: var(--color-teal); color: var(--color-navy); }
.cta-banner .btn-primary:hover { background: var(--color-white); }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--color-cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-dark);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.contact-item:hover .contact-icon {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-navy);
}
.contact-value-sm {
  font-size: 16px;
  color: var(--color-text-soft);
  margin-top: 4px;
  font-family: var(--font-body);
}
.contact-address-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}
.contact-address-link:hover .contact-value {
  color: var(--color-teal);
}
.footer-col a[href*="google.com/maps"] {
  display: inline;
}

.contact-form {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-teal);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(20,184,166,0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================
   Generic Content Pages (Marketing, Recruitment, Careers)
   ========================================================= */
.content-section { padding: 120px 0; background: var(--color-cream); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.content-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 120px;
}
.content-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.content-image:hover img { transform: scale(1.04); }
.content-prose h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  margin-top: 48px;
  margin-bottom: 20px;
}
.content-prose h2:first-child { margin-top: 0; }
.content-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-soft);
  margin-bottom: 20px;
}

/* Feature blocks for content pages */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.feature-block {
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease);
}
.feature-block:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(20,184,166,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-dark);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.feature-block:hover .feature-icon {
  background: var(--color-teal);
  color: var(--color-white);
}
.feature-block h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.feature-block p {
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p {
  margin-top: 24px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--color-teal); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .logo-name { color: var(--color-white); font-size: 16px; }
.footer-bottom .logo-tag { color: rgba(255,255,255,0.5); }

/* =========================================================
   Reveal Animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-col:nth-child(4) { display: none; }
}

@media (max-width: 968px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 32px;
    gap: 20px;
    border-top: 1px solid var(--color-border);
    align-items: flex-start;
  }
  .menu-toggle { display: block; }
  .hero { padding: 140px 0 80px; }
  .page-hero { padding: 140px 0 60px; }
  .hero-grid, .about-grid, .contact-grid, .service-detail-grid, .content-grid {
    grid-template-columns: 1fr !important;
    gap: 60px;
  }
  .service-detail.reverse .service-detail-image { order: 0; }
  .service-grid, .approach-grid, .article-grid, .team-grid, .feature-row {
    grid-template-columns: 1fr;
  }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-col:nth-child(4) { display: block; }
  .about-stats { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 80px 0; }
  .content-section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .contact-form { padding: 32px 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .service-detail-list { grid-template-columns: 1fr; }
  .content-image { position: relative; top: 0; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 44px; }
  .page-hero h1 { font-size: 40px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .approach-card { flex-direction: column; gap: 16px; padding: 28px; }
  .clients-grid { grid-template-columns: 1fr; }
}
