:root {
  --ink: #15191d;
  --ink-soft: #3b4148;
  --paper: #f7f3ec;
  --paper-strong: #fffdf8;
  --line: rgba(21, 25, 29, 0.14);
  --night: #0f1515;
  --night-2: #17201f;
  --brass: #b18a55;
  --brass-dark: #87643b;
  --wine: #6d2635;
  --teal: #2f6f73;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(15, 21, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

::selection {
  color: var(--white);
  background: var(--wine);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 18px 40px;
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  padding-block: 14px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 35px rgba(15, 21, 21, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.inner-header {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 700;
}

.brand-logo-link {
  width: clamp(190px, 18vw, 246px);
  min-height: 52px;
  gap: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.nav-active .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.nav-active .brand-logo-dark {
  display: block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.94rem;
}

.site-nav .lang-link {
  border: 1px solid currentColor;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(177, 138, 85, 0.16);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.nav-active .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-active .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-active .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86svh;
  padding: 120px 40px 34px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/gok-partners-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 13, 15, 0.88) 0%, rgba(10, 13, 15, 0.68) 38%, rgba(10, 13, 15, 0.2) 76%),
    linear-gradient(180deg, rgba(10, 13, 15, 0.52) 0%, rgba(10, 13, 15, 0.1) 38%, rgba(10, 13, 15, 0.62) 100%);
}

.hero-content {
  width: min(720px, 100%);
  padding-top: 34px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.intro h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11ch;
  font-size: 4.9rem;
  font-weight: 500;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #7f3041;
  border-color: #7f3041;
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button.full {
  width: 100%;
}

.hero-facts {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts div {
  min-height: 86px;
  padding: 16px 18px;
  background: rgba(15, 21, 21, 0.62);
  backdrop-filter: blur(14px);
}

.hero-facts strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.hero-facts span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.35;
}

.section,
.section-band {
  padding: 92px 40px;
}

.page-hero {
  padding: 150px 40px 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 21, 21, 0.92), rgba(15, 21, 21, 0.78)),
    url("assets/gok-partners-hero.png") center / cover;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.04;
}

.page-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

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

.section-band {
  background: var(--paper-strong);
  border-block: 1px solid var(--line);
}

.intro {
  padding-top: 74px;
  padding-bottom: 78px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: start;
}

.intro h2,
.section h2,
.contact h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 500;
}

.intro p:last-child,
.section-heading p,
.contact-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.horizontal {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
}

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

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

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 21, 21, 0.06);
}

.content-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.3;
}

.content-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--wine);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brass-dark);
  outline: none;
}

.partner-card {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 166px;
  padding: 26px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 21, 21, 0.06);
}

.partner-initials {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(177, 138, 85, 0.58);
  border-radius: 50%;
  color: var(--brass-dark);
  background: rgba(177, 138, 85, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.partner-card h3,
.practice-grid h3,
.method-list h3,
.insights-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.3;
}

.partner-card p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.profile-link {
  box-shadow: none;
}

.split-layout,
.detail-grid,
.article-layout,
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 46px;
  align-items: start;
}

.split-layout h2,
.detail-grid h2,
.profile-main h2,
.article-body h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 1.12;
}

.split-layout p,
.detail-grid p,
.article-body p,
.lead {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.profile-grid {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
}

.profile-aside {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-aside h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
}

.profile-aside p {
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.profile-main {
  display: grid;
  gap: 18px;
}

.partner-initials.large {
  width: 88px;
  height: 88px;
  font-size: 1.35rem;
}

.sticky-card {
  position: sticky;
  top: 104px;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.plain-list {
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

.plain-list a {
  color: var(--wine);
  font-weight: 800;
}

.meta-list {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px 18px;
  margin: 0;
}

.meta-list dt {
  color: var(--teal);
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.article-body {
  padding: 0 0 20px;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 1.8rem;
}

.article-meta {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-layout-wide {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 52px;
}

.long-article {
  max-width: 860px;
}

.article-toc {
  margin: 28px 0 44px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-toc h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.article-toc ol,
.footnote-list,
.source-list,
.case-query-list {
  margin: 0;
  padding-left: 22px;
}

.article-toc li,
.footnote-list li,
.source-list li,
.case-query-list li {
  margin: 8px 0;
  color: var(--ink-soft);
}

.article-toc a,
.source-list a {
  color: var(--wine);
  font-weight: 800;
}

.article-section {
  scroll-margin-top: 108px;
}

.article-section + .article-section {
  margin-top: 36px;
}

.article-section p {
  margin: 0 0 18px;
}

.footnote-ref {
  margin-left: 4px;
  font-size: 0.72em;
}

.footnote-ref a {
  color: var(--wine);
  font-weight: 800;
}

.source-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.source-section h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.source-list span {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.case-query-list code {
  white-space: normal;
  color: var(--ink);
  background: rgba(177, 138, 85, 0.12);
  border-radius: 4px;
  padding: 2px 5px;
}

.article-sidebar {
  display: grid;
  gap: 18px;
}

.article-side-card {
  min-height: auto;
}

.article-disclaimer {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.3fr) minmax(160px, 0.25fr);
  gap: 12px;
  margin-bottom: 24px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 25, 29, 0.18);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper-strong);
}

.empty-state {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.stacked-cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.map-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-top: 28px;
  padding: 24px;
  color: var(--ink-soft);
  background:
    linear-gradient(135deg, rgba(47, 111, 115, 0.12), rgba(177, 138, 85, 0.12)),
    var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.consent-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.consent-row a {
  color: var(--wine);
  font-weight: 800;
}

.section-dark {
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(135deg, rgba(47, 111, 115, 0.16), transparent 42%),
    linear-gradient(180deg, var(--night), var(--night-2));
}

.section-dark .section-kicker {
  color: #d4b27f;
}

.section-dark h2,
.section-dark .practice-grid h3 {
  color: var(--white);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.practice-grid article {
  min-height: 248px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.055);
}

.practice-number {
  display: block;
  margin-bottom: 34px;
  color: #d4b27f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
}

.practice-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 62px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 16px;
}

.method-list article {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.method-list span {
  color: var(--teal);
  font-weight: 800;
}

.method-list p {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--ink-soft);
}

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

.insights-grid article {
  min-height: 230px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 21, 21, 0.06);
}

.insights-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insights-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.68fr);
  gap: 62px;
  align-items: start;
}

.contact-copy {
  max-width: 610px;
  margin-top: 22px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink-soft);
}

.contact-lines a {
  color: var(--wine);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 25, 29, 0.18);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper-strong);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 111, 115, 0.12);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.site-footer {
  padding: 42px 40px;
  color: rgba(255, 255, 255, 0.7);
  background: #0b1011;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-inner.expanded {
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  align-items: start;
}

.footer-brand {
  color: var(--white);
  width: min(238px, 100%);
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links strong {
  color: var(--white);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  outline: none;
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100vw - 40px));
  padding: 18px;
  color: var(--white);
  background: rgba(15, 21, 21, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.cookie-banner div {
  display: flex;
  gap: 10px;
}

.button.ghost-dark {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 24px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    z-index: 21;
    inset: 0 0 auto;
    display: grid;
    gap: 6px;
    padding: 94px 24px 26px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 22px 70px rgba(15, 21, 21, 0.16);
    transform: translateY(-110%);
    transition: transform 200ms ease;
  }

  .site-header.nav-active .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-inline: 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .hero {
    min-height: 88svh;
    padding: 112px 24px 28px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .hero-facts {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 40px;
  }

  .section,
  .section-band {
    padding: 74px 24px;
  }

  .intro-grid,
  .section-heading.horizontal,
  .method-grid,
  .contact-grid,
  .split-layout,
  .detail-grid,
  .article-layout,
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .partners-grid,
  .practice-grid,
  .insights-grid,
  .listing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding: 132px 24px 66px;
  }

  .page-hero h1 {
    font-size: 3.25rem;
  }

  .filter-bar,
  .footer-inner.expanded,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo-link {
    width: 170px;
    min-height: 46px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 104px 18px 26px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 3.2rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1.02rem;
  }

  .page-hero {
    padding: 112px 18px 52px;
  }

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .page-hero p:not(.section-kicker) {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .button {
    min-height: 50px;
    width: 100%;
  }

  .hero-facts {
    margin-top: 28px;
  }

  .section,
  .section-band {
    padding: 58px 18px;
  }

  .intro h2,
  .section h2,
  .contact h2 {
    font-size: 2.08rem;
  }

  .partners-grid,
  .practice-grid,
  .insights-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 138px;
    padding: 22px;
  }

  .practice-grid article {
    min-height: 210px;
    padding: 24px;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .method-list p {
    grid-column: auto;
    margin: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .content-card,
  .profile-aside {
    padding: 22px;
  }

  .meta-list {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    gap: 12px;
    padding: 14px;
  }

  .cookie-banner div {
    display: flex;
  }

  .cookie-banner .button {
    flex: 1;
    width: auto;
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-footer {
    padding: 36px 18px;
  }
}

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