/* LawMotion — Premium Practice Gallery Design System */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,500;0,600;0,700;1,500&family=Epilogue:wght@300;400;500;600;700&family=Fragment+Mono&display=swap');

:root {
  --fog: #EEF1EC;
  --fog-deep: #E4E9E2;
  --mist: #D8DFD4;
  --forest: #0E1210;
  --forest-soft: #1A211C;
  --olive: #4A6140;
  --olive-light: #5C7550;
  --olive-dark: #354530;
  --olive-glow: rgba(74, 97, 64, 0.35);
  --slate: #5C6560;
  --slate-light: #8A948C;
  --link-on-light: #3D5234;
  --text-on-accent: #F4F6F2;
  --glass: rgba(238, 241, 236, 0.72);
  --glass-border: rgba(14, 18, 16, 0.08);
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-body: 'Epilogue', system-ui, sans-serif;
  --font-mono: 'Fragment Mono', monospace;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(14, 18, 16, 0.04);
  --shadow-md: 0 8px 32px rgba(14, 18, 16, 0.08);
  --shadow-lg: 0 24px 64px rgba(14, 18, 16, 0.12);
  --shadow-glow: 0 0 60px rgba(74, 97, 64, 0.15);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--forest);
  background: var(--fog);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--link-on-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--olive-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Typography */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: 0;
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.75rem, 5.5vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.25rem; }

/* Surfaces */
.surface-fog { background: var(--fog); color: var(--forest); }
.surface-forest { background: var(--forest); color: var(--text-on-accent); }
.surface-mist { background: linear-gradient(180deg, var(--fog-deep) 0%, var(--mist) 100%); color: var(--forest); }
.surface-olive {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 50%, var(--olive-light) 100%);
  color: var(--text-on-accent);
}

.surface-forest a, .surface-olive a { color: var(--text-on-accent); }

.eyebrow, .label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before, .label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--olive), transparent);
}

.surface-forest .eyebrow, .surface-olive .eyebrow { color: rgba(244, 246, 242, 0.7); }
.surface-forest .eyebrow::before, .surface-olive .eyebrow::before { background: linear-gradient(90deg, rgba(244,246,242,0.5), transparent); }

.container {
  width: min(1240px, 90vw);
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 10vw, 10rem) 0;
  position: relative;
}

.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,18,16,0.08) 20%, rgba(14,18,16,0.08) 80%, transparent);
  margin: 0;
  border: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(14, 18, 16, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  color: var(--text-on-accent);
  border-bottom-color: rgba(244, 246, 242, 0.06);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: min(1240px, 90vw);
  margin-inline: auto;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.03em;
}

.nav-centre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 2rem;
}

.nav-centre a {
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.nav-centre a:hover, .nav-centre a[aria-current="page"] { opacity: 1; }

.nav-centre a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-centre a:hover::after, .nav-centre a[aria-current="page"]::after { transform: scaleX(1); }

.site-header.is-scrolled .nav-centre a::after { background: var(--text-on-accent); }

.header-cta { justify-self: end; }

.nav-toggle {
  display: none;
  background: rgba(14, 18, 16, 0.06);
  border: 1px solid rgba(14, 18, 16, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  color: inherit;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; justify-self: end; }
  .nav-centre {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(14, 18, 16, 0.08);
    gap: 0.5rem;
  }
  .nav-centre.is-open { display: flex; }
  .site-header.is-scrolled .nav-centre { border-top-color: rgba(244, 246, 242, 0.1); }
  .header-cta { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition), background var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
  color: var(--text-on-accent);
  border-color: transparent;
  box-shadow: 0 4px 20px var(--olive-glow);
}

.btn-primary:hover { box-shadow: 0 8px 32px var(--olive-glow); }

.btn-secondary {
  background: rgba(14, 18, 16, 0.04);
  color: inherit;
  border-color: rgba(14, 18, 16, 0.15);
  backdrop-filter: blur(8px);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: transparent;
  padding: 1rem 1.25rem;
}

.btn-sm { padding: 0.75rem 1.25rem; font-size: 0.8125rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

/* Hero */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 97, 64, 0.2) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(216, 223, 212, 0.8) 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 640px; }

.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-standfirst {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--slate);
  line-height: 1.75;
  max-width: 520px;
}

.hero-visual { position: relative; }

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo:hover img { transform: scale(1.03); }

.hero-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
}

.hero-photo.is-framed { animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

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

.trust-strip {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo img { aspect-ratio: 16/10; }
}

/* Filing arc */
.filing-arc {
  display: flex;
  align-items: center;
  margin: 2.5rem 0;
  position: relative;
  max-width: 560px;
  padding: 1.5rem 0;
}

.filing-arc::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--olive) 0%, rgba(74, 97, 64, 0.15) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.filing-arc.is-drawn::before { transform: scaleX(1); }

.filing-node {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-top: 1.75rem;
  color: var(--slate);
}

.filing-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fog);
  border: 2px solid var(--olive);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.filing-arc.is-drawn .filing-node:nth-child(1)::before { background: var(--olive); box-shadow: 0 0 0 6px rgba(74, 97, 64, 0.15); }
.filing-arc.is-drawn .filing-node:nth-child(2)::before { transition-delay: 0.25s; background: var(--olive); box-shadow: 0 0 0 6px rgba(74, 97, 64, 0.15); }
.filing-arc.is-drawn .filing-node:nth-child(3)::before { transition-delay: 0.5s; background: var(--olive); box-shadow: 0 0 0 6px rgba(74, 97, 64, 0.15); }
.filing-arc.is-drawn .filing-node:nth-child(4)::before { transition-delay: 0.75s; background: var(--olive); box-shadow: 0 0 0 6px rgba(74, 97, 64, 0.15); }

.filing-arc.is-drawn .filing-node { color: var(--forest); }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Section headers */
.section-header {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--slate);
  margin-top: 1rem;
}

/* Cards */
.card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(14, 18, 16, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74, 97, 64, 0.15);
}

.card:hover::before { opacity: 1; }

.card-mono {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--olive);
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--slate); font-size: 0.9375rem; margin-bottom: 0; }

.card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--forest-soft) 0%, var(--forest) 100%);
  color: var(--text-on-accent);
}

.card--featured p { color: rgba(244, 246, 242, 0.75); }
.card--featured .card-mono { color: var(--olive-light); }

@media (max-width: 768px) {
  .card--featured { grid-column: span 1; }
}

/* Metrics */
.metric-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.metric-trio > div {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(14, 18, 16, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-trio > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-trio strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-trio span {
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .metric-trio { grid-template-columns: 1fr; }
}

/* Stage rail / Process */
.stage-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stage-item {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(14, 18, 16, 0.06);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stage-item::before {
  content: attr(data-step);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--olive);
  display: block;
  margin-bottom: 1rem;
}

.stage-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.stage-item p { font-size: 0.9375rem; color: var(--slate); margin: 0; }

@media (max-width: 900px) {
  .stage-rail { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .stage-rail { grid-template-columns: 1fr; }
}

/* Photo frames */
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-frame:hover img { transform: scale(1.04); }

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* FAQ */
.faq-grid { max-width: 800px; }

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(14, 18, 16, 0.06);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--olive);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--olive-dark); }

.faq-item > p, .faq-item > div {
  padding: 0 2rem 1.5rem;
  color: var(--slate);
  font-size: 0.9375rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 0 clamp(1rem, 3vw, 2rem);
  padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { max-width: 520px; margin: 0 auto 2rem; opacity: 0.9; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid rgba(14, 18, 16, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--forest);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(74, 97, 64, 0.1);
}

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

.form-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(14, 18, 16, 0.06);
  box-shadow: var(--shadow-md);
}

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
}

.form-check input { margin-top: 0.25rem; flex-shrink: 0; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-alert {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}

.form-alert--success { background: rgba(74, 97, 64, 0.12); border: 1px solid var(--olive); }
.form-alert--error { background: rgba(14, 18, 16, 0.06); border: 1px solid var(--forest); }

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 97, 64, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  max-width: 640px;
  color: var(--slate);
  line-height: 1.75;
}

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--forest-soft) 0%, var(--forest) 100%);
  color: var(--text-on-accent);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive-light), transparent);
}

.footer-glow::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, var(--olive-glow) 0%, transparent 70%);
  filter: blur(40px);
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,246,242,0.5) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-on-accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(244, 246, 242, 0.65);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.75rem; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 246, 242, 0.06);
  border: 1px solid rgba(244, 246, 242, 0.1);
  color: var(--text-on-accent);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--text-on-accent);
  transform: translateY(-2px);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 246, 242, 0.5);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col li { margin-bottom: 0.625rem; }

.footer-col a {
  color: rgba(244, 246, 242, 0.75);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--text-on-accent); }

.footer-contact-list span {
  color: rgba(244, 246, 242, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.disclaimer {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(244, 246, 242, 0.08);
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(244, 246, 242, 0.45);
  position: relative;
  z-index: 1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 246, 242, 0.06);
  font-size: 0.75rem;
  color: rgba(244, 246, 242, 0.4);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  max-width: 720px;
  margin-inline: auto;
  padding: 1.5rem 2rem;
  background: rgba(14, 18, 16, 0.95);
  backdrop-filter: blur(20px);
  color: var(--text-on-accent);
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 246, 242, 0.08);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 3rem));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-inner { display: grid; gap: 1.25rem; }
.cookie-inner p { font-size: 0.875rem; color: rgba(244, 246, 242, 0.8); margin: 0; }
.cookie-inner a { color: var(--text-on-accent); text-decoration: underline; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; }

.cookie-custom {
  display: none;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 246, 242, 0.1);
}

.cookie-custom.is-open { display: block; }

.cookie-custom label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
}

/* Prose & misc */
.prose { max-width: 720px; }
.prose h2 { margin-top: 3rem; margin-bottom: 1rem; font-family: var(--font-display); }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; color: var(--slate); }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.legal-nav a {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(14, 18, 16, 0.04);
  border: 1px solid rgba(14, 18, 16, 0.08);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.legal-nav a:hover {
  background: var(--olive);
  color: var(--text-on-accent);
  border-color: var(--olive);
}

.matter-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(14, 18, 16, 0.06);
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition);
}

.matter-card:hover { box-shadow: var(--shadow-md); }

.matter-card .tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.service-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(14, 18, 16, 0.06);
}

.service-block:last-child { border-bottom: none; }

.fee-note {
  font-size: 0.875rem;
  color: var(--slate);
  font-style: italic;
  margin-top: 1rem;
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1rem 3rem;
}

.error-page p { color: var(--slate); margin: 1rem 0 2rem; }

/* Animations */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.js .reveal-delay-1 { transition-delay: 0.1s; }
.js .reveal-delay-2 { transition-delay: 0.2s; }
.js .reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .filing-arc::before { transform: scaleX(1); }
  .filing-arc .filing-node::before { background: var(--olive); }
  .hero-photo.is-framed { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
