/* LDP Legal Support — site styles
   Palette: navy, ivory, gold. UK English content lives in the HTML. */

:root {
  --navy: #0c1c33;
  --navy-deep: #081322;
  --navy-mid: #163050;
  --navy-soft: #243e5c;
  --ivory: #f6f1e8;
  --ivory-deep: #ece4d4;
  --paper: #fbf8f2;
  --gold: #c4a265;
  --gold-light: #d4b87a;
  --gold-deep: #8f7033;
  --ink: #1a2230;
  --muted: #5a5f6a;
  --muted-light: #c5c0b6;
  --line: rgba(12, 28, 51, 0.12);
  --line-strong: rgba(12, 28, 51, 0.2);
  --gold-line: rgba(196, 162, 101, 0.5);
  --white: #fffdf9;
  --danger-ink: #3a2a12;
  --shadow: 0 18px 40px rgba(12, 28, 51, 0.08);
  --header-h: 4.5rem;
  --measure: 40rem;
  --wrap: 72rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Calibri, sans-serif;
  --radius: 2px;
  --ease: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html:focus-within {
  scroll-behavior: smooth;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy-mid);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.15rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1rem; }

p:last-child,
ul:last-child { margin-bottom: 0; }

ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--gold-deep); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.85rem;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
}

.section--alt {
  background: var(--ivory-deep);
}

.section--navy {
  background: var(--navy);
  color: var(--ivory);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy .eyebrow {
  color: var(--gold);
}

.section--navy p,
.section--navy li {
  color: rgba(246, 241, 232, 0.88);
}

.section--navy a {
  color: var(--gold-light);
}

.section--navy a:hover {
  color: var(--gold);
}

.section--navy .btn-gold,
.section--navy .btn-gold:hover {
  color: var(--navy-deep);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 19, 34, 0.96);
  color: var(--ivory);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 162, 101, 0.28);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover { color: inherit; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--white);
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--ivory);
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 1.2px;
  background: var(--ivory);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.2px;
  background: var(--ivory);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.site-nav .nav-cta {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 232, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-navy {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Hero */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 19, 34, 0.2), transparent 30%),
    var(--navy);
  color: var(--ivory);
  padding: 5.25rem 0 4.75rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(196, 162, 101, 0.22);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
  gap: 3.5rem;
  align-items: end;
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(246, 241, 232, 0.86);
  max-width: 36rem;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-aside {
  border-left: 1px solid var(--gold-line);
  padding: 0.2rem 0 0.2rem 2rem;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  margin: 0 0 1.5rem;
}

.hero-stats li:last-child { margin-bottom: 0; }

.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-stats span {
  display: block;
  font-size: 0.95rem;
  color: rgba(246, 241, 232, 0.8);
}

.notice-bar {
  background: var(--ivory-deep);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  font-size: 0.95rem;
  color: var(--navy);
}

.notice-bar p { margin: 0; }

.notice-bar a { color: var(--navy); font-weight: 600; }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 18.5rem) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border: 1px solid var(--gold);
  overflow: hidden;
  isolation: isolate;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(196, 162, 101, 0.35);
  pointer-events: none;
  z-index: 2;
}

.portrait__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 4.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 30%, var(--navy-mid), var(--navy-deep) 70%);
  z-index: 0;
}

.portrait__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.portrait.is-fallback .portrait__img {
  display: none;
}

.portrait-caption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.about-copy > p:first-of-type {
  font-size: 1.2rem;
  color: var(--navy);
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.chip {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

/* Services */

.startups-callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1.3rem 1.5rem 1.2rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow);
}

.startups-callout h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.startups-callout p {
  color: var(--ink);
  max-width: 52rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--gold-line);
}

.service-card p,
.service-card li {
  font-size: 1.02rem;
  color: var(--ink);
}

.service-card ul {
  margin: 0.6rem 0 0;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.why-item {
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--gold);
}

.why-item h3 {
  font-size: 1.4rem;
}

.why-item p {
  color: var(--muted);
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.3rem 1.4rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.steps h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.steps p {
  color: var(--muted);
  font-size: 1rem;
}

/* Pricing */

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.4rem;
}

.price-figure {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.price-figure span {
  font-size: 1.15rem;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.15rem;
}

.price-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 0.85rem;
}

/* Compliance */

.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.compliance-points {
  display: grid;
  gap: 1rem;
}

.compliance-point {
  background: rgba(255, 253, 249, 0.04);
  border: 1px solid rgba(196, 162, 101, 0.28);
  padding: 1.2rem 1.25rem;
}

.compliance-point h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.disclaimer {
  background: rgba(196, 162, 101, 0.1);
  border: 1px solid var(--gold);
  padding: 1.4rem 1.4rem 1.25rem;
}

.disclaimer h3 {
  color: var(--gold);
  font-size: 1.3rem;
}

.disclaimer p {
  color: var(--ivory) !important;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 52rem;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--ease);
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list .faq-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  max-width: 46rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: rgba(255, 253, 249, 0.04);
  border: 1px solid rgba(196, 162, 101, 0.3);
  padding: 1.6rem 1.5rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.contact-card a {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.contact-card a:hover { color: var(--gold); }

.contact-card p {
  margin-top: 0.7rem;
  font-size: 0.98rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 232, 0.78);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--gold-light); }

.footer-legal {
  border-top: 1px solid rgba(196, 162, 101, 0.22);
  padding-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted-light);
  font-size: 0.88rem;
}

/* Privacy page */

.page-hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 3.5rem 0 2.75rem;
}

.page-hero h1 {
  color: var(--white);
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-hero p {
  color: rgba(246, 241, 232, 0.8);
  margin: 0;
}

.prose {
  max-width: 46rem;
  padding: 4rem 0 5rem;
}

.prose h2 {
  font-size: 1.7rem;
  margin-top: 2.4rem;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }

/* Responsive */

@media (max-width: 900px) {
  .hero .wrap,
  .about-grid,
  .compliance-grid,
  .pricing-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
    padding: 1.75rem 0 0;
  }

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

  .hero-stats li { margin: 0; }

  .hero::before { inset: 0.75rem; }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(196, 162, 101, 0.28);
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .site-nav .nav-cta { margin-left: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
  .section { padding: 3.75rem 0; }
  .hero { padding: 3.4rem 0 3rem; }
  .service-grid,
  .why-grid,
  .steps,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .pricing-panel { padding: 1.5rem; }
  .about-grid { gap: 1.75rem; }
  .portrait {
    max-width: 15.5rem;
    margin-inline: auto;
  }
  .portrait__fallback { font-size: 3.2rem; }
  .portrait-caption { text-align: center; }
}


@media print {
  .site-header,
  .nav-toggle,
  .hero-actions,
  .contact-actions { }
  .site-header { position: static; background: var(--navy); }
  .hero, .section--navy, .site-footer { break-inside: avoid; }
  a[href]::after { content: none; }
}
