:root {
  --header-progress: 0;
  --header-height: 116px;
  --header-expanded-height: 116px;
  --brand-width: 449px;
  --brand-height: 80px;
  --background: #f7f4df;
  --surface: #fffced;
  --surface-soft: #eee8cf;
  --surface-muted: #e6dfc5;
  --ink: #143d3c;
  --ink-strong: #052b2b;
  --text: #243735;
  --muted: #61706d;
  --primary: #057d7d;
  --primary-strong: #073f3f;
  --secondary: #964a3f;
  --accent: #d79d72;
  --line: rgba(20, 61, 60, 0.16);
  --shadow: 0 24px 70px rgba(20, 61, 60, 0.12);
  --max-width: 1300px;
  --radius: 22px;
  --radius-small: 12px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  scrollbar-color: var(--primary) var(--background);
  scrollbar-width: auto;
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 3px solid var(--background);
  border-radius: 999px;
  background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-strong);
}

::-webkit-scrollbar-corner {
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 157, 114, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(13, 90, 89, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--background), #f4eed6 58%, var(--background));
  color: var(--text);
  font: 400 16px/1.7 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.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;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(247, 244, 223, 0.35);
  box-shadow: 0 10px 30px rgba(20, 61, 60, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-4);
  transition: min-height 80ms linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: var(--brand-width);
  height: var(--brand-height);
  position: relative;
  flex: 0 0 auto;
  transition: width 80ms linear, height 80ms linear;
}

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

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--secondary);
}

.site-nav a[aria-current="page"] {
  color: var(--secondary);
  font-weight: 700;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 237, 0.78);
  color: var(--ink);
}

.main {
  overflow: hidden;
  padding-top: var(--header-expanded-height);
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-expanded-height));
  padding: clamp(4rem, 8vw, 7rem) 0 var(--space-7);
}

.home-hero {
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: calc(-1 * var(--header-expanded-height));
  padding-top: calc(var(--header-expanded-height) + clamp(4rem, 8vw, 7rem));
  background-image: url("../assets/main/main_background.webp");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 100vh;
  background-size: auto 100dvh;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--secondary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3,
.lead-title {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.055em;
}

h1 em,
h2 em {
  display: inline-block;
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  letter-spacing: -0.04em;
}

h3,
.lead-title {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.hero-copy > p:not(.eyebrow),
.section-intro,
.page-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: var(--space-4);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-strong);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 252, 237, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-visual,
.visual-card {
  position: relative;
}

.brand-card,
.card,
.panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 237, 0.76);
  box-shadow: var(--shadow);
}

.brand-card {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(2rem, 5vw, 4rem);
}

.brand-card img {
  width: min(100%, 360px);
  filter: drop-shadow(0 24px 45px rgba(20, 61, 60, 0.13));
}

.photo-card {
  min-height: 560px;
  padding: 1rem;
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 528px;
  border-radius: calc(var(--radius) - 8px);
  object-fit: cover;
  object-position: center 32%;
  filter: none;
}

.floating-note {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  width: min(220px, 55%);
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface);
  color: var(--primary);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  box-shadow: 0 18px 45px rgba(20, 61, 60, 0.12);
}

.section {
  padding: var(--space-8) 0;
}

.section-tight {
  padding: var(--space-7) 0;
}

.section-alt {
  background: rgba(230, 223, 197, 0.58);
  border-block: 1px solid rgba(20, 61, 60, 0.09);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: none;
  width: 100%;
  margin-bottom: var(--space-5);
}

.section-head.center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-head.center > .eyebrow {
  align-self: flex-start;
}

.section-head.center > h2,
.section-head.center > .section-intro {
  max-width: none;
}

.section .container > .section-head.center {
  max-width: none;
  width: 100%;
}

.blog-section-head {
  max-width: none;
}

.blog-section-head .section-intro {
  max-width: none;
}

.section-head.center.work-areas-head > .section-intro {
  max-width: none;
}

.blog-section-head h2 a,
.article-card h3 a,
.card h3 a {
  transition: color 180ms ease;
}

.blog-section-head h2 a:hover,
.blog-section-head h2 a:focus-visible,
.article-card h3 a:hover,
.article-card h3 a:focus-visible,
.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--primary);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

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

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

.card,
.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.card .card-eyebrow {
  margin-bottom: 0;
  color: var(--secondary);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 100%;
}

.card p,
.panel p,
.feature-list li,
.muted {
  color: var(--muted);
}

.eyebrow,
.card .eyebrow,
.panel .eyebrow {
  color: var(--secondary);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(150, 74, 63, 0.12);
  color: var(--secondary);
  font-size: 1.3rem;
}

.card-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.split-grid {
  align-items: start;
}

.portrait-frame,
.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(13, 90, 89, 0.14), rgba(215, 157, 114, 0.22));
  box-shadow: var(--shadow);
}

.portrait-frame img,
.media-frame img {
  display: block;
  width: 100%;
}

.portrait-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
}

.contact-photo {
  width: min(100%, 480px);
  justify-self: end;
}

.contact-photo img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
}

.stack {
  display: grid;
  gap: var(--space-3);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: var(--space-4) 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--secondary);
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 var(--space-6);
}

.page-hero .container {
  max-width: 980px;
}

.page-lead {
  max-width: none;
  width: 100%;
  margin-top: var(--space-4);
}

.article-card-date,
.meta {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card-image {
  display: block;
  margin: calc(clamp(1.4rem, 3vw, 2rem) * -1) calc(clamp(1.4rem, 3vw, 2rem) * -1) 0;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.article-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 350ms ease;
}

.article-card-image:hover img,
.article-card-image:focus-visible img {
  transform: scale(1.025);
}

.instagram-section {
  border-bottom: 1px solid rgba(20, 61, 60, 0.09);
}

.instagram-card {
  overflow: hidden;
}

.instagram-card-image {
  display: block;
  margin: calc(clamp(1.4rem, 3vw, 2rem) * -1) calc(clamp(1.4rem, 3vw, 2rem) * -1) 0;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(230, 223, 197, 0.55);
}

.instagram-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 350ms ease;
}

.instagram-card-image:hover img,
.instagram-card-image:focus-visible img {
  transform: scale(1.025);
}

.instagram-card > p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-card-date {
  margin-top: -0.35rem;
}

.book-card-image {
  display: grid;
  place-items: center;
  min-height: 320px;
  margin: calc(clamp(1.4rem, 3vw, 2rem) * -1) calc(clamp(1.4rem, 3vw, 2rem) * -1) 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(230, 223, 197, 0.55);
}

.book-card-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(20, 61, 60, 0.16));
}

.book-purchase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin-top: auto;
}

.books-empty {
  grid-column: 1 / -1;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 237, 0.76);
  color: var(--muted);
  text-align: center;
}

.article-page {
  padding: clamp(3.5rem, 7vw, 6rem) 0 var(--space-8);
}

.article-header {
  max-width: 920px;
}

.article-header h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.article-header time {
  display: block;
  margin-top: var(--space-4);
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-header .page-lead,
.article-content {
  text-align: justify;
  text-justify: inter-word;
}

.article-header .page-lead {
  max-width: none;
  width: 100%;
}

.article-layout {
  display: grid;
  gap: var(--space-5);
  max-width: 920px;
  margin-top: var(--space-6);
}

.article-cover {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-cover img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-content {
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.8;
}

.article-content > * + * {
  margin-top: var(--space-4);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: var(--space-6);
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
}

.article-content blockquote {
  margin-inline: 0;
  padding: var(--space-4);
  border-left: 3px solid var(--secondary);
  background: rgba(150, 74, 63, 0.08);
  color: var(--muted);
  font-style: italic;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-content img {
  display: block;
  margin-inline: auto;
  border-radius: var(--radius-small);
}

.contact-panel {
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: var(--space-5);
}

.contact-details a {
  color: var(--ink);
  font-weight: 700;
}

.contact-column {
  min-width: 0;
  text-align: center;
}

.contact-primary {
  display: grid;
  gap: var(--space-4);
}

.contact-primary p {
  margin: 0;
}

.contact-social {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.65rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  min-height: 52px;
  padding: 0 0.7rem;
  border-radius: 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  transition: background 180ms ease, transform 180ms ease;
  margin-inline: auto;
}

.contact-social a:hover,
.contact-social a:focus-visible {
  background: rgba(150, 74, 63, 0.1);
  transform: translateY(-2px);
}

.contact-social img {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.contact-complaints {
  display: grid;
  place-items: center;
}

.contact-complaints a {
  display: block;
  width: min(100%, 280px);
}

.contact-complaints img {
  display: block;
  width: 100%;
  height: auto;
}

.notice {
  border-left: 3px solid var(--secondary);
  padding: 1rem 1.2rem;
  background: rgba(150, 74, 63, 0.08);
  color: var(--muted);
}

.therapy-notice {
  width: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(150, 74, 63, 0.22);
  border-radius: var(--radius);
  background: rgba(215, 157, 114, 0.22);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: var(--space-6) 0 var(--space-5);
  background: rgba(255, 252, 237, 0.35);
  box-shadow: 0 -10px 30px rgba(20, 61, 60, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.footer-brand img {
  width: 210px;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.footer-brand {
  justify-self: center;
}

.footer-contacts {
  display: grid;
  gap: 0.8rem;
  justify-self: start;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
}

.footer-contacts img,
.footer-social img {
  display: block;
  width: 24px;
  height: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.15rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--primary);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(5, 125, 125, 0.1);
  transform: translateY(-2px);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--primary);
}

.footer-meta {
  grid-column: 1 / -1;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

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

  .contact-complaints {
    grid-column: 1 / -1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 15px);
    right: 1rem;
    left: 1rem;
    max-height: calc(100vh - var(--header-height) - 30px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 252, 237, 0.35);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 24px 70px rgba(20, 61, 60, 0.22);
    backdrop-filter: blur(30px) saturate(145%);
    -webkit-backdrop-filter: blur(30px) saturate(145%);
    opacity: 0;
    transform: translateY(-0.75rem);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    padding: 0.75rem;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(13, 90, 89, 0.08);
  }

  .site-nav a[aria-current="page"]::after {
    right: 1rem;
    bottom: 0.45rem;
    left: 1rem;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .footer-contacts,
  .footer-social {
    justify-self: center;
  }

  .footer-contacts {
    text-align: center;
  }

  .contact-photo {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 96px;
    --header-expanded-height: 96px;
    --brand-width: 230px;
    --brand-height: 41px;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--brand-width);
    height: var(--brand-height);
  }

  .header-inner {
    position: relative;
  }

  .nav-wrap {
    margin-left: auto;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .footer-brand {
    order: 1;
    justify-self: center;
  }

  .footer-contacts {
    order: 2;
  }

  .footer-social {
    order: 3;
  }

  .footer-meta {
    order: 4;
  }

  .footer-brand img {
    object-position: center top;
  }

  .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-legal {
    order: 1;
  }

  .footer-copyright {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }

  .footer-credit {
    display: block;
  }

  .cta-row {
    justify-content: center;
  }

  .hero {
    padding-top: var(--space-6);
  }

  .home-hero {
    padding-top: calc(var(--header-expanded-height) + var(--space-6));
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.8vw, 3.15rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  h1 em {
    display: inline;
  }

  .contact-panel h2,
  .contact-details {
    text-align: center;
  }

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

  .contact-complaints {
    grid-column: auto;
  }

  .contact-social a {
    margin-inline: auto;
  }

  .floating-note {
    position: static;
    width: auto;
    margin: -1.5rem 1rem 0;
  }
}
