:root {
  --bg: #f3f1ec;
  --paper: #fbfaf7;
  --panel: rgba(255, 255, 255, 0.78);
  --ink: #12161b;
  --muted: #62686f;
  --quiet: #8a9096;
  --navy: #101823;
  --navy-2: #172231;
  --charcoal: #0d0f12;
  --bronze: #a6814a;
  --bronze-2: #c2a66e;
  --steel: #87919c;
  --line: rgba(18, 22, 27, 0.14);
  --line-soft: rgba(18, 22, 27, 0.08);
  --approved: #617c67;
  --review: #a6814a;
  --risk: #9b5b55;
  --shadow: 0 24px 70px rgba(9, 14, 20, 0.12);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 24, 35, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 35, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(166, 129, 74, 0.12), transparent 28rem),
    linear-gradient(180deg, #fdfbf7 0%, var(--bg) 62%, #e9e7e1 100%);
  background-size: 58px 58px, 58px 58px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.68), transparent 24rem),
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.28) 48%, transparent 58%);
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 24, 35, 0.12);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(16, 24, 35, 0.06);
  overflow: hidden;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(166, 129, 74, 0.16) 22%, rgba(166, 129, 74, 0.74) 50%, rgba(166, 129, 74, 0.16) 78%, transparent 100%);
  content: "";
  transform: translateX(-100%);
  animation: headerRoute 7.5s ease-in-out infinite;
}

.site-header::after {
  position: absolute;
  left: clamp(18px, 4.8vw, 72px);
  bottom: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--bronze);
  box-shadow: 0 0 0 6px rgba(166, 129, 74, 0.1);
  content: "";
  opacity: 0.72;
  animation: headerNode 4.6s ease-in-out infinite;
}

.site-header.is-scrolled {
  border-color: rgba(16, 24, 35, 0.16);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 16px 42px rgba(16, 24, 35, 0.1);
}

.nav {
  width: min(1480px, 100%);
  margin: 0 auto;
  min-height: 74px;
  padding: 12px clamp(18px, 4.8vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-size: 20px;
  font-weight: 790;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(16, 24, 35, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(16, 24, 35, 0.68);
  font-size: 13px;
  font-weight: 680;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--bronze-2);
  content: "";
  transition: transform 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(16, 24, 35, 0.12);
}

.nav-cta::after { display: none; }

.page {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 4.8vw, 72px) clamp(18px, 4.8vw, 72px);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.ambient svg {
  width: 100%;
  height: 100%;
  min-height: 720px;
}

.route {
  fill: none;
  stroke: rgba(166, 129, 74, 0.34);
  stroke-width: 1.2;
  stroke-dasharray: 8 18;
  animation: routeFlow 16s linear infinite;
}

.route.steel {
  stroke: rgba(16, 24, 35, 0.18);
  stroke-dasharray: 4 18;
  animation-duration: 22s;
}

.node {
  fill: var(--bronze);
  opacity: 0.75;
  animation: nodePulse 3.8s ease-in-out infinite;
}

.node:nth-of-type(2n) { animation-delay: 1.2s; }
.node:nth-of-type(3n) { animation-delay: 2.1s; }

@keyframes routeFlow {
  to { stroke-dashoffset: -260; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.36; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.18); }
}

@keyframes headerRoute {
  0% { transform: translateX(-100%); opacity: 0; }
  18% { opacity: 1; }
  70% { opacity: 0.9; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes headerNode {
  0%, 100% { opacity: 0.42; transform: scale(1); }
  50% { opacity: 0.86; transform: scale(1.22); }
}

@keyframes floatFile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scanLine {
  0% { transform: translateY(-120%); opacity: 0; }
  18% { opacity: 0.45; }
  70% { opacity: 0.14; }
  100% { transform: translateY(360%); opacity: 0; }
}

@keyframes compassTurn {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fileTab {
  0%, 33% { opacity: 1; }
  34%, 100% { opacity: 0.48; }
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.9vw, 74px);
  line-height: 1.01;
  letter-spacing: 0;
}

h1::after,
.section-head h2::after,
.band h2::after,
.statement h2::after {
  width: 72px;
  height: 2px;
  display: block;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--bronze), transparent);
  content: "";
}

.hero {
  min-height: min(790px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
}

.hero-copy,
.lead {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0 22px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16, 24, 35, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--bronze);
  box-shadow: 0 18px 34px rgba(16, 24, 35, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
}

.command-visual,
.dossier-visual,
.about-mark {
  position: relative;
  border: 1px solid rgba(16, 24, 35, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 80% 18%, rgba(166, 129, 74, 0.12), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.command-visual {
  padding: clamp(18px, 3vw, 28px);
  animation: floatFile 7s ease-in-out infinite;
}

.command-visual::before,
.dossier-visual::before,
.intake-layout::before {
  position: absolute;
  inset: -40% 0 auto;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(166, 129, 74, 0.14), transparent);
  content: "";
  animation: scanLine 6.6s ease-in-out infinite;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--approved);
  box-shadow: 0 0 0 6px rgba(97, 124, 103, 0.13);
  animation: nodePulse 3.4s ease-in-out infinite;
}

.file-dashboard {
  display: grid;
  gap: 10px;
}

.file-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.file-panel:hover,
.file-panel.is-active {
  transform: translateX(4px);
  border-color: rgba(166, 129, 74, 0.62);
  background: #fff;
}

.file-panel small {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file-panel strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.file-panel span:last-child {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.module-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 129, 74, 0.32);
  border-radius: 999px;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 850;
}

.route-map {
  position: absolute;
  inset: 0;
  opacity: 0.56;
  pointer-events: none;
}

.section {
  position: relative;
  padding: clamp(52px, 6vw, 94px) 0;
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head h2,
.band h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.65vw, 52px);
  line-height: 1.08;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.trust-item {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: end;
  border: 1px solid rgba(16, 24, 35, 0.11);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
}

.trust-item::after,
.module-card::after,
.path-card::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
  content: "";
  transform: translateX(-110%);
  transition: transform 500ms ease;
}

.trust-item:hover::after,
.module-card:hover::after,
.path-card:hover::after {
  transform: translateX(110%);
}

.problem-grid,
.split-note,
.file-stage,
.intake-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.fragment-stack,
.organized-file,
.statement,
.legal-card {
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 10px;
  padding: clamp(22px, 3.5vw, 36px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 48px rgba(16, 24, 35, 0.06);
}

.fragment-stack {
  display: grid;
  gap: 12px;
}

.fragment {
  width: min(100%, 420px);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 13px 15px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(16, 24, 35, 0.06);
  transition: transform 500ms ease, opacity 500ms ease;
}

.fragment:nth-child(2n) { justify-self: end; }
.fragment:nth-child(3n) { transform: translateX(18px); }

.reveal.is-visible .fragment {
  transform: translateX(0);
  opacity: 1;
}

.organized-file {
  position: relative;
  overflow: hidden;
}

.organized-file::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(166, 129, 74, 0.08), transparent);
  content: "";
  animation: scanLine 7s ease-in-out infinite;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.card,
.module-card,
.path-card,
.principle,
.quiet-item,
.contact-card {
  position: relative;
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    linear-gradient(135deg, transparent, rgba(166, 129, 74, 0.12));
  box-shadow: 0 14px 42px rgba(16, 24, 35, 0.06);
  overflow: hidden;
}

.card,
.module-card,
.path-card,
.principle,
.contact-card {
  min-height: 190px;
  padding: 24px;
}

.card::before,
.module-card::before,
.path-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 220ms ease;
}

.card:hover::before,
.module-card:hover::before,
.path-card:hover::before {
  border-color: rgba(166, 129, 74, 0.58);
}

.card .num,
.module-card .num,
.path-card .num,
.principle span {
  display: block;
  margin-bottom: 22px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.card h3,
.module-card h3,
.path-card h3,
.contact-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
}

.card p,
.card li,
.module-card p,
.module-card li,
.path-card p,
.contact-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.card ul,
.module-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.module-meta {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 360ms ease, opacity 260ms ease;
}

.module-card:hover .module-meta,
.module-card:focus-within .module-meta,
.module-card.is-visible .module-meta,
.path-card:hover .module-meta,
.path-card:focus-within .module-meta {
  max-height: 280px;
  opacity: 1;
}

.module-meta b {
  color: var(--ink);
}

.mini-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 10px;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    linear-gradient(90deg, rgba(16, 24, 35, 0.045), transparent);
  box-shadow: 0 16px 50px rgba(16, 24, 35, 0.06);
}

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

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
}

.check::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--bronze);
  content: "";
  animation: nodePulse 4.2s ease-in-out infinite;
}

.dossier-visual {
  padding: clamp(18px, 3vw, 30px);
}

.file-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.file-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
  animation: fileTab 9s ease-in-out infinite;
}

.file-tab:nth-child(2) { animation-delay: 3s; }
.file-tab:nth-child(3) { animation-delay: 6s; }
.file-tab.is-active { color: var(--navy); border-color: var(--bronze); }

.file-sample {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.file-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  border-bottom: 1px solid var(--line-soft);
  transition: background 220ms ease, transform 220ms ease;
}

.file-row:last-child { border-bottom: 0; }

.file-row:hover,
.file-row.is-active {
  transform: translateX(4px);
  background: rgba(166, 129, 74, 0.08);
}

.file-row span,
.file-row p,
.file-row em {
  padding: 14px 18px;
}

.file-row span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.file-row em {
  color: var(--bronze);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-left: 10px;
  padding-left: 34px;
}

.timeline::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(16, 24, 35, 0.14);
  content: "";
}

.timeline::after {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: var(--timeline-progress, 26%);
  background: linear-gradient(180deg, var(--bronze), rgba(166, 129, 74, 0.2));
  content: "";
  transition: height 260ms ease;
}

.step-card {
  position: relative;
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(16, 24, 35, 0.06);
}

.step-card::before {
  position: absolute;
  left: -41px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--bronze);
  box-shadow: 0 0 0 8px rgba(166, 129, 74, 0.14);
  content: "";
  animation: nodePulse 4s ease-in-out infinite;
}

.step-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.step-meta div {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.step-meta b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}

.about-mark {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 30px;
}

.about-mark::after {
  width: min(78vw, 250px);
  height: min(78vw, 250px);
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(166, 129, 74, 0.2);
  border-radius: 999px;
  transform-origin: center;
  content: "";
  animation: compassTurn 46s linear infinite;
}

.about-mark img {
  width: min(100%, 255px);
  z-index: 1;
  filter: drop-shadow(0 24px 36px rgba(16, 24, 35, 0.14));
}

.about-mark p {
  z-index: 1;
  margin: 0;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.statement {
  min-height: 100%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 22px 58px rgba(16, 24, 35, 0.16);
}

.statement .eyebrow,
.statement p {
  color: rgba(255, 255, 255, 0.72);
}

.statement h2 {
  max-width: 560px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
}

.quiet-list {
  display: grid;
  gap: 12px;
}

.quiet-item {
  padding: 18px;
}

.quiet-item strong {
  display: block;
  margin-bottom: 6px;
}

.quiet-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.intake-layout {
  align-items: start;
}

.intake-form {
  position: relative;
  display: grid;
  gap: 18px;
}

.form-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(16, 24, 35, 0.05);
}

.form-section h2 {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full { grid-column: 1 / -1; }

label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--bronze);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(166, 129, 74, 0.14);
}

textarea { min-height: 132px; resize: vertical; }

.upload-zone {
  min-height: 130px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(166, 129, 74, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  text-align: center;
  transition: background 220ms ease, transform 220ms ease;
}

.upload-zone:hover {
  transform: translateY(-2px);
  background: rgba(166, 129, 74, 0.1);
}

.intake-side {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.progress-card {
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 10px;
  padding: 22px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.progress-rail {
  height: 8px;
  margin: 18px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.progress-fill {
  width: var(--form-progress, 10%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-2));
  transition: width 220ms ease;
}

.review-queue {
  display: grid;
  gap: 12px;
}

.queue-step {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.queue-step.is-active {
  color: #fff;
}

.contact-card {
  min-height: 210px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 98px;
  border: 1px solid rgba(16, 24, 35, 0.12);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.legal-toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--bronze);
}

.legal-card h1 {
  font-size: clamp(34px, 4.4vw, 58px);
}

.legal-card {
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  position: absolute;
  inset: -45% 0 auto;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 35, 0.045), transparent);
  content: "";
  pointer-events: none;
  animation: scanLine 12s ease-in-out infinite;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.notice {
  border-left: 3px solid var(--bronze);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  line-height: 1.55;
}

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

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

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 34px clamp(18px, 4.8vw, 72px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 13px;
}

.footer-links a { text-decoration: none; }

@media (max-width: 1120px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .band,
  .problem-grid,
  .split-note,
  .file-stage,
  .intake-layout,
  .contact-grid,
  .about-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intake-side,
  .legal-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .grid,
  .grid.two,
  .principles,
  .form-section,
  .footer-inner,
  .trust-band,
  .step-meta {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 12px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .file-row {
    grid-template-columns: 1fr;
  }

  .file-row em {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
