:root {
  --bg: #f3efe6;
  --sand: #e6dccb;
  --frame: #e3d9c6;
  --ink: #1c1f1c;
  --muted: #454b45;
  --line: rgba(28, 31, 28, 0.14);
  --accent: #b8431f;
  --accent-ink: #8c3114;
  --deep: #17261f;
  --footer: #0e1915;
  --paper: #f7f3eb;
  --header: 4.5rem;
  --serif: "Literata", "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

p,
dd {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h2 + p {
  margin-top: 1.05rem;
}

a {
  color: var(--accent-ink);
}

::selection {
  background: #efc7b6;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 80;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.65rem 0.9rem;
}

.skip:focus {
  transform: none;
}

#content:focus {
  outline: none;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.25rem, 8vw, 7rem);
}

#about {
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
}

.section[id],
#privacy {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2,
.about__copy h2,
.request__intro h2,
.contacts__grid h2 {
  margin-top: 0.75rem;
}

.dek {
  margin-top: 0.9rem;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.copy p + p,
.about__copy p + p {
  margin-top: 1rem;
}

.ruled {
  border-top: 1px solid var(--line);
}

.band {
  background: var(--sand);
}

.band--dark {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(224, 122, 69, 0.18), transparent 55%),
    var(--deep);
  color: #e7e1d6;
}

.band--dark .eyebrow {
  color: #f0b89a;
}

.band--dark h2 {
  color: #f6f1e7;
}

.band--dark .request__intro p {
  color: #d5cdc0;
}

.band--dark .request__intro a {
  color: #f0c2ae;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.logo__spark {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(184, 67, 31, 0.12);
}

.logo__text {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

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

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

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

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

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

.site-nav {
  position: fixed;
  z-index: 30;
  top: var(--header);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem 2rem;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
}

.site-nav ul a {
  display: inline-flex;
  padding: 0.7rem 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
}

.nav-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: auto;
}

.nav-phones .nav-phone {
  display: block;
}

.nav-phone {
  color: var(--ink);
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.site-nav .btn {
  width: 100%;
}

.hero {
  padding-top: clamp(1.25rem, 3vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.hero__grid,
.request,
.contacts__grid {
  display: grid;
  gap: 2rem;
}

.about-scene {
  display: grid;
  gap: 1.5rem;
}

.about-scene__frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1024 / 576;
  background: var(--frame);
}

.about-scene__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero h1 {
  margin-top: 0.85rem;
  max-width: 12em;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
}

.lede {
  margin-top: 1.15rem;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 1px solid transparent;
}

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

.btn--primary:hover {
  background: #9a3518;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 31, 28, 0.28);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.stations {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(28, 31, 28, 0.22);
  max-width: 22rem;
}

.stations li {
  position: relative;
}

.stations li::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--bg);
  left: calc(-1.2rem - 4px);
  top: 0.42rem;
}

.station__name {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.15rem;
  line-height: 1.2;
}

.station__role {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.shot {
  margin: 0;
  min-width: 0;
}

.shot__place {
  position: relative;
  overflow: hidden;
  background-color: var(--frame);
  background-image:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), transparent 42%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 10px,
      rgba(23, 36, 30, 0.04) 10px,
      rgba(23, 36, 30, 0.04) 11px
    );
  box-shadow: inset 0 0 0 1px rgba(28, 31, 28, 0.08);
}

.shot--hero .shot__place {
  aspect-ratio: 4 / 5;
}

.shot--hero .shot__place img {
  object-position: center center;
}

.shot--wide .shot__place {
  aspect-ratio: 5 / 4;
}

.shot--land .shot__place {
  aspect-ratio: 4 / 3;
}

.shot__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28, 31, 28, 0.45);
}

.shot__place img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot__place:has(img) .shot__label {
  opacity: 0;
}

.fact {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.more {
  margin-top: 1.75rem;
}

.route-line {
  display: none;
}

.route {
  display: grid;
  gap: 2.4rem;
  margin-left: 0.2rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(28, 31, 28, 0.22);
}

.route__item {
  position: relative;
}

.route__item::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--sand);
  left: calc(-1.25rem - 5px);
  top: 0.15rem;
}

.route__role {
  margin-top: 0.95rem;
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route__item h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.7rem, 2vw, 2.1rem);
}

.route__item p:last-child {
  margin-top: 0.55rem;
  color: var(--muted);
}

.band .shot__place {
  background-color: #f4efe4;
}

.services {
  counter-reset: service;
  display: grid;
  border-bottom: 1px solid var(--line);
}

.service {
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.service h3::before {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
}

.service h3 {
  font-size: 1.45rem;
}

.service p {
  margin-top: 0.45rem;
  max-width: 38rem;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.75rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
}

.steps h3 {
  font-size: 1.4rem;
}

.steps p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 1.75rem;
}

.faq article {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.faq h3 {
  font-size: 1.35rem;
}

.faq p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.request__intro p {
  margin-top: 1rem;
  max-width: 34rem;
}

.request__direct {
  font-size: 1rem;
}

.form-card {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.25rem, 3vw, 2.15rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.field + .field {
  margin-top: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 31, 28, 0.28);
  border-radius: 0;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a8478;
  opacity: 1;
}

.field__error {
  min-height: 0;
  margin-top: 0.35rem;
  color: #8d1d1d;
  font-size: 0.84rem;
  line-height: 1.35;
}

.field__error:empty {
  display: none;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-bottom-color: #8d1d1d;
}

.check.is-invalid label {
  color: #8d1d1d;
}

.check {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.35rem 0.7rem;
  align-items: start;
  margin-top: 1.15rem;
}

.check input {
  grid-column: 1;
  grid-row: 1;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

.check label {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}

.check .field__error {
  grid-column: 2;
}

.form__hint {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.form .btn {
  margin-top: 1.25rem;
  border: 0;
  cursor: pointer;
}

.form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.notice {
  position: fixed;
  z-index: 60;
  top: calc(var(--header) + 0.9rem);
  left: 50%;
  width: min(28rem, calc(100% - 2rem));
  transform: translateX(-50%);
  padding: 0.95rem 1.15rem;
  background: var(--deep);
  color: #f6f1e7;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 12px 32px rgba(14, 25, 21, 0.28);
  cursor: pointer;
}

.notice.is-error {
  background: #6f1d16;
}

.contacts__grid h2 {
  max-width: 12em;
}

.address {
  font-style: normal;
  display: grid;
  gap: 0.35rem;
  margin-top: 1.2rem;
}

.address a,
.contacts__mail {
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.contacts__phone {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.2rem, 2.4vw, 1.86rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration-color: rgba(140, 49, 20, 0.35);
  text-underline-offset: 0.08em;
}

.contacts__phone--second {
  margin-top: 0.25rem;
}

.contacts__mail {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 1.15rem;
}

.contacts__note {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--muted);
}

.messengers {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.messenger {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: #f6f1e7;
  background: var(--deep);
  cursor: default;
}

.messenger svg {
  width: 1.22rem;
  height: 1.22rem;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.site-footer {
  background: var(--footer);
  color: #e7e1d6;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.site-footer a {
  color: #f0c2ae;
}

.footer__top,
.footer__facts,
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 2rem;
}

.footer__top {
  align-items: flex-start;
}

.footer__brand {
  flex: 1 1 16rem;
  max-width: 24rem;
}

.site-footer .logo__text {
  color: #f6f1e7;
}

.footer__lead {
  margin-top: 0.85rem;
  max-width: 24rem;
  color: #d5cdc0;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.2rem;
  flex: 1 1 22rem;
  margin: 0.35rem 0 0;
  justify-content: flex-end;
}

.footer__nav a {
  color: #e7e1d6;
  text-decoration: none;
  text-underline-offset: 0.16em;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__facts {
  align-items: baseline;
  margin-top: 1.6rem;
  font-size: 0.95rem;
}

.ids,
.footer__address {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.6rem;
}

.footer__address {
  flex: 1 1 18rem;
  justify-content: flex-end;
  font-style: normal;
}

.ids div {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.ids dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7b1a6;
}

.ids dd {
  font-size: 1rem;
}

.footer__bottom {
  align-items: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(243, 239, 230, 0.12);
}

.footer__legal {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
}

.footer__legal a {
  color: #e7e1d6;
  font-size: 0.8rem;
  text-underline-offset: 0.16em;
}

.footer__bottom p {
  margin: 0;
  color: #b7b1a6;
  font-size: 0.88rem;
  line-height: 1.55;
}

#privacy {
  flex: 1 1 28rem;
  max-width: 46rem;
}

.footer__copy {
  flex: 0 1 22rem;
  margin-left: auto;
  text-align: right;
}

.ids div,
.footer__address a {
  white-space: nowrap;
}

@media (max-width: 719px) {
  .footer__nav,
  .footer__address {
    justify-content: flex-start;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__copy {
    margin-left: 0;
    text-align: left;
  }
}

@media (min-width: 1080px) {
  .ids,
  .footer__address {
    display: contents;
  }
}

@media (min-width: 720px) {
  .container {
    width: min(1140px, calc(100% - 4rem));
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .faq {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 3.5rem;
    align-items: start;
  }

  .shot--hero .shot__place {
    aspect-ratio: 4 / 5;
  }

  .about-scene {
    position: relative;
    display: block;
  }

  .about-scene__frame {
    aspect-ratio: 1024 / 576;
  }

  .about-scene__frame img {
    object-position: center center;
  }

  .about-scene .about__copy {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: min(34rem, 50%);
    padding: clamp(1.6rem, 4vw, 2.6rem) 1.5rem 1.15rem clamp(1.25rem, 3vw, 2.4rem);
    background: #f3efe6;
    box-shadow: 2.6rem 0 2.6rem #f3efe6;
  }

  .route-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    height: 14px;
    margin-bottom: 1.35rem;
  }

  .route-line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 8%;
    top: 6px;
    height: 1px;
    background: rgba(28, 31, 28, 0.28);
  }

  .route-line span {
    width: 9px;
    height: 9px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    background: var(--sand);
    position: relative;
    z-index: 1;
  }

  .route {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .route__item::before {
    display: none;
  }

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

  .service {
    padding: 1.7rem 1.75rem 1.7rem 0;
  }

  .service:nth-child(2n) {
    padding: 1.7rem 0 1.7rem 1.75rem;
    border-left: 1px solid var(--line);
  }

  .request,
  .contacts__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .nav-home {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.35rem;
  }

  .site-nav ul a {
    padding: 0.3rem 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0 1px;
    background-position: 0 100%;
  }

  .site-nav ul a:hover,
  .site-nav ul a[aria-current="true"] {
    background-size: 100% 1px;
  }

  .site-nav ul a[aria-current="true"] {
    color: var(--accent-ink);
  }

  .nav-phones {
    margin-top: 0;
    gap: 0.12rem;
    align-items: flex-end;
  }

  .nav-phone {
    margin-top: 0;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--ink);
    text-decoration-color: rgba(28, 31, 28, 0.35);
    white-space: nowrap;
  }

  .site-nav .btn {
    width: auto;
    white-space: nowrap;
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 1079px) {
  .nav-phone {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 560;
    text-decoration: none;
  }
}

.legal-back {
  margin-left: auto;
  font-weight: 650;
  text-underline-offset: 0.18em;
  white-space: nowrap;
}

.legal {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  font-size: 0.8rem;
}

.legal .eyebrow {
  font-size: 0.56rem;
}

.legal h1 {
  margin-top: 0.75rem;
  max-width: 18em;
  font-size: clamp(1.39rem, 2.4vw, 1.88rem);
}

.legal .meta {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.71rem;
}

.legal h2 {
  margin-top: 1.85rem;
  font-size: 0.86rem;
}

.legal p,
.legal li {
  margin-top: 0.75rem;
  max-width: var(--measure);
}

.legal ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.to-top {
  position: fixed;
  z-index: 35;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: var(--deep);
  color: #f6f1e7;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(14, 25, 21, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--footer);
}

body.nav-open .to-top {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
