:root {
  --navy: #0b2342;
  --navy-2: #17365d;
  --teal: #3da9a7;
  --teal-soft: #dff4f2;
  --gold: #b99a5b;
  --ink: #1a2735;
  --muted: #5d6d7d;
  --line: #dce5ed;
  --paper: #ffffff;
  --wash: #f4f8fb;
  --shadow: 0 24px 60px rgba(11, 35, 66, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.12; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.65rem, 6.5vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.lead { font-size: clamp(1.06rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 650px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px;
  background: var(--navy); color: white; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,229,237,.8);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; background: var(--navy);
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(11,35,66,.16);
}
.brand-mark svg { width: 27px; }
.brand-copy strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.2; }
.brand-copy span { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a, .nav-sub-toggle { text-decoration: none; font-size: .9rem; font-weight: 600; color: #33465a; }
.nav-links a:hover, .nav-links a:focus-visible,
.nav-sub-toggle:hover, .nav-sub-toggle:focus-visible { color: var(--teal); }
.nav-links a:not(.button)[aria-current="page"], .nav-sub-toggle.is-active { color: var(--teal); }
.nav-links .button, .nav-links .button:hover, .nav-links .button:focus-visible { color: white; }
.nav-toggle { display: none; border: 0; background: none; padding: 10px; color: var(--navy); }

.nav-item { position: relative; }
.nav-sub-toggle {
  display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
  font-family: inherit; cursor: pointer;
}
.nav-sub-toggle svg { width: 12px; height: 12px; transition: transform .2s ease; }
.sub-menu {
  position: absolute; top: calc(100% + 16px); left: -18px; min-width: 230px; padding: 10px;
  display: none; flex-direction: column; background: white; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
}
.sub-menu::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.sub-menu a { padding: 10px 12px; border-radius: 10px; }
.sub-menu a:hover { background: var(--wash); }
.nav-item:hover .sub-menu, .nav-item:has(:focus-visible) .sub-menu, .nav-item.open .sub-menu { display: flex; }
.nav-item:hover .nav-sub-toggle svg, .nav-item.open .nav-sub-toggle svg { transform: rotate(180deg); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--navy);
  background: var(--navy); color: white; text-decoration: none; font-weight: 700; font-size: .94rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,35,66,.2); }
.button.secondary { background: white; color: var(--navy); border-color: var(--line); }
.button.small { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.button.teal { background: var(--teal); border-color: var(--teal); }

/* Home hero */
.hero { padding: 54px 0 38px; overflow: hidden; }
.hero-card {
  min-height: 655px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef7f7 100%);
  box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(40px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 38px; color: var(--muted); font-size: .9rem; }
.hero-meta span { display: flex; gap: 9px; align-items: center; }
.hero-meta i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero-image { position: relative; min-height: 450px; background: #dce8ef; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-image::after, .page-hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgb(238,247,247) 0%, rgba(238,247,247,.86) 9%, rgba(238,247,247,.62) 19%,
    rgba(238,247,247,.36) 29%, rgba(238,247,247,.15) 38%, rgba(238,247,247,0) 46%);
  pointer-events: none;
}
.credential-chip {
  position: absolute; right: 28px; bottom: 28px; z-index: 2;
  max-width: 295px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px; background: rgba(11,35,66,.88); color: white; backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(11,35,66,.22);
}
.credential-chip strong { display: block; font-size: 1rem; }
.credential-chip span { display: block; margin-top: 4px; color: #c7e7e5; font-size: .82rem; }

/* Home sections */
section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; margin-bottom: 44px; }
.section-head .lead { justify-self: end; }
.subline { margin-top: 16px; color: #8a6d2f; font-size: .86rem; font-weight: 700; letter-spacing: .06em; }
.subline span { white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-grid.pairs { grid-template-columns: repeat(2, 1fr); }
.service {
  display: flex; flex-direction: column;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service:hover { transform: translateY(-5px); border-color: #b7d9d7; box-shadow: 0 20px 44px rgba(11,35,66,.09); }
.service-number { color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .11em; }
.service h3 { margin-top: 28px; font-size: 1.3rem; }
.service p { margin-top: 12px; color: var(--muted); font-size: .94rem; }
.service-more { margin-top: auto; padding-top: 22px; color: var(--teal); font-weight: 700; font-size: .88rem; }

.about { background: var(--navy); color: white; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.about h2 { color: white; }
.about .eyebrow { color: #7bd2cf; }
.about-copy { color: #d7e2ec; font-size: 1.05rem; }
.about-copy p + p { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--teal); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.about .text-link { color: #7bd2cf; }
.qualification-list { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qualification {
  min-height: 80px; padding: 15px 17px; display: flex; flex-direction: column; justify-content: center;
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05);
}
.qualification strong { color: white; font-size: .95rem; }
.qualification span { color: #9fb2c4; font-size: .78rem; margin-top: 2px; }

.experience-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.experience-intro { position: sticky; top: 118px; align-self: start; }
.experience-intro .lead { margin-top: 20px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline-row time { color: var(--teal); font-weight: 700; font-size: .88rem; }
.timeline-row h3 { margin-bottom: 7px; }
.timeline-row p { color: var(--muted); font-size: .92rem; }

.practice-environment { background: #f7fafc; }
.concept-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  color: var(--muted); font-size: .84rem;
}
.concept-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.practice-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.practice-card {
  margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: white; box-shadow: 0 16px 38px rgba(11,35,66,.08);
}
.practice-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.practice-card figcaption { padding: 23px 24px 25px; }
.practice-card p { margin-top: 8px; color: var(--muted); font-size: .9rem; }

.approach { background: var(--wash); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.principle { padding: 26px 22px; background: white; border-radius: 18px; border: 1px solid var(--line); }
.principle span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--navy); background: var(--teal-soft); font-weight: 800; }
.principle h3 { margin-top: 24px; }
.principle p { margin-top: 9px; color: var(--muted); font-size: .88rem; }

.contact { padding: 92px 0; }
.content + .contact { padding-top: 0; }
.contact-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
  padding: clamp(38px, 6vw, 68px); border-radius: 30px;
  background: linear-gradient(135deg, #0b2342 0%, #17365d 70%, #1a5364 100%); color: white;
  box-shadow: var(--shadow);
}
.contact h2 { color: white; }
.contact .lead { color: #d8e5ef; margin-top: 18px; }
.contact .hero-actions .button.secondary { background: transparent; color: white; border-color: rgba(255,255,255,.35); }
.contact-actions { display: grid; gap: 12px; }
.contact-actions a, .contact-actions .contact-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: white; text-decoration: none; background: rgba(255,255,255,.07); }
.contact-actions a:hover { background: rgba(255,255,255,.12); }
.contact-actions small { display: block; color: #9fc4cb; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-actions strong { display: block; margin-top: 2px; font-size: .96rem; }

/* Inner page hero */
.page-hero { padding: 54px 0 0; }
.page-hero-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  border-radius: 34px; overflow: hidden;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef7f7 100%);
  box-shadow: var(--shadow);
}
.page-hero-card.text-only { grid-template-columns: 1fr; }
.page-hero-copy { padding: clamp(36px, 5.5vw, 68px); display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero .lead { margin-top: 22px; }
.page-hero-image { position: relative; min-height: 420px; background: #dce8ef; }
.page-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-full { padding-top: 0; }
.page-hero-full .page-hero-card { width: 100%; border-radius: 0; box-shadow: none; background: #eef7f7; }
.page-hero-full .page-hero-copy { padding-left: max(clamp(36px, 5.5vw, 68px), calc((100vw - 1180px) / 2)); }
.page-hero-full .page-hero-image { min-height: 520px; }
.page-hero-image.short-fade img { object-position: center 42%; }
.page-hero-image.short-fade::after {
  background: linear-gradient(90deg, rgb(238,247,247) 0%, rgba(238,247,247,.6) 7%, rgba(238,247,247,.2) 14%, rgba(238,247,247,0) 20%);
}
.page-hero-panel {
  padding: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, #0b2342 0%, #17365d 80%, #1a5364 100%); color: white;
}
.page-hero-panel .eyebrow { color: #7bd2cf; }
.page-hero-panel .qualification-list { margin-top: 4px; }
.registration { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: #c9d8e5; font-size: .86rem; }
.registration strong { color: white; }
.credentials-line { margin-top: 18px; color: var(--navy-2); font-size: .95rem; font-style: italic; }
.qual-strip {
  padding: 44px 0 48px; color: white;
  background: linear-gradient(135deg, #0b2342 0%, #17365d 80%, #1a5364 100%);
}
.qual-strip .eyebrow { margin: 0 0 20px; color: #7bd2cf; font-family: inherit; font-size: .78rem; }
.qual-strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.qual-strip-list li { display: flex; flex-direction: column; gap: 4px; padding: 4px 20px; border-left: 1px solid rgba(255,255,255,.14); }
.qual-strip-list li:first-child { padding-left: 0; border-left: 0; }
.qual-strip-list strong { color: white; font-size: .95rem; line-height: 1.3; }
.qual-strip-list span { color: #9fb2c4; font-size: .78rem; }
.qual-strip-meta { list-style: none; margin: 28px 0 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; text-align: center; border-top: 1px solid rgba(255,255,255,.14); color: #c9d8e5; font-size: .86rem; }
.qual-strip-meta strong { color: white; }
.content-layout.single { grid-template-columns: minmax(0, 1fr); }
.content-layout.single .prose { margin: 0 auto; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: .82rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b3c2cf; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }

/* Article content */
.content { padding: 84px 0 100px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.prose { max-width: 740px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; margin: 56px 0 18px; }
.prose > h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 18px; }
.prose ul { margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul.columns { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .64em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.page-hero-full + .content .prose ul li { padding-left: 34px; }
.page-hero-full + .content .prose ul li::before {
  left: 0; top: .2em; width: 22px; height: 22px;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233da9a7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.prose a, .faq-answer a, .info-card a {
  color: var(--navy); font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.prose a:hover, .faq-answer a:hover, .info-card a:hover { color: var(--teal); }
.prose .button { color: white; text-decoration: none; }
.prose .timeline { margin-top: 6px; }
.prose .timeline-row { padding: 18px 0; }
.zz-timeline { position: relative; list-style: none; margin: 28px 0 0; padding: 0; }
.zz-timeline > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.prose .zz-timeline .zz-item { position: relative; width: 50%; padding: 0; }
.prose .zz-timeline .zz-item::before { display: none; }
.zz-item:nth-child(even) { margin-left: 50%; }
.zz-item + .zz-item { margin-top: -44px; }
.zz-time { display: block; padding-right: 72px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.zz-rule { display: flex; align-items: center; margin: 10px 0 12px; }
.zz-line { flex: 1; height: 4px; border-radius: 2px; background: var(--teal); }
.zz-node {
  position: relative; z-index: 1; flex: none; width: 58px; height: 58px; margin: 0 10px 0 -2px;
  display: grid; place-items: center; border: 3px solid var(--navy); border-radius: 50%;
  background: white; color: var(--navy); box-shadow: inset 0 0 0 4px white, inset 0 0 0 5px var(--line);
}
.zz-node svg { width: 24px; height: 24px; color: var(--teal); }
.zz-role { padding-right: 72px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.zz-item:nth-child(even) .zz-rule { flex-direction: row-reverse; }
.zz-item:nth-child(even) .zz-node { margin: 0 -2px 0 10px; }
.zz-item:nth-child(even) .zz-time, .zz-item:nth-child(even) .zz-role { padding: 0 0 0 80px; }
.prose-cta { margin-top: 52px; }
.prose-split {
  width: min(1100px, calc(100vw - 40px)); margin-left: calc(50% - min(550px, 50vw - 20px));
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
}
.prose-split + h2, .prose-split + .prose-center { margin-top: 72px; }
.prose-split-image { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dce8ef; }
.prose-split-image img { display: block; width: 100%; height: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 30% center; }
.prose-split h2:first-child { margin-top: 0; }
.prose-center { text-align: center; }
.prose ul.member-logos { margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; }
.prose ul.member-logos li { padding: 0; }
.prose ul.member-logos li::before { display: none; }
.member-logos img { display: block; width: auto; height: 56px; max-width: 150px; object-fit: contain; }
.member-logos li:nth-child(2) img { height: 76px; }
.content { overflow-x: clip; }
.prose-band {
  position: relative; isolation: isolate; margin: 72px 0; padding: 64px 0;
  background: var(--teal-soft); box-shadow: 0 0 0 100vmax var(--teal-soft); clip-path: inset(0 -100vmax);
}
.prose-band > h2:first-of-type { margin-top: 0; }
.prose-band + h2 { margin-top: 72px; }
.prose-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.prose-band h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; border-radius: 2px; background: var(--teal); }
.prose-band h2 + p { color: var(--navy); font-size: 1.2rem; line-height: 1.6; }
.prose-qa {
  width: min(1100px, calc(100vw - 40px)); margin: 72px 0 0 calc(50% - min(550px, 50vw - 20px)); padding: 48px 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.prose .prose-qa h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; }
.prose-qa h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 22px; border-radius: 2px; background: var(--teal); }
.prose-qa p { padding-top: 6px; color: var(--ink); font-size: 1.12rem; line-height: 1.8; }
.prose .prose-qa + h2 { margin-top: 72px; }
.prose-band + .prose-qa { border-top: 0; padding-top: 0; }
/* About page: roomier gaps between article sections */
.content-layout.single .prose { --section-gap: 120px; }
.content-layout.single .prose > h2:not(:first-child),
.content-layout.single .prose > .prose-center,
.content-layout.single .prose > .prose-band,
.content-layout.single .prose > .prose-qa { margin-top: var(--section-gap); }
.content-layout.single .prose > .prose-band { margin-bottom: var(--section-gap); }
.band-decos { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--teal); }
.band-deco { position: absolute; opacity: .35; }
.band-deco * { vector-effect: non-scaling-stroke; }
.deco-1 { width: 170px; left: -260px; top: 24px; transform: rotate(-12deg); }
.deco-2 { width: 120px; left: -150px; bottom: 18px; transform: rotate(18deg); }
.deco-3 { width: 150px; right: -240px; top: 30px; transform: rotate(10deg); }
.deco-4 { width: 70px; right: -90px; bottom: 40px; transform: rotate(14deg); opacity: .45; }
.deco-5 { width: 110px; right: -330px; bottom: 16px; transform: rotate(-6deg); }
.deco-6 { width: 90px; left: 58%; top: 14px; transform: rotate(-30deg); opacity: .2; }

.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.class-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); }
.class-card strong { display: block; color: var(--teal); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.class-card span { display: block; margin-top: 4px; color: var(--navy); font-weight: 600; line-height: 1.4; }

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 44px; }
.legal .address-block { margin-top: 16px; padding: 22px 24px; border-radius: 16px; background: var(--wash); border: 1px solid var(--line); }

/* Sidebar */
.sidebar { position: sticky; top: var(--sidebar-top, 110px); display: grid; gap: 18px; }
.side-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.side-card.dark {
  border: 0; color: white; box-shadow: var(--shadow);
  background: linear-gradient(135deg, #0b2342 0%, #17365d 80%, #1a5364 100%);
}
.side-card h3 { font-size: 1.2rem; }
.side-card.dark h3 { color: white; }
.side-card .button { width: 100%; margin-top: 22px; }
.side-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; font-size: .95rem; }
.side-list small { display: block; color: #9fc4cb; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.side-list a, .side-list strong { color: white; font-weight: 700; text-decoration: none; }
.side-list a:hover { text-decoration: underline; }
.side-form { display: grid; gap: 12px; margin-top: 18px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.side-form + .side-list { margin-top: 22px; }
.side-form label { display: grid; gap: 6px; color: #9fc4cb; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.side-form input, .side-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  background: rgba(255,255,255,.08); color: white; font: inherit; font-size: .95rem; letter-spacing: normal; text-transform: none;
  transition: border-color .2s ease, background .2s ease;
}
.side-form textarea { resize: vertical; min-height: 96px; }
.side-form input:focus, .side-form textarea:focus { outline: none; border-color: var(--teal); background: rgba(255,255,255,.14); }
.side-form .button { margin-top: 6px; }
.side-nav { list-style: none; margin: 12px 0 0; padding: 0; }
.side-nav a {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: #33465a; font-size: .95rem; font-weight: 600; text-decoration: none;
}
.side-nav li:last-child a { border-bottom: 0; padding-bottom: 0; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--teal); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  list-style: none; cursor: pointer; color: var(--navy); font-size: 1.08rem; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-soft); color: var(--navy); font-size: 1.25rem; font-weight: 600; line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-answer { padding: 0 54px 24px 0; color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.detail-list { display: grid; gap: 12px; align-content: start; }
.detail {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: white; text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
a.detail:hover { transform: translateY(-2px); border-color: #b7d9d7; }
.detail small { display: block; color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail strong { display: block; margin-top: 2px; color: var(--navy); }
.detail .arrow { color: var(--teal); font-weight: 700; }
.map-frame { min-height: 440px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 38px rgba(11,35,66,.08); background: var(--wash); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }
.contact-form-card { padding: clamp(28px, 4vw, 40px); }
.contact-form-card h2 { color: white; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.contact-form-card > p { margin-top: 10px; color: #c9d8e5; font-size: .95rem; }
.contact-form-card .side-form { margin-top: 22px; padding-bottom: 0; border-bottom: 0; }
.map-band { padding: 0; line-height: 0; background: var(--wash); border-top: 1px solid var(--line); }
.map-band iframe { display: block; width: 100%; height: 460px; border: 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.info-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.notice {
  margin-top: 18px; padding: 24px 28px; border: 1px solid #f0cfc9; border-radius: var(--radius);
  background: #fdf4f2; color: #5c2a23;
}
.notice h2 { color: #8a2f24; font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.notice a { color: #8a2f24; font-weight: 700; }

/* Footer */
.site-footer { padding: 72px 0 34px; background: var(--navy); color: #b9c8d6; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .7fr 1.3fr; gap: 44px; padding-bottom: 46px; }
.site-footer .brand-mark { background: var(--navy-2); box-shadow: none; }
.site-footer .brand-copy strong { color: white; }
.site-footer .brand-copy span { color: #9fb2c4; }
.footer-about { margin-top: 18px; max-width: 300px; }
.site-footer h2 {
  margin-bottom: 16px; color: #7bd2cf; font-family: "DM Sans", Arial, sans-serif;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #d7e2ec; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-links small { display: block; color: #7f97ad; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
/* Contact detail icons */
.ic::before {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.ic-pin { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E"); }
.ic-phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z%22/%3E%3C/svg%3E"); }
.ic-whatsapp { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E"); }
.ic-mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width=%2220%22 height=%2216%22 x=%222%22 y=%224%22 rx=%222%22/%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22/%3E%3C/svg%3E"); }
.ic-clock { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M12 6v6l4 2%22/%3E%3C/svg%3E"); }
.ic-urgent { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z%22/%3E%3Cpath d=%22M14.05 2a9 9 0 0 1 8 7.94%22/%3E%3Cpath d=%22M14.05 6A5 5 0 0 1 18 10%22/%3E%3C/svg%3E"); }
/* Contact page cards and CTA cards: icon in a soft circle before the text */
.detail.ic, .contact-actions .ic { justify-content: flex-start; }
.detail.ic > span:not(.arrow), .contact-actions .ic > span:not([aria-hidden]) { flex: 1; }
.detail.ic::before, .contact-actions .ic::before { width: 40px; height: 40px; border-radius: 50%; -webkit-mask: none; mask: none; background: var(--teal-soft) no-repeat center / 18px; }
.detail.ic::before { background-color: var(--teal-soft); }
.contact-actions .ic::before { background-color: rgba(123,210,207,.14); }
.detail.ic, .contact-actions .ic { position: relative; }
.detail.ic::after, .contact-actions .ic::after {
  content: ""; position: absolute; left: 31px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.detail.ic::after { background: var(--teal); }
.contact-actions .ic::after { left: 31px; background: #7bd2cf; }
/* Sidebar and footer lists: small icon beside the label */
.side-list li.ic, .footer-links li.ic { position: relative; padding-left: 30px; }
.side-list li.ic::before, .footer-links li.ic::before { position: absolute; left: 0; top: 3px; }
.side-list li.ic::before { color: #7bd2cf; }
.footer-links li.ic::before { color: #5bc0be; width: 16px; height: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12); color: #8ea3b7; font-size: .82rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: white; }

:focus-visible { outline: 3px solid rgba(61,169,167,.45); outline-offset: 3px; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 78px; left: 20px; right: 20px; padding: 18px;
    max-height: calc(100vh - 100px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 4px; background: white; border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 8px; }
  .nav-links .button { margin-top: 8px; }
  .nav-sub-toggle { width: 100%; justify-content: space-between; padding: 11px 8px; }
  .sub-menu { position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; border-radius: 0; box-shadow: none; }
  .sub-menu::before { display: none; }
  .nav-item:hover .sub-menu, .nav-item:has(:focus-visible) .sub-menu { display: none; }
  .nav-item.open .sub-menu { display: flex; }
  .nav-item:hover .nav-sub-toggle svg { transform: none; }
  .nav-item.open .nav-sub-toggle svg { transform: rotate(180deg); }
  .hero-card, .page-hero-card { grid-template-columns: 1fr; }
  .hero-image, .page-hero-image { min-height: 390px; order: -1; }
  .page-hero-image, .page-hero-full .page-hero-image { min-height: 300px; }
  .hero-image::after, .page-hero-image::after, .page-hero-image.short-fade::after { background: linear-gradient(0deg, rgb(238,247,247) 0%, rgba(238,247,247,.72) 12%, rgba(238,247,247,.34) 26%, rgba(238,247,247,0) 42%); }
  .section-head, .about-grid, .experience-layout, .contact-card, .content-layout, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head .lead { justify-self: start; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .experience-intro, .sidebar { position: static; }
  .principles { grid-template-columns: 1fr 1fr; }
  .content-layout { gap: 56px; }
  .prose-split { width: auto; margin-left: 0; grid-template-columns: 1fr; gap: 32px; }
  .prose-split-image img { aspect-ratio: 4 / 3; object-position: center 25%; }
  .prose-band { padding: 52px 0; }
  .prose-band h2 + p { font-size: 1.08rem; }
  .prose-qa { width: auto; margin-left: 0; padding: 36px 0; grid-template-columns: 1fr; gap: 20px; }
  .content-layout.single .prose { --section-gap: 80px; }
  .deco-1 { left: auto; right: -30px; top: -20px; width: 130px; }
  .deco-2, .deco-3, .deco-5 { display: none; }
  .deco-4 { right: 10px; bottom: 16px; }
  .qual-strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .qual-strip-list li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand-copy span { display: none; }
  .site-footer .brand-copy span { display: block; }
  .hero, .page-hero { padding-top: 20px; }
  .page-hero-full { padding-top: 0; }
  .hero-card, .page-hero-card { min-height: 0; border-radius: 24px; }
  .hero-copy { padding: 34px 24px 40px; }
  .page-hero-copy, .page-hero-full .page-hero-copy { padding: 32px 24px 36px; }
  .qual-strip { padding: 36px 0 40px; }
  .qual-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qual-strip-list li, .qual-strip-list li:nth-child(3n+1) { padding: 4px 14px; border-left: 1px solid rgba(255,255,255,.14); }
  .qual-strip-list li:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .qual-strip-meta { flex-direction: column; align-items: center; }
  .prose .zz-timeline .zz-item, .zz-item:nth-child(even) { width: 100%; margin-left: 0; }
  .zz-item + .zz-item { margin-top: 28px; }
  .zz-item .zz-rule, .zz-item:nth-child(even) .zz-rule { flex-direction: row-reverse; }
  .zz-item .zz-node, .zz-item:nth-child(even) .zz-node { margin: 0 12px 0 0; }
  .zz-time, .zz-role, .zz-item:nth-child(even) .zz-time, .zz-item:nth-child(even) .zz-role { padding: 0 0 0 70px; }
  .hero-image { min-height: 280px; }
  .page-hero-image, .page-hero-full .page-hero-image { min-height: 230px; }
  .credential-chip { right: 16px; left: 16px; bottom: 16px; }
  section { padding: 72px 0; }
  .content { padding: 56px 0 72px; }
  .service-grid, .service-grid.pairs, .qualification-list, .principles, .practice-gallery,
  .prose ul.columns, .class-grid, .info-grid, .footer-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 6px; }
  .contact-card { border-radius: 24px; }
  .faq-answer { padding-right: 0; }
  .map-frame, .map-frame iframe { min-height: 320px; }
  .map-band iframe { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Avily designed-by credit */
.avily-credit { margin: 0; }
.avily-credit .avily-link { text-decoration: none; }
.avily-credit .avily-link:hover { text-decoration: underline; }
.avily-credit img { height: 1em; width: auto; vertical-align: middle; margin: 0 4px; }
