:root {
  --ink: #111515;
  --muted: #5f6967;
  --paper: #f5f2ec;
  --paper-strong: #ebe5db;
  --white: #fffdf8;
  --green: #123c35;
  --green-2: #1f5a4e;
  --copper: #a9633c;
  --brick: #7f2f2a;
  --line: rgba(17, 21, 21, 0.14);
  --shadow: 0 18px 60px rgba(17, 21, 21, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::selection {
  color: var(--white);
  background: var(--green);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

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

.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;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 16px 32px;
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.site-header.is-scrolled .brand-mark {
  color: var(--white);
  border-color: rgba(17, 21, 21, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.84;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.site-nav .login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 6px;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, #0d1716 0%, var(--green) 54%, #e8dccd 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background-image: url("/assets/eab-portrait-v9.jpg");
  background-repeat: no-repeat;
  background-position: 72% center;
  background-size: cover;
  filter: saturate(1.02) contrast(1.05) brightness(1.03);
  opacity: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 20, 18, 0.97) 0%, rgba(12, 34, 31, 0.91) 34%, rgba(18, 60, 53, 0.58) 58%, rgba(232, 220, 205, 0.12) 100%),
    linear-gradient(180deg, rgba(9, 20, 18, 0.18), rgba(9, 20, 18, 0.34));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 58px;
  align-self: center;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c29c;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: 4.15rem;
  font-weight: 700;
}

h2 {
  font-size: 2.65rem;
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.56);
  background: rgba(255, 253, 248, 0.08);
}

.section .button-secondary,
.contact .button-secondary {
  color: var(--green);
  border-color: var(--green);
  background: transparent;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  width: min(100%, 1010px);
  margin-top: 48px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-panel div {
  min-height: 94px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 253, 248, 0.16);
}

.hero-panel div:first-child {
  border-left: 0;
}

.hero-panel span {
  display: block;
  color: #f0c29c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.hero-panel p {
  margin: 9px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.9rem;
}

.launch-note {
  padding: 12px 24px;
  color: #4e1d18;
  background: #f9e7da;
  border-bottom: 1px solid rgba(127, 47, 42, 0.24);
}

.launch-note p {
  width: min(var(--max), 100%);
  margin: 0 auto;
  font-size: 0.92rem;
  font-weight: 700;
}

.band,
.section {
  padding: 96px 24px;
}

.band {
  background: var(--white);
}

.section {
  background: var(--paper);
}

.section-grid,
.section-heading,
.practice-grid,
.timeline,
.ai-section,
.contact,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: 58px;
  align-items: start;
}

.section-grid p:last-child,
.ai-copy p,
.contact-main p,
.contact-card p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-grid a {
  color: var(--green);
  font-weight: 700;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.practice-item {
  min-height: 230px;
  padding: 30px 24px;
  background: var(--white);
}

.practice-item p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.experience {
  background:
    linear-gradient(90deg, rgba(18, 60, 53, 0.96), rgba(18, 60, 53, 0.9)),
    var(--green);
  color: var(--white);
}

.experience .section-kicker {
  color: #f0c29c;
}

.experience .section-heading h2 {
  max-width: 860px;
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.06);
}

.timeline li span {
  display: block;
  margin-bottom: 22px;
  color: #f0c29c;
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline li strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.12;
}

.timeline li p {
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.78);
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
}

.ai-copy p {
  margin-top: 24px;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.principles strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.principles p {
  margin: 0;
  color: var(--muted);
}

.quantico {
  border-block: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 40px;
  align-items: start;
}

.contact-main {
  max-width: 720px;
}

.contact-main p {
  margin: 22px 0 30px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-card h3 {
  margin-bottom: 20px;
  color: var(--green);
}

.contact-card p + p {
  margin-top: 12px;
}

.contact-card a {
  color: var(--green);
  font-weight: 700;
}

.fine-print {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem !important;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1.4fr);
  gap: 42px;
  padding: 42px 24px 52px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.site-footer p {
  font-size: 0.9rem;
}

.site-footer p + p {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 0;
  }

  .site-nav .login-link {
    margin-top: 8px;
    color: var(--green);
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: min(820px, 96svh);
  }

  .hero-backdrop {
    width: 100%;
    background-position: 70% center;
    background-size: cover;
    opacity: 1;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 20, 18, 0.97) 0%, rgba(12, 34, 31, 0.9) 42%, rgba(18, 60, 53, 0.5) 70%, rgba(232, 220, 205, 0.1) 100%),
      linear-gradient(180deg, rgba(9, 20, 18, 0.16), rgba(9, 20, 18, 0.38));
  }

  .hero-inner {
    padding: 124px 0 52px;
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel div:nth-child(odd) {
    border-left: 0;
  }

  .hero-panel div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 253, 248, 0.16);
  }

  .section-grid,
  .ai-section,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .practice-grid,
  .timeline ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  h3 {
    font-size: 1.18rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-backdrop {
    inset: 0;
    width: 100%;
    background-position: 66% top;
    background-size: auto 560px;
    opacity: 1;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 20, 18, 0.76) 0%, rgba(18, 60, 53, 0.9) 46%, rgba(9, 20, 18, 0.96) 100%),
      linear-gradient(90deg, rgba(9, 20, 18, 0.92) 0%, rgba(18, 60, 53, 0.7) 60%, rgba(18, 60, 53, 0.42) 100%);
  }

  .hero-inner {
    width: min(100% - 34px, var(--max));
    padding: 96px 0 34px;
  }

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

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

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

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 22px;
  }

  .hero-panel div {
    min-height: 122px;
    padding: 16px;
    border-left: 1px solid rgba(255, 253, 248, 0.16);
    border-top: 0;
  }

  .hero-panel div:nth-child(odd) {
    border-left: 0;
  }

  .hero-panel div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 253, 248, 0.16);
  }

  .hero-panel span {
    font-size: 1.6rem;
  }

  .hero-panel p {
    font-size: 0.84rem;
  }

  .band,
  .section {
    padding: 64px 18px;
  }

  .section-grid,
  .ai-section,
  .contact {
    gap: 30px;
  }

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

  .practice-item,
  .timeline li {
    min-height: auto;
  }

  .site-footer {
    padding: 34px 18px 42px;
  }
}

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

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