/*
Theme Name: Korski
Version: 1.0
Requires PHP: 8.0
Text Domain: korski
*/

@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Phosphor-Light";
  src: url("assets/fonts/phosphor-light-subset.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.ph-light {
  font-family: "Phosphor-Light" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga" 1;
  font-feature-settings: "liga";
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ph-light.ph-arrow-down:before {
  content: "\e03e";
}
.ph-light.ph-arrow-right:before {
  content: "\e06c";
}
.ph-light.ph-arrow-up-right:before {
  content: "\e092";
}
.ph-light.ph-buildings:before {
  content: "\e102";
}
.ph-light.ph-caret-down:before {
  content: "\e136";
}
.ph-light.ph-envelope-simple:before {
  content: "\e218";
}
.ph-light.ph-lock-simple:before {
  content: "\e308";
}
.ph-light.ph-phone:before {
  content: "\e3b8";
}
.ph-light.ph-wallet:before {
  content: "\e68a";
}

:root {
  --ink: #212121;
  --ink-2: #3b3b3b;
  --muted: #6b6b6b;
  --line: #e1e2e1;
  --line-2: #b9bbb9;
  --field-line: #949494;
  --white: #ffffff;
  --navy: #1b3e80;
  --navy-deep: #142f63;
  --navy-ink: #0d2049;
  --navy-tint: #dce4f4;
  --mist: #eef2f6;
  --mist-soft: #eef2f9;

  --stripes: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 18px, rgba(255,255,255,0) 18px 52px);
  --stripes-strong: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 18px, rgba(255,255,255,0) 18px 52px);
  --stripes-navy: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 18px, rgba(255,255,255,0) 18px 52px);

  --material: var(--stripes-navy), linear-gradient(180deg, var(--navy) 0%, var(--navy-ink) 100%);

  --dark-line: #3a3a3a;
  --dark-text: #b8b8b8;
  --dark-muted: #9a9a9a;

  --font: 'Red Hat Display', Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1360px;
  --gutter: 40px;
  --header-h: 80px;
  --section-y: 140px;
  --mobile-bar-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
mark { color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--white); }

section[id], #kalendarz { scroll-margin-top: calc(var(--header-h) + 24px); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.nowrap { white-space: nowrap; }

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

.h2 {
  font-size: 44px;
  line-height: 54px;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
.h2--light { color: var(--white); }

.lead {
  font-size: 19px;
  line-height: 30px;
  color: var(--ink);
}

.label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--navy);
}

.section-head { max-width: 780px; }
.section-head .label + .h2 { margin-top: 20px; }
.section-head .h2 + .lead { margin-top: 28px; max-width: 640px; }

.hl {
  color: var(--navy);
  background: linear-gradient(var(--navy-tint), var(--navy-tint)) 0 90% / 100% 38% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
}

.nav__link,
.header__phone,
.mega__title,
.post__title a,
.acc__head > span:first-child,
.contact__phone,
a.contact__value {
  background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 2px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .45s var(--ease-out), color .25s ease;
}
.nav__link:hover,
.nav__link.is-active,
.nav__item--drop:hover .nav__link,
.nav__item--drop.is-open .nav__link,
.header__phone:hover,
.mega__item:hover .mega__title,
.post__title a:hover,
.acc__head:hover > span:first-child,
.contact__phone:hover,
a.contact__value:hover {
  color: var(--navy);
  background-size: 100% 2px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: border-color .25s ease, color .25s ease;
}
.link .ph-light { font-size: 18px; transition: transform .4s var(--ease-out); }
.link:hover { color: var(--navy); border-color: var(--navy); }
.link:hover .ph-light { transform: translateX(4px); }

.inline-link {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .25s ease, background-size .25s ease;
}
.inline-link:hover { color: var(--navy); background-size: 100% 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 53px;
  padding: 0 25px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease;
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn:active { transform: scale(.98); }

.btn--outline {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn--outline:hover { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--navy-tint); color: var(--navy); }

.btn--outline-light {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--white); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; letter-spacing: 1.4px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  color: var(--ink);
}
.logo__mark { width: 38px; height: 35px; flex: none; }
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.logo__sub {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.logo--light { color: var(--white); }
.logo--light .logo__sub { color: var(--dark-muted); }

.nav { align-self: stretch; display: flex; margin-left: auto; }
.nav__list { display: flex; align-items: stretch; gap: 32px; }
.nav__item { display: flex; align-items: center; }

.nav__link,
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}
.nav__link .ph-light { font-size: 14px; transition: transform .3s ease; }
.nav__item--drop:hover .nav__link .ph-light,
.nav__item--drop.is-open .nav__link .ph-light { transform: rotate(180deg); }

.header__side { display: flex; align-items: center; gap: 28px; }
.header__phone { font-size: 17px; font-weight: 500; letter-spacing: .02em; }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .45s var(--ease-out), visibility .3s;
}
.header:has(.nav__item--drop:hover) .mega,
.header:has(.nav__item--drop:focus-within) .mega,
.mega:hover,
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}
.mega__grid li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mega__grid li:nth-last-child(-n+3) { border-bottom: 0; }
.mega__item {
  display: block;
  height: 100%;
  padding: 30px 36px 34px;
  transition: background-color .3s ease;
}
.mega__item:hover { background: var(--mist-soft); }
.mega__title {
  display: inline;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}
.mega__desc {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.burger {
  display: none;
  position: relative;
  flex: none;
  width: 28px;
  height: 20px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease-out), opacity .35s, top .35s var(--ease-out);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 32px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: block; }
.mobile-nav > a {
  display: block;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav > a.is-sub {
  padding-left: 20px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.mobile-nav__actions .btn { width: 100%; }

.hero {
  --hero-ink: #212121;
  --hero-muted: #7b7b7b;
  --hero-line: #e1e2e1;
  --hero-accent: var(--navy);
  --hero-font: 'Red Hat Display', Arial, Helvetica, sans-serif;
  --hero-ease: cubic-bezier(.77, 0, .175, 1);

  font-family: var(--hero-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--hero-ink);
  background: var(--white);
  border-bottom: 1px solid var(--hero-line);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px 40px 155px;
}

.hero__mark-mobile { display: none; }

.hero__title {
  max-width: 560px;
  font-size: 50px;
  line-height: 58px;
  font-weight: 400;
}

.hero__lead {
  max-width: 420px;
  margin-top: 38px;
  font-size: 19px;
  line-height: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 90px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 53px;
  padding: 0 25px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  background: var(--hero-ink);
  border-radius: 2px;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.hero__btn:hover { background: var(--hero-accent); color: var(--white); }
.hero__btn--outline {
  color: var(--hero-ink);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--hero-ink);
}
.hero__btn--outline:hover { background: transparent; color: var(--hero-accent); box-shadow: inset 0 0 0 2px var(--hero-accent); }

.hero__media {
  position: relative;
  width: 421px;
  max-width: 100%;
  height: 600px;
  margin-left: clamp(23px, 8.3vw, 119px);
}

.hero__photo {
  width: 100%;
  height: 100%;
  background:
    url('assets/img/hero.jpg') center top / cover no-repeat,
    var(--material);
}

.hero__mark {
  position: absolute;
  top: 120px;
  left: -23px;
  width: 181px;
  height: 170px;
  color: var(--navy);
  --mark-outline: var(--navy);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__lead,
  .hero__actions { animation: heroFadeUp 1s ease both; }
  .hero__title   { animation-delay: .2s; }
  .hero__lead    { animation-delay: .4s; }
  .hero__actions { animation-delay: .6s; }

  .hero__photo { animation: heroReveal 1.5s var(--hero-ease) both; }
  .hero__mark  { animation: heroMarkIn 1.5s var(--hero-ease) 1.2s both; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroReveal {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes heroMarkIn {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1260px) {
  .hero__title { font-size: 44px; line-height: 52px; }
}

@media (max-width: 1180px) {
  .hero__inner { padding-top: 80px; padding-bottom: 120px; }
  .hero__media { height: 520px; }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 90px;
  }
  .hero__media { display: none; }
  .hero__mark-mobile {
    display: block;
    width: 64px;
    height: 60px;
    margin-bottom: 60px;
    color: var(--hero-ink);
  }
}

@media (max-width: 640px) {
  .hero__inner { padding: 50px 20px 90px; }
  .hero__title { font-size: 26px; line-height: 39px; }
  .hero__lead { margin-top: 30px; font-size: 16px; line-height: 26px; }
  .hero__actions { margin-top: 50px; }
}

.facts { border-bottom: 1px solid var(--line); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact { padding: 48px 32px; }
.fact:first-child { padding-left: 0; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__value {
  font-size: 30px;
  line-height: 38px;
  font-weight: 400;
  color: var(--navy);
}
.fact__label {
  margin-top: 6px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.services .section-head { margin-bottom: 72px; }

.areas__list { display: none; }
.area-panel + .area-panel { margin-top: 16px; }

.js .areas {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: stretch;
}
.js .areas__list { display: block; border-bottom: 1px solid var(--line); }
.js .area-panel + .area-panel { margin-top: 0; }
.js .area-panel:not(.is-active) { display: none; }

.area-tab {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  color: var(--muted);
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: color .3s ease;
}

.area-tab__bar {
  width: 12px;
  height: 46px;
  border: 2px solid var(--line-2);
  transition: background-color .35s ease, border-color .35s ease;
}
.area-tab__name {
  display: block;
  font-size: 24px;
  line-height: 31px;
  font-weight: 400;
}
.area-tab__for {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.area-tab__arrow {
  font-size: 22px;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s ease, transform .45s var(--ease-out);
}
.area-tab:hover { color: var(--ink); }
.area-tab:hover .area-tab__bar { background: var(--navy-tint); border-color: var(--navy); }
.area-tab[aria-selected="true"] { color: var(--ink); }
.area-tab[aria-selected="true"] .area-tab__bar { background: var(--navy); border-color: var(--navy); }
.area-tab[aria-selected="true"] .area-tab__arrow { color: var(--navy); }
.area-tab[aria-selected="true"] .area-tab__arrow { opacity: 1; transform: none; }

.area-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 56px 64px;
  color: var(--white);
  background: var(--material);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.area-panel :focus-visible { outline-color: var(--white); }
.area-panel__for {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--navy-tint);
}
.area-panel__title {
  max-width: 600px;
  margin-top: 14px;
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
}
.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  width: 100%;
  margin: 40px 0 48px;
}
.scope li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 26px;
}
.scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--white);
}

.area-panel .link { margin-top: auto; color: var(--white); border-color: var(--white); }
.area-panel .link:hover { color: var(--navy-tint); border-color: var(--navy-tint); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
  align-items: start;
}
.about__media {
  position: relative;
  grid-column: 1 / span 5;
}

.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--material);
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__caption {
  position: absolute;
  right: -40px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 24px 28px;
  background: var(--white);
}
.about__name { font-size: 22px; line-height: 30px; font-weight: 500; }
.about__role {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted);
}
.about__content {
  grid-column: 7 / span 6;
  padding-top: 32px;
}
.about__statement { margin-top: 20px; }
.about__text { margin-top: 40px; max-width: 600px; }
.about__text p {
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
}
.about__text p + p { margin-top: 18px; }
.about__more { margin-top: 40px; }

.focus {
  background: var(--stripes), var(--mist-soft);
}
.focus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 72px;
}

.focus__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 56px;
  background: var(--white);
}
.sheet__role {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--navy);
}
.sheet__title {
  margin-top: 14px;
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
}
.bullets { margin: 32px 0 48px; }
.bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 17px;
  line-height: 28px;
  color: var(--ink-2);
}
.bullets li + li { margin-top: 14px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--navy);
}
.sheet .link { margin-top: auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.step { position: relative; padding-top: 48px; }
.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--navy);
}

.step__num {
  display: block;
  font-size: 120px;
  line-height: .8;
  font-weight: 400;
  color: var(--navy);
  transition: color .45s ease, -webkit-text-stroke-color .45s ease;
}
@supports (-webkit-text-stroke: 1px black) {
  .step__num { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
  .step:hover .step__num { color: var(--navy); -webkit-text-stroke-color: var(--navy); }
}
.step__title {
  margin-top: 40px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 400;
}
.step__text {
  max-width: 360px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
}
.process__actions { margin-top: 72px; }

.knowledge { border-top: 1px solid var(--line); }
.knowledge__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.knowledge__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
  margin-top: 72px;
}
.post--featured { grid-column: 1 / span 7; }
.knowledge__side {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
}

.post__img {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--material);
}
.post__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}
.post--featured .post__title {
  margin-top: 32px;
  font-size: 32px;
  line-height: 42px;
}
.post .link { margin-top: 24px; }

.knowledge__side .post { padding: 36px 0 40px; border-top: 1px solid var(--line); }
.knowledge__side .post:first-child { padding-top: 0; border-top: 0; }

.posts { margin-top: 72px; border-bottom: 1px solid var(--line); }
.posts .post { padding: 40px 0 44px; border-top: 1px solid var(--line); }

.posts .post--featured {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 48px;
  align-items: center;
}
.post__meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.post__meta + .post__title { margin-top: 12px; }
.post__excerpt {
  max-width: 640px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 28px;
  color: var(--ink-2);
}
.post__soon {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.article { max-width: 720px; }
.article p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 30px;
  color: var(--ink-2);
}
.article h2 { margin-top: 56px; font-size: 30px; line-height: 38px; font-weight: 400; }
.article h3 { margin-top: 40px; font-size: 22px; line-height: 30px; font-weight: 500; }
.article .bullets { margin: 20px 0 0; }

.topic {
  margin-top: auto;
  padding: 36px 40px 40px;
  background: var(--mist-soft);
}
.topic__title { font-size: 22px; line-height: 30px; font-weight: 400; }
.topic__text {
  margin: 10px 0 24px;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}

.faq { border-top: 1px solid var(--line); }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
  align-items: start;
}
.faq__aside {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 48px);
}
.faq__more {
  margin-top: 32px;
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
}

.accordion {
  grid-column: 7 / span 6;
  border-top: 2px solid var(--ink);
}

.faq__main { grid-column: 7 / span 6; }
.acc { border-bottom: 1px solid var(--line); }
.acc__h { font: inherit; }
.acc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding: 28px 0;
  font-size: 21px;
  line-height: 30px;
  font-weight: 400;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.acc__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 30px;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .45s var(--ease-out);
}
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon::after,
.contact__more[open] .acc__icon::after { transform: rotate(0deg); }

.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.acc__body > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .45s;
}
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc.is-open .acc__body > div { visibility: visible; transition-delay: 0s; }
.acc__body p {
  max-width: 600px;
  padding: 0 50px 32px 0;
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
}

.acc__body .bullets { max-width: 600px; margin: 0 0 32px; }
.acc__body .bullets li { color: var(--muted); }

.contact { border-top: 1px solid var(--line); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
  align-items: stretch;
}
.contact__info { grid-column: 1 / span 5; }
.booking { grid-column: 7 / span 6; }

.contact__list { margin-top: 56px; border-bottom: 1px solid var(--line); }
.contact__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact__label {
  padding-top: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__row--main .contact__label { padding-top: 12px; }
.contact__phone {
  font-size: 34px;
  line-height: 44px;
  font-weight: 400;
  white-space: nowrap;
}
.contact__value {
  font-size: 18px;
  line-height: 28px;
}
span.contact__value { display: block; }
.contact__value--todo { color: var(--muted); }
.contact__map { display: inline-block; margin-top: 6px; font-size: 15px; }

.contact__more { margin-top: 40px; border-bottom: 1px solid var(--line); }
.contact__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  line-height: 30px;
  cursor: pointer;
  list-style: none;
}
.contact__more summary::-webkit-details-marker { display: none; }

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4px 0 36px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label { font-size: 15px; font-weight: 500; line-height: 1.4; }
.form__opt { font-weight: 400; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field-line);
  border-radius: 2px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:hover { border-color: var(--ink); }
.field:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy), 0 0 0 5px var(--navy-tint);
}
textarea.field {
  display: block;
  height: 140px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}
.form .btn { align-self: flex-start; margin-top: 4px; }
.form__consent { font-size: 13px; line-height: 1.6; color: var(--muted); }
.form__consent a { color: var(--ink); text-decoration: underline; }
.form__status { font-size: 15px; font-weight: 500; }

.booking {
  display: flex;
  flex-direction: column;
  padding: 48px;
  background: var(--material);
}
.booking__title { font-size: 28px; line-height: 36px; font-weight: 400; color: var(--white); }
.booking__sub { margin-top: 6px; font-size: 17px; line-height: 26px; color: var(--navy-tint); }
.booking__slot {
  flex: 1;
  display: flex;
  min-height: 600px;
  margin-top: 32px;
  background: var(--white);
}
.booking__placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
}
.booking__mark { width: 64px; height: 59px; margin-bottom: 32px; color: var(--ink); }
.booking__ph-title { font-size: 24px; line-height: 32px; }
.booking__ph-text { margin: 8px 0 28px; font-size: 17px; line-height: 26px; color: var(--muted); }
.booking__frame { display: block; width: 100%; height: 600px; border: 0; }

.dark {
  position: relative;
  overflow: hidden;
  color: var(--dark-text);
  background: var(--ink);
}
.dark__mark {
  position: absolute;
  right: -80px;
  bottom: -60px;
  width: 640px;
  height: 587px;
  color: #292929;
  pointer-events: none;
}
.final-cta,
.footer { position: relative; }

.final-cta { padding: 140px 0 120px; background: var(--material); }
.final-cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.final-cta .h2 { max-width: 640px; font-size: 50px; line-height: 58px; }

.footer__grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 80px;
}
.footer__col p { font-size: 16px; line-height: 26px; color: var(--dark-text); }
.footer__col p + p { margin-top: 18px; }
.footer__about { margin-top: 28px; max-width: 340px; }
.footer__firm { font-weight: 500; color: var(--white); }
.footer__col .footer__heading {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--white);
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
.footer__links a,
.footer__col p a { color: var(--dark-text); transition: color .25s ease; }
.footer__links a:hover,
.footer__col p a:hover { color: var(--white); }

.footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 40px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark-muted);
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--dark-line);
}
.footer__bottom a { transition: color .25s ease; }
.footer__bottom a:hover { color: var(--white); }

.mobile-bar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: calc(var(--i, 0) * 120ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js [data-reveal="clip"] { opacity: 1; transform: none; position: relative; }
  .js [data-reveal="clip"]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--white);
    transform-origin: top;
    transition: transform 1.5s var(--ease);
    pointer-events: none;
  }
  .js [data-reveal="clip"].is-in::after { transform: scaleY(0); }

  .js .hl { background-size: 0 38%; transition: background-size 1.1s var(--ease) .7s; }
  .js .is-in .hl { background-size: 100% 38%; }

  .js .area-panel.is-active { animation: panelIn .6s var(--ease-out) both; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

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

@media (max-width: 1260px) {
  .h2 { font-size: 40px; line-height: 50px; }
  .final-cta .h2 { font-size: 44px; line-height: 52px; }
  .header__inner { gap: 32px; }
  .nav__list { gap: 24px; }
  .area-panel { padding: 48px; }
  .sheet { padding: 48px; }
}

@media (max-width: 1180px) {
  .nav, .mega { display: none; }
  .header__side { margin-left: auto; }
  .burger { display: block; }

  .step__num { font-size: 100px; }
  .booking { padding: 40px; }
}

@media (max-width: 960px) {
  :root { --section-y: 96px; }

  .h2 { font-size: 34px; line-height: 44px; }
  .lead { font-size: 18px; line-height: 29px; }

  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 32px 24px; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .services .section-head { margin-bottom: 48px; }
  .js .areas { display: block; }
  .js .areas__list { display: none; }
  .js .area-panel:not(.is-active) { display: flex; }
  .js .area-panel + .area-panel { margin-top: 16px; }
  .js .areas__panels[data-reveal="clip"]::after { display: none; }
  .js .area-panel.is-active { animation: none; }
  .area-panel { padding: 40px 32px; }
  .area-panel__title { font-size: 30px; line-height: 38px; }

  .about__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .about__media { grid-column: auto; max-width: 460px; }
  .about__content { grid-column: auto; padding-top: 0; }
  .about__caption { right: -24px; bottom: 32px; }

  .focus__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .sheet { padding: 40px 32px; }
  .sheet__title { font-size: 30px; line-height: 38px; }

  .steps { grid-template-columns: 1fr; margin-top: 48px; border-top: 0; }
  .step { padding-top: 40px; border-top: 1px solid var(--line); }
  .step + .step { margin-top: 40px; }
  .step__num { font-size: 88px; }
  .step__title { margin-top: 28px; }
  .process__actions { margin-top: 56px; }

  .knowledge__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .knowledge__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .posts { margin-top: 48px; }
  .posts .post { padding: 32px 0 36px; }
  .posts .post--featured { grid-template-columns: 1fr; row-gap: 28px; }
  .article { max-width: none; }
  .post--featured, .knowledge__side { grid-column: auto; }
  .knowledge__side { margin-top: 48px; }
  .knowledge__side .post:first-child { padding-top: 36px; border-top: 1px solid var(--line); }
  .topic { margin-top: 8px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside, .accordion, .faq__main { grid-column: auto; }
  .faq__aside { position: static; }
  .accordion, .faq__main { margin-top: 48px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info, .booking { grid-column: auto; }
  .booking { margin-top: 64px; }

  .final-cta { padding: 96px 0; }
  .final-cta__inner { flex-direction: column; align-items: flex-start; }
  .final-cta .h2 { font-size: 36px; line-height: 44px; }
  .dark__mark { width: 420px; height: 385px; }

  .footer__grid { grid-template-columns: 1fr 1fr; padding-top: 56px; padding-bottom: 56px; }
  .footer__col--firm { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom)); }

  .header__side { display: none; }
  .burger { margin-left: auto; }
  .mobile-nav { max-height: calc(100vh - var(--header-h) - var(--mobile-bar-h)); }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-height: var(--mobile-bar-h);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn {
    height: 48px;
    padding: 0 8px;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 1.2px;
  }
  .mobile-bar .ph-light { font-size: 18px; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
    --section-y: 72px;
  }

  body { font-size: 16px; }

  .logo__mark { width: 32px; height: 29px; }
  .logo__name { font-size: 17px; }
  .logo__sub { margin-top: 6px; font-size: 9px; }

  .h2 { font-size: 28px; line-height: 37px; }
  .lead { font-size: 16px; line-height: 26px; }
  .label { font-size: 12px; letter-spacing: 1.4px; }
  .section-head .h2 + .lead { margin-top: 20px; }

  .btn { height: 50px; padding: 0 20px; font-size: 15px; letter-spacing: 1.4px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .fact { padding: 24px 12px; }
  .fact__value { font-size: 21px; line-height: 28px; }
  .fact__label { font-size: 14px; line-height: 21px; }

  .area-panel { padding: 32px 20px; }
  .area-panel__for, .sheet__role { font-size: 12px; letter-spacing: 1.4px; }
  .area-panel__title { font-size: 25px; line-height: 33px; }
  .scope { grid-template-columns: 1fr; gap: 12px; margin: 28px 0 32px; }
  .scope li { font-size: 16px; line-height: 24px; }
  .scope li::before { top: 9px; }

  .about__media { max-width: none; margin-right: 20px; }
  .about__caption { right: -20px; bottom: 24px; padding: 18px 22px; }
  .about__name { font-size: 19px; line-height: 26px; }
  .about__text { margin-top: 28px; }
  .about__text p { font-size: 16px; line-height: 26px; }
  .about__more { margin-top: 32px; }

  .sheet { padding: 32px 20px; }
  .sheet__title { font-size: 25px; line-height: 33px; }
  .bullets { margin: 24px 0 32px; }
  .bullets li { font-size: 16px; line-height: 26px; }
  .bullets li::before { top: 10px; }

  .step__num { font-size: 72px; }
  .step__title { margin-top: 24px; font-size: 22px; line-height: 30px; }
  .step__text { font-size: 16px; line-height: 26px; }

  .post--featured .post__title { margin-top: 24px; font-size: 24px; line-height: 32px; }
  .post__title { font-size: 20px; line-height: 28px; }
  .topic { padding: 28px 20px 32px; }

  .acc__head { gap: 20px; padding: 22px 0; font-size: 18px; line-height: 27px; }
  .acc__icon { height: 27px; }
  .acc__icon::before, .acc__icon::after { top: 12px; }
  .acc__body p { padding: 0 0 26px; font-size: 16px; line-height: 26px; }
  .faq__more { font-size: 16px; }

  .contact__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .contact__label, .contact__row--main .contact__label { padding-top: 0; }
  .contact__phone { font-size: 28px; line-height: 38px; }
  .contact__value { font-size: 17px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }

  .booking { margin-top: 48px; padding: 24px 16px 16px; }
  .booking__title { font-size: 22px; line-height: 30px; }
  .booking__slot { min-height: 420px; margin-top: 24px; }
  .booking__frame { height: 560px; }

  .final-cta { padding: 72px 0; }
  .final-cta .h2 { font-size: 28px; line-height: 37px; }
  .final-cta .btn-row { width: 100%; }
  .dark__mark { right: -60px; width: 300px; height: 275px; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

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

.mega__item[aria-current="page"] .mega__title { color: var(--navy); background-size: 100% 2px; }
.mobile-nav > a[aria-current="page"] { color: var(--navy); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--line-2);
  border-right: 1.5px solid var(--line-2);
  transform: rotate(45deg);
}
.crumbs a {
  display: inline-block;
  padding: 12px 0;
  color: var(--muted);
  transition: color .25s ease;
}
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current="page"] { color: var(--ink); }

.page-hero { border-bottom: 1px solid var(--line); }
.page-hero > .container { padding-top: 20px; padding-bottom: 120px; }
.page-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
  align-items: center;
  margin-top: 48px;
}
.page-hero__content { grid-column: 1 / span 7; }
.page-hero__title {
  max-width: 640px;
  margin-top: 24px;
  font-size: 50px;
  line-height: 58px;
  font-weight: 400;
  text-wrap: balance;
}
.page-hero__lead {
  max-width: 600px;
  margin-top: 32px;
  font-size: 19px;
  line-height: 30px;
}
.page-hero__actions { margin-top: 56px; }

.assure { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.assure li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-2);
}
.assure .ph-light { font-size: 20px; color: var(--ink); }

.page-hero__grid > .topic { grid-column: 8 / span 5; margin-top: 0; }

.jump {
  grid-column: 8 / span 5;
  padding: 44px 48px 40px;
  color: var(--white);
  background: var(--material);
}
.jump :focus-visible { outline-color: var(--white); }
.jump__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--navy-tint);
}
.jump__list { margin-top: 20px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.jump__link {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.jump__bar {
  width: 12px;
  height: 44px;
  border: 2px solid var(--white);
  transition: background-color .35s ease, border-color .35s ease;
}
.jump__name { display: block; font-size: 22px; line-height: 29px; }
.jump__for { display: block; margin-top: 3px; font-size: 14px; line-height: 20px; color: var(--navy-tint); }
.jump__arrow { font-size: 20px; transition: transform .45s var(--ease-out); }
.jump__link:hover .jump__bar { background: var(--white); }
.jump__link:hover .jump__arrow { transform: translateY(4px); }

@media (prefers-reduced-motion: no-preference) {
  .page-hero__content > * { animation: heroFadeUp 1s ease both; }
  .page-hero__content > :nth-child(2) { animation-delay: .1s; }
  .page-hero__content > :nth-child(3) { animation-delay: .25s; }
  .page-hero__content > :nth-child(4) { animation-delay: .4s; }
  .page-hero__content > :nth-child(5) { animation-delay: .5s; }
  .jump { animation: heroReveal 1.5s var(--ease) .15s both; }
}

.topic-block {
  margin-top: 88px;
  padding-top: 88px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) - 40px);
}
.topic-block__title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
  text-wrap: balance;
}
.topic-block__intro {
  max-width: 440px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 29px;
  color: var(--ink-2);
}
.acc[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.about__lead { max-width: 600px; margin-top: 28px; }
.note {
  display: flex;
  gap: 16px;
  max-width: 600px;
  margin-top: 40px;
  padding-top: 28px;
  font-size: 17px;
  line-height: 28px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.note .ph-light { flex: none; font-size: 24px; line-height: 28px; color: var(--ink); }
.about__facts {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps--rows { grid-template-columns: minmax(0, 1fr); border-top: 0; }
.steps--rows .step {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 40px;
  align-items: start;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}
.steps--rows .step:last-child { border-bottom: 1px solid var(--line); }
.steps--rows .step__num { grid-column: 1 / span 2; font-size: 100px; }
.steps--rows .step__title { grid-column: 3 / span 4; margin-top: 0; font-size: 30px; line-height: 38px; }
.steps--rows .step__body { grid-column: 7 / span 6; }
.steps--rows .step__text { max-width: 560px; margin-top: 0; }

.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fork__item { padding-top: 20px; border-top: 2px solid var(--ink); }
.fork__name { font-size: 19px; line-height: 28px; font-weight: 500; }
.fork__text { margin-top: 10px; font-size: 16px; line-height: 26px; color: var(--muted); }

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 88px;
  padding: 48px 56px;
  background: var(--material);
}
.cta-strip__title { font-size: 30px; line-height: 38px; color: var(--white); }
.cta-strip__sub { margin-top: 8px; font-size: 18px; line-height: 28px; color: var(--navy-tint); }
.cta-strip .btn-row { flex: none; }
.cta-strip :focus-visible { outline-color: var(--white); }

.notice-band { padding-top: 72px; }
.notice {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  background: var(--stripes), var(--navy-tint);
}
.notice__bar {
  align-self: stretch;
  min-height: 56px;
  background: var(--navy);
}
.notice__title {
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  color: var(--navy);
}
.notice__text {
  max-width: 62ch;
  margin-top: 10px;
  font-size: 17px;
  line-height: 28px;
  color: var(--ink-2);
}
.notice__actions {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.prep { background: var(--stripes), var(--mist-soft); }
.prep__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
  margin-top: 72px;
}
.prep__list { grid-column: 1 / span 7; grid-row: span 2; }
.prep__grid .sheet--sm { grid-column: 8 / span 5; }
.sheet__title:first-child { margin-top: 0; }
.sheet--sm { padding: 44px 48px; }
.sheet--sm .sheet__title { font-size: 26px; line-height: 34px; }
.sheet__note { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--muted); }
.sheet__text { margin-top: 16px; font-size: 17px; line-height: 28px; color: var(--ink-2); }

.checklist { width: 100%; margin-top: 32px; border-top: 1px solid var(--line); }
.checklist li {
  position: relative;
  padding: 16px 0 16px 36px;
  font-size: 17px;
  line-height: 26px;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ink);
}
.prep__ok { margin-top: auto; padding-top: 32px; font-size: 17px; line-height: 28px; color: var(--ink-2); }

.channels { margin-top: 20px; }
.channels li { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 17px; line-height: 26px; }
.channels .ph-light { font-size: 22px; }

.prep__actions { margin-top: 56px; }

.related { margin-top: 120px; }
.related__title { font-size: 26px; line-height: 34px; font-weight: 400; }
.related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.related__grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related__grid .mega__item { padding: 28px 32px 32px; }

@media (max-width: 1260px) {
  .page-hero__title { font-size: 44px; line-height: 52px; }
  .jump { padding: 40px 36px 32px; }
}

@media (max-width: 1180px) {
  .steps--rows .step__num { font-size: 88px; }
  .fork { grid-template-columns: 1fr; gap: 24px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .notice { grid-template-columns: 12px minmax(0, 1fr); gap: 24px 28px; }
  .notice__bar { grid-row: 1 / span 2; }
  .notice__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 24px; }
  .related__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .page-hero > .container { padding-bottom: 88px; }
  .page-hero__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .page-hero__content, .jump, .page-hero__grid > .topic { grid-column: auto; }
  .page-hero__title { font-size: 38px; line-height: 46px; }
  .page-hero__lead { font-size: 18px; line-height: 29px; }
  .page-hero__actions { margin-top: 40px; }
  .jump { margin-top: 56px; }

  .topic-block { margin-top: 64px; padding-top: 64px; scroll-margin-top: var(--header-h); }
  .topic-block__title { font-size: 30px; line-height: 38px; }
  .topic-block .accordion { margin-top: 32px; }

  .about__facts { margin-top: 64px; }

  .steps--rows .step { display: block; padding: 40px 0 0; }
  .steps--rows .step:last-child { border-bottom: 0; }
  .steps--rows .step__title { margin-top: 28px; }
  .steps--rows .step__body { margin-top: 14px; }
  .fork { grid-template-columns: 1fr 1fr; }
  .cta-strip { margin-top: 64px; padding: 40px 32px; }
  .notice-band { padding-top: 56px; }
  .notice { padding: 32px 32px; }
  .cta-strip__title { font-size: 26px; line-height: 34px; }

  .prep__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .prep__list, .prep__grid .sheet--sm { grid-column: auto; grid-row: auto; }

  .related { margin-top: 88px; }
}

@media (max-width: 640px) {
  .crumbs li { font-size: 13px; }
  .page-hero > .container { padding-top: 8px; padding-bottom: 72px; }
  .page-hero__grid { margin-top: 20px; }
  .page-hero__title { margin-top: 16px; font-size: 30px; line-height: 38px; }
  .page-hero__lead { margin-top: 24px; font-size: 16px; line-height: 26px; }
  .page-hero__actions { margin-top: 32px; }
  .assure { flex-direction: column; gap: 10px; }
  .jump { margin-top: 48px; padding: 28px 20px 16px; }
  .jump__link { grid-template-columns: 10px minmax(0, 1fr) 20px; gap: 16px; padding: 16px 0; }
  .jump__bar { width: 10px; height: 40px; }
  .jump__name { font-size: 19px; line-height: 26px; }
  .jump__for { font-size: 13px; line-height: 19px; }

  .notice-band { padding-top: 40px; }
  .notice { grid-template-columns: 10px minmax(0, 1fr); gap: 16px; padding: 28px 20px; }
  .notice__bar { min-height: 40px; }
  .notice__title { font-size: 22px; line-height: 30px; }
  .notice__text { font-size: 16px; line-height: 26px; }
  .notice__actions { flex-direction: column; align-items: flex-start; gap: 16px; }

  .topic-block { margin-top: 48px; padding-top: 48px; }
  .topic-block__title { font-size: 25px; line-height: 33px; }
  .topic-block__intro { margin-top: 14px; font-size: 16px; line-height: 26px; }
  .topic-block .accordion { margin-top: 24px; }

  .about__lead { margin-top: 20px; }
  .note { margin-top: 32px; font-size: 16px; line-height: 26px; }
  .about__facts { margin-top: 48px; }

  .steps--rows .step__title { margin-top: 24px; font-size: 22px; line-height: 30px; }
  .fork { grid-template-columns: 1fr; gap: 20px; }
  .cta-strip { margin-top: 48px; padding: 32px 20px; }
  .cta-strip__title { font-size: 22px; line-height: 30px; }
  .cta-strip__sub { font-size: 16px; line-height: 26px; }
  .cta-strip .btn-row { width: 100%; }

  .sheet--sm { padding: 32px 20px; }
  .sheet--sm .sheet__title { font-size: 22px; line-height: 30px; }
  .checklist li { padding: 14px 0 14px 30px; font-size: 16px; line-height: 24px; }
  .checklist li::before { top: 19px; width: 14px; height: 14px; }
  .prep__ok, .sheet__text { font-size: 16px; line-height: 26px; }
  .prep__actions { margin-top: 40px; }

  .related { margin-top: 64px; }
  .related__title { font-size: 22px; line-height: 30px; }
  .related__grid { grid-template-columns: 1fr; }
  .related__grid .mega__item { padding: 22px 20px 24px; }
}

.page-hero + .contact { border-top: 0; }

.jump__link:hover .jump__arrow.ph-arrow-up-right { transform: translate(3px, -3px); }

.message { background: var(--stripes), var(--mist-soft); }
.message__lead { max-width: 460px; margin-top: 28px; }
.message .note { max-width: 460px; }
.message__card {
  grid-column: 7 / span 6;
  padding: 48px 48px 12px;
  background: var(--white);
}

@media (max-width: 960px) {
  .message__card { grid-column: auto; margin-top: 48px; padding: 40px 32px 8px; }
}

@media (max-width: 640px) {
  .message__lead { margin-top: 20px; }
  .message__card { margin-top: 32px; padding: 28px 20px 4px; }
}
