:root {
  --ink: #132034;
  --muted: #657083;
  --blue: #10243f;
  --blue-2: #223b5f;
  --line: #e4e8ee;
  --paper: #f6f7f9;
  --white: #ffffff;
  --gold: #c9a45d;
  --green: #22745c;
  --shadow: 0 24px 70px rgba(12, 26, 46, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px 12px 10px 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(13, 27, 45, 0.12);
  backdrop-filter: blur(18px);
}
.brand img { width: 138px; height: auto; }
.mobile-header-social { display: none; }
.main-nav { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; color: var(--muted); }
.main-nav a:hover { color: var(--blue); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  appearance: none;
  cursor: pointer;
}
.nav-cta, .button.primary { background: var(--blue); color: var(--white); }
.button.secondary { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.button.primary:hover { background: #183253; }
.button.primary:focus-visible {
  outline: 3px solid rgba(201, 164, 93, .45);
  outline-offset: 3px;
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--blue); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 170px max(24px, calc((100vw - 1180px) / 2)) 82px;
  color: var(--white);
  overflow: hidden;
}
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(10, 24, 43, .88), rgba(10, 24, 43, .55) 52%, rgba(10, 24, 43, .14));
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(3rem, 6vw, 5.95rem); line-height: .95; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: 10px; line-height: 1.16; }
.hero-copy { max-width: 680px; margin-bottom: 28px; font-size: clamp(1.2rem, 2vw, 1.62rem); line-height: 1.38; }
.hero-subcopy { max-width: 600px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-panel {
  position: relative;
  z-index: 1;
  margin-top: 70px;
  width: min(100%, 920px);
  padding: 22px 24px;
  display: grid;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}
.hero-panel span { color: rgba(255,255,255,.65); }
.hero-panel strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(.9rem, 1.3vw, 1.04rem);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.section { padding: 96px max(24px, calc((100vw - 1180px) / 2)); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head p, .split p, .contact-copy p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 62px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.metrics div { padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.metrics strong { display: block; font-size: 1.8rem; color: var(--blue); }
.metrics span { color: var(--muted); font-size: .9rem; }
.image-card { margin: 0; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.image-card img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: inherit; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service-card {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.service-card:nth-child(4n) { border-right: 0; }
.service-card span, .steps span { color: var(--gold); font-weight: 900; }
.service-card p, .steps p, .resource-grid p, .solution-grid p { color: var(--muted); font-size: .95rem; }
.service-card.featured { background: var(--blue); color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,.72); }
.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.card-link.invert {
  color: var(--white);
}

.dark-section { background: var(--blue); color: var(--white); }
.inverted p { color: rgba(255,255,255,.7); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solution-grid article { padding: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); }
.solution-grid p { color: rgba(255,255,255,.7); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps article { padding: 26px; background: var(--paper); border-top: 3px solid var(--blue); }
.case-band {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 46px;
  align-items: center;
  background: linear-gradient(180deg, #fff, #f5f7fa);
}
.case-band img {
  width: 100%;
  min-height: 430px;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.text-link { color: var(--blue); font-weight: 800; border-bottom: 2px solid var(--gold); }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-grid article { padding: 24px; border: 1px solid var(--line); }
.resource-grid span { color: var(--green); font-weight: 800; font-size: .82rem; }

.legal-services-intro {
  background: var(--paper);
}
.legal-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.legal-service-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.legal-service-grid span {
  color: var(--gold);
  font-weight: 900;
}
.legal-service-grid p {
  color: var(--muted);
}
.legal-cta {
  border-top: 1px solid rgba(255,255,255,.12);
}

.faq { background: var(--paper); }
.accordion { max-width: 860px; }
.accordion button {
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.accordion div { display: none; color: var(--muted); padding: 16px 0 22px; }
.accordion button[aria-expanded="true"] + div { display: block; }

.contact { display: grid; grid-template-columns: .8fr 1fr; gap: 56px; background: var(--blue); color: var(--white); }
.contact-copy p, .contact-copy li { color: rgba(255,255,255,.72); }
.contact-details {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.contact-details li {
  display: grid;
  gap: 4px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.contact-details li:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,164,93,.42);
  transform: translateY(-1px);
}
.contact-details li > a,
.contact-details strong a {
  color: inherit;
  text-decoration: none;
}
.contact-details li > a {
  display: grid;
  gap: 4px;
}
.contact-details span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-details strong {
  color: rgba(255,255,255,.84);
  font-size: .98rem;
  line-height: 1.4;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 26px 80px rgba(0,0,0,.22);
}
.contact-form label { display: grid; gap: 7px; font-weight: 800; font-size: .88rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
}
.contact-form .wide, .contact-form .check, .contact-form button, .form-note { grid-column: 1 / -1; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.check { display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; font-weight: 600 !important; color: var(--muted); }
.check input { width: auto; }
.check a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.form-note { margin: 0; color: var(--green); }

.page-hero {
  position: relative;
  min-height: 64svh;
  display: grid;
  align-items: end;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 76px;
  color: var(--white);
  overflow: hidden;
}
.page-hero-media,
.page-hero-media::after {
  position: absolute;
  inset: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(10,24,43,.9), rgba(10,24,43,.7) 48%, rgba(10,24,43,.24));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.page-hero-content p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
}

.job-section {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 56px;
  align-items: start;
  background: var(--paper);
}
.job-copy p {
  color: var(--muted);
}
.job-note {
  display: grid;
  gap: 4px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}
.job-note strong {
  color: var(--blue);
}
.job-note span {
  color: var(--muted);
}
.job-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.job-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  font-size: .88rem;
}
.job-form input,
.job-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
}
.job-form .wide {
  grid-column: 1 / -1;
}
.job-form .check {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--muted);
}
.job-form .check input {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
}
.file-field span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

.result-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--paper);
}
.result-card {
  width: min(680px, 100%);
  padding: 44px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.result-card h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}
.result-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}
.redirect-note {
  margin-top: -8px;
  font-size: .94rem !important;
}

.legal-hero {
  padding: 160px max(24px, calc((100vw - 1180px) / 2)) 72px;
  background: var(--blue);
  color: var(--white);
}
.legal-hero h1 {
  max-width: 860px;
}
.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255,255,255,.76);
  font-size: 1.12rem;
}
.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 48px;
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}
.legal-index {
  position: sticky;
  top: 128px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.legal-index a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
}
.legal-index a:hover {
  background: var(--paper);
  color: var(--blue);
}
.legal-content {
  display: grid;
  gap: 18px;
}
.legal-content section {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.legal-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}
.legal-content p {
  color: var(--muted);
}
.legal-content p:last-child {
  margin-bottom: 0;
}
.legal-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) max-content max-content;
  column-gap: 48px;
  row-gap: 28px;
  padding: 52px max(24px, calc((100vw - 1180px) / 2));
  background: #081421;
  color: rgba(255,255,255,.72);
}
.footer-brand img {
  width: 168px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  display: grid;
  gap: 2px;
  margin: 0 0 22px;
}
.footer-brand strong {
  color: #fff;
  font-size: 1.05rem;
}
.footer-brand span { color: rgba(255,255,255,.68); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: transform .18s ease, background .18s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--gold);
}
.footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  justify-self: end;
  text-align: right;
}
.site-footer a:hover { color: white; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; margin: 0; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: grid; }
  .nav-cta { width: 100%; }
  .split, .case-band, .contact { grid-template-columns: 1fr; }
  .job-section { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index { position: static; }
  .service-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2n) { border-right: 0; }
  .solution-grid, .resource-grid { grid-template-columns: 1fr; }
  .legal-service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 56px;
    padding: 7px 12px;
    border-radius: 0;
    transform: none;
  }
  .brand img { width: 118px; }
  .mobile-header-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    color: var(--blue);
  }
  .mobile-header-social a {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: inherit;
  }
  .mobile-header-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  .menu-toggle { padding: 6px; }
  .menu-toggle span { width: 22px; margin: 4px 0; }
  .hero { min-height: 94svh; padding-top: 118px; padding-bottom: 48px; }
  h1 { margin-bottom: 20px; font-size: clamp(2.65rem, 16vw, 4.4rem); }
  .hero-copy { line-height: 1.32; }
  .hero-actions, .button { width: 100%; }
  .hero-panel { margin-top: 36px; padding: 16px; }
  .hero-panel strong { white-space: normal; overflow: visible; text-overflow: clip; }
  .case-band img { min-height: 280px; aspect-ratio: 4 / 3; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .service-grid, .steps, .metrics, .contact-form, .site-footer { grid-template-columns: 1fr; }
  .site-footer nav {
    justify-self: start;
    text-align: left;
  }
  .page-hero { min-height: 58svh; padding-top: 136px; padding-bottom: 56px; }
  .legal-hero { padding-top: 138px; padding-bottom: 54px; }
  .legal-layout { padding-top: 52px; padding-bottom: 52px; }
  .legal-content section { padding: 22px; }
  .job-form { grid-template-columns: 1fr; }
  .service-card { border-right: 0; min-height: auto; }
  .contact-form .wide, .contact-form .check, .contact-form button, .form-note, .copyright { grid-column: auto; }
}
