/* ============================================================
   GIBBONS & COMPANY — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=Cormorant+Garamond:wght@300;400;500&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy:       #02224e;
  --navy-mid:   #1a2d4f;
  --navy-light: #1e3f7a;
  --gold:       #b89a5e;
  --gold-light: #d4b87a;
  --white:      #ffffff;
  --off-white:  #f5f4f0;
  --text:       #1a1a2e;
  --text-mid:   #2a2a4a;
  --text-light: #4a4a6a;
  --border:     #ddd8cc;

  --nav-height: 96px;
  --max-width:  1200px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.cormorant {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: #02224e;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(184, 154, 94, 0.2);
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
  padding: 8px 0;
}

.nav-logo img {
  height: 82px;
  width: auto;
  display: block;
  outline: 8px solid #02224e;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 10px;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ── Hero — Full Bleed ────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  margin-top: var(--nav-height);
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,25,50,0.92) 0%, rgba(15,25,50,0.75) 40%, rgba(15,25,50,0.2) 65%, rgba(15,25,50,0) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px 72px;
  z-index: 2;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.15s forwards;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-eyebrow-text {
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* Heading */
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 4.2vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-gold {
  color: var(--gold-light);
  font-style: normal;
}

/* Gold rule below heading */
.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.45s forwards;
}

/* Body text */
.hero-body {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.55s forwards;
}

/* Bullets */
.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.65s forwards;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  color: #ffffff;
}

.hero-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Remove old scroll indicator */
.hero-scroll { display: none; }

/* ── Intro Band ───────────────────────────────────────────── */
.intro-band {
  background: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f5f4f0'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23e8e6e0' opacity='0.5'/%3E%3C/svg%3E");
  padding: 80px 48px;
  text-align: center;
}

.intro-band p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.75;
  color: var(--text);
}

.intro-band strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── Services Grid ────────────────────────────────────────── */
.services-section {
  background: var(--navy);
  padding: 96px 48px;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(184,154,94,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
}

.section-header h2 {
  font-size: clamp(36px, 3.8vw, 54px);
  color: var(--white);
}

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

.service-item {
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out);
}

.service-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(184, 154, 94, 0.2);
}

.service-item:hover::before {
  height: 100%;
}

.service-item h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  font-family: 'Source Serif 4', serif;
  letter-spacing: 0.02em;
}

/* ── Pillars Band ─────────────────────────────────────────── */
.pillars-band {
  background: var(--navy-mid);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.pillar {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
}

.pillar-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Clients Ticker ───────────────────────────────────────── */
.clients-section {
  padding: 48px 0;
  background: #ffffff;
}

.clients-section .section-inner {
  padding: 0 48px;
}

.ticker-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 64px;
  align-items: center;
  will-change: transform;
}

.ticker-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-track .logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 88px;
  flex-shrink: 0;
}

.ticker-track .logo-wrap img,
.ticker-track .logo-wrap svg {
  max-width: 180px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.clients-cta {
  text-align: center;
}

/* ticker animation handled by JS */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Source Serif 4', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-white {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-white:hover {
  background: var(--white);
  color: var(--navy);
}


/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: #02224e;
  padding: 80px 48px 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background-image: url('assets/images/hero-capitol.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}


.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

.page-hero h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  color: var(--white);
  font-weight: 600;
  max-width: 640px;
}

.page-hero .hero-rule {
  opacity: 1;
  animation: none;
}

/* ── Content Section ──────────────────────────────────────── */
.content-section {
  padding: 96px 48px;
}

.content-section.bg-off-white { background: var(--off-white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f5f4f0'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23e8e6e0' opacity='0.5'/%3E%3C/svg%3E"); }
.content-section.bg-white { background: var(--white); }
.content-section.bg-navy { background: var(--navy); }

.content-card {
  max-width: 820px;
  margin: 0 auto;
  background: transparent;
}

.content-card.wide {
  max-width: 960px;
}

.content-card h2 {
  font-size: 46px;
  margin-bottom: 8px;
}

.content-card .rule {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-card p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 16.5px;
}

.content-card p:first-of-type {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  font-size: 17px;
  color: var(--text);
}

.content-card p:last-child { margin-bottom: 0; }

.content-card strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── Bullet List ──────────────────────────────────────────── */
.styled-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
}

.styled-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── Principals ───────────────────────────────────────────── */
.principal-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 56px 0;
}

.principal-card:last-child {
  padding-bottom: 0;
}

.principal-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
}

.principal-photo-placeholder {
  width: 220px;
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principal-photo-placeholder span {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: rgba(255,255,255,0.2);
}

.principal-info h3 {
  font-size: 26px;
  margin-bottom: 4px;
}

.principal-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  margin-bottom: 20px;
}


.principal-info p {
  font-size: 15.5px;
  color: #2a2a4a;
  margin-bottom: 16px;
  line-height: 1.75;
}

/* ── Clients Served ───────────────────────────────────────── */
.clients-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.clients-category {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.clients-category:last-child,
.clients-category:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.clients-category h3 {
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.clients-category ul {
  list-style: none;
  columns: 2;
  gap: 8px;
}

.clients-category ul li {
  font-size: 14.5px;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--off-white);
  break-inside: avoid;
}

/* Full width category */
.clients-category.full-width {
  grid-column: 1 / -1;
}

/* ── Case Histories ───────────────────────────────────────── */
.case-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 24px;
}

.case-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out);
}

.case-item:hover::before {
  height: calc(100% - 72px);
}

.case-item p {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: 'Source Serif 4', serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 14px 16px;
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 34, 65, 0.06);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.btn-submit {
  display: inline-block;
  padding: 16px 48px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover { background: var(--navy-mid); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 64px 48px 48px;
  border-top: 1px solid rgba(184, 154, 94, 0.25);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer-brand .nav-logo-text {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.7;
  max-width: 260px;
}

.footer-nav h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 15px;
  color: #ffffff;
  transition: color 0.2s;
  font-family: 'Source Serif 4', serif;
}

.footer-nav a:hover { color: var(--white); }

.footer-contact p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.7;
  font-family: 'Source Serif 4', serif;
}

.footer-contact a {
  color: var(--gold);
  transition: color 0.2s;
}

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

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  font-family: 'Source Serif 4', serif;
}

.footer-pillars {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-pillars span {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-variant: small-caps;
}

.footer-pillars-dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}


/* ── Stats Band ───────────────────────────────────────────── */
.stats-band {
  background: var(--navy);
  padding: 72px 48px;
  border-top: 1px solid rgba(184,154,94,0.2);
  border-bottom: 1px solid rgba(184,154,94,0.2);
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 48px;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(184,154,94,0.3);
  flex-shrink: 0;
}

/* ── Animated Gold Rules ──────────────────────────────────── */
.rule, .content-card .rule {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rule.visible, .reveal.visible .rule {
  width: 48px;
}

/* ── Case History Cards ───────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.case-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.case-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.case-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.case-headline {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  padding-top: 6px;
}

.case-body {
  font-family: 'Source Serif 4', serif;
  font-size: 14.5px;
  color: #2a2a4a;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.case-card p,
.case-card p:first-of-type {
  border-left: none;
  padding-left: 0;
  font-size: 14.5px;
  color: var(--text-mid);
}

.case-result {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Source Serif 4', serif;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,154,94,0.45);
  padding: 5px 12px;
}

.cases-divider {
  grid-column: 1 / -1;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  padding: 12px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.2); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .hero-left { padding: 56px 48px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 76px; }

  body { overflow-x: hidden; }

  .site-nav {
    padding: 0 20px;
    overflow: hidden;
  }

  /* Nav logo */
  .nav-logo img {
    height: 66px;
    outline: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 32px; font-size: 15px; text-align: left; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* Hero */
  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero::before {
    background: rgba(15,25,50,0.85);
  }

  .hero-content,
  .hero-left {
    width: 100%;
    padding: 40px 24px;
  }

  .hero h1 { font-size: 28px; }

  /* Stats band */
  .stats-band { padding: 40px 8px; }
  .stats-inner { flex-direction: row; }
  .stat-number { font-size: 34px; }
  .stat-label { font-size: 10px; }
  .stat-item { padding: 0 16px; }
  .stat-divider { height: 40px; }

  /* Pillars band */
  .pillars-band {
    gap: 16px;
    flex-wrap: nowrap;
    padding: 32px 24px;
    overflow-x: auto;
  }
  .pillar {
    font-size: 15px;
    white-space: nowrap;
  }

  /* Intro band */
  .intro-band { padding: 48px 24px; }
  .intro-band p { font-size: 18px; }

  /* Services */
  .services-section { padding-left: 24px; padding-right: 24px; }
  .clients-section { padding-left: 24px; padding-right: 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-item { padding: 24px 20px; }

  /* Case history cards */
  .cases-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px 24px; }

  /* Content sections */
  .content-section { padding: 48px 24px; }

  /* Page hero */
  .page-hero { padding: 80px 24px 48px; }
  .page-hero h1 { font-size: 38px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-brand .nav-logo img,
  .footer-logo img { height: 64px; }

  /* Principals / clients / contact */
  .principal-card { grid-template-columns: 1fr; gap: 32px; }
  .principal-photo-placeholder { width: 100%; height: 240px; }
  .clients-category ul { columns: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
}

@media (max-width: 480px) {
  .clients-columns { grid-template-columns: 1fr; }
}
