:root {
  --ink: #050503;
  --charcoal: #12100d;
  --panel: #17130f;
  --line: #39332b;
  --paper: #f5f0e7;
  --muted: #aaa29a;
  --gold: #f1be4d;
  --gold-deep: #8f702e;
  --max: 1400px;
  --content: 92vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(5, 5, 3, 0.76);
  border-bottom: 1px solid rgba(245, 240, 231, 0.16);
  display: flex;
  height: 96px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(22px, 4vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, height 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 3, 0.94);
  height: 76px;
}

.brand {
  align-items: baseline;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.brand-main {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.brand-sub {
  color: var(--gold);
  font-size: clamp(11px, 1.3vw, 16px);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 34px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--paper);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}

.menu-toggle span {
  background: var(--paper);
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 28px;
}

.menu-toggle span:first-child {
  transform: translateY(-8px);
}

.menu-toggle span:last-child {
  transform: translateY(8px);
}

.menu-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  background: rgba(10, 9, 7, 0.98);
  border-bottom: 1px solid var(--line);
  display: none;
  left: 0;
  padding: 102px 28px 26px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.mobile-menu a {
  border-top: 1px solid var(--line);
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 34px;
  padding: 18px 0;
}

.page-main {
  padding-top: 96px;
}

.hero {
  min-height: 96vh;
  overflow: hidden;
  padding: 204px clamp(22px, 4vw, 64px) 92px;
  position: relative;
}

.hero-image {
  background-image: url("assets/trajectory-legal-hero.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: 0.32;
  position: absolute;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 3, 0.97) 0%, rgba(5, 5, 3, 0.82) 46%, rgba(5, 5, 3, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 5, 3, 0.56) 0%, rgba(5, 5, 3, 0.22) 42%, rgba(5, 5, 3, 0.98) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 1040px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.panel-kicker,
.footer-label {
  color: var(--muted);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 54px;
}

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

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(68px, 10vw, 152px);
  line-height: 0.84;
  margin-bottom: 48px;
  max-width: 920px;
}

h1 span {
  color: var(--gold);
  display: block;
}

h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero h1 em {
  color: var(--paper);
  display: block;
}

h2 {
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: 1.02;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.45;
  max-width: 770px;
}

.hero-actions,
.begin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 54px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-size: 19px;
  font-weight: 700;
  gap: 18px;
  justify-content: center;
  min-height: 64px;
  min-width: 260px;
  padding: 0 30px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0905;
}

.button-primary:hover {
  background: #ffd36b;
}

.button-secondary {
  background: rgba(5, 5, 3, 0.24);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.split-intro,
.approach,
.service-lanes,
.begin {
  margin: 0 auto;
  max-width: var(--max);
  padding: 118px max(24px, calc((100vw - var(--max)) / 2 + 48px));
}

.split-intro {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.split-intro .eyebrow,
.approach .eyebrow,
.practice .eyebrow,
.begin .eyebrow {
  margin-bottom: 30px;
}

.split-intro p:last-child,
.begin p,
.service-lanes article > p:not(.panel-kicker) {
  color: var(--muted);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.55;
}

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

.approach h2 {
  max-width: 1340px;
}

.approach-list {
  border-top: 1px solid var(--line);
  margin-top: 128px;
}

.approach-list article {
  border-bottom: 1px solid var(--line);
  padding: 54px 0 70px;
}

.approach-title {
  align-items: baseline;
  display: flex;
  gap: 30px;
}

.approach-title span {
  color: var(--gold);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
}

.approach-title h3 {
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1.08;
  margin-bottom: 28px;
}

.approach-list p {
  color: var(--muted);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.45;
  margin-left: min(118px, 8vw);
  max-width: 1040px;
}

.practice {
  background: var(--panel);
  border: 1px solid rgba(245, 240, 231, 0.08);
  border-radius: 14px 14px 0 0;
  margin: 0 auto;
  max-width: 1490px;
  min-height: 650px;
  padding: 64px 48px 110px;
}

.practice h2 {
  max-width: 1180px;
}

.text-link {
  border-bottom: 3px solid var(--gold-deep);
  color: var(--gold);
  display: inline-block;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(38px, 4.6vw, 58px);
  margin-top: 76px;
  padding-bottom: 8px;
}

.service-lanes {
  background: #030302;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  padding-bottom: 128px;
  padding-top: 0;
}

.service-lanes article {
  border-top: 1px solid var(--line);
  padding: 68px clamp(24px, 4vw, 64px) 28px 0;
}

.service-lanes article:first-child {
  margin-left: max(24px, calc((100vw - var(--max)) / 2 + 48px));
}

.service-lanes article:last-child {
  margin-right: max(24px, calc((100vw - var(--max)) / 2 + 48px));
}

.panel-kicker {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 38px;
}

.service-lanes h2 {
  font-size: clamp(42px, 5.2vw, 74px);
  margin-bottom: 34px;
}

ul {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

li {
  border-top: 1px solid rgba(245, 240, 231, 0.18);
  font-weight: 700;
  padding: 20px 0;
}

.begin {
  border-top: 1px solid var(--line);
  padding-bottom: 132px;
  padding-top: 190px;
}

.begin h2 {
  max-width: 1050px;
}

.begin p {
  max-width: 1180px;
}

.page-hero,
.text-section,
.rule-list,
.entity-section,
.next-section,
.form-section,
.process-section,
.cta-strip {
  border-bottom: 1px solid var(--line);
  padding: 112px clamp(24px, 3.2vw, 48px);
}

.page-hero {
  min-height: 490px;
}

.page-hero h1 {
  font-size: clamp(62px, 8.6vw, 128px);
  line-height: 0.96;
  max-width: 1360px;
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.55;
  max-width: 1260px;
}

.text-section h2 {
  font-size: clamp(48px, 6vw, 72px);
  margin-bottom: 112px;
}

.prose {
  color: var(--muted);
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.55;
  max-width: 1420px;
}

.prose p {
  margin-bottom: 56px;
}

.rule-list article {
  border-top: 1px solid var(--line);
  min-height: 330px;
  padding: 72px 0;
}

.rule-list article:first-child {
  border-top: 0;
}

.service-list article:first-child {
  border-top: 1px solid var(--line);
}

.rule-list span,
.process-grid span,
.next-section span {
  color: var(--gold);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
}

.rule-list h3 {
  display: inline;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1.08;
  margin-left: 28px;
}

.rule-list p {
  color: var(--muted);
  font-size: clamp(23px, 2.8vw, 38px);
  line-height: 1.55;
  margin-top: 38px;
  max-width: 880px;
}

.entity-section {
  padding-bottom: 118px;
  padding-top: 130px;
}

.entity-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.55;
  max-width: 1300px;
}

.entity-section strong {
  color: var(--paper);
  font-weight: 500;
}

.cta-strip {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  min-height: 360px;
}

.cta-strip h2 {
  font-size: clamp(50px, 6vw, 76px);
  margin: 0;
}

.contact-email-strip h2 {
  overflow-wrap: anywhere;
}

.process-grid {
  display: grid;
  gap: 70px;
  margin-top: 70px;
}

.process-grid article {
  min-height: 210px;
}

.process-grid h3 {
  font-size: clamp(40px, 4.6vw, 56px);
  margin: 28px 0 18px;
}

.process-grid p,
.next-section p {
  color: var(--muted);
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.55;
}

.next-section {
  padding-bottom: 120px;
  padding-top: 160px;
}

.next-section p:not(.eyebrow) {
  margin-bottom: 34px;
}

.form-section {
  border-bottom: 0;
  padding-top: 86px;
}

.inquiry-form {
  max-width: 1420px;
}

.form-grid {
  display: grid;
  gap: 52px 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inquiry-form label {
  color: var(--muted);
  display: block;
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.inquiry-form label span {
  float: right;
  font-size: clamp(15px, 1.5vw, 22px);
  letter-spacing: 0;
  text-transform: none;
}

.inquiry-form strong {
  color: var(--gold);
  font-weight: 600;
}

input,
select,
textarea {
  background: #1b1713;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper);
  display: block;
  font: inherit;
  font-size: clamp(20px, 2.2vw, 30px);
  margin-top: 16px;
  min-height: 92px;
  outline: 0;
  padding: 0 26px;
  width: 100%;
}

select {
  color-scheme: dark;
}

textarea {
  min-height: 290px;
  padding-top: 26px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

::placeholder {
  color: #9f978f;
}

.file-label,
.full-label,
.check-label {
  margin-top: 52px;
}

input[type="file"] {
  align-items: center;
  display: flex;
  font-size: clamp(18px, 2vw, 28px);
  padding: 24px;
}

input[type="file"]::file-selector-button {
  background: var(--gold);
  border: 0;
  color: #0c0905;
  cursor: pointer;
  font: inherit;
  margin-right: 26px;
  padding: 18px 28px;
}

.check-label {
  align-items: flex-start;
  display: flex !important;
  gap: 24px;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

input[type="checkbox"] {
  appearance: none;
  background: transparent;
  border: 2px solid var(--muted);
  flex: 0 0 26px;
  height: 26px;
  margin: 4px 0 0;
  min-height: 0;
  padding: 0;
  width: 26px;
}

input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 5px var(--ink);
}

.inquiry-form .button {
  margin-top: 42px;
}

.compact-footer {
  padding-top: 0;
}

.compact-footer .footer-legal {
  border-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 116px clamp(24px, 4vw, 48px) 58px;
}

.footer-main {
  display: grid;
  gap: 90px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(220px, 0.5fr) minmax(320px, 1.1fr);
  margin: 0 auto 100px;
  max-width: var(--max);
}

.footer-about p {
  color: var(--muted);
  font-size: 26px;
  line-height: 1.6;
  margin-top: 44px;
  max-width: 520px;
}

.footer-label {
  margin-bottom: 34px;
}

.footer-nav a {
  color: var(--muted);
  display: block;
  font-size: 26px;
  line-height: 1.8;
}

.footer-contact .text-link {
  color: var(--paper);
  margin-top: 12px;
}

.footer-legal {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 22px;
  line-height: 1.4;
  margin: 0 auto;
  max-width: var(--max);
  padding-top: 64px;
}

.footer-legal p {
  margin-bottom: 18px;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .split-intro,
  .service-lanes,
  .footer-main,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-lanes article:first-child,
  .service-lanes article:last-child {
    margin-left: 24px;
    margin-right: 24px;
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 78px;
    padding-inline: 18px;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .brand-main {
    font-size: 29px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 124px 22px 54px;
  }

  .eyebrow {
    line-height: 1.6;
    margin-bottom: 34px;
  }

  h1 {
    font-size: clamp(50px, 14.4vw, 74px);
    line-height: 0.9;
    margin-bottom: 30px;
  }

  .hero-copy,
  .split-intro p:last-child,
  .begin p,
  .service-lanes article > p:not(.panel-kicker) {
    font-size: 19px;
  }

  .hero-actions,
  .begin-actions {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .button {
    font-size: 16px;
    min-height: 56px;
    min-width: 0;
    padding-inline: 16px;
  }

  .split-intro,
  .approach,
  .begin,
  .page-hero,
  .text-section,
  .rule-list,
  .entity-section,
  .next-section,
  .form-section,
  .process-section,
  .cta-strip {
    padding: 76px 22px;
  }

  .page-main {
    padding-top: 78px;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero h1 {
    font-size: clamp(50px, 14vw, 74px);
  }

  .text-section h2 {
    margin-bottom: 60px;
  }

  .prose,
  .entity-section p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .process-grid p,
  .next-section p,
  .rule-list p {
    font-size: 20px;
  }

  .rule-list article {
    min-height: auto;
    padding: 54px 0;
  }

  .rule-list h3 {
    display: block;
    font-size: 38px;
    margin: 18px 0 0;
  }

  .form-grid {
    gap: 34px;
  }

  input,
  select {
    min-height: 66px;
  }

  textarea {
    min-height: 210px;
  }

  .inquiry-form label {
    font-size: 15px;
  }

  .approach-list {
    margin-top: 70px;
  }

  .approach-title {
    align-items: flex-start;
    gap: 18px;
  }

  .approach-title h3 {
    font-size: 34px;
  }

  .approach-list p {
    font-size: 20px;
    margin-left: 0;
  }

  .practice {
    border-radius: 0;
    min-height: auto;
    padding: 58px 22px 78px;
  }

  .text-link {
    font-size: 34px;
    margin-top: 48px;
  }

  .service-lanes {
    padding-bottom: 88px;
  }

  .service-lanes article {
    padding-top: 54px;
  }

  .begin {
    padding-top: 96px;
  }

  .site-footer {
    padding: 78px 22px 42px;
  }

  .footer-main {
    gap: 64px;
    margin-bottom: 72px;
  }

  .footer-about p,
  .footer-nav a,
  .footer-legal {
    font-size: 20px;
  }
}
