/* ==========================================================================
   NUWAR LEGAL ADVISORY — Design System
   Palette (from brand mark): Navy #0C203B · Gold #C0934A · Charcoal #54565C · Cream #F0EBE3
   Applied roughly on a 60 (cream) / 30 (navy) / 10 (gold) proportion.
   ========================================================================== */

/* Display font: Cinzel (Google Fonts, SIL Open Font License), loaded in each page <head>. */

:root {
  /* Brand colors */
  --navy: #0c203b;
  --navy-light: #17324f;
  --navy-lighter: #24405f;
  --gold: #c0934a;
  --gold-light: #d7ac6c;
  --gold-dark: #a37835;
  --charcoal: #54565c;
  --cream: #f8f5f0;
  --cream-deep: #f0ebe3;
  --white: #ffffff;
  --line: rgba(12, 32, 59, 0.1);
  --line-light: rgba(240, 235, 227, 0.16);

  /* Type */
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --radius: 6px;
  --radius-lg: 14px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 400; color: var(--navy); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 40px; }

section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.on-dark { color: var(--gold-light); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--charcoal); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-light); }

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

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); }

.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--line-light); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border-radius: 0; color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.btn-text svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn-text:hover { color: var(--gold-dark); }
.btn-text:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(12,32,59,0.18);
  transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px -20px rgba(12,32,59,0.28);
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand .brand-icon { height: 60px; width: auto; transition: height .4s var(--ease); }
.brand .brand-wordmark { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand .brand-icon { height: 50px; }
.site-header.is-scrolled .brand .brand-wordmark { height: 44px; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--navy);
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold);
  transition: right 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--navy); }
.header-phone svg { width: 16px; height: 16px; color: var(--gold-dark); }
.header-whatsapp {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  color: var(--navy); flex-shrink: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.header-whatsapp svg { width: 17px; height: 17px; }
.header-whatsapp:hover { border-color: var(--gold); background: var(--cream-deep); color: var(--gold-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--navy);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy);
  display: flex; flex-direction: column;
  padding: 110px 40px 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 34px; color: var(--cream);
  padding: 14px 0; border-bottom: 1px solid var(--line-light); display: block;
}
.mobile-nav a.active { color: var(--gold-light); }
.mobile-nav-footer { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mobile-nav-footer a { color: var(--gold-light); font-size: 15px; }
.mobile-nav-footer .btn { align-self: stretch; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 170px 0 110px;
  overflow: hidden;
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--navy); }
.hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-media img { display: none; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,22,41,0.72) 0%, rgba(9,22,41,0.6) 45%, rgba(9,22,41,0.85) 100%),
    linear-gradient(90deg, rgba(9,22,41,0.55) 0%, rgba(9,22,41,0.15) 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 700px; }
.hero-copy .location-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border: 1px solid rgba(240,235,227,0.28); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: rgba(240,235,227,0.08);
  margin-bottom: 28px;
}
.location-badge svg { width: 13px; height: 13px; color: var(--gold-light); }
.hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.06;
  color: var(--cream);
}
.hero-copy h1 em { font-style: normal; color: var(--gold-light); }
.hero-copy .lede {
  margin-top: 24px; font-size: 18px; line-height: 1.75; color: rgba(240,235,227,0.8); max-width: 620px;
}
.hero-copy .lede strong { color: var(--cream); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 42px; flex-wrap: wrap; }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(240,235,227,0.65);
  z-index: 1;
}
.hero-scroll-cue svg { width: 16px; height: 16px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 768px) {
  .hero-media video { display: none; }
  .hero-media img { display: block; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--cream);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-block { border-left: 2px solid var(--gold); padding-left: 22px; }
.stat-value {
  font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 46px); font-weight: 400;
  color: var(--navy); line-height: 1;
}
.stat-value .stat-plus { color: var(--gold-dark); }
.stat-caption {
  margin-top: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--charcoal);
}

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Practice areas grid ---------- */
.practice-section { padding: 130px 0 0; }
.practice-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.practice-card {
  background: var(--cream); padding: 40px 30px; position: relative;
  transition: background 0.4s var(--ease);
  min-height: 320px;
  display: flex; flex-direction: column;
}
.practice-card:hover { background: var(--navy); }
.practice-card .pc-index { font-family: var(--font-display); font-size: 14px; color: var(--gold-dark); margin-bottom: 30px; transition: color 0.4s var(--ease); }
.practice-card:hover .pc-index { color: var(--gold-light); }
.practice-card .pc-icon { width: 50px; height: 50px; margin-bottom: 24px; color: var(--navy); transition: color 0.4s var(--ease); }
.practice-card .pc-icon svg { width: 100%; height: 100%; }
.practice-card:hover .pc-icon { color: var(--gold-light); }
.practice-card h3 { font-size: 21px; margin-bottom: 14px; transition: color 0.4s var(--ease); }
.practice-card:hover h3 { color: var(--cream); }
.practice-card p { font-size: 15px; line-height: 1.7; color: var(--charcoal); flex-grow: 1; transition: color 0.4s var(--ease); }
.practice-card:hover p { color: rgba(240,235,227,0.78); }
.practice-card .btn-text { margin-top: 24px; font-size: 12px; transition: color 0.4s var(--ease); }
.practice-card:hover .btn-text { color: var(--cream); }
.practice-card:hover .btn-text:hover { color: var(--gold-light); }

.practice-card-cta { background: var(--navy); }
.practice-card-cta .pc-index { color: var(--gold-light); }
.practice-card-cta h3 { color: var(--cream); }
.practice-card-cta p { color: rgba(240,235,227,0.78); }
.practice-card-cta .btn-text { color: var(--gold-light); }
.practice-card-cta:hover { background: var(--navy-light); }

@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-card { min-height: 280px; }
}
@media (max-width: 600px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 0; }
}

/* ---------- Split / about teaser ---------- */
.split-section { padding: 130px 0; }
.split-section .container,
.story-section .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.split-visual { position: relative; }
.split-visual .story-frame {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.split-visual .story-frame img.watermark { position: absolute; height: 78%; opacity: 0.09; }
.split-visual .story-frame .light-rays {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(192,147,74,0.16) 4deg, transparent 10deg,
    transparent 40deg, rgba(192,147,74,0.16) 44deg, transparent 50deg,
    transparent 80deg, rgba(192,147,74,0.16) 84deg, transparent 90deg,
    transparent 120deg, rgba(192,147,74,0.16) 124deg, transparent 130deg,
    transparent 160deg, rgba(192,147,74,0.16) 164deg, transparent 170deg,
    transparent 200deg, rgba(192,147,74,0.16) 204deg, transparent 210deg,
    transparent 240deg, rgba(192,147,74,0.16) 244deg, transparent 250deg,
    transparent 280deg, rgba(192,147,74,0.16) 284deg, transparent 290deg,
    transparent 320deg, rgba(192,147,74,0.16) 324deg, transparent 330deg,
    transparent 360deg);
  mask-image: radial-gradient(circle at 50% 50%, black 0%, black 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, black 35%, transparent 72%);
}
.split-visual .story-frame .initials {
  display: flex; gap: 26px; z-index: 1;
}
.split-visual .story-frame .initials span {
  font-family: var(--font-display); font-size: 130px; color: var(--cream); line-height: 1;
}
.split-visual .story-frame .initials span.accent { color: var(--gold); }
.split-visual .story-caption {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; max-width: 250px; box-shadow: 0 30px 60px -30px rgba(12,32,59,0.3);
}
.split-visual .story-caption p { font-size: 13px; line-height: 1.6; color: var(--charcoal); }
.split-visual .story-caption strong { color: var(--navy); display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 6px; font-weight: 400;}

.split-copy .body-text { margin-top: 22px; font-size: 16px; line-height: 1.85; color: var(--charcoal); }
.split-copy .body-text + .body-text { margin-top: 16px; }
.split-copy .btn { margin-top: 34px; }

/* ---------- Approach steps ---------- */
.approach-section { padding: 130px 0; background: var(--navy); color: var(--cream); }
.approach-section .section-head h2 { color: var(--cream); }
.approach-section .section-head p { color: rgba(240,235,227,0.72); }
.approach-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.approach-steps::before {
  content: ''; position: absolute; top: 27px; left: 10%; right: 10%; height: 1px;
  background: var(--line-light);
}
.approach-step { position: relative; padding: 0 16px; text-align: center; }
.approach-step .step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--gold);
  color: var(--gold-light); font-family: var(--font-display); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; position: relative; z-index: 1;
}
.approach-step h4 { font-family: var(--font-display); font-size: 21px; color: var(--cream); font-weight: 400; margin-bottom: 10px; }
.approach-step p { font-size: 14px; line-height: 1.65; color: rgba(240,235,227,0.68); max-width: 220px; margin: 0 auto; }

@media (max-width: 1000px) {
  .approach-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .approach-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .approach-steps::before { display: none; }
}
@media (max-width: 560px) {
  .approach-steps { grid-template-columns: 1fr; }
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-card { background: var(--cream); padding: 44px 36px; transition: background .35s var(--ease); }
.why-card:hover { background: var(--navy); }
.why-card .wc-num { font-family: var(--font-display); font-size: 42px; color: var(--gold); margin-bottom: 18px; line-height: 1; transition: color .35s var(--ease); }
.why-card:hover .wc-num { color: var(--gold-light); }
.why-card h4 { font-size: 20px; margin-bottom: 12px; transition: color .35s var(--ease); }
.why-card:hover h4 { color: var(--cream); }
.why-card p { font-size: 14.5px; line-height: 1.7; color: var(--charcoal); transition: color .35s var(--ease); }
.why-card:hover p { color: rgba(240,235,227,0.78); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Who we serve ---------- */
.serve-section { padding: 120px 0; }
.serve-tags { display: flex; flex-wrap: wrap; gap: 14px; }
.serve-tags li {
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; color: var(--navy); font-weight: 500;
  background: var(--white);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.serve-tags li:hover { border-color: var(--gold); background: var(--navy); color: var(--cream); transform: translateY(-3px); }

/* ---------- CTA banner ---------- */
.cta-banner {
  margin: 0 40px 0;
  max-width: calc(var(--container) - 0px);
  margin-left: auto; margin-right: auto;
  border-radius: var(--radius-lg);
  background: var(--navy);
  padding: 80px 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(192,147,74,0.25), transparent 70%);
}
.cta-banner h2 { color: var(--cream); font-size: clamp(28px, 3vw, 38px); max-width: 520px; position: relative; z-index: 1; }
.cta-banner .cta-actions { display: flex; gap: 18px; flex-shrink: 0; position: relative; z-index: 1; flex-wrap: wrap; }

@media (max-width: 900px) {
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 56px 36px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(240,235,227,0.7); padding: 100px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 60px; padding-bottom: 70px; border-bottom: 1px solid var(--line-light); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand .brand-icon { height: 62px; }
.footer-brand .brand-wordmark { height: 54px; }
.footer-brand p { font-size: 14.5px; line-height: 1.75; max-width: 320px; color: rgba(240,235,227,0.62); }
.footer-col h5 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col address { font-size: 14.5px; color: rgba(240,235,227,0.75); font-style: normal; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col address { line-height: 1.7; }
.footer-bottom { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(240,235,227,0.5); }
.footer-bottom .tagline { font-family: var(--font-display); color: rgba(240,235,227,0.7); font-size: 14px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 200px 0 90px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; max-width: 820px; }
.page-header h1 { font-size: clamp(36px, 4.6vw, 58px); margin-top: 16px; }
.page-header p { margin-top: 22px; font-size: 17px; line-height: 1.75; color: var(--charcoal); max-width: 620px; }
.page-header .crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--charcoal); margin-bottom: 20px; }
.page-header .crumb a:hover { color: var(--gold-dark); }
.page-header .pillar-bg { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); height: 340px; width: auto; opacity: 0.06; }

/* ---------- About page ---------- */
.values-section { padding: 130px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value-card { background: var(--cream); padding: 40px 30px; transition: background .35s var(--ease); }
.value-card:hover { background: var(--navy); }
.value-card .v-icon { width: 40px; height: 40px; color: var(--gold-dark); margin-bottom: 20px; transition: color .35s var(--ease); }
.value-card .v-icon svg { width: 100%; height: 100%; }
.value-card:hover .v-icon { color: var(--gold-light); }
.value-card h4 { font-size: 18px; margin-bottom: 10px; transition: color .35s var(--ease); }
.value-card:hover h4 { color: var(--cream); }
.value-card p { font-size: 13.5px; line-height: 1.65; color: var(--charcoal); transition: color .35s var(--ease); }
.value-card:hover p { color: rgba(240,235,227,0.78); }
@media (max-width: 1000px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 8px; }
.mv-card { padding: 56px 50px; background: var(--white); }
.mv-card.navy { background: var(--navy); }
.mv-card .eyebrow { margin-bottom: 20px; }
.mv-card h3 { font-size: 26px; line-height: 1.35; font-weight: 400; }
.mv-card.navy h3 { color: var(--cream); }
@media (max-width: 800px) { .mission-vision { grid-template-columns: 1fr; } }

.story-section { padding: 130px 0; background: var(--cream-deep); }

.promise-section {
  padding: 140px 0; background: var(--navy); text-align: center; position: relative; overflow: hidden;
}
.promise-section .pillar-bg-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); height: 460px; width: auto; opacity: 0.06; }
.promise-section .eyebrow { justify-content: center; }
.promise-section .eyebrow::before { display: none; }
.promise-section h2 { color: var(--cream); font-size: clamp(30px, 4vw, 50px); max-width: 780px; margin: 20px auto 0; position: relative; z-index: 1; }
.promise-section p { color: rgba(240,235,227,0.7); max-width: 640px; margin: 26px auto 0; font-size: 16.5px; line-height: 1.8; position: relative; z-index: 1; }

/* ---------- Practice areas (detail page) ---------- */
.practice-detail-section { padding: 40px 0 130px; }
.practice-layout { display: grid; grid-template-columns: 280px 1fr; gap: 70px; align-items: start; }
.practice-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 4px; }
.practice-nav a {
  padding: 14px 20px; border-radius: var(--radius); font-size: 14.5px; color: var(--charcoal); font-weight: 500;
  border-left: 2px solid transparent; transition: all .3s var(--ease);
}
.practice-nav a:hover { color: var(--navy); background: rgba(12,32,59,0.04); }
.practice-nav a.active { color: var(--navy); border-left-color: var(--gold); background: var(--white); font-weight: 600; }

.practice-block {
  padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px;
}
.practice-block:first-child { padding-top: 0; }
.practice-block:last-child { border-bottom: none; }
.pb-head { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 26px; }
.pb-head .pb-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pb-head .pb-icon svg { width: 26px; height: 26px; color: var(--gold-light); }
.pb-head .pb-num { font-family: var(--font-display); font-size: 14px; color: var(--gold-dark); display: block; margin-bottom: 6px; }
.pb-head h2 { font-size: 30px; }
.pb-head > div { min-width: 0; }
@media (max-width: 480px) {
  .pb-head { flex-direction: column; gap: 16px; }
  .pb-head h2 { font-size: clamp(22px, 7.4vw, 30px); }
}
.practice-block .lede { font-size: 16.5px; line-height: 1.8; color: var(--charcoal); max-width: 760px; margin-bottom: 30px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; max-width: 800px; }
.service-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--navy); }
.service-list li svg { width: 15px; height: 15px; color: var(--gold-dark); margin-top: 3px; flex-shrink: 0; }
.practice-block .closing-note { margin-top: 26px; font-size: 15px; line-height: 1.75; color: var(--charcoal); max-width: 760px; font-style: italic; border-left: 2px solid var(--gold); padding-left: 20px; }

@media (max-width: 900px) {
  .practice-layout { grid-template-columns: minmax(0, 1fr); }
  .practice-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .practice-nav a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .practice-nav a.active { border-left: none; border-bottom-color: var(--gold); }
  .service-list { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-section { padding: 20px 0 130px; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-info { background: var(--navy); color: var(--cream); padding: 56px 48px; }
.contact-info h3 { color: var(--cream); font-size: 26px; margin-bottom: 34px; }
.contact-info-item { display: flex; gap: 18px; margin-bottom: 30px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .ci-icon svg { width: 18px; height: 18px; color: var(--gold-light); }
.contact-info-item h5 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(240,235,227,0.55); margin-bottom: 7px; font-weight: 600; }
.contact-info-item p, .contact-info-item a { font-size: 15.5px; line-height: 1.6; color: var(--cream); }
.contact-info-item a:hover { color: var(--gold-light); }
.contact-info-item .ci-phone-number { margin-bottom: 14px; }
.phone-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.phone-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-light);
  font-size: 13px; font-weight: 600; color: var(--cream);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.phone-action svg { width: 14px; height: 14px; flex-shrink: 0; }
.phone-action:hover { border-color: var(--gold); background: rgba(240,235,227,0.06); color: var(--gold-light); }
.contact-map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); aspect-ratio: 4/3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

.contact-form-wrap { background: var(--white); padding: 56px 48px; }
.contact-form-wrap h3 { font-size: 26px; margin-bottom: 10px; }
.contact-form-wrap > p { color: var(--charcoal); font-size: 15px; margin-bottom: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 9px; letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); color: var(--navy); font-size: 14.5px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--charcoal); margin-top: -8px; margin-bottom: 22px; line-height: 1.6; }
.form-success {
  display: none; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--cream-deep); border: 1px solid var(--gold); margin-bottom: 26px; font-size: 14.5px; color: var(--navy);
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-info, .contact-form-wrap { padding: 40px 26px; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }

/* ---------- Responsive: nav & hero ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions { display: none; }
  .nav-toggle { display: block; }
  .split-section .container,
  .story-section .container { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .split-visual { max-width: 420px; }
  .split-visual .story-frame .initials { gap: min(26px, 4vw); }
  .split-visual .story-frame .initials span { font-size: min(130px, 24vw); }
  .practice-detail-section .practice-layout { gap: 40px; }
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 24px; }
  .hero { min-height: auto; padding: 150px 0 90px; }
  .hero-scroll-cue { display: none; }
  .page-header { padding: 150px 0 70px; }
  .page-header h1 { font-size: clamp(24px, 6.2vw, 44px); }
  .cta-banner { margin: 0 20px; }
  .footer-top { padding-bottom: 50px; }
  .site-footer { padding-top: 70px; }
  .mv-card, .contact-info, .contact-form-wrap { padding: 40px 28px; }
}

/* ---------- Selection ---------- */
::selection { background: var(--gold); color: var(--navy); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Featured event (compact, animated) ---------- */
.event-section { padding: 64px 0 0; }
.event-strip {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  max-width: 1040px; margin: 0 auto; padding: 22px 34px 22px 26px;
  background: var(--navy); color: var(--cream); border-radius: 16px;
  box-shadow: 0 30px 60px -34px rgba(12,32,59,0.6);
}
.event-strip::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(215,172,108,0.3); border-radius: 11px; pointer-events: none; }
.event-thumb { width: 92px; perspective: 600px; }
.event-thumb img {
  width: 100%; border-radius: 4px; box-shadow: 0 14px 26px -10px rgba(0,0,0,0.65), 0 0 0 1px rgba(215,172,108,0.35);
  opacity: 0; transform: translateY(26px) rotate(-16deg) scale(0.86);
}
.event-strip.is-visible .event-thumb img { animation: invite-in 1.1s 0.25s cubic-bezier(0.22,1,0.36,1) forwards, invite-float 5s 1.4s ease-in-out infinite; }
@keyframes invite-in { to { opacity: 1; transform: translateY(0) rotate(-5deg) scale(1); } }
@keyframes invite-float { 0%,100% { opacity: 1; transform: translateY(0) rotate(-5deg); } 50% { opacity: 1; transform: translateY(-6px) rotate(-3deg); } }
.event-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.event-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--gold-light); padding: 5px 11px; border-radius: 999px; }
.event-badge.live { background: #e7b65f; animation: badge-pulse 1.6s ease-in-out infinite; }
@keyframes badge-pulse { 50% { box-shadow: 0 0 0 6px rgba(215,172,108,0.18); } }
.event-info h3 { margin-top: 10px; font-size: clamp(20px, 2vw, 26px); color: var(--cream); }
.event-info h3 em { font-style: normal; color: var(--gold-light); }
.event-meta { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.event-meta li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(240,235,227,0.85); }
.event-meta svg { width: 16px; height: 16px; color: var(--gold-light); flex-shrink: 0; }
.event-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.event-actions .btn { justify-content: center; }
.event-rsvp { text-align: center; font-size: 13px; font-weight: 600; color: var(--gold-light); letter-spacing: 0.02em; }
.event-rsvp:hover { color: var(--cream); }
@media (max-width: 900px) {
  .event-section { padding: 48px 0 0; }
  .event-strip { grid-template-columns: auto 1fr; gap: 18px 20px; padding: 20px; }
  .event-thumb { width: 70px; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .event-actions .btn { flex: 1; }
  .event-rsvp { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .event-thumb img { opacity: 1; transform: rotate(-5deg); animation: none !important; }
}

/* ---------- Page header photo ---------- */
.page-header-media {
  position: absolute; right: max(32px, calc((100vw - 1240px) / 2)); top: 150px; bottom: 60px;
  width: min(30vw, 400px); z-index: 0;
}
.page-header-media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(192,147,74,0.55); border-radius: 18px; }
.page-header-media img {
  position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(12,32,59,0.55);
  animation: header-photo-in 1.1s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes header-photo-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.page-header .container { margin-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
@media (max-width: 1100px) {
  .page-header-media { display: none; }
  .page-header .container { margin-left: auto; }
}

/* centred section heads: balance the eyebrow rule on both sides */
.section-head.center .eyebrow::after, .eyebrow[style*="justify-content:center"]::after, .promise-section .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* ---------- Our advocates (about) ---------- */
.team-section { padding: 0 0 130px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 30px 34px; text-align: center; scroll-margin-top: 110px; }
.team-photo { width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; background: var(--navy); border: 1px solid rgba(192,147,74,0.6); box-shadow: 0 0 0 6px rgba(192,147,74,0.1); display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { font-family: var(--font-display); font-size: 34px; color: var(--gold-light); }
.team-card h3 { font-size: 21px; }
.team-card .team-role { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); }
.team-card .team-meta { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--charcoal); }
.team-card .team-quals { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ---------- FAQ (contact) ---------- */
.faq-section { padding: 0 0 130px; }
.faq-list { max-width: 860px; margin: 46px auto 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--font-body); font-size: 24px; color: var(--gold-dark); flex-shrink: 0; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 4px 24px; font-size: 15.5px; line-height: 1.75; color: var(--charcoal); max-width: 760px; }
