/* Zovrel — inner page sections (Services, Process, Work, Cases, About, Insights,
   Articles, Contact, Legal, 404). Geometry from the Figma 1440 desktop frames. */

main { padding-top: var(--header-h); }

/* ============================================================ PAGE TITLE BAND */

.page-title { background: var(--primary); position: relative; overflow: hidden; min-height: 440px; }
.page-title .wrap {
  padding-block: 72px 96px;
  display: flex; flex-direction: column; gap: 56px;
  position: relative; z-index: 2;
}

.breadcrumb { display: flex; gap: 10px; color: var(--on-dark-2); }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb .cur { color: var(--on-dark); }

.page-title__row { display: flex; gap: 40px; align-items: flex-start; }
.page-title__kicker { width: 280px; flex: 0 0 auto; padding-top: 24px; color: var(--flame); }
.page-title__stack { width: 500px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 28px; }
.page-title__h1 { color: var(--on-dark); }
.page-title__lead { color: var(--on-dark-2); }

/* the floating mock-ups to the right of the title */
.band-art {
  position: absolute; top: 0; bottom: 0;
  left: 50%; margin-left: 270px;
  width: 400px;
  z-index: 1; pointer-events: none;
}
.band-art .bm {
  position: absolute;
  left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  display: flex; align-items: center; justify-content: center;
}
.band-art .mock { flex: none; }

@media (max-width: 1023px) {
  .page-title { min-height: 0; }
  .page-title .wrap { padding-block: 32px 48px; gap: 28px; }
  .page-title__row { flex-direction: column; gap: 16px; }
  .page-title__kicker { width: auto; padding-top: 0; }
  .page-title__stack { width: auto; gap: 18px; }

  /* mock-ups drop below the text and only the lead mock + stamp are shown */
  .band-art {
    position: static; width: auto; margin: 0;
    height: 230px; display: block;
  }
  .band-art .bm { --mock-scale: .56; }
  .band-art .bm--2 { display: none; }
  .band-art .bm--1 { left: 0; top: 0; width: 240px; height: 180px; }
  .band-art .bm--stamp { left: auto; right: 16px; top: 110px; }
}

/* ============================================================ BANNER */

.banner { background: var(--primary); }
.banner .wrap { padding-block: 0 64px; display: flex; flex-direction: column; gap: 10px; }
.banner__photo { position: relative; height: 520px; border-radius: 24px; overflow: hidden; }
.banner__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__cap { color: var(--on-dark-2); }

@media (max-width: 1023px) {
  .banner .wrap { padding-block: 0 40px; }
  .banner__photo { height: 220px; border-radius: 16px; }
}

/* ============================================================ SECTION INDEX (Services) */

.sec-index .wrap > div {
  display: flex;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sec-index a {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 22px 24px 22px 0;
  transition: color .18s ease;
}
.sec-index .n { color: var(--ember); flex: none; }
.sec-index .t { color: var(--ink); }
.sec-index a:hover .t { color: var(--ember); }

@media (max-width: 1023px) {
  .sec-index .wrap > div { flex-direction: column; }
  .sec-index a { padding-block: 14px; border-bottom: 1px solid var(--rule); }
  .sec-index a:last-child { border-bottom: 0; }
}

/* ============================================================ SERVICE BLOCK */

.svc { scroll-margin-top: calc(var(--header-h) + 16px); }
.svc .wrap { padding-block: 96px 16px; }
.svc__row { display: flex; gap: 40px; align-items: flex-start; border-top: 1px solid var(--ink); padding-top: 28px; }
.svc__label { width: 280px; flex: 0 0 auto; display: flex; gap: 12px; white-space: nowrap; }
.svc__label .n { color: var(--ember); }
.svc__label .t { color: var(--ink-2); }
.svc__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.svc__head { display: flex; flex-direction: column; gap: 18px; }
.svc__head p:last-child { max-width: 720px; color: var(--ink-2); }

.svc__lists { display: flex; gap: 40px; }
.svc__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.svc__col h3 { color: var(--ink-2); margin-bottom: 12px; }
.svc__item {
  display: flex; gap: 12px; align-items: flex-start;
  padding-block: 12px; border-bottom: 1px solid var(--rule);
}
.svc__item .d { color: var(--ember); flex: none; }

@media (max-width: 1023px) {
  .svc .wrap { padding-block: 56px 8px; }
  .svc__row { flex-direction: column; gap: 20px; }
  .svc__label { width: auto; }
  .svc__body { gap: 28px; }
  .svc__lists { flex-direction: column; gap: 28px; }
}

/* ============================================================ FIGURES */

.figure-pair { display: flex; gap: 24px; align-items: stretch; }
.figure-pair > * { flex: 1 1 0; min-width: 0; }

.fig-photo { position: relative; height: 320px; border-radius: 24px; overflow: hidden; }
.fig-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.figure { display: flex; flex-direction: column; gap: 10px; }
.mock-stage {
  background: var(--primary);
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.mock-stage .bm {
  position: absolute;
  left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  display: flex; align-items: center; justify-content: center;
}
.mock-stage .mock { flex: none; }
.fig-cap { color: var(--ink-3); }

@media (max-width: 1023px) {
  .figure-pair { flex-direction: column; gap: 20px; }
  .fig-photo { height: 220px; border-radius: 16px; }
  .mock-stage { height: 220px; --mock-scale: .55; }
}

/* ============================================================ TOOLS / KEY-VALUE ROWS */

.kv .wrap { padding-block: 104px; display: flex; flex-direction: column; gap: 48px; }
.kv__rows { display: flex; flex-direction: column; }
.kv__row { display: flex; gap: 40px; align-items: flex-start; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.kv__row:first-child { border-top: 1px solid var(--ink); }
.kv__k { width: 280px; flex: 0 0 auto; color: var(--ink-2); }
.kv__v { flex: 1 1 0; min-width: 0; color: var(--ink); }

@media (max-width: 1023px) {
  .kv .wrap { padding-block: 56px; gap: 28px; }
  .kv__row { flex-direction: column; gap: 6px; }
  .kv__k { width: auto; }
}

/* ============================================================ PROCESS */

.overview .wrap { padding-block: 32px; }
.overview__row { display: flex; gap: 28px; }
.overview__cell { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--ink); padding-top: 18px; }
.overview__cell .n { color: var(--ember); }
.overview__cell .w { color: var(--ink-3); }

.stages .wrap { padding-block: 24px 48px; }
.stage { display: flex; gap: 40px; align-items: flex-start; border-top: 1px solid var(--rule); padding-block: 48px 56px; }
.stage__side { width: 280px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
.stage__side .k { color: var(--ink-3); }
.stage__n {
  font: 600 104px/100px var(--font-display);
  font-variation-settings: var(--display-axes);
  letter-spacing: -3.12px;
  color: var(--ember);
}
.stage__photo { position: relative; width: 280px; height: 180px; border-radius: 16px; overflow: hidden; }
.stage__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.stage__meta { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.stage__meta .sep { color: var(--ink-3); }
.stage__body > p.t-body { max-width: 640px; color: var(--ink-2); }
.receive {
  max-width: 640px;
  background: var(--paper-3);
  border-left: 2px solid var(--ember);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.receive .k { color: var(--ember); }

@media (max-width: 1023px) {
  .overview .wrap { padding-block: 24px; }
  .overview__row { flex-wrap: wrap; gap: 20px 16px; }
  .overview__cell { flex: 0 0 calc(50% - 8px); }
  .stage { flex-direction: column; gap: 20px; padding-block: 32px 40px; }
  .stage__side { width: 100%; }
  .stage__n { font-size: 72px; line-height: 70px; letter-spacing: -2.16px; }
  .stage__photo { width: 100%; height: 180px; }
}

/* ============================================================ FAQ */

.faq .wrap { padding-block: 104px; display: flex; flex-direction: column; gap: 48px; }
.faq__row { display: flex; gap: 40px; align-items: flex-start; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.faq__row:first-of-type { border-top: 1px solid var(--ink); }
.faq__q { width: 380px; flex: 0 0 auto; color: var(--ink); }
.faq__a { flex: 1 1 0; min-width: 0; color: var(--ink-2); display: flex; gap: 12px; }
.faq__a .d { color: var(--ember); flex: none; }

@media (max-width: 1023px) {
  .faq .wrap { padding-block: 56px; gap: 28px; }
  .faq__row { flex-direction: column; gap: 10px; }
  .faq__q { width: auto; }
}

/* ============================================================ FILTER TABS */

.filter .wrap > div { display: flex; gap: 36px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.filter button {
  padding-bottom: 14px;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .18s ease, border-color .18s ease;
}
.filter button:hover { color: var(--ink); }
.filter button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ember); }

/* ============================================================ WORK / NOT LISTED */

.work-grid .wrap { padding-block: 64px 0; display: flex; flex-direction: column; gap: 64px; }
.work-grid__row { display: flex; gap: 40px; }
.work-grid__row > * { flex: 1 1 0; min-width: 0; }
.case-card[hidden] { display: none !important; }

.not-listed .wrap { padding-block: 72px 104px; }
.not-listed__inner { border-top: 1px solid var(--ink); padding-top: 32px; display: flex; gap: 40px; align-items: flex-start; }
.not-listed__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.not-listed__text p:last-child { max-width: 620px; color: var(--ink-2); }

@media (max-width: 1023px) {
  .work-grid .wrap { padding-block: 40px 0; gap: 40px; }
  .work-grid__row { flex-direction: column; gap: 40px; }
  .not-listed .wrap { padding-block: 48px 64px; }
  .not-listed__inner { flex-direction: column; gap: 20px; }
}

/* ============================================================ CASE STUDY */

.case-facts .wrap > div { display: flex; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.case-facts__cell {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--rule);
}
.case-facts__cell:last-child { border-right: 0; }
.case-facts__cell .k { color: var(--ink-3); }

.lead-figure .wrap { padding-block: 64px 0; display: flex; flex-direction: column; gap: 10px; }
.lead-figure__photo { position: relative; height: 600px; border-radius: 24px; overflow: hidden; }
.lead-figure__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.case-article .wrap { padding-block: 80px 104px; display: flex; flex-direction: column; gap: 64px; }
.case-article__row { display: flex; gap: 40px; align-items: flex-start; }
.case-article__label { width: 280px; flex: 0 0 auto; display: flex; gap: 12px; white-space: nowrap; }
.case-article__label .n { color: var(--ember); }
.case-article__label .t { color: var(--ink-2); }
.case-article__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.case-article__body > p { max-width: 680px; color: var(--ink-2); }
.case-article__body > p.t-lead { color: var(--ink); }

.pullquote {
  max-width: 760px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 16px;
  padding-block: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.pullquote cite { font-style: normal; color: var(--ink-3); }

.case-nav .wrap { padding-block: 0 104px; }
.case-nav__row { display: flex; gap: 80px; border-top: 1px solid var(--ink); }
.case-nav__row a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-block: 24px; }
.case-nav__row a:last-child { align-items: flex-end; text-align: right; }
.case-nav__row .k { color: var(--ember); }
.case-nav__row .t { color: var(--ink); transition: color .18s ease; }
.case-nav__row a:hover .t { color: var(--ember); }

@media (max-width: 1023px) {
  .case-facts .wrap > div { flex-wrap: wrap; }
  .case-facts__cell { flex: 0 0 100%; border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .case-facts__cell:last-child { border-bottom: 0; }
  .lead-figure .wrap { padding-block: 40px 0; }
  .lead-figure__photo { height: 260px; border-radius: 16px; }
  .case-article .wrap { padding-block: 48px 64px; gap: 40px; }
  .case-article__row { flex-direction: column; gap: 16px; }
  .case-article__label { width: auto; }
  .case-nav .wrap { padding-block: 0 64px; }
  .case-nav__row { flex-direction: column; gap: 0; }
  .case-nav__row a:last-child { align-items: flex-start; text-align: left; border-top: 1px solid var(--rule); }
}

/* ============================================================ INSIGHTS */

.featured .wrap { padding-block: 64px 80px; }
.featured a { display: flex; gap: 56px; align-items: center; }
.featured__photo { position: relative; width: 660px; height: 420px; flex: 0 0 auto; border-radius: 24px; overflow: hidden; }
.featured__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.featured a:hover .featured__photo img { scale: 1.03; }
.featured__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.featured__meta { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.featured__meta .a { color: var(--ember); }
.featured__meta .sep { color: var(--ink-3); }
.featured__meta .b { color: var(--ink-2); }
.featured__title { color: var(--ink); transition: color .18s ease; }
.featured a:hover .featured__title { color: var(--ember); }
.featured__sum { color: var(--ink-2); }
.featured__by { color: var(--ink-3); }

.notes .wrap { padding-block: 0 72px; display: flex; flex-direction: column; }
.note {
  display: flex; gap: 40px; align-items: flex-start;
  padding-block: 28px; border-bottom: 1px solid var(--rule);
}
.note:first-child { border-top: 1px solid var(--ink); }
.note__when { width: 160px; flex: 0 0 auto; color: var(--ink-3); }
.note__cat  { width: 180px; flex: 0 0 auto; color: var(--ember); }
.note__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.note__text h3 { color: var(--ink); transition: color .18s ease; }
.note:hover .note__text h3 { color: var(--ember); }
.note__text p { max-width: 620px; color: var(--ink-2); }
.note__thumb { width: 200px; height: 132px; flex: 0 0 auto; position: relative; border-radius: 12px; overflow: hidden; }
.note__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.note__read { width: 90px; flex: 0 0 auto; color: var(--ink-3); text-align: right; }
.notes__end { padding-top: 28px; color: var(--ink-3); }

.newsletter { background: var(--paper-2); }
.newsletter .wrap { padding-block: 56px; display: flex; gap: 40px; align-items: flex-start; }
.newsletter__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.newsletter__text p:last-child { color: var(--ink-2); }
.newsletter form { width: 420px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; }
.newsletter .row { display: flex; gap: 12px; }
.newsletter input { flex: 1 1 0; min-width: 0; }

@media (max-width: 1023px) {
  .featured .wrap { padding-block: 40px 48px; }
  .featured a { flex-direction: column; gap: 20px; align-items: stretch; }
  .featured__photo { width: 100%; height: 220px; border-radius: 16px; }
  .notes .wrap { padding-block: 0 48px; }
  .note { flex-wrap: wrap; gap: 8px 16px; padding-block: 20px; }
  .note__when, .note__cat { width: auto; }
  .note__thumb { display: none; }
  .note__read { width: auto; text-align: left; }
  .note__text { flex: 0 0 100%; }
  .newsletter .wrap { flex-direction: column; gap: 20px; padding-block: 40px; }
  .newsletter form { width: 100%; }
}

/* ============================================================ ARTICLE */

.article-title { background: var(--primary); }
.article-title .wrap { padding-block: 72px 80px; display: flex; flex-direction: column; gap: 28px; }
.article-title__meta { color: var(--signal); }
.article-title h1 { color: var(--on-dark); max-width: 900px; }
.article-title__lead { color: var(--on-dark-2); max-width: 760px; }
.article-title__by { color: var(--on-dark-2); }

.article-lead .wrap { padding-block: 0; margin-top: -40px; }
.article-lead__photo { position: relative; height: 480px; border-radius: 24px; overflow: hidden; }
.article-lead__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.article-body .wrap { padding-block: 72px 24px; display: flex; gap: 80px; align-items: flex-start; }
.article-toc { width: 280px; flex: 0 0 auto; position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 10px; }
.article-toc h2 { color: var(--ink-3); }
.article-toc a { color: var(--ink-2); }
.article-toc a:hover { color: var(--ember); }
.article-prose { flex: 1 1 0; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 24px; }
.article-prose h2 { color: var(--ink); margin-top: 16px; }
.article-prose p { color: var(--ink-2); }
.article-prose p.first { color: var(--ink); }

.more-notes .wrap { padding-block: 24px 104px; display: flex; flex-direction: column; gap: 28px; }
.more-notes__head { border-top: 1px solid var(--ink); padding-top: 28px; }
.more-notes__row { display: flex; gap: 40px; }
.more-notes__row a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.more-notes__row .k { color: var(--ember); }
.more-notes__row h3 { color: var(--ink); transition: color .18s ease; }
.more-notes__row a:hover h3 { color: var(--ember); }

@media (max-width: 1023px) {
  .article-title .wrap { padding-block: 32px 48px; gap: 18px; }
  .article-lead .wrap { margin-top: -24px; }
  .article-lead__photo { height: 220px; border-radius: 16px; }
  .article-body .wrap { flex-direction: column; gap: 28px; padding-block: 40px 16px; }
  .article-toc { width: auto; position: static; }
  .more-notes .wrap { padding-block: 16px 64px; }
  .more-notes__row { flex-direction: column; gap: 28px; }
}

/* ============================================================ CONTACT */

.contact .wrap { padding-block: 0 112px; display: flex; gap: 80px; align-items: flex-start; }
.contact__form { flex: 1 1 0; min-width: 0; border-top: 1px solid var(--ink); padding-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.contact__form h2 { color: var(--ink-2); }
.form-row { display: flex; gap: 24px; }
.form-row > * { flex: 1 1 0; min-width: 0; }
.field label { font: 500 14px/20px var(--font-body); color: var(--ink); letter-spacing: 0; text-transform: none; }
.field input, .field textarea, .field select {
  height: 52px; border-radius: 10px; padding: 0 16px;
  background: var(--paper-3); border: 1px solid var(--rule);
}
.field textarea { height: 148px; padding: 14px 16px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("../../images/site/icon-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--primary); }
.consent label { color: var(--ink-2); }
.contact__submit { display: flex; gap: 24px; align-items: center; padding-top: 8px; flex-wrap: wrap; }
.contact__submit p { color: var(--ink-3); }

.contact__side { width: 360px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 36px; }
.contact__side-photo { position: relative; height: 240px; border-radius: 16px; overflow: hidden; }
.contact__side-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-steps { border-top: 1px solid var(--ink); padding-top: 24px; }
.next-steps h2 { color: var(--ink-2); margin-bottom: 8px; }
.next-steps__row { display: flex; gap: 16px; align-items: flex-start; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.next-steps__row .n { width: 20px; flex: none; color: var(--ember); }
.prefer { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.prefer h2 { color: var(--ink-2); }
.prefer a { color: var(--ink); }
.prefer a:hover { color: var(--ember); }
.prefer p { color: var(--ink-2); }

@media (max-width: 1023px) {
  .contact .wrap { flex-direction: column; gap: 40px; padding-block: 0 64px; }
  .form-row { flex-direction: column; gap: 20px; }
  .contact__side { width: 100%; }
}

/* ============================================================ CONFIRMATION / BOOKING */

.confirm .wrap { padding-block: 72px 112px; display: flex; flex-direction: column; gap: 40px; }
.confirm__head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.confirm__badge {
  align-self: flex-start;
  background: var(--primary); color: var(--paper);
  border-radius: 999px; padding: 6px 14px;
}
.confirm__lead { color: var(--ink-2); }
.booking { border: 1px solid var(--rule); border-radius: 16px; background: var(--paper-3); padding: 28px; display: flex; gap: 40px; }
.booking__cal { flex: 1 1 0; min-width: 0; }
.booking__cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.booking__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.booking__grid .dow { color: var(--ink-3); padding-block: 6px; }
.booking__grid button {
  aspect-ratio: 1; border-radius: 8px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}
.booking__grid button:hover { background: var(--paper-2); }
.booking__grid button[aria-pressed="true"] { background: var(--primary); color: var(--paper); }
.booking__grid span { aspect-ratio: 1; }
.booking__slots { width: 260px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.booking__slots .k { color: var(--ink-3); }
.slot {
  border: 1px solid var(--rule); border-radius: 10px; background: var(--paper);
  padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.slot:hover { border-color: var(--ember); }
.slot[aria-pressed="true"] { border-color: var(--ember); background: var(--paper-3); }
.slot .tag { color: var(--ember); }

@media (max-width: 1023px) {
  .confirm .wrap { padding-block: 40px 64px; gap: 28px; }
  .booking { flex-direction: column; gap: 28px; padding: 20px; }
  .booking__slots { width: 100%; }
}

/* ============================================================ LEGAL DOCUMENT */

.doc .wrap { padding-block: 72px 104px; display: flex; gap: 80px; align-items: flex-start; }
.doc__toc { width: 280px; flex: 0 0 auto; position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 10px; }
.doc__toc h2 { color: var(--ink-3); }
.doc__toc a { display: flex; gap: 10px; color: var(--ink-2); }
.doc__toc a:hover { color: var(--ember); }
.doc__toc .n { color: var(--ember); }
.doc__body { flex: 1 1 0; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 36px; }
.doc__sec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.doc__sec p { color: var(--ink-2); }

@media (max-width: 1023px) {
  .doc .wrap { flex-direction: column; gap: 32px; padding-block: 40px 64px; }
  .doc__toc { width: auto; position: static; }
}

/* ============================================================ 404 */

.nf .wrap { padding-block: 120px 140px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.nf h1 { color: var(--on-dark); }
.nf p { color: var(--on-dark-2); max-width: 560px; }
