:root {
  --ink: #252423;
  --muted-ink: #5f605c;
  --paper: #fbfaf7;
  --soft: #eef2ed;
  --sage: #66796c;
  --sage-dark: #40584b;
  --terracotta: #b66b55;
  --clay: #ead5ca;
  --line: rgba(37, 36, 35, 0.14);
  --shadow: 0 24px 70px rgba(37, 36, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
#application {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--ink);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(37, 36, 35, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover,
.footer a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  min-height: 0;
  display: grid;
  align-items: end;
  padding: 92px clamp(20px, 5vw, 64px) 48px;
  background: var(--soft);
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  grid-template-rows: auto auto;
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  max-width: 700px;
  color: var(--ink);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 6px;
  color: var(--terracotta);
}

.hero-role {
  margin-bottom: 18px;
  color: var(--sage-dark);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 750;
}

.hero h1 {
  margin-bottom: 16px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 7vw, 6.6rem);
  line-height: 0.95;
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted-ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--terracotta);
}

.button.secondary {
  color: var(--sage-dark);
  border-color: rgba(64, 88, 75, 0.24);
  background: #fff;
}

.hero-portrait {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: min(520px, 100%);
  margin: 0;
  justify-self: end;
  overflow: hidden;
}

.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 44%;
}

.hero-service-strip {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-service-strip a {
  min-height: 104px;
  padding: 14px;
  transition: background 160ms ease;
}

.hero-service-strip a + a {
  border-left: 1px solid var(--line);
}

.hero-service-strip a:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-service-strip span,
.hero-service-strip strong {
  display: block;
}

.hero-service-strip span {
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-service-strip strong {
  max-width: 270px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.25;
  font-weight: 500;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 64px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.intro-layout,
.approach-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.intro p,
.approach-copy p,
.contact-layout p {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.intro h2 {
  margin-bottom: 24px;
}

.format-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.format-list div {
  padding: 18px 20px;
  border-left: 4px solid var(--terracotta);
  border-radius: 0 8px 8px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 36, 35, 0.06);
}

.format-list strong,
.format-list span {
  display: block;
}

.format-list strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.format-list span {
  color: var(--muted-ink);
}

.portrait-card {
  width: min(540px, 100%);
  margin: 0;
  justify-self: end;
  overflow: hidden;
}

.photo-left .portrait-card {
  justify-self: start;
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 62%;
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic-card {
  position: relative;
  min-height: 176px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.topic-card:nth-child(2),
.topic-card:nth-child(5) {
  background: rgba(255, 255, 255, 0.55);
}

.topic-card h3 {
  max-width: 250px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.topic-card p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.text-stack p + p {
  margin-top: 20px;
}

.approach-layout {
  align-items: center;
}

.approach-copy h2 {
  margin-bottom: 24px;
}

.approach-copy p + p {
  margin-top: 20px;
}

.membership-card {
  width: min(480px, 100%);
  margin: 0;
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(64, 88, 75, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(37, 36, 35, 0.08);
}

.membership-card h3 {
  margin-bottom: 0;
}

.membership-card p {
  color: var(--muted-ink);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--sage-dark);
  font-weight: 800;
}

.membership-certificate {
  display: block;
}

.membership-certificate img {
  display: block;
  width: 100%;
  aspect-ratio: 1.56 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.price-section {
  background: #fff;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.price-card.highlighted {
  color: #fff;
  border-color: var(--sage-dark);
  background: var(--sage-dark);
}

.price-label {
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card.highlighted .price-label {
  color: #f1c6b8;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 14px 0;
}

.price-value {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.price-description {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.price-card.highlighted .price-description {
  color: rgba(255, 255, 255, 0.84);
}

.price-card .package-gift {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 4px solid #f1c6b8;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.price-button {
  align-self: flex-start;
  margin-top: auto;
  color: var(--sage-dark);
  border-color: rgba(64, 88, 75, 0.24);
  background: #fff;
}

.price-card.highlighted .price-button {
  color: var(--sage-dark);
}

.support-price-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.8fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(182, 107, 85, 0.3);
  border-radius: 8px;
  background: #f8eeea;
}

.support-price-copy h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 500;
}

.support-price-copy p:last-child,
.support-price-options p {
  margin-bottom: 0;
}

.support-price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.support-price-options p {
  display: grid;
  gap: 3px;
}

.support-price-options strong {
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  white-space: nowrap;
}

.support-price-options span {
  color: var(--muted-ink);
  font-size: 0.92rem;
}

.price-note {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
}

.price-note p {
  margin: 0;
  color: var(--muted-ink);
}

.price-cta {
  margin-top: 24px;
}

.education-band {
  color: #fff;
  background: var(--sage-dark);
}

.education-panel {
  max-width: 820px;
}

.education-panel .section-kicker {
  color: #e6aa98;
}

.credentials {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 18px 20px;
  border-left: 4px solid var(--terracotta);
  background: rgba(255, 255, 255, 0.08);
}

.certificate-head {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 0;
  margin-bottom: 24px;
}

.certificate-head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.certificate-head .section-kicker,
.education-band .section-kicker {
  color: #e6aa98;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.slider-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.certificate-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 2px;
  padding: 2px 0 16px;
  scrollbar-width: thin;
}

.certificate-card {
  min-height: 360px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
}

.certificate-card a {
  display: block;
  margin-bottom: 18px;
}

.certificate-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: #fff;
}

.certificate-card h3 {
  margin-bottom: 6px;
}

.certificate-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.certificate-card a,
.membership-certificate {
  cursor: zoom-in;
}

body.certificate-dialog-open {
  overflow: hidden;
}

.certificate-dialog {
  width: min(92vw, 1120px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.certificate-dialog::backdrop {
  background: rgba(24, 27, 25, 0.78);
  backdrop-filter: blur(4px);
}

.certificate-dialog-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 18px 18px;
  border: 1px solid rgba(37, 36, 35, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.certificate-dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 64px);
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.certificate-dialog-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(37, 36, 35, 0.18);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.certificate-dialog-close:hover,
.certificate-dialog-close:focus-visible {
  color: #fff;
  background: var(--sage-dark);
  outline: none;
}

.contact-layout {
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-link {
  min-width: 148px;
  color: var(--sage-dark);
  border-color: rgba(64, 88, 75, 0.24);
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 36, 35, 0.08);
}

.application-form {
  width: min(760px, calc(100% - 40px));
  margin: clamp(44px, 6vw, 72px) auto 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(64, 88, 75, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(37, 36, 35, 0.08);
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.application-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.application-form .consent-check {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 4px 0 18px;
  color: var(--muted-ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.application-form .consent-check input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--terracotta);
}

.consent-check a,
.legal-copy a,
.cookie-banner a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.application-form input,
.application-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 36, 35, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.application-form input:focus,
.application-form select:focus {
  outline: 3px solid rgba(182, 107, 85, 0.22);
  border-color: var(--terracotta);
}

.hidden-field {
  display: none;
}

.application-form button {
  margin-top: 6px;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.form-status {
  margin: 14px 0 0;
  font-weight: 800;
}

.form-status.success {
  color: var(--sage-dark);
}

.form-status.error {
  color: var(--terracotta);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.82);
  background: #252423;
}

.footer p {
  margin: 0;
}

.footer-meta {
  margin-top: 3px !important;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  width: min(560px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin-bottom: 14px;
  color: var(--muted-ink);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 9px 16px;
  cursor: pointer;
}

.subpage-main {
  padding-top: 72px;
}

.service-hero {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px) clamp(68px, 9vw, 112px);
  background: var(--soft);
}

.service-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.service-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.service-lead {
  max-width: 680px;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.service-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-photo img {
  display: block;
  width: 100%;
  height: clamp(560px, 70vh, 720px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 54% 68%;
}

.service-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-summary div {
  padding: 18px;
  background: var(--paper);
}

.service-summary strong,
.service-summary span {
  display: block;
}

.service-summary span {
  margin-top: 4px;
  color: var(--muted-ink);
  font-size: 0.92rem;
}

.service-copy {
  max-width: 780px;
}

.service-copy h2,
.legal-copy h1 {
  margin-bottom: 26px;
}

.service-copy p,
.service-copy li,
.legal-copy p,
.legal-copy li {
  color: var(--muted-ink);
}

.service-copy .quiet-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--terracotta);
  background: var(--soft);
}

.key-line {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.service-questions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: start;
}

.meaning-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.meaning-list li {
  padding: 18px 20px;
  color: var(--muted-ink);
  background: #fff;
}

.meaning-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.service-steps {
  counter-reset: service-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-step::before {
  counter-increment: service-step;
  content: "0" counter(service-step);
  display: block;
  margin-bottom: 24px;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.service-step:nth-child(2) {
  transform: translateY(18px);
}

.service-step p {
  margin-bottom: 0;
}

.service-pricing-band {
  background: var(--sage-dark);
  color: #fff;
}

.service-pricing-band .section-kicker {
  color: #f1c6b8;
}

.service-pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 80px);
  align-items: start;
}

.service-plans {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.service-plan {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  background: var(--sage-dark);
}

.service-plan p,
.service-plan strong {
  margin: 0;
}

.service-plan strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  white-space: nowrap;
}

.service-gift {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid #f1c6b8;
  background: rgba(255, 255, 255, 0.1);
}

.service-contact {
  text-align: center;
}

.service-contact .contact-actions {
  justify-content: center;
  margin-top: 28px;
}

.service-contact .contact-link {
  min-width: 180px;
}

.legal-page {
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 64px) 80px;
  background: var(--paper);
}

.legal-copy {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-copy h1 {
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.legal-copy h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.legal-copy h3 {
  margin-top: 26px;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 22px;
}

.legal-details {
  margin: 28px 0 40px;
  padding: 20px;
  border-left: 4px solid var(--terracotta);
  background: var(--soft);
}

.legal-details p:last-child {
  margin-bottom: 0;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
}

.status-message {
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.status-message h1 {
  color: var(--ink);
}

.status-message p:not(.section-kicker) {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    color: var(--ink);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 0;
    align-items: start;
    padding-top: 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-service-strip {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-portrait {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-portrait {
    justify-self: start;
    width: min(440px, 100%);
  }

  .two-column,
  .intro-layout,
  .approach-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .support-price-card {
    grid-template-columns: 1fr;
  }

  .support-price-card .button {
    justify-self: start;
  }

  .price-note {
    grid-template-columns: 1fr;
  }

  .certificate-slider {
    grid-auto-columns: minmax(260px, 72%);
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .portrait-card {
    justify-self: start;
  }

  .membership-card {
    justify-self: start;
  }

  .subpage-main {
    padding-top: 0;
  }

  .service-hero-inner,
  .service-pricing-layout,
  .service-questions {
    grid-template-columns: 1fr;
  }

  .service-photo {
    width: min(520px, 100%);
  }

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

  .service-step:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 28px 54px;
  }

  h1 {
    font-size: clamp(3.25rem, 13vw, 4.25rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.35rem, 9vw, 3.15rem);
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .hero-portrait {
    width: 100%;
  }

  .hero-portrait img {
    aspect-ratio: 4 / 4.65;
    object-position: center 38%;
  }

  .hero-service-strip {
    grid-template-columns: 1fr;
  }

  .hero-service-strip a {
    min-height: 0;
    padding: 18px 4px;
  }

  .hero-service-strip a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .contact-link {
    width: 100%;
  }

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

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

  .support-price-options,
  .service-summary {
    grid-template-columns: 1fr;
  }

  .support-price-card .button {
    justify-self: stretch;
  }

  .price-card {
    padding: 26px 24px;
  }

  .price-button {
    align-self: stretch;
  }

  .price-value {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .price-note {
    padding: 22px;
  }

  .certificate-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .certificate-slider {
    grid-auto-columns: minmax(248px, 86%);
  }

  .certificate-dialog {
    width: 96vw;
    max-height: 88vh;
  }

  .certificate-dialog-frame {
    padding: 44px 10px 10px;
  }

  .certificate-dialog img {
    max-height: calc(88vh - 54px);
  }

  .topic-card {
    min-height: 0;
  }

  .application-form {
    width: 100%;
    margin-top: 38px;
    padding: 24px 20px;
  }

  .form-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding-top: 46px;
  }

  .service-photo img {
    height: min(68vh, 620px);
    min-height: 500px;
    aspect-ratio: 4 / 5.4;
    object-position: 56% 70%;
  }

  .service-plan {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    padding-top: 64px;
  }
}
