/* =============================================
   COURTNEY G. HUGHES — LEGAL WEBSITE
   Aesthetic: Editorial Luxury
   Palette: Deep navy, warm ivory, antiqued gold
   Fonts: Cormorant Garamond (serif) + Outfit (sans)
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  --navy:       #0f1a2e;
  --navy-deep:  #0a1220;
  --navy-mid:   #162240;
  --charcoal:   #1e293b;
  --slate:      #334155;
  --gold:       #b8915a;
  --gold-light: #d4b07a;
  --gold-pale:  #f0e4d0;
  --ivory:      #faf8f4;
  --ivory-mid:  #f1ede6;
  --white:      #ffffff;
  --text-dark:  #1a1a2e;
  --text-body:  #3d3d56;
  --text-muted: #6b7280;
  --text-light: #c8ccd4;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:  'Outfit', 'Helvetica Neue', sans-serif;

  --header-h:   80px;
  --section-py:  clamp(80px, 12vw, 160px);
  --container-w: 1200px;
  --gap:         clamp(24px, 4vw, 48px);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration: 0.8s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--ivory);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* --- Reveal Animation Base --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--duration) var(--ease-out-expo),
    transform var(--duration) var(--ease-out-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }
.reveal--delay-4 { transition-delay: 0.6s; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(15, 26, 46, 0.97);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
  height: 68px;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-bar {
  width: 1px;
  height: 20px;
  background: var(--gold);
  opacity: 0.6;
}
.logo-title {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
  color: var(--gold);
  border: 1px solid rgba(184, 145, 90, 0.4);
  padding: 8px 24px;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}
.menu-bar {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
}
.menu-toggle.is-active .menu-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.is-active .menu-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .menu-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo), color 0.3s ease;
}
.mobile-nav-overlay.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-link:hover { color: var(--gold-light); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    165deg,
    var(--navy-deep) 0%,
    var(--navy) 40%,
    var(--navy-mid) 100%
  );
  overflow: hidden;
}

/* Subtle grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

/* Decorative corner lines */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(184, 145, 90, 0.12);
  pointer-events: none;
}
.hero::before {
  top: 40px;
  left: 40px;
  width: 80px;
  height: 80px;
  border-right: none;
  border-bottom: none;
}
.hero::after {
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-left: none;
  border-top: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.rule-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 16px 40px;
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184, 145, 90, 0.3);
}
.btn--full { width: 100%; justify-content: center; }
.btn-arrow {
  transition: transform 0.3s var(--ease-out-expo);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* =============================================
   SECTIONS — SHARED
   ============================================= */
.section {
  padding: var(--section-py) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.label-number {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
}
.label-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.label-text {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
}
.section-heading--center {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--gap);
  align-items: start;
  margin-bottom: 64px;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 360px;
}
.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.portrait-initials {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
}
.portrait-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold);
  border-radius: 2px;
  opacity: 0.25;
  z-index: -1;
}

.about-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Associate card */
.associate-card {
  position: relative;
  background: var(--white);
  padding: 40px 48px;
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.associate-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
}
.associate-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.associate-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.associate-bio {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 700px;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--white);
}

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

.service-card {
  padding: 40px 32px;
  background: var(--ivory);
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  border-color: rgba(184, 145, 90, 0.2);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--gold);
}
.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* =============================================
   EXPERIENCE
   ============================================= */
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: calc(var(--gap) * 1.5);
  align-items: start;
}

.experience-left {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.experience-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding-left 0.4s var(--ease-out-expo);
}
.case-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.case-item:hover {
  padding-left: 16px;
}

.case-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(184, 145, 90, 0.08);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.case-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.case-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =============================================
   TESTIMONIAL STRIP
   ============================================= */
.testimonial-strip {
  padding: clamp(60px, 10vw, 120px) 0;
  background: linear-gradient(165deg, var(--navy-deep), var(--navy));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.testimonial { position: relative; }
.quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 16px;
  opacity: 0.5;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 24px;
}
.quote-attribution {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}
.quote-dash { color: var(--gold); }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: calc(var(--gap) * 1.5);
  align-items: start;
}

.contact-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 4px;
}
.detail-value {
  font-size: 1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}
a.detail-value:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  padding: 48px;
  border-radius: 2px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--ivory);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  padding: 14px 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 145, 90, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input.has-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 6px;
}
.form-group.show-error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  margin-top: 20px;
  background: rgba(184, 145, 90, 0.08);
  border-radius: 2px;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.form-success.is-visible {
  display: block;
  animation: fadeIn 0.5s var(--ease-out-expo);
}
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  margin-right: 10px;
  vertical-align: middle;
}

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

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy-deep);
  padding: 0 0 40px;
  position: relative;
}

.footer-accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0.6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}

/* Brand column */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.footer-role {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gold-light);
  opacity: 0.7;
}
.footer-location {
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.4;
  margin-top: 4px;
}

/* Link columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.55;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--gold-light);
}
.footer-address {
  font-size: 0.82rem;
  color: var(--text-light);
  opacity: 0.4;
  line-height: 1.5;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* Bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
}
.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.3;
  white-space: nowrap;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-light);
  opacity: 0.25;
  line-height: 1.6;
  text-align: right;
  max-width: 480px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .portrait-frame { max-width: 280px; }
  .experience-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .experience-left { position: static; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --section-py: 64px;
  }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero::before,
  .hero::after { display: none; }

  .hero-name {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-intro {
    font-size: 0.92rem;
    line-height: 1.7;
    padding: 0 8px;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.78rem;
  }

  /* About */
  .section-heading {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }

  .about-text {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
  }
  .stat {
    flex: 1 1 auto;
    min-width: 90px;
    text-align: center;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }

  .portrait-frame {
    max-width: 200px;
    margin: 0 auto;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    padding: 28px 24px;
  }
  .service-title {
    font-size: 1.15rem;
  }
  .service-desc {
    font-size: 0.88rem;
  }
  .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }
  .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 36px;
  }

  /* Experience */
  .case-item {
    padding: 24px 0;
  }
  .case-item:hover {
    padding-left: 8px;
  }
  .case-title {
    font-size: 1.1rem;
  }
  .case-desc {
    font-size: 0.85rem;
  }

  /* Testimonial */
  .testimonial-strip { padding: 48px 0; }
  .quote-mark { font-size: 3rem; }
  .quote-text {
    font-size: 1.1rem;
    line-height: 1.55;
    padding: 0 8px;
  }
  .quote-attribution {
    font-size: 0.75rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-intro {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }
  .contact-details {
    gap: 20px;
  }
  .detail-value {
    font-size: 0.92rem;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
  .form-label {
    font-size: 0.72rem;
  }
  .form-input {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  /* Associate */
  .associate-card {
    padding: 24px 20px 24px 24px;
  }
  .associate-name {
    font-size: 1.25rem;
  }
  .associate-bio {
    font-size: 0.88rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .footer-disclaimer {
    text-align: left;
    max-width: none;
  }

  /* Section labels */
  .section-label {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .logo-bar,
  .logo-title { display: none; }

  .logo-name {
    font-size: 1.05rem;
  }

  .hero-scroll-indicator { display: none; }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .hero-name {
    font-size: 2.3rem;
    margin-bottom: 16px;
  }

  .hero-tagline {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .hero-intro {
    font-size: 0.85rem;
    margin-bottom: 28px;
  }

  .rule-line { width: 40px; }
  .rule-diamond { width: 6px; height: 6px; }

  .section-heading {
    font-size: 1.6rem;
  }

  .about-stats {
    gap: 16px;
  }
  .stat-number {
    font-size: 1.5rem;
  }

  .portrait-frame {
    max-width: 160px;
  }

  /* Tighter padding on very small screens */
  .container {
    padding: 0 16px;
  }

  .contact-form-wrap {
    padding: 24px 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 28px;
  }
  .footer-col--brand {
    grid-column: auto;
    text-align: center;
    align-items: center;
  }
  .footer-col {
    align-items: center;
    text-align: center;
  }
  .footer-address {
    text-align: center;
  }
  .footer-copyright {
    white-space: normal;
    text-align: center;
  }
  .footer-disclaimer {
    text-align: center;
  }
  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .mobile-nav-link {
    font-size: 1.6rem;
  }
}
