@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600&family=Literata:ital,opsz,wght@0,7..72,500;0,7..72,600;1,7..72,500&display=swap");

:root {
  --ink: #29312f;
  --text: #252a28;
  --muted: #66706b;
  --teal: #87998e;
  --teal-dark: #63786d;
  --ochre: #b87858;
  --ochre-dark: #955f45;
  --paper: #f4f0e7;
  --white: #fbf8f1;
  --mist: #dce3de;
  --line: rgba(41, 49, 47, 0.15);
  --shadow: 0 24px 70px rgba(41, 49, 47, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: "Golos Text", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 82px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-amp {
  color: var(--ochre);
  font-size: 1.2em;
  font-style: italic;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  color: #4f5854;
  font-size: 14px;
}

.desktop-nav a,
footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
footer a:hover {
  color: var(--ochre-dark);
}

.desktop-nav .nav-active {
  color: var(--ink);
  font-weight: 600;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  padding: 0 22px;
  background: var(--ink);
  color: var(--white);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: clamp(46px, 6vw, 90px);
  align-items: center;
  min-height: 700px;
  padding: 58px 7vw 56px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: 40px;
  border-radius: 50%;
  background: rgba(135, 153, 142, 0.18);
  content: "";
  filter: blur(2px);
}

.hero-copy,
.hero-portrait {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Literata", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  max-width: 880px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.1;
}

h1 em {
  color: var(--teal-dark);
  font-weight: 500;
}

h2 {
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1.1;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 32px;
  color: #59625e;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.72;
}

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

.button {
  padding: 0 24px;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(41, 49, 47, 0.18);
}

.button-primary:hover {
  background: #3a4642;
  box-shadow: 0 16px 34px rgba(41, 49, 47, 0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.55);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--white);
}

.button-dark {
  margin-top: 30px;
  background: var(--ink);
  color: var(--white);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.trust-line span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #59625e;
  font-size: 12px;
}

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

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 32px 32px 96px 32px;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px 22px 82px 22px;
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.portrait-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  width: 108%;
  margin: -42px 0 0 -42px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(251, 248, 241, 0.94);
  box-shadow: 0 16px 45px rgba(41, 49, 47, 0.12);
  backdrop-filter: blur(10px);
}

.portrait-note p {
  margin: 5px 0 8px;
  color: #59625e;
  font-size: 13px;
  line-height: 1.55;
}

.portrait-note strong {
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 15px;
  font-weight: 600;
}

.portrait-note a {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
}

.mini-amp {
  color: var(--ochre-dark);
  font-family: "Literata", serif;
  font-size: 30px;
  font-style: italic;
}

.section-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 110px 7vw;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
}

.route-section {
  padding-top: 90px;
}

.route-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.route-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: clamp(32px, 4vw, 54px);
  overflow: hidden;
  border-radius: 26px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.route-legal {
  background: var(--ink);
  color: var(--white);
}

.route-dialogue {
  background: var(--mist);
}

.route-card h3 {
  margin-top: 46px;
  font-size: clamp(30px, 3vw, 44px);
}

.route-legal h3 {
  color: var(--white);
}

.route-card p {
  max-width: 520px;
  margin: 20px 0 34px;
  font-size: 17px;
}

.route-legal p {
  color: #dde2df;
}

.card-label {
  align-self: flex-start;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-link {
  margin-top: auto;
  font-weight: 600;
}

.card-link b {
  margin-left: 6px;
  color: var(--ochre);
}

.route-amp {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 8px solid var(--paper);
  border-radius: 50%;
  background: var(--ochre);
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 37px;
  font-style: italic;
}

.legal-section {
  padding-top: 80px;
}

.legal-subsection + .legal-subsection {
  margin-top: 72px;
}

.subsection-label {
  margin: 0 0 24px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subsection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
}

.subsection-heading .subsection-label {
  margin-bottom: 0;
}

.subsection-heading > p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

.legal-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-format-card {
  min-height: 315px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mist);
}

.legal-format-card p {
  color: var(--muted);
}

.legal-format-card:last-child {
  background: var(--ink);
  color: var(--white);
}

.legal-format-card:last-child h3 {
  color: var(--white);
}

.legal-format-card:last-child p {
  color: #dde2df;
}

.legal-format-card:last-child .area-number {
  color: var(--ochre);
}

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

.area-card {
  position: relative;
  min-height: 275px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(251, 248, 241, 0.64);
}

.area-card-wide {
  grid-column: 1 / -1;
  min-height: 225px;
}

.area-number {
  display: block;
  margin-bottom: 32px;
  color: var(--ochre-dark);
  font-family: "Literata", serif;
  font-size: 18px;
}

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

.area-card a {
  position: absolute;
  bottom: 30px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 600;
}

.mediation-section {
  background: var(--teal);
}

.mediation-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
}

.mediation-intro {
  align-self: center;
}

.mediation-intro .eyebrow {
  color: #f1f4f2;
}

.mediation-intro h2 {
  color: #29312f;
}

.mediation-intro > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: #46554f;
  font-size: 18px;
}

.mediation-cards {
  display: grid;
  gap: 14px;
}

.mediation-cards article {
  display: grid;
  grid-template-columns: 50px minmax(170px, 0.6fr) 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 20px;
  background: rgba(251, 248, 241, 0.88);
}

.mediation-cards span {
  color: var(--ochre-dark);
  font-family: "Literata", serif;
}

.mediation-cards h3 {
  font-size: 19px;
}

.mediation-cards p {
  margin: 0;
  color: #5b645f;
  font-size: 14px;
}

.cases-section {
  padding-bottom: 120px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-comparison-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.case-comparison-heading span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--ochre);
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 26px;
  font-style: italic;
}

.case-comparison-heading p,
.other-cases-label {
  margin: 0;
  color: var(--ink);
  font-family: "Literata", serif;
  font-size: 18px;
  font-weight: 600;
}

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

.case-card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 30px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(41, 49, 47, 0.07);
}

.case-card-featured {
  min-height: 430px;
  background: var(--mist);
}

.case-card-delayed {
  border: 1px solid rgba(184, 120, 88, 0.45);
  background: var(--white);
}

.comparison-label {
  align-self: flex-start;
  margin-bottom: 26px;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--ochre-dark);
  font-size: 11px;
  font-weight: 600;
}

.case-type {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-card h3 {
  margin-top: 26px;
}

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

.case-card strong {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.other-cases-label {
  margin: 46px 0 18px;
}

.cases-grid-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card-compact {
  min-height: 340px;
}

.cases-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.cases-more p {
  max-width: 940px;
  margin: 0;
  color: var(--muted);
}

.practice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
  max-width: 1440px;
  min-height: 560px;
  margin: 0 auto;
  padding: 100px 7vw 85px;
}

.practice-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.2vw, 74px);
}

.practice-hero-copy {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
}

.practice-hero-copy > p:first-child {
  margin-top: 0;
}

.confidentiality-note {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--ochre);
  background: rgba(220, 227, 222, 0.6);
  font-size: 14px;
}

.practice-principles {
  padding-top: 0;
  padding-bottom: 80px;
}

.practice-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--mist);
}

.practice-principles article {
  min-height: 235px;
  padding: 30px;
}

.practice-principles article + article {
  border-left: 1px solid var(--line);
}

.practice-principles span,
.practice-number {
  color: var(--ochre-dark);
  font-family: "Literata", serif;
}

.practice-principles h3 {
  margin-top: 34px;
  font-size: 20px;
}

.practice-principles p {
  margin-bottom: 0;
  color: var(--muted);
}

.practice-list {
  display: grid;
  gap: 24px;
  padding-top: 30px;
}

.practice-case {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(44px, 7vw, 110px);
  padding: clamp(34px, 5vw, 70px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(41, 49, 47, 0.07);
  scroll-margin-top: 105px;
}

.practice-case-heading {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
}

.practice-case-heading h2 {
  margin-top: 12px;
  font-size: clamp(32px, 3.5vw, 50px);
}

.practice-case-content {
  display: grid;
  gap: 26px;
}

.practice-case-content > div {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.practice-case-content > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-detail-label {
  margin: 0 0 7px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-case-content p:not(.case-detail-label) {
  margin: 0;
  color: var(--muted);
}

.practice-case-content .case-result p:last-child {
  color: var(--ink);
  font-weight: 600;
}

.practice-case-content .case-insight {
  margin-top: -10px;
  padding: 22px;
  border-bottom: 0;
  border-left: 3px solid var(--ochre);
  background: rgba(220, 227, 222, 0.55);
}

.practice-case-content .case-insight p:last-child {
  color: var(--ink);
}

.about-section {
  background: var(--ink);
  color: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 130px minmax(300px, 0.85fr) minmax(300px, 1.15fr);
  gap: 50px;
  align-items: start;
}

.about-mark {
  color: var(--ochre);
  font-family: "Literata", serif;
  font-size: 140px;
  font-style: italic;
  line-height: 0.8;
}

.about-section h2 {
  color: var(--white);
}

.about-section .eyebrow {
  color: #afc0b5;
}

.about-copy {
  color: #dce1de;
  font-size: 18px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-copy a {
  display: inline-block;
  margin-top: 20px;
  color: #c88968;
  font-weight: 600;
}

.contact-section {
  padding-top: 95px;
  padding-bottom: 95px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: clamp(36px, 5vw, 70px);
  border-radius: 28px;
  background: var(--mist);
}

.contact-card p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 7vw;
  border-top: 1px solid var(--line);
  color: #68716d;
  font-size: 13px;
}

.footer-brand {
  font-size: 17px;
}

.amp-guide {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(41, 49, 47, 0.2);
  transition:
    gap 220ms ease,
    padding 220ms ease,
    background 220ms ease;
}

.amp-guide span {
  display: grid;
  min-width: 58px;
  height: 58px;
  place-items: center;
  font-family: "Literata", serif;
  font-size: 28px;
  font-style: italic;
}

.amp-guide small {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition:
    width 220ms ease,
    opacity 220ms ease;
}

.amp-guide:hover,
.amp-guide:focus-visible {
  gap: 4px;
  padding-right: 18px;
  background: var(--ink);
}

.amp-guide:hover small,
.amp-guide:focus-visible small {
  width: 205px;
  opacity: 1;
}

@media (max-width: 1050px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: 50px;
    right: 0;
    display: grid;
    width: min(82vw, 310px);
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .mobile-nav nav a:hover {
    background: var(--mist);
  }

  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 45px;
    padding-inline: 5vw;
  }

  .section-shell {
    padding-inline: 5vw;
  }

  .mediation-layout {
    gap: 50px;
  }

  .legal-formats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-format-card:last-child {
    grid-column: 1 / -1;
  }

  .mediation-cards article {
    grid-template-columns: 42px 1fr;
  }

  .mediation-cards p {
    grid-column: 2;
  }

  .about-layout {
    grid-template-columns: 80px 1fr;
  }

  .about-copy {
    grid-column: 2;
  }

  .about-mark {
    font-size: 100px;
  }
}

@media (max-width: 760px) {
  main,
  section,
  .site-header,
  .hero,
  .section-shell,
  .about-layout,
  .about-layout > *,
  .about-copy {
    min-width: 0;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.14;
  }

  .site-header {
    min-height: 70px;
    padding-inline: 20px;
  }

  .brand {
    font-size: 19px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 22px 74px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-portrait {
    order: 2;
    width: min(88vw, 430px);
    margin-top: 10px;
  }

  .portrait-frame {
    border-radius: 28px 28px 90px 28px;
  }

  .portrait-note {
    width: 94%;
    margin: -35px 0 0 -8px;
  }

  .section-shell {
    padding: 78px 22px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .route-grid,
  .areas-grid,
  .legal-formats-grid,
  .mediation-layout,
  .cases-grid,
  .case-comparison-grid,
  .about-layout,
  .contact-card,
  .practice-hero,
  .practice-principles-grid,
  .practice-case {
    grid-template-columns: 1fr;
  }

  .practice-hero {
    min-height: auto;
    padding: 72px 22px 64px;
  }

  .practice-hero-copy {
    padding-bottom: 0;
  }

  .practice-principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .practice-case {
    gap: 38px;
  }

  .legal-format-card:last-child,
  .area-card-wide {
    grid-column: auto;
  }

  .subsection-heading,
  .cases-more {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-card {
    min-height: 350px;
    padding: 30px;
  }

  .route-amp {
    top: 50%;
    width: 62px;
    height: 62px;
    border-width: 7px;
    font-size: 30px;
  }

  .area-card {
    min-height: 320px;
  }

  .mediation-layout {
    gap: 44px;
  }

  .mediation-cards article {
    grid-template-columns: 38px 1fr;
    padding: 22px;
  }

  .cases-grid {
    gap: 14px;
  }

  .case-card {
    min-height: 330px;
  }

  .about-mark {
    font-size: 82px;
  }

  .about-copy {
    grid-column: auto;
  }

  .contact-card {
    gap: 30px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px 90px;
  }

  .amp-guide {
    right: 16px;
    bottom: 16px;
  }

  .amp-guide small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


.error-page {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 22px;
  padding: 32px;
  text-align: center;
}

.error-page h1,
.error-page p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 55px rgba(20, 26, 24, 0.28);
}

.cookie-banner strong {
  font-family: "Literata", serif;
  font-size: 18px;
}

.cookie-banner p {
  margin: 6px 0 4px;
  color: #dce1de;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #d3a086;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-actions .button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.cookie-actions .button-primary {
  background: var(--ochre);
  color: var(--ink);
}

.cookie-actions .button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
}

.cookie-choice-open .amp-guide {
  display: none;
}

.privacy-header {
  grid-template-columns: 1fr auto;
}

.privacy-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 90px 7vw 110px;
}

.privacy-page h1 {
  max-width: 900px;
  font-size: clamp(38px, 5vw, 68px);
}

.privacy-intro {
  margin: 34px 0 64px;
  padding: 26px 30px;
  border-left: 4px solid var(--ochre);
  border-radius: 0 18px 18px 0;
  background: var(--mist);
  font-size: 18px;
}

.privacy-page section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.privacy-page section h2 {
  margin-bottom: 20px;
  font-size: clamp(27px, 3vw, 38px);
}

.privacy-page p,
.privacy-page li {
  color: #4f5854;
}

.privacy-page ul {
  padding-left: 24px;
}

.privacy-page a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .cookie-actions {
    display: grid;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .privacy-page {
    padding: 62px 22px 86px;
  }

  .privacy-page h1 {
    font-size: 34px;
  }

  .privacy-intro {
    margin: 28px 0 48px;
    padding: 22px;
  }
}
