/* ============================================
   JONES, WOLF & KAPASI — Design Tokens + Styles
   Art direction: Authoritative, sober, warm.
   Palette: Deep navy + warm gold accent on ivory surfaces.
   ============================================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Surfaces — warm ivory (light body) */
  --color-bg:             #f8f6f1;
  --color-surface:        #fefefe;
  --color-surface-2:      #f0ede6;
  --color-surface-offset: #e6e2da;
  --color-divider:        #dbd7cf;
  --color-border:         #ccc8c0;

  /* Text — dark green for readability */
  --color-text:           #1a2e22;
  --color-text-muted:     #3d4f44;
  --color-text-faint:     #5f7068;
  --color-text-inverse:   #faf9f6;

  /* Primary — deep forest green (darkened) */
  --color-primary:        #091710;
  --color-primary-hover:  #122b1c;
  --color-primary-active: #06100b;

  /* Accent — warm gold */
  --color-accent:         #b8860b;
  --color-accent-hover:   #9a7009;
  --color-accent-light:   #d4a843;

  /* Complementary — warm slate (bridges green + gold) */
  --color-complement:     #2c2825;
  --color-complement-light: #e8e2d9;
  --color-complement-muted: #7a726a;

  /* Dark green section tokens (for header, hero, footer, CTA) — deepened */
  --green-bg:             #081410;
  --green-surface:        #0e1f16;
  --green-surface-2:      #142a1e;
  --green-divider:        #1e3a2a;
  --green-border:         #2a4a36;
  --green-text:           #f0f0ec;
  --green-text-muted:     #b0b8b2;
  --green-text-faint:     #808e84;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — tinted warm to bridge green + slate */
  --shadow-sm: 0 1px 3px rgba(20,30,25,0.1);
  --shadow-md: 0 4px 12px rgba(20,30,25,0.12);
  --shadow-lg: 0 12px 32px rgba(20,30,25,0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ============================================
   DIAMOND MICRO-PATTERN (for dark green sections)
   ============================================ */

/* Subtle gridded diamond texture — applied to green backgrounds */
.diamond-texture {
  position: relative;
}
.diamond-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L20 10L10 20L0 10Z' fill='none' stroke='%23d4a843' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 20px 20px;
}
/* Ensure content sits above the pattern */
.diamond-texture > * {
  position: relative;
  z-index: 1;
}
/* Kill pattern on interactive elements */
.diamond-texture a::after,
.diamond-texture button::after {
  display: none;
}

/* ============================================
   GLOBAL
   ============================================ */

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  color: var(--color-accent-hover);
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ============================================
   HEADER / NAV
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-bg);
  border-bottom: 1px solid var(--green-divider);
  transition: box-shadow 300ms ease;
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .header-inner { padding-inline: var(--space-8); }
}

.logo {
  display: flex;
  align-items: center;
}

.logo-tagline {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.45rem;
  font-style: italic;
  color: var(--green-text-muted);
  white-space: nowrap;
  opacity: 0.7;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  background: linear-gradient(
    135deg,
    #a07608 0%,
    #d4a843 20%,
    #f5d98a 40%,
    #d4a843 55%,
    #b8860b 70%,
    #d4a843 85%,
    #f5d98a 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 6s ease-in-out infinite;
  filter: drop-shadow(0 0 1px rgba(184, 134, 11, 0.3));
}

@keyframes goldShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #b8860b 15%,
    #f5d98a 50%,
    #b8860b 85%,
    transparent 100%
  );
  margin: 3px 0 2px;
  opacity: 0.7;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    #a07608 0%,
    #d4a843 30%,
    #f5d98a 50%,
    #d4a843 70%,
    #b8860b 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 6s ease-in-out infinite;
  opacity: 0.9;
}

/* Gold shimmer hover — shared by all gold CTA buttons */
@keyframes btnShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.gold-shimmer-hover {
  background: var(--color-accent);
  background-size: 100% 100%;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.gold-shimmer-hover:hover {
  background: linear-gradient(
    110deg,
    var(--color-accent) 0%,
    var(--color-accent) 25%,
    #f5d98a 40%,
    #fff7e0 50%,
    #f5d98a 60%,
    var(--color-accent) 75%,
    var(--color-accent) 100%
  );
  background-size: 200% 100%;
  animation: btnShimmer 1.2s ease-in-out;
  box-shadow: 0 0 16px rgba(212, 168, 67, 0.3);
}

/* Nav CTA button */
.nav-cta {
  background: var(--color-accent) !important;
  color: var(--green-bg) !important;
  padding: 0.35rem 1rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: var(--text-xs) !important;
  letter-spacing: 0.02em;
  transition: background 200ms ease, box-shadow 200ms ease !important;
}
.nav-cta:hover {
  background: linear-gradient(
    110deg,
    var(--color-accent) 0%,
    var(--color-accent) 25%,
    #f5d98a 40%,
    #fff7e0 50%,
    #f5d98a 60%,
    var(--color-accent) 75%,
    var(--color-accent) 100%
  ) !important;
  background-size: 200% 100% !important;
  animation: btnShimmer 1.2s ease-in-out !important;
  color: var(--green-bg) !important;
  box-shadow: 0 0 16px rgba(212, 168, 67, 0.3) !important;
}
.nav-cta::after {
  display: none !important; /* no underline effect */
}

/* Desktop nav */
.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--green-text-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}
.nav-links a:hover {
  color: var(--green-text);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 200ms ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}



/* Mobile menu */
.mobile-toggle {
  display: flex;
  padding: var(--space-2);
  color: var(--green-text);
}
@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green-bg);
  z-index: 200;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-8);
}
.mobile-nav-close {
  padding: var(--space-2);
  color: var(--green-text);
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--green-text);
  text-decoration: none;
  font-weight: 600;
}
.mobile-nav-links a:hover {
  color: var(--color-accent);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Mobile: uniform dark green tint over the entire image */
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.45) 50%,
      rgba(0, 0, 0, 0.15) 100%
    );
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-16) var(--space-4);
  width: 100%;
}
@media (min-width: 768px) {
  .hero-content { padding: var(--space-20) var(--space-8); max-width: 680px; margin-inline: 0; margin-left: max(var(--space-8), calc((100vw - 1200px) / 2 + var(--space-8))); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(184, 134, 11, 0.15);
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 100px;
  font-size: var(--text-xs);
  color: #d4a843;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: #faf9f6;
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.08;
}

.hero-subtitle {
  font-size: var(--text-base);
  color: rgba(250, 249, 246, 0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.hero-cta:hover {
  background: linear-gradient(
    110deg,
    var(--color-accent) 0%,
    var(--color-accent) 25%,
    #f5d98a 40%,
    #fff7e0 50%,
    #f5d98a 60%,
    var(--color-accent) 75%,
    var(--color-accent) 100%
  );
  background-size: 200% 100%;
  animation: btnShimmer 1.2s ease-in-out;
  color: #fff;
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.35);
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-complement-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.about-text p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 100px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background: var(--green-bg);
  padding: var(--space-8) 0;
  border-top: 2px solid var(--green-divider);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent, #d4a843);
  margin-bottom: var(--space-1);
}
[data-theme="dark"] .stat-item h3,
[data-theme="dark"] .stats-bar {
  /* dark mode stats bar */
}
.stats-bar {
  --_stat-text: var(--green-text);
}
[data-theme="dark"] .stats-bar {
  background: var(--green-surface);
  --_stat-text: var(--green-text);
}
.stat-item h3 {
  color: #d4a843;
}
.stat-item p {
  font-size: var(--text-xs);
  color: var(--_stat-text);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ============================================
   PRACTICE AREAS
   ============================================ */

.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (min-width: 640px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .practice-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .practice-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.practice-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-top: 2px solid var(--color-complement-muted);
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.practice-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  border-top-color: var(--color-accent);
}
a.practice-card {
  text-decoration: none;
  color: inherit;
}
a.practice-card:hover {
  color: inherit;
}

.practice-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.practice-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.practice-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   REPRESENTATIVE MATTERS
   ============================================ */

.matters-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (min-width: 768px) {
  .matters-list { grid-template-columns: repeat(2, 1fr); }
}

.matter-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}
.matter-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.matter-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   ACCOLADES
   ============================================ */

.accolades {
  background: var(--color-surface-2);
}
.accolades-inner {
  text-align: center;
}
.accolades-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.accolade-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  min-width: 180px;
  max-width: 240px;
  flex: 1;
}
.accolade-badge svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}
.accolade-badge h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}
.accolade-badge p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}

.contact-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.contact-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.contact-detail svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-faint);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail p,
.contact-detail a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.contact-detail a:hover {
  color: var(--color-accent);
}

/* CTA bar */
.cta-bar {
  background: var(--green-bg);
  padding: var(--space-12) 0;
  text-align: center;
}
.cta-bar h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #faf9f6;
  margin-bottom: var(--space-3);
}
[data-theme="dark"] .cta-bar {
  background: var(--green-surface);
}
[data-theme="dark"] .cta-bar h2 {
  color: var(--green-text);
}
.cta-bar p {
  font-size: var(--text-base);
  color: var(--green-text-muted);
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-inline: auto;
}
[data-theme="dark"] .cta-bar p {
  color: var(--green-text-muted);
}
.cta-bar a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.cta-bar a:hover {
  background: linear-gradient(
    110deg,
    var(--color-accent) 0%,
    var(--color-accent) 25%,
    #f5d98a 40%,
    #fff7e0 50%,
    #f5d98a 60%,
    var(--color-accent) 75%,
    var(--color-accent) 100%
  );
  background-size: 200% 100%;
  animation: btnShimmer 1.2s ease-in-out;
  color: #fff;
  box-shadow: 0 0 16px rgba(212, 168, 67, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--green-bg);
  border-top: 1px solid var(--green-divider);
  padding: var(--space-8) 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer p {
  font-size: var(--text-xs);
  color: var(--green-text-faint);
}
.footer-address {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-disclaimer {
  max-width: 600px;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.5;
}

/* ============================================
   ABOUT — PORTRAIT
   ============================================ */

.about-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ============================================
   BIOGRAPHY / TIMELINE
   ============================================ */

.bio-section {
  background: var(--color-surface-2);
}
/* Timeline marker border matches the section bg */

.bio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .bio-layout {
    grid-template-columns: 280px 1fr;
    gap: var(--space-12);
  }
}
@media (min-width: 1024px) {
  .bio-layout {
    grid-template-columns: 320px 1fr;
  }
}

.bio-sidebar {
  position: relative;
}
@media (min-width: 768px) {
  .bio-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}
.bio-image-secondary {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bio-image-secondary img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.timeline {
  position: relative;
  padding-left: var(--space-8);
  margin-top: var(--space-6);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--color-divider);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-8);
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-8) + 1px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-surface-2);
  z-index: 1;
}

.timeline-date {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.timeline-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   NOTABLE CASES
   ============================================ */

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (min-width: 640px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

.case-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.case-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme="dark"] .case-tag {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
}

.case-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.case-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.case-year {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
}

.cases-disclaimer {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.testimonial-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme="dark"] .testimonial-tag {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  font-size: var(--text-xs);
  color: var(--color-text);
  font-weight: 600;
  margin-top: var(--space-2);
}

/* ============================================
   PAGE HERO (subpages)
   ============================================ */

.page-hero {
  background: var(--green-bg);
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0 clamp(var(--space-12), 8vw, var(--space-20));
}
[data-theme="dark"] .page-hero {
  background: var(--green-surface);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #faf9f6;
  line-height: 1.12;
  margin-bottom: var(--space-4);
  max-width: 720px;
}
[data-theme="dark"] .page-hero-title {
  color: var(--green-text);
}

.page-hero .section-label {
  color: #d4a843;
  margin-bottom: var(--space-4);
}

.page-hero-desc {
  font-size: var(--text-base);
  color: rgba(250,249,246,0.75);
  max-width: 640px;
  line-height: 1.7;
}
[data-theme="dark"] .page-hero-desc {
  color: var(--green-text-muted);
}

/* ============================================
   SERVICE CARDS (practice area pages)
   ============================================ */

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Service list (estate planning) */
.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.service-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 7px;
}

/* Two column layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
@media (min-width: 768px) {
  .two-col-layout { grid-template-columns: 1fr 1fr; }
}

/* Section closing */
.section-closing {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.section-closing p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 200ms ease;
}
.btn-primary:hover {
  background: linear-gradient(
    110deg,
    var(--color-accent) 0%,
    var(--color-accent) 25%,
    #f5d98a 40%,
    #fff7e0 50%,
    #f5d98a 60%,
    var(--color-accent) 75%,
    var(--color-accent) 100%
  );
  background-size: 200% 100%;
  animation: btnShimmer 1.2s ease-in-out;
  color: #fff;
  box-shadow: 0 0 16px rgba(212, 168, 67, 0.3);
}

/* ============================================
   BIO TEXT (about page)
   ============================================ */

.bio-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  max-width: 800px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .contact-page-grid { grid-template-columns: 1fr 360px; gap: var(--space-12); }
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ============================================
   NAV DROPDOWN
   ============================================ */

.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger svg {
  transition: transform 200ms ease;
}
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-surface);
  border: 1px solid var(--green-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  z-index: 200;
  min-width: 240px;
  list-style: none;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--green-text-muted);
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}
.nav-dropdown-menu li a:hover {
  background: var(--green-surface-2);
  color: var(--green-text);
}
.nav-dropdown-menu li a::after {
  display: none;
}

/* ============================================
   NEW FOOTER (multi-column)
   ============================================ */

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--green-divider);
}
@media (min-width: 640px) {
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-content { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green-text);
  margin-bottom: var(--space-3);
}
.footer-col p,
.footer-col a {
  font-size: var(--text-xs);
  color: var(--green-text-muted);
  line-height: 1.6;
}
.footer-col a:hover {
  color: var(--color-accent);
}

.footer-logo {
  margin-bottom: var(--space-2);
}
.footer-logo .logo-wordmark {
  align-items: center;
}
.footer-tagline {
  font-family: var(--font-display) !important;
  font-size: var(--text-xs) !important;
  color: var(--green-text-muted) !important;
  font-style: italic;
  text-align: center;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-links li a {
  font-size: var(--text-xs);
  color: var(--green-text-muted);
  transition: color 150ms ease;
}
.footer-links li a:hover {
  color: var(--color-accent);
}

.footer-badges {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.footer-badge {
  color: var(--green-text-faint);
  transition: color 200ms ease;
  display: flex;
  align-items: center;
}
.footer-badge:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--green-text-faint);
}

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CTA BUTTONS ROW
   ============================================ */

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.cta-form-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: transparent;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: background 200ms ease, border-color 200ms ease;
}
.cta-form-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
[data-theme="dark"] .cta-form-btn {
  color: var(--green-text);
  border-color: var(--green-border);
}
[data-theme="dark"] .cta-form-btn:hover {
  background: var(--green-surface-2);
  border-color: var(--color-accent-light);
}

/* Contact section "Send Secure Message" button */
.contact-form-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  transition: background 200ms ease;
}
.contact-form-btn:hover {
  background: var(--color-accent-hover);
}

/* ============================================
   CONTACT FORM MODAL
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFadeIn 250ms ease;
}

.modal-window {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  width: 92vw;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  animation: modalSlideIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-6) var(--space-6) 0;
}
.modal-title-group h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.modal-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(34, 139, 34, 0.08);
  border: 1px solid rgba(34, 139, 34, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #2d8a2d;
  letter-spacing: 0.04em;
}
[data-theme="dark"] .modal-secure-badge {
  background: rgba(60, 180, 60, 0.1);
  border-color: rgba(60, 180, 60, 0.25);
  color: #5ec05e;
}

.modal-close {
  padding: var(--space-2);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  display: flex;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}
.modal-close:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.modal-body {
  padding: var(--space-6);
}

.modal-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

/* Form elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group .required {
  color: #c0392b;
}
.form-group .file-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-faint);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a9aaa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* File upload area */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: border-color 200ms ease, background 200ms ease;
  cursor: pointer;
}
.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--color-accent);
  background: rgba(184, 134, 11, 0.04);
}
[data-theme="dark"] .file-upload-area:hover,
[data-theme="dark"] .file-upload-area.drag-over {
  background: rgba(212, 168, 67, 0.06);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.file-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.file-upload-content svg {
  color: var(--color-text-faint);
}
.file-upload-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.file-upload-text strong {
  color: var(--color-accent);
  cursor: pointer;
}
.file-upload-hint {
  font-size: 11px;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* File list */
.file-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.file-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
}
.file-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}
.file-name {
  color: var(--color-text);
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-size {
  color: var(--color-text-faint);
  font-weight: 400;
}

/* Form footer */
.form-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-2);
}

.form-security-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.5;
}
.form-security-note svg {
  flex-shrink: 0;
  color: #2d8a2d;
  margin-top: 1px;
}
[data-theme="dark"] .form-security-note svg {
  color: #5ec05e;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 200ms ease, opacity 200ms ease;
  width: 100%;
}
.form-submit:hover {
  background: var(--color-accent-hover);
}
.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin {
  animation: spin 1s linear infinite;
}

/* Success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-4);
}
.form-success svg {
  color: #2d8a2d;
}
[data-theme="dark"] .form-success svg {
  color: #5ec05e;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}
.form-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 400px;
}
