:root {
  --page: #faf8f5;
  --surface: #ffffff;
  --surface-soft: #f5f1ed;
  --surface-warm: #f6f0e9;
  --accent: #87373d;
  --accent-dark: #722c32;
  --accent-deep: #542126;
  --link-hover: #8e373e;
  --selection: rgba(164, 106, 102, 0.28);
  --radius: 0.65rem;
  --radius-small: 0.3rem;
  --radius-field: 0.25rem;
  --text: #30312f;
  --text-soft: #676963;
  --line: #dedfd9;
  --line-strong: #c8cbc3;
  --danger: #9f352e;
  --success: #11693a;
  --content: min(1180px, calc(100% - 48px));
  --content-narrow: min(880px, calc(100% - 48px));
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --shadow-soft: 0 14px 34px rgba(50, 56, 49, 0.07);
  --header-offset: 7.25rem;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scroll-padding-top: var(--header-offset);
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color 140ms ease;
}

a:hover {
  color: var(--link-hover);
}

main a:not(.button) {
  text-decoration: none;
}

main a:not(.button):hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

address {
  font-style: normal;
}

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

h1, h2, h3 {
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.1rem, 6vw, 5.3rem);
  hyphens: manual;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

::selection {
  background: var(--selection);
  color: #1f261f;
}

:focus-visible {
  outline: 3px solid rgba(135,55,61,.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-small);
  background: var(--accent-dark);
  color: #ffffff;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus-visible {
  color: #ffffff;
  transform: translateY(0);
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  stroke: none;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.18rem;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: 0 7px 16px rgba(84, 33, 38, 0.14);
  color: #ffffff;
}

.button-primary:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  box-shadow: 0 7px 16px rgba(84, 33, 38, 0.14);
  color: #ffffff;
}

.button-primary:active {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  box-shadow: 0 4px 10px rgba(84, 33, 38, 0.16);
}

.text-link {
  display: inline-block;
  padding-bottom: 0.1rem;
  color: var(--accent-dark);
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 5.4rem 0;
}

.section-heading {
  margin-bottom: 2.2rem;
  padding-bottom: 1.35rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 36px, 1180px);
    --content-narrow: min(100% - 36px, 880px);
    --header-offset: 6.5rem;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 30px, 1180px);
    --content-narrow: min(100% - 30px, 880px);
    --header-offset: 5.75rem;
  }

  body {
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .section {
    padding: 4.2rem 0;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 5.6rem;
  transition: min-height 250ms ease-in-out;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin: 0 auto;
  width: min(1230px,calc(100% - 48px));
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(.5rem,1.35vw,1.45rem);
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #3f403d;
  text-decoration: none;
  font-size: .85rem;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 170ms ease;
}

.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.main-nav a:hover::after, .main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.main-nav .nav-dropdown {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: stretch;
}

.main-nav .nav-dropdown > a {
  padding-right: 0.15rem;
}

.main-nav .nav-dropdown.is-active > a, .main-nav .nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--accent-dark);
}

.main-nav .nav-dropdown.is-active > a::after {
  transform: scaleX(1);
}

.nav-dropdown-toggle {
  display: inline-flex;
  min-width: 1.4rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.15rem;
  border: 0;
  background: transparent;
  color: #3f403d;
  cursor: pointer;
}

.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--accent-dark);
}

.nav-dropdown-toggle .icon {
  width: 0.82rem;
  height: 0.82rem;
  transition: transform 150ms ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 20;
  display: none;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  list-style: none;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.main-nav .nav-dropdown-menu a {
  display: block;
  min-height: 0;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-field);
  color: var(--text);
  font-size: 0.89rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav .nav-dropdown-menu a::after {
  display: none;
}

.main-nav .nav-dropdown-menu a:hover, .main-nav .nav-dropdown-menu a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.logo {
  display: block;
  flex: 0 0 14.5rem;
  width: 14.5rem;
  line-height: 0;
  text-decoration: none;
  transition: width 250ms ease-in-out, flex-basis 250ms ease-in-out;
}

.header.is-compact .header-inner {
  min-height: 4.7rem;
}

.header.is-compact .logo {
  flex-basis: 12.5rem;
  width: 12.5rem;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s ease-in-out;
}

.logo:hover img {
  opacity: 0.75;
}

@media (max-width:1080px) {
  .main-nav {
    gap: .7rem;
  }

  .main-nav a {
    font-size: .8rem;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 4.9rem;
    flex-wrap: wrap;
  }

  .header.is-compact .header-inner {
    min-height: 4.4rem;
  }

  .header.is-compact .logo {
    flex-basis: 11.75rem;
    width: 11.75rem;
  }

  .js-enabled .nav-toggle {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-field);
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
  }

  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
    display: block;
    width: 1.2rem;
    height: 1px;
    background: currentColor;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before, .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -0.38rem;
  }

  .nav-toggle-icon::after {
    top: 0.38rem;
  }

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

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

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

  .main-nav {
    position: static;
    height: auto;
    flex: 1 0 100%;
    flex-flow: row wrap;
    gap: 0.25rem 1rem;
    padding: 0.25rem 0 0;
    gap: .7rem;
  }

  .js-enabled .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex: none;
    flex-direction: column;
    gap: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    max-height: calc(100dvh - 5.75rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .js-enabled .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 3rem;
    padding: 0.65rem 0.8rem;
  }

  .main-nav a::after {
    right: auto;
    bottom: 0.45rem;
    left: 0.8rem;
    width: 2rem;
  }

  .main-nav .nav-dropdown {
    flex-wrap: wrap;
  }

  .main-nav .nav-dropdown > a {
    flex: 1 1 auto;
    padding-right: 0.8rem;
  }

  .nav-dropdown-toggle {
    min-width: 3rem;
    min-height: 3rem;
  }

  .nav-dropdown-menu {
    position: static;
    flex: 1 0 100%;
    min-width: 0;
    margin: 0 0 0.5rem;
    padding: 0.25rem 0.5rem 0.25rem 0.7rem;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
  }

  .main-nav .nav-dropdown-menu a {
    min-height: 2.7rem;
    padding: 0.65rem 0.8rem;
    white-space: normal;
  }

  .logo {
    flex-basis: 13.25rem;
    width: 13.25rem;
  }
}

@media (max-width:900px) {
  .header-inner {
    width: var(--content);
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 4.5rem;
    gap: 1rem;
  }

  .header.is-compact .header-inner {
    min-height: 4.05rem;
  }

  .header.is-compact .logo {
    flex-basis: min(11rem, calc(100vw - 110px));
    width: min(11rem, calc(100vw - 110px));
  }

  .js-enabled .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .js-enabled .nav-toggle {
    width: 2.75rem;
    justify-content: center;
    padding: 0;
  }

  .logo {
    flex-basis: min(12.5rem, calc(100vw - 110px));
    width: min(12.5rem, calc(100vw - 110px));
  }
}

.heading-rule {
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1.55rem 0 1.7rem;
  background: var(--accent);
}

.home-hero, .page-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--surface-warm) 0%, #f7f2ec 56%, #f8f4ef 100%);
}

.home-hero-inner, .page-hero-inner {
  position: relative;
  display: grid;
  width: var(--content);
  min-height: 31rem;
  grid-template-columns: minmax(0, 0.94fr) minmax(20rem, 1.06fr);
  align-items: stretch;
  margin: 0 auto;
}

.home-hero-copy, .page-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 38rem;
  padding: 5.5rem 0 5.8rem;
}

.home-hero h1 {
  max-width: 8.4em;
  margin-bottom: 0;
}

.hero-lead {
  max-width: 32rem;
  margin-bottom: 1.4rem;
  color: #504b48;
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  line-height: 1.45;
}

.hero-text {
  max-width: 36rem;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.home-hero-visual, .page-hero-visual {
  position: absolute;
  top: 0;
  right: -7vw;
  bottom: 0;
  width: 68%;
  background-image: linear-gradient(90deg, #f6f0e9 0%, rgba(246, 240, 233, 0.72) 18%, rgba(246, 240, 233, 0.1) 45%, rgba(246, 240, 233, 0) 100%),
    radial-gradient(ellipse at 64% 45%, rgba(125,50,57,.1), transparent 68%);
  background-repeat: no-repeat;
  background-position: center, center right;
  background-size: cover, auto 112%;
  opacity: 0.92;
}

.page-hero-inner {
  min-height: 24rem;
}

.page-hero-copy {
  max-width: 36rem;
  padding: 4.8rem 0 5rem;
}

.page-hero h1 {
  margin-bottom: 0;
}

.page-hero-copy > p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.home-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  right: calc(-1 * max(24px, (100vw - 1180px) / 2));
  width: calc(68% + max(24px, (100vw - 1180px) / 2));
  background: radial-gradient(ellipse at 50% 50%, rgba(135, 55, 61, .10), transparent 76%);
}

.home-hero-copy .button {
  margin-top: 1.2rem;
}

.home-hero-copy .button .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-left: 0.6rem;
  transform: translateY(2px);
}

.home-hero-copy .button-primary {
  animation: hero-button-pulse 2.8s ease-in-out infinite;
}

.home-hero-copy .button-primary:hover,
.home-hero-copy .button-primary:focus-visible {
  animation: none;
}

@keyframes hero-button-pulse {
  0%, 100% {
    box-shadow: 0 7px 16px rgba(84, 33, 38, 0.14), 0 0 0 0 rgba(114, 44, 50, 0);
  }

  50% {
    box-shadow: 0 9px 22px rgba(84, 33, 38, 0.2), 0 0 0 8px rgba(114, 44, 50, 0.14);
  }
}

.page-hero-visual {
  left: 43%;
  right: calc(-1 * max(24px, (100vw - 1180px) / 2));
  width: auto;
  background: linear-gradient(90deg, var(--surface-warm) 0%, rgba(246, 240, 233, .68) 15%, rgba(246, 240, 233, 0) 46%),
    repeating-linear-gradient(167deg, transparent 0 36px, rgba(133, 54, 61, .045) 37px 38px);
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 43%);
  mask-image: linear-gradient(to right, transparent 0%, #000 43%);
}

.home-hero-art {
  position: relative;
  width: min(38rem, 88%);
  height: auto;
  opacity: 0.78;
}

@media (max-width: 980px) {
  .home-hero-inner, .page-hero-inner {
    min-height: 29rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-copy, .page-hero-copy {
    max-width: 35rem;
    padding: 4.6rem 0 5rem;
  }

  .home-hero-visual, .page-hero-visual {
    opacity: 0.46;
  }
}

@media (max-width: 760px) {
  .home-hero-inner, .page-hero-inner {
    min-height: auto;
  }

  .home-hero-copy, .page-hero-copy {
    max-width: none;
    padding: 4rem 0 4.4rem;
  }

  .home-hero h1 {
    max-width: none;
  }

  .home-hero-visual, .page-hero-visual {
    opacity: 0.22;
  }

  .hero-lead {
    font-size: 1.14rem;
  }

  .hero-text, .page-hero-copy > p:last-child {
    font-size: 0.98rem;
  }

  .home-hero-visual {
    display: none;
  }
}

@media (max-width: 430px) {
  .home-hero-copy, .page-hero-copy {
    padding: 3.5rem 0 3.9rem;
  }
}

.about-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.about-preview-content {
  max-width: 38rem;
}

.about-preview-content .eyebrow {
  margin-bottom: 0.6rem;
}

.about-preview-content h2 {
  margin-bottom: 0.7rem;
}

.about-preview-content .about-preview-role {
  margin-bottom: 1.35rem;
  color: var(--accent-dark);
  font-size: 1.05rem;
  line-height: 1.5;
}

.about-preview-content p:not(.eyebrow):not(.about-preview-role) {
  max-width: 36rem;
  margin-bottom: 1.3rem;
  color: var(--text-soft);
}

.about-preview-portrait {
  width: min(100%, 19rem);
  margin: 0;
  justify-self: end;
}

.about-preview-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 32%;
  border-radius: var(--radius);
}

.specialties-intro {
  max-width: 67ch;
  margin: 1.15rem 0 0;
  color: var(--text-soft);
}

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

.specialties-grid h3 {
  color: var(--accent-deep);
  margin: 0.35rem 0 0.85rem;
}

.specialties-grid p {
  max-width: 39ch;
}

.areas-more {
  margin: 0;
  padding-top: 2.25rem;
}

.specialties-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.9rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.specialties-grid p:not(.eyebrow) {
  margin-bottom: 0;
}

.home-page .specialties-section {
  padding-top: 3.25rem;
  padding-bottom: 2.25rem;
}

.home-page .about-preview {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 760px) {
  .about-preview {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  .about-preview-portrait {
    justify-self: start;
    width: min(100%, 18rem);
  }

  .home-page .specialties-section {
    padding-top: 2.75rem;
    padding-bottom: 2.25rem;
  }

  .home-page .about-preview {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

@media (max-width:650px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}

.areas-section, .area-detail, .preparation-steps, .downloads {
  margin-block: 4.5rem;
}

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

.areas-grid article {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  min-width: 0;
  padding: 1.9rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.areas-grid article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}

.areas-grid h2 {
  margin-bottom: .65rem;
  font-size: 1.7rem;
}

.areas-grid h2 a {
  color: var(--text);
  text-decoration: none;
}

.areas-grid h2 a:hover {
  color: var(--link-hover);
}

.areas-grid p {
  font-size: .95rem;
  color: var(--text-soft);
}

.areas-grid article .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.area-symbol {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--accent);
  line-height: 1;
}

.area-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.area-detail h2 {
  font-size: clamp(1.65rem,3vw,2.5rem);
}

.area-topics {
  border-left: 1px solid var(--line);
  padding-left: 3.1rem;
}

.area-topics li {
  margin: 0 0 .8rem;
  padding-left: .45rem;
}


.area-intro-note {
  margin-top: 1.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.area-extended, .area-sections {
  padding-top: 0;
  padding-bottom: 3rem;
}

.area-extended-details {
  padding: 1.5rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.area-extended-details summary {
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 650;
}

.area-extended-details ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem 2rem;
  margin: 1.5rem 0 0;
  padding-left: 1.5rem;
}

.area-extended-details li {
  padding-left: .2rem;
}

.area-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.area-sections-accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.area-sections-details + .area-sections-details {
  border-top: 1px solid var(--line);
}

.area-sections-details summary {
  padding: 1.4rem 1.8rem;
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 650;
}

.area-sections-details p {
  margin: 0;
  padding: 0 1.8rem 1.5rem;
  color: var(--text-soft);
}

.area-sections > .button {
  align-self: flex-start;
  margin-top: 1.4rem;
}

@media (max-width: 760px) {
  .area-extended-details ul {
    grid-template-columns: 1fr;
  }

  .area-sections-details summary {
    padding: 1.2rem 1.3rem;
  }

  .area-sections-details p {
    padding: 0 1.3rem 1.3rem;
  }
}

.section.areas-section, .section.area-detail {
  margin-block: 0;
  padding-top: 3.25rem;
  padding-bottom: 3rem;
}

@media (max-width:900px) {
  .areas-grid, .area-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .area-topics {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
  }
}

@media (max-width: 760px) {
  .section.areas-section, .section.area-detail {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }
}

.preparation-steps ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.preparation-steps li {
  counter-increment: item;
  min-width: 0;
  padding: 1.8rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.preparation-steps li::before {
  content: counter(item, decimal-leading-zero);
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.preparation-steps li h2 {
  margin: 0.65rem 0 0.65rem;
  font-size: 1.6rem;
}

.preparation-steps li p {
  margin: 0;
  color: var(--text-soft);
}

.section.preparation-steps, .section.downloads {
  margin-block: 0;
  padding-top: 3.25rem;
  padding-bottom: 3rem;
}

@media (max-width: 760px) {
  .section.preparation-steps, .section.downloads {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width:650px) {
  .preparation-steps ol {
    grid-template-columns: 1fr;
  }
}

.office-page .office-profile {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.office-page .office-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 5.5vw, 5.5rem);
  align-items: center;
  max-width: 1030px;
  margin: 0 auto;
}

.office-page .office-profile-text h2 {
  margin-bottom: 0.65rem;
}

.office-page .office-profile-role {
  margin-bottom: 1.65rem;
  color: var(--accent-dark);
  font-size: 1.07rem;
  line-height: 1.55;
}

.office-page .office-profile-text p:not(.eyebrow):not(.office-profile-role) {
  margin-bottom: 1rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.office-page .office-profile-text p:last-child {
  margin-bottom: 0;
}

.office-page .office-profile-photo {
  width: 100%;
  max-width: 350px;
  margin: 0;
  justify-self: end;
}

.office-page .office-profile-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.office-page .office-history {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.office-page .office-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1030px;
  margin: 0 auto;
}

.office-page .office-history-intro h2 {
  max-width: 12em;
  margin-bottom: 0;
}

.office-page .office-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-page .office-timeline li {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.office-page .office-timeline li:first-child {
  padding-top: 0;
}

.office-page .office-timeline li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.office-page .office-year {
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.35;
}

.office-page .office-timeline p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.office-page .office-team {
  padding-top: 3.5rem;
  padding-bottom: 3.4rem;
}

.office-page .office-team-heading {
  max-width: 1030px;
  margin: 0 auto 2rem;
}

.office-page .office-team-heading h2 {
  margin-bottom: 0.7rem;
}

.office-page .office-team-heading > p:last-child {
  max-width: 50rem;
  margin: 0;
  color: var(--text-soft);
}

.office-page .office-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 1030px;
  margin: 0 auto;
}

.office-page .office-team-person {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  min-height: 19rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.office-page .office-team-person > img {
  width: 100%;
  height: 100%;
  max-height: 20rem;
  object-fit: cover;
  object-position: center 19%;
}

.office-page .office-team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 2.3vw, 2rem);
}

.office-page .office-team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
}

.office-page .office-team-info p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .office-page .office-profile-layout, .office-page .office-history-layout {
    gap: 2rem;
  }

  .office-page .office-team-person {
    grid-template-columns: minmax(0, 1fr);
  }

  .office-page .office-team-person > img {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
  }
}

@media (max-width: 650px) {
  .office-page .office-profile, .office-page .office-history, .office-page .office-team {
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
  }

  .office-page .office-profile-layout, .office-page .office-history-layout, .office-page .office-team-grid {
    grid-template-columns: 1fr;
  }

  .office-page .office-profile-photo {
    justify-self: start;
    width: min(100%, 350px);
  }

  .office-page .office-timeline li {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .office-page .office-team-person {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    min-height: 12.5rem;
  }

  .office-page .office-team-person > img {
    aspect-ratio: auto;
    height: 100%;
  }
}

@media (max-width: 420px) {
  .office-page .office-team-person {
    grid-template-columns: minmax(0, 1fr);
  }

  .office-page .office-team-person > img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

.section.costs-intro, .section.costs-remuneration, .section.costs-court, .section.costs-calculators, .section.costs-insurance, .section.costs-assistance {
  padding-top: 3.25rem;
  padding-bottom: 3rem;
}

.costs-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.costs-intro-copy h2 {
  margin-bottom: 1.3rem;
}

.costs-intro-copy p:not(.eyebrow), .costs-court-intro > p:not(.eyebrow) {
  max-width: 41rem;
  color: var(--text-soft);
}

.costs-intro-copy p:last-child, .costs-court-intro > p:last-child {
  margin-bottom: 0;
}

.costs-intro-aside {
  padding-left: 2.6rem;
  border-left: 1px solid var(--line-strong);
}

.costs-intro-aside h3 {
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
}

.costs-intro-aside ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-soft);
}

.costs-intro-aside li + li {
  margin-top: 0.7rem;
}

.costs-section-heading {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.costs-section-heading h2 {
  margin-bottom: 0.9rem;
}

.costs-section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

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

.costs-remuneration-card {
  min-width: 0;
  padding: 1.9rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.costs-card-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.costs-remuneration-card h3 {
  margin-bottom: 0.85rem;
  color: var(--accent-deep);
  font-size: 1.55rem;
}

.costs-remuneration-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section.costs-court {
  border-top: 1px solid var(--line);
}

.costs-court-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.costs-court-intro h2 {
  max-width: 12em;
  margin-bottom: 1.25rem;
}

.costs-court-details article {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.costs-court-details article:first-child {
  padding-top: 0;
}

.costs-court-details article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.costs-court-details h3 {
  margin-bottom: 0.55rem;
  color: var(--accent-deep);
  font-size: 1.45rem;
}

.costs-court-details p {
  margin: 0;
  color: var(--text-soft);
}

.section.costs-calculators {
  border-top: 1px solid var(--line);
}


.costs-calculator-provider {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.costs-calculator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0;
}

.costs-calculator-status {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.costs-calculator-status:empty {
  display: none;
}

.costs-calculator-status:not(:empty) {
  margin-top: 1rem;
}

.costs-calculator-mount:not([hidden]) {
  width: 100%;
  min-width: 0;
  margin-top: 1.4rem;
  overflow-x: auto;
}

.costs-calculator-frame {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  background: transparent;
}

.costs-calculators-note {
  margin: 1.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.costs-insurance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.costs-insurance-panel h2 {
  margin-bottom: 1.1rem;
}

.costs-insurance-panel p:not(.eyebrow) {
  color: var(--text-soft);
}

.costs-insurance-panel > div p:last-child, .costs-insurance-note p:last-child {
  margin-bottom: 0;
}

.costs-insurance-note {
  padding-left: 2.4rem;
  border-left: 1px solid var(--line-strong);
}

.costs-insurance-note h3 {
  margin-bottom: 0.7rem;
  color: var(--accent-deep);
  font-size: 1.5rem;
}

.costs-assistance-grid, .costs-calculators-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.costs-calculators-grid {
  align-items: start;
}

.costs-assistance-card, .costs-calculators-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.costs-card-label {
  margin-bottom: 0.65rem;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.costs-assistance-card h3, .costs-calculators-card h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.costs-assistance-card p:not(.costs-card-label), .costs-calculators-card p {
  color: var(--text-soft);
}

.costs-assistance-card .text-link {
  margin-top: auto;
}

.costs-assistance-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.costs-assistance-footer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.costs-assistance-footer .text-link {
  flex-shrink: 0;
}

.section.costs-final-note {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.costs-final-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .costs-intro-layout, .costs-court-layout {
    gap: 2.5rem;
  }

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

  .costs-remuneration-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section.costs-intro, .section.costs-remuneration, .section.costs-court, .section.costs-calculators, .section.costs-insurance, .section.costs-assistance {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .costs-intro-layout, .costs-court-layout, .costs-insurance-panel, .costs-assistance-grid, .costs-calculators-grid {
    grid-template-columns: 1fr;
  }

  .costs-intro-aside, .costs-insurance-note {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

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

@media (max-width: 550px) {
  .costs-remuneration-grid {
    grid-template-columns: 1fr;
  }

  .costs-remuneration-card:last-child {
    grid-column: auto;
  }

  .costs-remuneration-card, .costs-assistance-card, .costs-calculators-card {
    padding: 1.6rem;
  }

  .costs-insurance-panel {
    padding: 1.6rem;
  }
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 3rem;
}

.downloads-group {
  min-width: 0;
}

.downloads-group-heading {
  display: flex;
  min-height: 4rem;
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}

.downloads-group-heading h2 {
  margin: 0;
  color: var(--accent-deep);
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  line-height: 1.2;
}

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

.download-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.download-name {
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.download-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-dark);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.download-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.download-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.download-pending {
  color: var(--text-soft);
  font-size: 0.83rem;
  text-align: right;
}

@media (max-width: 760px) {
  .downloads-grid {
    grid-template-columns: 1fr;
    row-gap: 2.4rem;
  }

  .downloads-group-heading {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .download-list li {
    gap: 0.65rem;
    padding: 1rem 0;
  }

  .download-name {
    font-size: 0.94rem;
  }

  .download-link {
    gap: 0.35rem;
    font-size: 0.85rem;
  }
}

.contact-band-section {
  width: var(--content);
  margin: 0 auto 5.4rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.7fr);
  gap: 2.5rem;
  padding: 2rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 12px 30px rgba(41, 72, 54, 0.04);
}

.contact-band-content {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.contact-band-icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}

.contact-band-icon .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.contact-band h2 {
  margin-bottom: 0.45rem;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 720;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.contact-band p {
  margin-bottom: 1.05rem;
  color: var(--text-soft);
}

.contact-band-address {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  align-content: center;
  padding-left: 2.4rem;
  border-left: 1px solid #ccd8d0;
  color: #535650;
}

.contact-band-address .icon {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--accent);
}

.contact-band-address strong {
  color: var(--text);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
  gap: 5rem;
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 8rem;
}

.contact-details h2, .contact-form-heading h2 {
  margin-bottom: 1.3rem;
}

.contact-details > address {
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.contact-list {
  margin: 0 0 2.5rem;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--text-soft);
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  color: var(--text);
}

.contact-safety-note {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid #d9e3dc;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.contact-safety-note .icon {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--accent);
}

.contact-safety-note h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.35;
}

.contact-safety-note p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-form-panel {
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-form-heading {
  margin-bottom: 2rem;
}

.contact-form-heading p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label, .checkbox-field {
  font-size: 0.94rem;
  font-weight: 650;
}

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-field);
  background: #ffffff;
  color: var(--text);
  transition: border-color 150ms ease,
    box-shadow 150ms ease;
}

.field input, .field select {
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
}

.field textarea {
  min-height: 10rem;
  padding: 0.8rem;
  resize: vertical;
}

.field input:hover, .field select:hover, .field textarea:hover {
  border-color: #aeb7af;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(135, 55, 61, 0.12);
}

.field-help {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 1.4rem 0 1.6rem;
  color: #4f514d;
  font-weight: 450;
}

.checkbox-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.22rem 0 0;
  accent-color: var(--accent-dark);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-small);
}

.form-status.is-success {
  background: #ecf7ef;
  color: var(--success);
}

.form-status.is-error {
  background: #fff1ef;
  color: var(--danger);
}

.contact-form.is-submitting {
  opacity: 0.72;
}

.contact-form button:disabled {
  cursor: wait;
}

@media (max-width: 980px) {
  .contact-band {
    grid-template-columns: minmax(0, 1.35fr) minmax(13rem, 0.65fr);
  }

  .contact-layout {
    gap: 3rem;
  }
}

@media (max-width: 760px) {
  .contact-band-section {
    margin-bottom: 4.2rem;
  }

  .contact-band {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding: 1.6rem;
  }

  .contact-band-content {
    grid-template-columns: 2.9rem minmax(0, 1fr);
    gap: 1rem;
  }

  .contact-band-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .contact-band-address {
    padding: 1.4rem 0 0;
    border-top: 1px solid #ccd8d0;
    border-left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .contact-details {
    position: static;
  }

  .contact-form-panel {
    padding: 1.6rem;
  }

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

@media (max-width: 430px) {
  .contact-band-content {
    grid-template-columns: 1fr;
  }

  .contact-band-address {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    margin-right: -0.2rem;
    margin-left: -0.2rem;
    padding: 1.3rem;
  }
}

.legal-content {
  width: var(--content-narrow);
}

.section.imprint-content,
.section.privacy-content {
  padding-top: 3.25rem;
  padding-bottom: 3rem;
}

.legal-block {
  padding: 0 0 2.35rem;
}

.legal-block + .legal-block {
  padding-top: 2.35rem;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

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

.legal-block p, .legal-block li {
  color: #555752;
}

@media (max-width: 760px) {
  .section.imprint-content,
  .section.privacy-content {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }
}

.error-content {
  width: var(--content-narrow);
  margin: 0 auto;
  padding: 9rem 0;
  text-align: center;
}

.error-code {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.error-content h1 {
  margin-bottom: 1rem;
}

.error-content p:not(.error-code) {
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.response-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.response-card {
  width: min(40rem, 100%);
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.response-card img {
  width: 15rem;
  margin-bottom: 2.5rem;
}

.response-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.footer {
  border-top: 1px solid var(--line);
  background: #f5f3ee;
}

.footer-inner {
  display: grid;
  width: var(--content);
  grid-template-columns: minmax(15rem, 1.35fr) minmax(10rem, 0.75fr) minmax(15rem, 1fr) minmax(8rem, 0.6fr);
  gap: 3rem;
  margin: 0 auto;
  padding: 3rem 0 2.5rem;
}

.footer-identity p, .footer-column address, .footer-column a, .footer-column span {
  color: #5e605b;
  font-size: 0.9rem;
}

.footer-identity p {
  margin-bottom: 0;
}

.footer-heading {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
}

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

.footer-column a {
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.footer-bottom {
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 1.8rem;
  color: #898b86;
  font-size: 0.82rem;
  text-align: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-logo img {
  display: block;
  width: 11rem;
  max-width: 100%;
  height: auto;
  transform: translateX(-12%);
}

.footer-column .footer-hours {
  display: block;
  margin: 0;
  line-height: inherit;
}

.footer-bottom > p {
  grid-column: 2;
}

.hosting-credit {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #747670;
  font-size: 0.75rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.hosting-credit img {
  display: block;
  width: 5.1rem;
  height: auto;
  transition: opacity 0.2s ease-in-out;
}

.hosting-credit:hover img {
  opacity: 0.75;
}

.hosting-credit:hover {
  color: var(--accent-deep);
}

.hosting-credit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.6rem 0 2rem;
  }

  .footer-bottom {
    text-align: left;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    row-gap: 0.8rem;
  }

  .footer-bottom > p, .hosting-credit {
    grid-column: 1;
    justify-self: start;
  }
}


.scroll-top {
  display: none;
}

@media (max-width: 760px) {
  .js-enabled .scroll-top {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 90;
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 6px 20px rgba(50, 56, 49, 0.12);
    color: var(--accent-dark);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 200ms ease-in-out, transform 200ms ease-in-out, visibility 200ms ease-in-out, background-color 200ms ease-in-out;
  }

  .js-enabled .scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .scroll-top .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .scroll-top:hover {
    background: var(--surface-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


@media print {
  .header, .footer, .contact-band, .nav-toggle, .button, .scroll-top {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .section, .legal-content {
    width: 100%;
    padding: 1.5rem 0;
  }
}