:root {
  --ink: #17342e;
  --ink-deep: #0b211d;
  --forest: #183b33;
  --forest-soft: #2d5b4e;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --sand: #e6dcc8;
  --copper: #c97950;
  --muted: #62716d;
  --white: #ffffff;
  --line: rgba(23, 52, 46, 0.16);
  --shadow: 0 24px 70px rgba(11, 33, 29, 0.15);
  --radius-lg: 2rem;
  --radius-md: 1.2rem;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
}

h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(11, 33, 29, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 3rem));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: var(--ink-deep);
  background: var(--copper);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.7rem 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.site-nav .nav-cta {
  margin-left: 0.4rem;
  color: var(--ink-deep);
  background: var(--copper);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--ink-deep);
  background: #dc8d63;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  min-height: calc(100svh - 78px);
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100% - var(--max)) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 88%, rgba(201, 121, 80, 0.23), transparent 32%),
    linear-gradient(135deg, var(--ink-deep), var(--forest) 62%, #27594d);
}

.hero::before {
  content: "NFA";
  position: absolute;
  right: -0.08em;
  bottom: -0.26em;
  color: transparent;
  border-color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11rem, 31vw, 31rem);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.hero-copy,
.hero-portrait {
  position: relative;
  z-index: 1;
  align-self: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 640px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink-deep);
  background: var(--copper);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.4rem;
  margin-bottom: 0;
}

.hero-facts div {
  padding-left: 0.8rem;
  border-left: 2px solid var(--copper);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin-bottom: 0;
  font-weight: 700;
}

.hero-portrait {
  width: min(100%, 480px);
  justify-self: end;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #385d51;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15rem 15rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -90px 100px rgba(11, 33, 29, 0.34);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.identity-card {
  position: relative;
  width: calc(100% - 2.5rem);
  margin: -4.2rem 1.25rem 0;
  padding: 1.25rem 1.35rem;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  box-shadow: 0 16px 38px rgba(11, 33, 29, 0.2);
  backdrop-filter: blur(12px);
}

.identity-card strong,
.identity-card span {
  display: block;
}

.identity-card strong {
  margin-bottom: 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.identity-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.statement {
  padding: clamp(3.4rem, 7vw, 6rem) 1.5rem;
  color: var(--cream);
  text-align: center;
  background: var(--copper);
}

.statement blockquote {
  max-width: 1000px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.statement cite {
  display: block;
  margin-top: 1.3rem;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 5rem;
  align-items: end;
  margin-bottom: 3.2rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.25rem;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow),
.about-intro > p:not(.eyebrow),
.consultation-copy > p:not(.eyebrow),
.contact p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 430px;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(23, 52, 46, 0.06);
}

.service-card-accent {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.service-card-accent p,
.service-card-accent li {
  color: rgba(255, 255, 255, 0.75);
}

.card-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  min-height: 2.25em;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  padding-left: 1.15rem;
  margin-bottom: 0;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 0.4rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.about-intro {
  position: sticky;
  top: 120px;
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 2.2rem;
  padding: 1.25rem;
  background: var(--sand);
  border-radius: 1rem;
}

.credential span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.credential strong {
  font-size: 1.35rem;
}

.timeline h3 {
  margin-bottom: 2rem;
}

.timeline .timeline-subheading {
  margin-top: 3.5rem;
}

.timeline ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--copper);
  font-weight: 800;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  font-size: 1.02rem;
}

.timeline span {
  color: var(--muted);
}

.practice {
  width: 100%;
  padding-right: max(1.5rem, calc((100% - var(--max)) / 2));
  padding-left: max(1.5rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--ink-deep);
}

.practice-heading {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.practice-item {
  padding: 2rem;
  background: var(--ink-deep);
}

.practice-item > span {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.practice-item h3 {
  margin: 1.6rem 0 0.8rem;
}

.practice-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
}

.consultation {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.consultation-panel {
  padding: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.consultation-panel > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.consultation-panel span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.consultation-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
}

.consultation-panel small {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.consultation-panel .pro-bono strong {
  color: var(--copper);
  font-size: 2rem;
}

.consultation-panel > p {
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.contact {
  padding: clamp(5rem, 9vw, 9rem) 1.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.contact-actions {
  border-top: 1px solid var(--line);
}

.contact-actions a {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 88px;
  padding: 1rem 3rem 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-actions a::after {
  content: "↗";
  position: absolute;
  right: 0.2rem;
  color: var(--copper);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.contact-actions a:hover::after {
  transform: translate(3px, -3px);
}

.contact-actions span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-actions strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.urgent-note {
  padding: 1.4rem max(1.5rem, calc((100% - var(--max)) / 2));
  color: #68412d;
  background: #f1dfd0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem max(1.5rem, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.75);
  background: var(--ink-deep);
  font-size: 0.85rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.footer-meta {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1.25rem 1.5rem 1.75rem;
    background: var(--ink-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .site-nav .nav-cta {
    margin: 0.3rem 0 0;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-portrait {
    width: min(82vw, 500px);
    justify-self: center;
  }

  .section-heading,
  .about,
  .consultation,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1rem;
  }

  .about-intro {
    position: static;
  }

  .service-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 2.2rem;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section {
    width: min(100% - 2rem, var(--max));
  }

  .brand-name {
    display: none;
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-portrait {
    width: 100%;
  }

  .identity-card {
    width: calc(100% - 1.5rem);
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .contact-actions a {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 1rem 2.5rem 1rem 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
