@font-face {
  font-family: "SlavaFit Noto Sans";
  src: url("/landing-fonts/noto-sans-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SlavaFit Noto Sans";
  src: url("/landing-fonts/noto-sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101314;
  --surface: #1a1e20;
  --ink: #f5f2eb;
  --muted: #b7bfc0;
  --ruby: #bc1835;
  --line: #3a3e40;
  --gutter: clamp(24px, 4.445vw, 64px);
  color: var(--ink);
  background: var(--background);
  font: 400 16px/1.55 "SlavaFit Noto Sans", "Noto Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 101px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--background); }
body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3, p, dd { overflow-wrap: anywhere; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.frame { width: min(calc(100% - 2 * var(--gutter)), 1312px); margin-inline: auto; }
.small { display: none; }
.overline { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.brand { font-size: 25px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand span { display: inline-block; width: 5px; height: 5px; border-radius: 1px; background: var(--ruby); margin: 0 0 9px 4px; }
.top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(120px, 356fr) minmax(max-content, 738fr) minmax(164px, 218fr); align-items: center; height: 85px; border-bottom: 1px solid #353e40; }
.top nav { display: flex; gap: clamp(22px, 4.65vw, 67px); }
.top nav a { text-decoration: none; font-size: 21px; font-weight: 700; }
.top a:hover, .format-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.outline, .primary { display: inline-flex; align-items: center; justify-content: center; gap: .35em; padding: 10px 20px; border-radius: 7px; text-decoration: none; font-size: 15px; font-weight: 700; text-align: center; }
.outline { border: 1px solid #353e40; min-height: 46px; }
.primary { background: var(--ruby); min-height: 58px; }
.primary:hover { text-decoration: underline; text-underline-offset: .2em; }
.login { justify-self: end; width: min(100%, 218px); }

.hero { position: relative; isolation: isolate; min-height: 865px; }
.hero::before {
  position: absolute;
  content: "";
  z-index: -1;
  top: 137px;
  left: max(0px, calc((100% - 1440px) / 2));
  width: min(48.34vw, 696px);
  height: 250px;
  background: var(--ruby);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.hero-content { position: relative; z-index: 1; padding: 63px 0 78px; }
.hero h1 { width: min(49vw, 680px); margin: 78px 0 81px -7px; text-transform: uppercase; font-size: clamp(48px, 5.9vw, 85px); line-height: 1.13; }
.hero-description { max-width: 38ch; color: var(--muted); font-size: 23px; line-height: 1.52; }
.hero-lead { display: block; }
.hero .primary { width: min(100%, 298px); min-height: 64px; margin-top: 72px; }
.location { margin-top: 34px; color: var(--muted); font-size: 17px; line-height: 1.88; }
.hero-visual { position: absolute; top: -85px; bottom: 0; right: max(0px, calc((100% - 1440px) / 2)); width: min(51.74vw, 745px); z-index: -2; }
.hero-visual picture, .hero-mobile {
  display: block;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(#0000, #000 14%, #000 68%, #0000),
    linear-gradient(90deg, #0000, #000 12%, #000 88%, #0000);
  mask-composite: intersect;
}
.hero-visual img, .hero-mobile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-visual p { position: absolute; right: var(--gutter); bottom: 48px; width: min(68%, 462px); min-height: 105px; padding: 20px 24px; background: var(--background); }
.hero-visual strong { display: block; font-size: 24px; }
.hero-visual span { color: var(--muted); font-size: 12px; letter-spacing: 1.6px; }
.hero-mobile.small { display: none; }
.principles { padding-block: 22px; background: var(--ruby); }
.principles p { font-size: clamp(26px, 3.125vw, 45px); line-height: 1.33; font-weight: 700; text-transform: uppercase; }

.section { padding-block: 80px 0; }
.section .overline { margin-bottom: 22px; }
h2 { font-size: clamp(38px, 4.58vw, 66px); line-height: 1.13; text-transform: uppercase; }
h3 { font-size: 25px; line-height: 1.25; }
.section-lead { color: var(--muted); margin-top: 24px; font-size: 20px; }
.privacy-page h1 { margin-top: 1.5rem; font-size: clamp(1.5rem, 6vw, 2.5rem); line-height: 1.15; }
.privacy-page .section-lead { max-width: 65ch; }
#approach { padding-top: 94px; }
#approach h2 { font-size: clamp(36px, 3.403vw, 49px); }
.cards { display: grid; gap: clamp(16px, 2.64vw, 38px); margin-top: 64px; }
.triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: grid; align-content: start; gap: 22px; }
.index { color: var(--ruby); font-size: 19px; font-weight: 700; }
.tile p, .story-description, .about-copy, .cabinet dd { color: var(--muted); }
.tile p { font-size: 18px; }
.triple .tile, .cabinet dl div, .about, .closing-content, .story + .story {
  border-top: 1px solid var(--line);
  position: relative;
}
.triple .tile::before, .cabinet dl div::before, .about::before, .closing-content::before, .story + .story::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: 42px;
  height: 3px;
  background: var(--ruby);
}
.triple .tile { padding-top: 25px; grid-template-rows: auto minmax(63px, auto) auto; }
#results { padding-top: 130px; }
.featured { display: grid; gap: 56px; margin-top: 79px; }
.story { display: grid; grid-template-columns: minmax(0, 2.18fr) minmax(0, .84fr); column-gap: clamp(28px, 4.7vw, 68px); align-content: start; align-items: start; grid-template-rows: auto 1fr; }
.story + .story { padding-top: 49px; }
.story:nth-child(even) { grid-template-columns: minmax(0, .84fr) minmax(0, 2.18fr); }
.story .story-media { grid-area: 1 / 1 / 3 / 2; aspect-ratio: 5 / 3; }
.story:nth-child(even) .story-media { grid-column: 2; }
.story-heading { grid-area: 1 / 2; }
.story:nth-child(even) .story-heading, .story:nth-child(even) .story-description { grid-column: 1; }
.story .index { display: block; font-size: clamp(42px, 5.69vw, 82px); line-height: 1.12; margin-bottom: 30px; }
.story h3 { max-width: 10ch; font-size: clamp(24px, 2.64vw, 38px); line-height: 1.13; }
.story-description { grid-area: 2 / 2; margin-top: 45px; font-size: 18px; }
.story-media { min-width: 0; }
.story-media picture { display: block; width: 100%; height: 100%; overflow: hidden; }
.story-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.story-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.story-pair svg { display: block; width: 100%; height: 100%; min-width: 0; overflow: hidden; }
.archive-heading { margin-top: 48px; font-size: 29px; }
.archive { display: grid; gap: clamp(16px, 2.64vw, 38px); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.archive figure { padding: 12px; border-radius: 8px; background: var(--surface); }
.archive .story-media { aspect-ratio: 388 / 262; }
.archive figcaption { position: relative; display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-inline: 15px 14px; font-size: 18px; font-weight: 700; }
.archive figcaption::before { content: ""; position: absolute; left: 0; top: .15em; width: 3px; height: 22px; background: var(--ruby); }
.archive figcaption span { color: var(--muted); font-size: 20px; }

.about { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); column-gap: clamp(25px, 5.28vw, 76px); margin-top: 40px; padding-top: 80px; }
.about .overline { grid-column: 1 / -1; margin-bottom: 38px; }
.about h2 { grid-area: 2 / 2; font-size: clamp(34px, 3.26vw, 47px); padding-top: 18px; }
.about-portrait { grid-area: 2 / 1 / 4; }
.about-portrait img { display: block; width: 100%; aspect-ratio: 470 / 575; object-fit: cover; object-position: top; }
.about-details { grid-area: 3 / 2; }
.about-copy { display: grid; gap: 12px; font-size: 21px; line-height: 1.62; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 90px; }
.metrics dt { font-weight: 700; font-size: clamp(26px, 2.92vw, 42px); }
.metrics dd { color: var(--muted); }
.double { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 50px; gap: 28px; }
.double .tile { background: var(--surface); border-top: 5px solid var(--ruby); padding: 26px 30px; min-height: 330px; }
.double h3 { font-size: clamp(24px, 2.15vw, 31px); }
.double p { font-size: 20px; }
.format-link { justify-self: start; align-content: center; min-height: 44px; margin-top: 15px; text-decoration: none; font-weight: 700; font-size: 18px; }
.cabinet { display: grid; grid-template-columns: 1.19fr 1fr; gap: 60px; padding-top: 118px; }
.cabinet h2 { font-size: clamp(38px, 4.1vw, 59px); }
.cabinet .section-lead { margin-top: 48px; max-width: 44ch; }
.cabinet dl { padding-top: 28px; }
.cabinet dl div { padding: 16px 0 34px; }
.cabinet dt { font-size: 27px; font-weight: 700; }
.cabinet dd { margin-top: 8px; font-size: 17px; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 29px; }
.steps .tile { gap: 10px; }
.steps .index { font-size: 36px; }
.steps h3 { font-size: 22px; }
.steps p { font-size: 17px; }
.faq { padding-top: 120px; }
.faq details { border-top: 1px solid #353e40; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 81px; cursor: pointer; font-size: 23px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span::before { content: "+"; }
.faq details[open] summary span::before { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 24px; }
.closing { margin-top: 84px; }
.closing-content { display: grid; grid-template-columns: 1fr minmax(240px, 376px); gap: 24px; align-items: center; background: var(--surface); padding: 38px 36px 52px; min-height: 370px; }
.closing h2 { grid-column: 1; font-size: 60px; text-transform: none; }
.closing p { grid-column: 1; color: var(--muted); font-size: 22px; }
.closing .primary { grid-area: 1 / 2 / 3; min-height: 74px; border-radius: 4px; font-size: 24px; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 27px 42px; }
footer a { text-decoration: none; }
footer a:last-child { justify-self: end; color: var(--muted); }
.preview { padding: .75rem; background: var(--surface); border-bottom: 2px solid var(--ruby); text-align: center; font-weight: 700; }
.preview a { margin-left: .6rem; }

@media (width > 800px) {
  .story:nth-child(2) h3 { max-width: 12ch; }
  .hero h1 { font-size: clamp(42px, 5vw, 72px); }
  .principles p { font-size: clamp(23px, 2.65vw, 38px); }
  h2 { font-size: clamp(34px, 3.89vw, 56px); }
  #approach h2 { font-size: clamp(30px, 2.92vw, 42px); }
  .story .index { font-size: clamp(36px, 4.72vw, 68px); }
  .story h3 { font-size: clamp(22px, 2.22vw, 32px); }
  .about h2 { font-size: clamp(30px, 2.78vw, 40px); }
  .metrics dt { font-size: clamp(24px, 2.5vw, 36px); }
  .cabinet h2 { font-size: clamp(33px, 3.47vw, 50px); }
  .closing h2 { font-size: clamp(38px, 3.61vw, 52px); }
}

@media (801px <= width < 1100px) {
  .hero { min-height: 720px; }
  .hero::before { top: 126px; height: 195px; }
  .hero h1 { margin-top: 62px; }
  .hero-description { max-width: 28ch; }
  .top nav { gap: 20px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 94px; }
  :root { --gutter: 24px; }
  .wide, .top nav, .hero::before { display: none; }
  .small { display: inline; }
  .top { display: flex; justify-content: space-between; height: 78px; border-bottom: 0; }
  .login { width: 104px; min-height: 40px; padding: 7px; }
  .hero { min-height: 0; }
  .hero-content { padding: 10px 0 53px; border-bottom: 1px solid #353e40; }
  .hero h1.small { display: block; width: auto; margin: 16px 0 0; text-transform: none; font-size: clamp(33px, 9.95vw, 43px); line-height: 1.15; }
  .hero h1 span { display: inline-block; background: var(--ruby); min-width: min(100%, 230px); padding: 3px 22px 6px 12px; font-size: clamp(31px, 9.26vw, 40px); line-height: 45px; clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
  .hero-mobile.small { display: block; height: auto; aspect-ratio: 384 / 415; margin-top: 14px; }
  .hero-mobile img { aspect-ratio: 384 / 415; }
  .hero-name.small { display: block; position: relative; margin-top: -10px; border-left: 3px solid var(--ruby); padding-left: 12px; font-size: clamp(18px, 5.3vw, 23px); line-height: 31px; font-weight: 700; }
  .hero-description { margin-top: 26px; font-size: 19px; line-height: 1.53; max-width: 35ch; }
  .hero .primary { margin-top: 49px; width: 100%; min-height: 58px; }
  .location { margin-top: 19px; font-size: 15px; line-height: 1.55; }
  .section, #approach, #results, .cabinet, .faq { padding-top: 64px; }
  .section .overline { margin-bottom: 23px; }
  h2 { font-size: clamp(36px, 10.1vw, 44px); }
  #approach h2, .about h2 { font-size: clamp(28px, 7.64vw, 33px); }
  .section-lead { font-size: 18px; margin-top: 21px; }
  .triple, .double, .archive, .cabinet, .steps { grid-template-columns: 1fr; }
  .triple { gap: 0; margin-top: 70px; }
  .triple .tile { min-height: 160px; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
  .triple .index { display: none; }
  .triple h3 { font-size: 24px; }
  .triple p { font-size: 17px; }
  .featured { margin-top: 51px; gap: 30px; }
  .story, .story + .story, .story:nth-child(even) { grid-template-columns: 1fr; grid-template-rows: none; gap: 36px; padding-top: 0; border: 0; }
  .story + .story::before { display: none; }
  .story .story-heading, .story .story-description, .story .story-media,
  .story:nth-child(even) .story-heading, .story:nth-child(even) .story-description, .story:nth-child(even) .story-media { grid-area: auto; }
  .story-heading { display: flex; align-items: start; gap: 16px; }
  .story h3 { max-width: none; font-size: 23px; padding-top: 5px; }
  .story .index { margin: 0; font-size: 39px; }
  .story .story-media { aspect-ratio: 384 / 390; }
  .story-description { margin-top: 8px; font-size: 17px; }
  .archive-heading { margin-top: 57px; font-size: 23px; }
  .archive-intro { display: block; margin-top: 5px; color: var(--muted); font-size: 15px; }
  .archive { margin-top: 22px; gap: 22px; }
  .archive figure { padding: 10px 10px 13px; }
  .archive .story-media { aspect-ratio: 364 / 280; }
  .about { display: block; margin: 0 auto; border-top: 0; }
  .about::before { display: none; }
  .about h2 { padding: 0; margin-bottom: 28px; }
  .about-portrait img { aspect-ratio: 384 / 430; }
  .about-copy { margin-top: 25px; font-size: 18px; }
  .metrics { margin-top: 32px; }
  .metrics dt { font-size: 26px; }
  .metrics dd { font-size: 13px; }
  .double { margin-top: 32px; gap: 21px; }
  .double .tile { border-top-width: 3px; min-height: 247px; padding: 17px 20px 12px; gap: 14px; }
  .double h3 { font-size: 24px; }
  .double p, .format-link { font-size: 16px; }
  .format-link { margin-top: 0; }
  .cabinet { gap: 46px; }
  .cabinet h2 { font-size: 40px; }
  .cabinet dl { padding-top: 0; }
  .cabinet dl div { min-height: 148px; padding-top: 19px; }
  .cabinet dt { font-size: 26px; }
  .steps { gap: 30px; margin-top: 42px; }
  .steps .tile { grid-template-columns: 40px 1fr; align-items: baseline; column-gap: 16px; }
  .steps .index { grid-row: 1 / 3; font-size: 25px; }
  .steps p { grid-column: 2; }
  .faq summary { font-size: 17px; min-height: 78px; }
  .faq summary span { font-size: 22px; }
  .closing { margin-top: 68px; background: var(--surface); }
  .closing-content { display: block; min-height: 360px; padding: 24px 0 30px; }
  .closing h2 { font-size: 40px; }
  .closing p { color: var(--ink); margin-top: 35px; max-width: 24ch; font-size: 20px; }
  .closing .primary { width: 100%; min-height: 61px; margin-top: 25px; font-size: clamp(18px, 5.09vw, 22px); }
  footer { display: grid; grid-template-columns: 1fr; gap: 9px; padding-block: 25px 38px; }
  footer a:last-child { justify-self: start; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
