:root {
  --paper: #F7F8F5;
  --white: #FFFFFF;
  --ink: #242331;
  --ink-soft: #595866;
  --violet: #422E88;
  --violet-deep: #281D51;
  --clover: #387932;
  --rule: #242331;
  --hairline: rgba(20, 33, 28, 0.16);
  --hairline-light: rgba(247, 248, 245, 0.22);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", sans-serif;

  --container: 1200px;
  --gutter: 32px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-short: 240ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scrollbar-gutter: stable; }
html.cookie-dialog-open { overflow: hidden; }

body {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--violet);
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section label with editorial rule */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.kicker::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--clover);
}

.kicker-light {
  color: var(--paper);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color var(--motion-short) var(--motion-ease);
}

.btn span {
  transition: transform var(--motion-short) var(--motion-ease);
}

.btn-solid {
  background: var(--clover);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--ink);
}

.btn-solid:hover span {
  transform: translate3d(4px, 0, 0);
}

.btn-text {
  padding-left: 0;
  padding-right: 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--clover);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
}

/* Header */
.booking-email { position: relative; }
.booking-email summary { cursor: pointer; list-style: none; }
.booking-email summary::-webkit-details-marker { display: none; }
.booking-options {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 2;
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--clover);
}
.booking-options p { margin: 0 0 6px; }
.booking-options ul { list-style: none; margin: 0; padding: 0; }
.booking-options a { display: inline-block; padding: 4px 0; color: var(--violet); }
.booking-phone { display: none; }
@media (hover: none) and (pointer: coarse) {
  .booking-email { display: none; }
  .booking-phone { display: inline-flex; }
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  min-height: 88px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.logo img {
  width: clamp(148px, 18vw, 218px);
  height: auto;
}

.nav {
  position: relative;
  display: flex;
  gap: clamp(12px, 2.3vw, 36px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
  bottom: 0;
  height: 2px;
  background: var(--clover);
}

.nav.has-indicator a[aria-current="page"]::after {
  display: none;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--clover);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .has-indicator .nav-indicator {
    transition: transform 280ms var(--motion-ease);
  }
  .nav a {
    transition: color var(--motion-short) var(--motion-ease);
  }
  .nav a:is(:hover, :focus-visible) {
    color: var(--violet);
  }
}

.header-phone {
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Hero */
.hero {
  border-bottom: 1px solid var(--rule);
  isolation: isolate;
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
}

.hero-main {
  padding: 112px 72px 112px 0;
}

.hero h1 {
  margin-bottom: 36px;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 44px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 72px 56px;
  color: var(--paper);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * (100vw - min(100vw, var(--container))) / 2 - var(--gutter)) 0 0;
  background: var(--violet);
  z-index: -1;
}

.credentials {
  margin: 0;
  width: 100%;
}

.credentials div {
  padding: 26px 0;
  border-top: 1px solid var(--hairline-light);
}

.credentials div:last-child {
  border-bottom: 1px solid var(--hairline-light);
}

.credentials dt {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.credentials dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(247, 248, 245, 0.78);
}

/* About */
.about {
  padding: 128px 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
}

.about-head h2 {
  max-width: 460px;
}

.about-body {
  padding-top: 52px;
  font-size: 1.1rem;
}

.dropcap::first-letter {
  float: left;
  margin: 8px 14px 0 0;
  font-family: var(--serif);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 0.8;
  color: var(--violet);
}

/* Clients */
.clients {
  padding: 120px 0;
  background: var(--violet);
  color: var(--paper);
}

.clients h2 {
  color: var(--paper);
  max-width: 480px;
  margin-bottom: 28px;
}

.clients-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
  align-items: end;
}

.clients-note {
  max-width: 420px;
  margin: 0;
  color: rgba(247, 248, 245, 0.78);
}

.clients-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}

.clients-list li {
  padding: 20px 0;
  border-top: 1px solid var(--hairline-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

/* Services */
.services {
  padding: 128px 0 112px;
}

.section-head {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 0 96px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head .kicker {
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.section-head h2 {
  grid-column: 1;
  grid-row: 2;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: service;
  border-bottom: 1px solid var(--rule);
}

.service-list li {
  counter-increment: service;
  display: grid;
  grid-template-columns: 64px 5fr 6fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
}

.service-list li:first-child {
  border-top-color: var(--rule);
}

.service-list li::before {
  content: counter(service, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--clover);
}

.service-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* Pricing */
.pricing {
  padding: 112px 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
}

.pricing h2 {
  margin-bottom: 28px;
}

.pricing p {
  max-width: 440px;
  color: var(--ink-soft);
}

.factors {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
}

.factors li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.1rem;
}

.factors li:first-child {
  border-top: 1px solid var(--hairline);
}

/* Trust */
.trust {
  padding: 72px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}

.trust-label {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid var(--hairline);
}

.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 0 20px;
  border-right: 1px solid var(--hairline);
}

.logos a { width: 100%; }
.logos img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Support */
.support {
  border-top: 1px solid var(--rule);
}

.support-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 80px;
  align-items: center;
}

.support-figure {
  margin: 0;
  padding: 72px 0;
}

.support-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.support h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 20px;
}

.support-text p:not(.kicker) {
  color: var(--ink-soft);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-weight: 600;
}

.support-links a {
  color: var(--ink);
  text-decoration-color: var(--clover);
  text-decoration-thickness: 2px;
}

/* Footer */
.site-footer {
  background: var(--violet-deep);
  color: rgba(247, 248, 245, 0.78);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--paper);
}

.footer-offer {
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--hairline-light);
}
.footer-offer h2 {
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.footer-offer ul {
  columns: 3 220px;
  column-gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-offer li {
  padding: 5px 0;
  break-inside: avoid;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  padding: 112px 0 72px;
  border-bottom: 1px solid var(--hairline-light);
}

.footer-cta h2 {
  color: var(--paper);
  max-width: 620px;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}

.footer-phone {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--clover);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  white-space: nowrap;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
}

.footer-cols h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-cols p {
  margin: 0;
  line-height: 1.9;
}

.footer-cols a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--hairline-light);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .clients-grid,
  .pricing-grid,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-main {
    padding: 80px 0 64px;
  }

  .hero-panel {
    margin: 0 calc(-1 * var(--gutter));
    padding: 48px var(--gutter);
    background: var(--violet);
  }

  .hero-panel::before {
    display: none;
  }

  .about-body {
    padding-top: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .logos {
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .logos li {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .support-figure {
    padding: 64px 0 0;
  }

  .support-text {
    padding-bottom: 72px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 18px 0 0;
  }

  .header-inner.container {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .header-phone {
    margin-left: auto;
    padding: 10px 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 6px;
    overflow-x: auto;
    border-top: 1px solid var(--hairline);
  }

  .nav a {
    font-size: 0.9rem;
    padding: 14px 0;
  }

  .about,
  .clients,
  .services,
  .pricing {
    padding: 80px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 40px;
  }

  .section-head .kicker {
    margin-bottom: 24px;
  }

  .service-list li {
    grid-template-columns: 40px 1fr;
    gap: 6px 16px;
  }

  .service-list p {
    grid-column: 2;
  }

  .clients-list {
    grid-template-columns: 1fr;
  }

  .clients-list li {
    font-size: 1.3rem;
    padding: 16px 0;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cta {
    padding: 80px 0 56px;
  }

  .footer-cols {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  }
}

:is(a, button, summary, input):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 18px;
  background: white;
  z-index: 2;
  transform: translate3d(0, -120%, 0);
}
.skip:focus { transform: none; }
.nav a[aria-current] { color: var(--violet); }

.page-title {
  background: var(--violet);
  padding: clamp(44px, 6vw, 86px) 0;
  color: var(--white);
}
.page-title h1 { color: inherit; }
.page-title p {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: 1.1rem;
}
.office-map {
  display: block;
  width: 100%;
  height: clamp(250px, 32vw, 350px);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}
.chapters, .directory { padding-block: clamp(36px, 6vw, 88px); }
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 28px clamp(32px, 7vw, 100px);
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
}
.chapter-body > :last-child { margin-bottom: 0; }
.chapter-body address { margin-bottom: 1em; }
address { font-style: normal; }
.chapter a, .directory a { text-decoration-color: var(--clover); }
.chapter a:hover, .directory a:hover { color: var(--violet); }
.entry-list, .team, .directory { list-style: none; margin: 0; padding-inline: 0; }
.entry-list li, .team li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.entry-list li:first-child, .team li:first-child { padding-top: 0; }
.entry-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.entry-list a::after { content: "↗" / ""; color: var(--clover); }
.team p { margin: 4px 0 10px; color: var(--ink-soft); }
.team address { margin: 0; overflow-wrap: anywhere; }
.directory li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 44px;
  border-top: 1px solid var(--hairline);
  padding: 26px 0;
}
.directory li:first-child { border-top-color: var(--rule); }
.directory h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.directory p { margin: 0; color: var(--ink-soft); }
.client-logo img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .chapter { grid-template-columns: minmax(0, 1fr); }
  .directory li { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 18px; }
  .client-logo { grid-row: span 2; }
  .directory p { grid-column: 2; }
  .hero h1 { overflow-wrap: anywhere; }
}
@media (max-width: 370px) {
  .header-inner { column-gap: 8px; }
  .header-phone { padding: 8px; font-size: 0.86rem; }
}
/* Privacy controls */
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  max-height: min(72vh, 600px);
  max-height: min(72svh, 600px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border-top: 2px solid var(--violet);
}
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  padding-block: 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.cookie-copy { flex: 1 1 380px; }
.cookie-copy h2 { margin-bottom: 8px; font-size: 1.5rem; }
.cookie-copy p { margin: 0; max-width: 65ch; font-size: .95rem; line-height: 1.6; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button, .cookie-close {
  border: 1px solid var(--violet);
  border-radius: 2px;
  background: var(--white);
  color: var(--violet);
  font: 600 .94rem var(--sans);
  cursor: pointer;
  min-height: 44px;
  transition: background-color var(--motion-short) var(--motion-ease);
}
.cookie-actions button { padding: 12px 18px; }
.cookie-actions button:hover, .cookie-close:hover { background: var(--paper); }
.cookie-actions .cookie-save { background: var(--violet); color: var(--white); }
.cookie-actions .cookie-save:hover { background: var(--violet-deep); }
.cookie-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--violet);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  font: 1rem/1.6 var(--sans);
}
.cookie-dialog::backdrop { background: rgb(26 19 46 / 46%); }
.cookie-dialog-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.cookie-dialog h2 { font-size: clamp(1.65rem, 4vw, 2rem); flex: 1; }
#cookie-dialog-heading:focus { outline: none; }
.cookie-close { font-size: 1.6rem; line-height: 1; width: 44px; flex-shrink: 0; }
.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.cookie-category label { font-weight: 600; cursor: pointer; }
.cookie-category label span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.cookie-category p { margin: 6px 0 0; color: var(--ink-soft); font-size: .94rem; }
.cookie-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  margin: 2px 0;
  border: 1px solid var(--ink-soft);
  border-radius: 4px;
  background: #E5E6E3;
  cursor: pointer;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 4px;
  top: 4px;
  border: 1px solid var(--ink-soft);
  border-radius: 2px;
  background: var(--white);
  transform: translate3d(0, 0, 0);
  transition: transform var(--motion-short) var(--motion-ease);
}
.cookie-toggle:checked { background: var(--clover); border-color: var(--clover); }
.cookie-toggle:checked::before { transform: translate3d(20px, 0, 0); border-color: var(--white); }
.cookie-toggle:disabled { cursor: not-allowed; opacity: .7; }
.cookie-note { margin: 8px 0 24px; font-size: .85rem; color: var(--ink-soft); }
#cookie-settings {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1 1 100%; }
  .cookie-inner { gap: 16px; padding-top: 20px; }
}
@media (forced-colors: active) {
  .cookie-toggle { appearance: auto; -webkit-appearance: auto; }
  .cookie-toggle::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn-solid:hover span { transform: none; }
}
