@import url("cursor.css");
@import url("theme.css");

:root {
  --paper: var(--page-bg);
  --dark: var(--page-text);
  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --font-ui: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--dark);
  font-family: var(--font-ui);
}

body:has(.header) {
  --site-header-flow-offset: 40px;
  padding-top: var(--site-header-flow-offset);
}

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

.section-grid-overlay {
  --grid-line: rgba(60, 40, 35, 0.1);
  position: absolute;
  z-index: 1;
  inset: 0 clamp(18px, 3.35vw, 52px);
  border-right: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  background-image:
    linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px);
  background-repeat: repeat-x, repeat-y;
  background-size: 25% 100%, 100% 50%;
  pointer-events: none;
}

html[data-theme="dark"] .section-grid-overlay {
  --grid-line: rgba(242, 239, 231, 0.1);
}

.section-grid-overlay__mark {
  position: absolute;
  width: 7px;
  height: 7px;
  background:
    linear-gradient(var(--grid-line), var(--grid-line)) center / 100% 1px no-repeat,
    linear-gradient(var(--grid-line), var(--grid-line)) center / 1px 100% no-repeat;
  transform: translate(-50%, -50%);
}

.section-grid-overlay__mark--a {
  top: 50%;
  left: 50%;
}

.section-grid-overlay__mark--b {
  top: 25%;
  left: 75%;
}

@media (max-width: 767px) {
  .section-grid-overlay {
    --grid-line: rgba(60, 40, 35, 0.07);
    inset-inline: 14px;
    background-size: 50% 100%, 100% 50%;
  }

  html[data-theme="dark"] .section-grid-overlay {
    --grid-line: rgba(242, 239, 231, 0.075);
  }

  .section-grid-overlay__mark {
    width: 6px;
    height: 6px;
  }

  .section-grid-overlay__mark--b {
    display: none;
  }
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  isolation: isolate;
  overflow: visible;
  padding: 24px 28px 22px;
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -32px;
  left: 0;
  height: 64px;
  background: linear-gradient(
    to bottom,
    rgba(242, 239, 231, 0),
    rgba(242, 239, 231, 0.08) 42%,
    rgba(242, 239, 231, 0.32) 68%,
    rgba(242, 239, 231, 0)
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  content: "";
  pointer-events: none;
}

.hero__background {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: calc(100svh - 22px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.hero__background--light {
  background-image: url("../assets/graphics/home-hero-bg.webp");
  opacity: 1;
}

.hero__background--dark {
  background-image: url("../assets/graphics/home-hero-bg.webp");
  opacity: 0;
}

html[data-theme="dark"] .hero__background--light {
  opacity: 0;
}

html[data-theme="dark"] .hero__background--dark {
  opacity: 1;
}


.header {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(45, 27, 27, 0.12);
  background: #F2EFE7;
  color: #0E0B0B;
  opacity: 1;
  visibility: visible;
  filter: none;
  mix-blend-mode: normal;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: background-color 280ms ease, border-color 280ms ease, color 280ms ease;
}

html[data-theme="dark"] .header {
  background: #0E0B0B;
  border-bottom-color: rgba(242, 239, 231, 0.12);
  color: #F2EFE7;
}

.brand {
  justify-self: start;
  font-size: clamp(26px, 2.35vw, 34px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: clamp(16px, 2vw, 34px);
  font-size: 1.23em;
}

.nav__link,
.discuss-link,
.brand,
.estimate-link,
.works-link {
  transition: color 180ms ease;
}

.nav__link:not(.is-active) {
  opacity: 0.64;
}

.discuss-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 13px;
  border: 1px solid rgba(45, 27, 27, 0.45);
  border-radius: 3px;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 2px 0 rgba(45, 27, 27, 0.09);
  transition: border-color 220ms ease, color 220ms ease, transform 180ms ease, box-shadow 220ms ease;
}
.header__right { display: flex; align-items: center; justify-self: end; gap: 10px; }
.header__right .discuss-link { justify-self: auto; }

.mobile-menu-toggle,
.mobile-menu,
.mobile-menu__socials {
  display: none;
}

html[data-theme="dark"] .discuss-link {
  border-color: rgba(242, 239, 231, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(242, 239, 231, 0.09),
    0 2px 0 rgba(0, 0, 0, 0.34);
}

.nav__link:hover,
.nav__link:focus-visible,
.discuss-link:hover,
.discuss-link:focus-visible,
.brand:hover,
.brand:focus-visible,
.estimate-link:hover,
.estimate-link:focus-visible,
.works-link:hover,
.works-link:focus-visible {
  color: var(--accent-ink);
}

.discuss-link:hover,
.discuss-link:focus-visible {
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.discuss-link:active {
  transform: translateY(1px);
  box-shadow: none;
}

.hero__stage {
  position: relative;
  z-index: 2;
  flex: 0 0 calc(100svh - 46px);
  min-height: 0;
}

.hero__statement {
  position: absolute;
  z-index: 2;
  top: calc(42% - 60px);
  left: clamp(8px, 4vw, 58px);
  width: min(54vw, 720px);
  transform: translateY(-50%);
}

.hero-cost-cta {
  position: absolute;
  z-index: 3;
  top: calc(42% - 60px);
  right: clamp(24px, 4vw, 58px);
  display: inline-flex;
  min-height: 52px;
  padding: 0 clamp(20px, 2vw, 30px);
  border: 1px solid rgba(14, 11, 11, .58);
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  background: rgba(242, 239, 231, .86);
  color: #0E0B0B;
  font-size: clamp(11px, .9vw, 14px);
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  transform: translateY(-50%);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.hero-cost-cta:hover,
.hero-cost-cta:focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--accent-contrast);
}

.hero__handwritten-note {
  position: absolute;
  z-index: 1;
  top: calc(18% - 50px);
  left: 54%;
  display: block;
  width: clamp(166.5px, 13.05vw, 225px);
  height: auto;
  transform: translateY(-28%) scale(0.9);
  transform-origin: top left;
  pointer-events: none;
}

html[lang="en"] .hero__handwritten-note { display: none; }
.hero__handwritten-note-en { display: none; }
html[lang="en"] .hero__handwritten-note-en {
  position: absolute;
  z-index: 1;
  top: calc(18% - 50px);
  left: 54%;
  display: block;
  color: #8B1E1E;
  font-family: "Segoe Print", cursive;
  font-size: clamp(23px, 2.7vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero__actions {
  position: absolute;
  z-index: 3;
  top: calc(42% + clamp(82px, 6.5vw, 104px));
  left: clamp(8px, 4vw, 58px);
  width: min(54vw, 720px);
}

.hero__actions .estimate-link {
  width: min(100%, 560px);
  margin: 0;
}

.hero__actions .estimate-link__text {
  padding-inline: 32px;
}

.hero-contact-link {
  position: absolute;
  top: calc(clamp(64px, 5vw, 72px) + 14px);
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: #0E0B0B;
  font-size: clamp(11px, .8vw, 13px);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  opacity: .72;
  transition: opacity .25s ease;
}

.hero-contact-link svg {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}

.hero-contact-link:hover {
  opacity: 1;
}

.hero-contact-link:hover svg {
  transform: translate(2px, -2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
  width: min(100%, 560px);
  margin-top: calc(clamp(48px, 7vh, 72px) + 55px);
  color: #0E0B0B;
}

.hero-stats__item {
  display: grid;
  align-content: start;
  gap: 5px;
}

.hero-stats__item strong {
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.hero-stats__item span {
  max-width: 150px;
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 500;
  line-height: 1.25;
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  top: clamp(42px, 6vh, 68px);
  right: clamp(6vw, 9vw, 150px);
  width: clamp(430px, 36vw, 560px);
  height: min(clamp(520px, 68svh, 690px), calc(100% - 26px));
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 780ms ease 140ms, transform 860ms cubic-bezier(.2, .8, .2, 1) 140ms;
}

.hero.is-ready .hero-portrait {
  opacity: 1;
  transform: translateY(0);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero-title {
  display: block;
  margin: 0;
  width: 100%;
  color: #0E0B0B;
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
  transition: color 280ms ease, opacity 680ms ease 440ms, transform 760ms cubic-bezier(.2, .8, .2, 1) 440ms;
}

.hero.is-ready .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-title__primary,
.hero-title__secondary {
  display: block;
}

.hero-title__primary {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.2vw, 78px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.058em;
  white-space: nowrap;
}

.hero-title__secondary {
  position: relative;
  display: inline-block;
  width: max-content;
  margin-top: 0.14em;
  margin-left: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.2vw, 78px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.058em;
  white-space: nowrap;
}

.hero-title__outlined-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 0.2em;
}

@media (min-width: 768px) {
  .hero-title__primary,
  .hero-title__secondary {
    letter-spacing: -0.02em;
  }
}

.hero-title__brush {
  position: absolute;
  z-index: 0;
  top: 58%;
  left: 50%;
  display: block;
  width: 116%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

html.is-theme-changing .hero-title {
  opacity: 0.18;
  transition: opacity 260ms ease;
}

.marquee {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: clamp(70px, 5.6vw, 86px);
  width: calc(100% + 56px);
  margin-left: -28px;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--dark) 27%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--dark) 27%, transparent);
  background: var(--accent);
  color: var(--accent-contrast);
}

.marquee__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: marquee 72s linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(30px, 3vw, 50px);
  padding: 0 clamp(30px, 3vw, 50px) 0 0;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1;
  white-space: nowrap;
}

.marquee__group i {
  color: var(--accent-contrast);
  font-size: clamp(18px, 1.6vw, 24px);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.hero__footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 13px;
  padding-top: clamp(22px, 2.4vh, 30px);
  font-size: 10px;
  font-weight: 600;
}

.hero__footer::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -28px;
  bottom: -22px;
  left: -28px;
  background: #120E0E;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

html[data-theme="dark"] .marquee {
  border-color: rgba(242, 239, 231, 0.14);
  background: var(--accent);
  color: var(--accent-contrast);
}

html[data-theme="dark"] .hero::after {
  background: linear-gradient(
    to bottom,
    rgba(14, 11, 11, 0),
    rgba(14, 11, 11, 0.18) 42%,
    rgba(14, 11, 11, 0.7) 68%,
    rgba(14, 11, 11, 0)
  );
}

html[data-theme="dark"] .hero__footer {
  color: #F2EFE7;
}

html[data-theme="dark"] .hero__footer::before {
  opacity: 1;
}

.estimate-link {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  width: min(clamp(525px, 47.5vw, 675px), calc(100% - 44px));
  height: clamp(64px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  margin-right: 0;
  margin-left: clamp(22px, 2.5vw, 36px);
  border: 1px solid #2D1B1B;
  border-radius: 2px;
  background: #2D1B1B;
  color: #F2EFE7;
  box-shadow: 0 3px 0 rgba(45, 27, 27, 0.12), 0 8px 18px rgba(45, 27, 27, 0.08);
  font-size: clamp(19px, 1.65vw, 26px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-align: center;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

html[data-theme="dark"] .estimate-link {
  border-color: rgba(242, 239, 231, 0.4);
  background: #0E0B0B;
  color: #F2EFE7;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.34), 0 8px 18px rgba(0, 0, 0, 0.2);
}

.estimate-link:hover,
.estimate-link:focus-visible {
  border-color: #1F1414;
  background: #1F1414;
  color: #F2EFE7;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(45, 27, 27, 0.14), 0 10px 22px rgba(45, 27, 27, 0.1);
}

html[data-theme="dark"] .estimate-link:hover,
html[data-theme="dark"] .estimate-link:focus-visible {
  border-color: var(--accent);
  background: #161212;
  color: #F2EFE7;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4), 0 10px 22px rgba(0, 0, 0, 0.24);
}

.estimate-link__marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: currentColor;
  opacity: 0.68;
}

.estimate-link__marker--tl { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.estimate-link__marker--tr { top: 8px; right: 8px; border-top: 1px solid; border-right: 1px solid; }
.estimate-link__marker--bl { bottom: 8px; left: 8px; border-bottom: 1px solid; border-left: 1px solid; }
.estimate-link__marker--br { right: 8px; bottom: 8px; border-right: 1px solid; border-bottom: 1px solid; }

.estimate-link__text {
  padding-inline: 42px;
}

.works-link {
  grid-column: 2;
  justify-self: end;
  white-space: nowrap;
}


.about__title .theme-graphic__fallback { font-size: clamp(52px, 8vw, 124px); font-weight: 700; line-height: .86; letter-spacing: -.06em; text-align: center; }



.faq {
  padding: clamp(88px, 10vw, 150px) clamp(18px, 2vw, 30px);
  border-top: 1px solid var(--border);
  background: var(--page-bg);
  color: var(--page-text);
  transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease;
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  column-gap: clamp(36px, 5vw, 72px);
  align-items: start;
  width: min(100%, 1400px);
  margin-inline: auto;
}

.faq__header {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(52px, 7vw, 96px);
}

.faq__eyebrow {
  margin: 0 0 8px;
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.faq__header h2,
.faq__articles-title {
  margin: 0;
  font-size: clamp(33px, 4.4vw, 66px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-align: left;
}

.faq__list {
  grid-column: 1;
  grid-row: 2;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item h3 {
  margin: 0;
  font: inherit;
}

.faq__question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 2.4vw, 36px) 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: clamp(16px, 1.7vw, 28px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: left;
  cursor: pointer;
}

.faq__question:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 8px;
}

.faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--accent-ink);
  transform: translateX(-56px);
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
}

.faq__icon::before,
.faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon {
  transform: translateX(-56px) rotate(45deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 480ms cubic-bezier(.2, .8, .2, 1), opacity 300ms ease;
}

.faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__answer p {
  max-width: 860px;
  margin: 0;
  padding: 0 56px clamp(28px, 3vw, 44px) 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__articles-title {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: clamp(52px, 7vw, 96px);
}

.faq-articles {
  display: grid;
  overflow: hidden;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.faq-article {
  display: flex;
  min-width: 0;
  aspect-ratio: 1 / 1.18;
  flex-direction: column;
  padding: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: inherit;
  transition: color 240ms ease, background-color 240ms ease, border-color 280ms ease;
}

.faq-article__media {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  height: 41%;
  flex: 0 0 41%;
  place-items: center;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--page-text) 5%, var(--page-bg));
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.faq-article__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.88);
}

.faq-article--reverse .faq-article__media {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.faq-article__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: clamp(14px, 1.4vw, 21px);
}

.faq-article:nth-child(2),
.faq-article:nth-child(4) {
  border-right: 0;
}

.faq-article:nth-child(3),
.faq-article:nth-child(4) {
  border-bottom: 0;
}

.faq-article__number,
.faq-article__link {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.faq-article__number {
  color: var(--accent-ink);
}

.faq-article strong {
  margin: 10px 0 auto;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  transition: transform 240ms ease;
}

.faq-article__link {
  align-self: flex-start;
  margin-top: 16px;
  transition: transform 240ms ease;
}

.faq-article--all {
  justify-content: flex-end;
  padding: clamp(22px, 2.1vw, 32px);
  color: var(--accent-ink);
}

.faq-article--all strong {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
}

@media (hover: hover) {
  .faq__question:hover {
    color: var(--accent-ink);
  }

  .faq-article:hover {
    background: color-mix(in srgb, var(--page-text) 3%, var(--page-bg));
    color: var(--accent-ink);
  }

  .faq-article:hover strong,
  .faq-article:hover .faq-article__link {
    transform: translateY(-3px);
  }
}

@media (max-width: 1050px) {
  .faq__inner {
    grid-template-columns: 1fr;
  }

  .faq-articles {
    grid-column: 1;
    grid-row: auto;
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .faq__articles-title {
    grid-column: 1;
    grid-row: auto;
    margin-top: 64px;
    margin-bottom: 44px;
  }
}

@media (max-width: 767px) {
  .faq {
    padding: 72px 20px 88px;
  }

  .faq-articles { row-gap: 0; }
  .faq-article { min-height: 280px; aspect-ratio: auto; border-bottom: 0; }
  .faq-article:nth-child(2),
  .faq-article:nth-child(3) { display: none; }
  .faq-article--all { grid-column: 2; grid-row: 1; }
  .faq-article:first-child .faq-article__media img { object-position: 65% center; }

  .faq__header {
    display: block;
    margin-bottom: 44px;
  }

  .faq__eyebrow {
    margin-bottom: 18px;
  }

  .faq__question {
    gap: 18px;
    padding-block: 24px;
    position: relative;
    padding-right: 56px;
  }

  .faq__icon {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    transform: translateY(-50%);
  }

  .faq__item.is-open .faq__icon { transform: translateY(-50%) rotate(45deg); }

  .faq__answer p {
    padding-right: 26px;
    padding-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__icon,
  .faq__answer {
    transition: none;
  }
}

.work-formats {
  min-height: 34svh;
  padding: clamp(76px, 9vw, 132px) 5vw;
  border-top: 1px solid color-mix(in srgb, var(--dark) 14%, transparent);
  background: var(--paper);
  color: var(--dark);
}

.work-formats__eyebrow,
.final-cta__eyebrow {
  margin: 0 0 18px;
  color: var(--accent-ink);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.work-formats h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.work-formats > p:last-child {
  max-width: 420px;
  margin: 28px 0 0 auto;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.62;
}

.final-cta {
  display: flex;
  min-height: 62svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 10vw, 148px) 5vw;
  border-top: 1px solid var(--border);
  background: var(--page-bg);
  color: var(--page-text);
  text-align: center;
}

.final-cta h2 {
  width: 100%;
  max-width: 1240px;
  margin: 0;
  font-size: clamp(58px, 8.4vw, 128px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.final-cta h2 span {
  display: block;
}

.final-cta h2 span:last-child {
  color: var(--accent-ink);
}

.final-cta__primary {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(42px, 5vw, 70px);
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: clamp(20px, 2vw, 30px);
  transition: color 260ms ease, border-color 260ms ease;
}

.final-cta__arrow {
  display: inline-block;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), color 260ms ease;
}

.final-cta__socials {
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 7vw, 92px);
  font-size: 11px;
}

.final-cta a,
.site-footer a {
  transition: color 180ms ease;
}

.final-cta a:hover,
.final-cta a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-ink);
}

.final-cta__primary:hover .final-cta__arrow,
.final-cta__primary:focus-visible .final-cta__arrow {
  transform: translateX(4px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 5vw;
  border-top: 1px solid color-mix(in srgb, var(--dark) 16%, transparent);
  background: var(--paper);
  color: var(--dark);
  font-size: 10px;
}

@media (max-width: 767px) {
  .work-formats {
    min-height: 30svh;
    padding: 64px 20px;
  }

  .work-formats > p:last-child {
    margin-left: 0;
  }

  .final-cta {
    min-height: 62svh;
    padding: 72px 20px;
  }

  .final-cta h2 {
    font-size: clamp(44px, 14vw, 72px);
  }

  .final-cta__socials {
    width: 100%;
    flex-direction: column;
    gap: 18px;
  }

  .site-footer {
    padding: 18px 20px;
  }
}

.works {
  --calculator-overlap: 0;
  --works-transition-y: 0px;
  --works-transition-scale: 1;
  --works-transition-opacity: 1;
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow: hidden;
  padding: 90px 24px 120px;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: var(--font-ui);
  transform-origin: center bottom;
  transition: background-color 280ms ease, color 280ms ease;
}

.works.is-calculator-transition {
  opacity: var(--works-transition-opacity);
  transform: translateY(var(--works-transition-y)) scale(var(--works-transition-scale));
  will-change: transform, opacity;
}

.works__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.works__header h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.works__header > span {
  color: var(--accent-ink);
}

.works__list {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1000px, 76vw);
  flex-direction: column;
  gap: 0;
  margin: clamp(38px, 3vw, 44px) auto 0;
}

.works__item {
  position: relative;
  isolation: isolate;
  transition: opacity 320ms ease;
}

.works__preview {
  position: absolute;
  z-index: 2;
  top: 50%;
  bottom: auto;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--paper) 11%, var(--dark));
  color: color-mix(in srgb, var(--paper) 52%, var(--dark));
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) scale(0.97);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.35s ease;
}

.works__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.works__preview--left {
  left: -180px;
  width: 240px;
  height: 320px;
}

.works__preview--right {
  right: -180px;
  width: 320px;
  height: 200px;
}

.works__row {
  position: relative;
  display: grid;
  grid-template-areas: "category title year";
  grid-template-columns: 180px max-content 70px;
  align-items: center;
  justify-content: center;
  column-gap: 24px;
  min-height: 92px;
  padding-inline: 0;
  border-top: 1px solid color-mix(in srgb, var(--page-text) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--page-text) 18%, transparent);
  transition: border-color 280ms ease;
}

.works__row::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: var(--page-text);
  content: "";
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  transition: background-color 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.works__category,
.works__year {
  position: relative;
  z-index: 3;
  margin: 0;
  font-size: clamp(9px, 0.75vw, 11px);
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.62;
  transition: color 240ms ease, opacity 240ms ease, transform 320ms ease;
}

.works__category {
  grid-area: category;
}

.works__title {
  position: relative;
  z-index: 3;
  grid-area: title;
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(48px, 4.608vw, 72.96px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  transition: color 240ms ease, opacity 240ms ease, transform 320ms ease;
}

.works__year {
  grid-area: year;
  justify-self: start;
  white-space: nowrap;
}

@media (hover: hover) and (min-width: 768px) {
  .works__list:has(.works__row:hover) .works__item:not(:has(.works__row:hover)) {
    opacity: 0.52;
  }

  .works__row:hover::before {
    transform: translateX(-50%) scaleY(1);
  }

  .works__item:has(.works__row:hover) .works__preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
  }

  .works__row:hover .works__category,
  .works__row:hover .works__title,
  .works__row:hover .works__year {
    color: var(--page-bg);
    transform: translateX(8px);
  }

  .works__row:hover .works__category,
  .works__row:hover .works__year {
    opacity: 1;
  }

  .works__row:hover .works__year {
    background: var(--page-text);
  }
}

html[data-theme="dark"] .works__category,
html[data-theme="dark"] .works__year {
  opacity: 0.55;
}

html[data-theme="dark"] .works__row {
  border-color: rgba(242, 239, 231, 0.14);
}

@media (hover: hover) and (min-width: 768px) {
  html[data-theme="dark"] .works__row:hover .works__category,
  html[data-theme="dark"] .works__row:hover .works__year {
    color: rgba(14, 11, 11, 0.65);
    opacity: 1;
  }

}

@media (min-width: 768px) and (max-width: 1100px) {
  .works__list {
    width: 90vw;
    margin-top: 44px;
  }

  .works__preview {
    display: none;
  }

  .works__row {
    grid-template-columns: 140px max-content 70px;
    column-gap: 16px;
  }

  .works__title {
    font-size: clamp(37.44px, 4.608vw, 48.96px);
  }
}

@media (max-width: 900px) {
  body:has(.header) {
    --site-header-flow-offset: 141px;
  }

  .hero {
    padding-inline: 20px;
  }

  .header {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .header__right {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    margin-top: 8px;
  }

  .hero h1 {
    width: 100%;
  }

  .marquee {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
}

@media (max-width: 767px) {
  .works {
    min-height: auto;
    padding: 60px 14px 60px;
  }

  .works__header {
    font-size: 9px;
  }

  .works__list {
    width: 100%;
    margin-top: 42px;
  }

  .works__preview {
    display: none;
  }

  .works__row {
    grid-template-areas:
      "title title"
      "category year";
    grid-template-columns: max-content 1fr;
    justify-content: stretch;
    column-gap: 0;
    min-height: 0;
    padding: 23px 0 19px;
  }

  .works__row::before {
    display: none;
  }

  .works__title {
    justify-self: start;
    margin-bottom: 18px;
    font-size: clamp(30.72px, 9.408vw, 40.32px);
    line-height: 0.92;
    text-align: left;
  }

  .works__category,
  .works__year {
    font-size: 8px;
  }

  .works__category::after {
    content: " /";
  }

  .works__year {
    justify-self: start;
    margin-left: 4px;
  }
}

@media (max-width: 768px) {
  .works__item--venelax .works__row {
    display: flex;
    width: 100vw;
    min-height: 208px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: calc(50% - 50vw);
    padding: 24px 38px;
    overflow: hidden;
    background: url("../assets/images/projects/venelax/venelax-cover.webp") 62% center / auto 125% no-repeat;
  }

  .works__item--venelax .works__row::before {
    display: block;
    left: 0;
    width: 100%;
    background: rgba(14, 11, 11, .38);
    transform: none;
  }

  .works__item--venelax .works__title,
  .works__item--venelax .works__row:hover .works__title {
    width: 100%;
    margin: 0;
    color: #F2EFE7;
    font-size: clamp(36px, 9vw, 48px);
    text-align: left;
    transform: none;
  }

  .works__item--venelax .works__title::after {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    white-space: normal;
    content: attr(data-mobile-subtitle);
  }

  .works__item--venelax .works__category,
  .works__item--venelax .works__year {
    display: none;
  }
}

@media (max-width: 767px) {
  .works__item--venelax .works__row {
    background-image: url("../assets/images/projects/venelax/venelax-mobile-cover-3.png");
    background-position: center center;
    background-size: cover;
  }

  .works__item--elisium .works__row {
    display: flex;
    width: 100vw;
    min-height: 208px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: calc(50% - 50vw);
    padding: 24px 38px;
    overflow: hidden;
    background: url("../assets/images/projects/elisium/elisium-mobile-cover-1.png") center / cover no-repeat;
  }

  .works__item--elisium .works__row::before {
    display: block;
    left: 0;
    width: 100%;
    background: rgba(14, 11, 11, .25);
    transform: none;
  }

  .works__item--elisium .works__title {
    width: 100%;
    margin: 0;
    color: #F2EFE7;
    font-size: clamp(36px, 9vw, 48px);
    text-align: left;
  }

  .works__item--elisium .works__title::after {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    white-space: normal;
    content: attr(data-mobile-subtitle);
  }

  .works__item--elisium .works__category,
  .works__item--elisium .works__year {
    display: none;
  }

  .works__item--dannymarron .works__row {
    grid-template-areas:
      "cover cover"
      "title title"
      "category year";
    padding-top: 0;
  }

  .works__item--dannymarron .works__row::after {
    display: block;
    width: 100vw;
    aspect-ratio: 2.5 / 1;
    grid-area: cover;
    margin: 0 0 16px calc(50% - 50vw);
    background: url("../assets/images/projects/dannymarron/dennymarron-mobile-cover-1.png") center / cover no-repeat;
    content: "";
  }
}

@media (max-width: 600px) {
  body:has(.header) {
    --site-header-flow-offset: 165px;
  }

  .hero {
    min-height: 100svh;
    padding: 18px 14px 16px;
  }

  .hero__handwritten-note {
    display: none;
  }

  .header {
    gap: 10px;
    padding: 12px 14px;
    font-size: 9px;
  }

  .header__right {
    flex-direction: column;
    align-items: stretch;
  }

  .site-controls {
    grid-template-columns: 1fr;
  }

  .lang-switch,
  .theme-switch {
    width: 100%;
    min-width: 0;
  }

  .discuss-link {
    width: 100%;
    min-height: 40px;
  }

  .nav {
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
  }

  .hero__statement {
    width: 100%;
  }

  .hero-title__primary {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 0.92;
    white-space: normal;
  }

  .hero-title__secondary {
    margin-top: 0.14em;
    margin-left: 0;
    font-size: clamp(38px, 11vw, 54px);
    letter-spacing: -0.058em;
    white-space: nowrap;
  }

  .marquee {
    min-height: clamp(58px, 16vw, 66px);
    width: calc(100% + 28px);
    margin-left: -14px;
  }

  .marquee__group {
    gap: 24px;
    padding: 0 24px 0 0;
    font-size: clamp(14px, 4vw, 17px);
  }

  .marquee__group i {
    font-size: clamp(14px, 4.2vw, 18px);
  }

  .hero__footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 16px;
    font-size: 8px;
  }

  .estimate-link {
    grid-column: 1;
    width: 100%;
    min-height: 64px;
    margin-inline: 0;
    font-size: clamp(14px, 4vw, 17px);
  }

  .works-link {
    grid-column: 1;
    justify-self: end;
  }
}

@media (max-width: 380px) {
  .header {
    font-size: 8px;
  }

  .hero__footer {
    gap: 12px;
    font-size: 7px;
  }
}

.benefits-scroll {
  position: relative;
  min-height: 600svh;
  background: var(--page-bg);
  color: var(--page-text);
}

.benefits-scroll__pin {
  display: grid;
  width: 100%;
  height: 100svh;
  padding: clamp(24px, 4vw, 64px);
  place-items: center;
  overflow: hidden;
}

.benefits-scroll__stage {
  position: relative;
  width: min(100%, 1480px);
  height: min(78svh, 820px);
  overflow: hidden;
  border: 1px solid rgba(14, 11, 11, 0.12);
  background: #F2EFE7;
  color: #0E0B0B;
}

html[data-theme="dark"] .benefits-scroll__stage {
  border-color: rgba(242, 239, 231, 0.12);
  background: #0E0B0B;
  color: #F2EFE7;
}

.benefits-scroll__phrases {
  position: absolute;
  inset: 0;
}

.benefits-scroll__phrase {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform, opacity;
}

.benefits-scroll__title {
  position: absolute;
  top: calc(50% + 12px);
  left: 43%;
  width: min(48vw, 600px);
  text-align: center;
  transform: translate(-50%, -50%);
}

.benefits-scroll__title h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.benefits-scroll__description {
  position: absolute;
  top: 50%;
  right: clamp(32px, 5vw, 76px);
  width: min(24vw, 340px);
  margin: 0;
  font-size: 15.25px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  transform: translateY(-50%);
}

.benefits-scroll__phrase:nth-child(1) { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.benefits-scroll__phrase:nth-child(2) { opacity: 0.52; transform: translate(-50%, calc(-50% + 220px)) scale(0.84); }
.benefits-scroll__phrase:nth-child(3) { opacity: 0.2; transform: translate(-50%, calc(-50% + 370px)) scale(0.7); }
.benefits-scroll__phrase:nth-child(n + 4) { opacity: 0; transform: translate(-50%, calc(-50% + 530px)) scale(0.62); }

.benefits-scroll__counter {
  position: absolute;
  z-index: 3;
  top: calc(50% + 12px);
  left: clamp(24px, 2.8vw, 40px);
  width: 64px;
  height: 64px;
  overflow: hidden;
  color: var(--accent-ink);
  font-size: 50.4px;
  font-weight: 500;
  line-height: 64px;
  text-align: left;
  transform: translateY(-50%);
  pointer-events: none;
}

.benefits-scroll__counter span {
  position: absolute;
  inset: 0;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.benefits-cta {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(18px, 2vw, 30px);
  left: clamp(18px, 2vw, 30px);
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.22, .75, .18, 1);
}

.benefits-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.benefits-cta__link {
  position: relative;
  display: flex;
  width: 100%;
  height: clamp(56px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 11, 11, 0.52);
  background: #F2EFE7;
  color: #0E0B0B;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: background-color 340ms ease, border-color 340ms ease, color 340ms ease;
}

.benefits-cta__link:hover,
.benefits-cta__link:focus-visible {
  border-color: #F2EFE7;
  background: #0E0B0B;
  color: #F2EFE7;
}

html[data-theme="dark"] .benefits-cta__link {
  border-color: rgba(242, 239, 231, 0.7);
  background: #F2EFE7;
  color: #0E0B0B;
}

html[data-theme="dark"] .benefits-cta__link:hover,
html[data-theme="dark"] .benefits-cta__link:focus-visible {
  border-color: #F2EFE7;
  background: #0E0B0B;
  color: #F2EFE7;
}

.benefits-cta__marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: currentColor;
  opacity: 0.68;
}

.benefits-cta__marker--tl { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.benefits-cta__marker--tr { top: 8px; right: 8px; border-top: 1px solid; border-right: 1px solid; }
.benefits-cta__marker--bl { bottom: 8px; left: 8px; border-bottom: 1px solid; border-left: 1px solid; }
.benefits-cta__marker--br { right: 8px; bottom: 8px; border-right: 1px solid; border-bottom: 1px solid; }

.solution-reveal {
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-opacity: 0;
  --base-mask-center: 1;
  --base-mask-mid: 1;
  --base-mask-edge: 1;
  --solution-panel: #0E0B0B;
  --solution-frame: #0E0B0B;
  --solution-ink: #F2EFE7;
  position: relative;
  min-height: max(50vh, min(36vw, 548px));
  margin: 32px;
  overflow: hidden;
  background: #0E0B0B;
  color: #F2EFE7;
  isolation: isolate;
}

@media (max-width: 768px) {
  .solution-reveal { display: none; }
}

.solution-reveal::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border: 1px solid var(--solution-frame);
  background: var(--solution-panel);
}

html[data-theme="dark"] .solution-reveal {
  --solution-panel: #F2EFE7;
  --solution-frame: #F2EFE7;
  --solution-ink: #0E0B0B;
}

.solution-reveal__layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 96px);
  pointer-events: none;
}

.solution-reveal__base {
  -webkit-mask-image: radial-gradient(
    circle 180px at var(--mouse-x) var(--mouse-y),
    rgb(0 0 0 / var(--base-mask-center)) 0%,
    rgb(0 0 0 / var(--base-mask-center)) 35%,
    rgb(0 0 0 / var(--base-mask-mid)) 50%,
    rgb(0 0 0 / var(--base-mask-edge)) 70%,
    #000 100%
  );
  mask-image: radial-gradient(
    circle 180px at var(--mouse-x) var(--mouse-y),
    rgb(0 0 0 / var(--base-mask-center)) 0%,
    rgb(0 0 0 / var(--base-mask-center)) 35%,
    rgb(0 0 0 / var(--base-mask-mid)) 50%,
    rgb(0 0 0 / var(--base-mask-edge)) 70%,
    #000 100%
  );
}

.solution-reveal__base h2 span:first-child {
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.32) 40%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.1) 58%,
    transparent 65%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.32) 40%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.1) 58%,
    transparent 65%
  );
}

.solution-reveal__base h2 span:not(:first-child) {
  visibility: hidden;
}

.solution-reveal__content {
  opacity: var(--spotlight-opacity);
  -webkit-mask-image: radial-gradient(
    circle 180px at var(--mouse-x) var(--mouse-y),
    #000 0%,
    #000 35%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0.35) 70%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 180px at var(--mouse-x) var(--mouse-y),
    #000 0%,
    #000 35%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0.35) 70%,
    transparent 100%
  );
  will-change: opacity, mask-position;
}

.solution-reveal h2 {
  margin: 0;
  color: var(--solution-ink);
  font-family: var(--font-grotesk, Arial, Helvetica, sans-serif);
  font-size: clamp(54px, 10.2vw, 153px);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.075em;
  text-align: center;
  text-transform: uppercase;
}

.solution-reveal h2 span {
  display: block;
}

.solution-reveal__accent {
  position: absolute;
  top: 12%;
  right: 12%;
  color: var(--accent-ink);
  font-size: clamp(18px, 2vw, 30px);
}

.work-format {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(92px, 9vw, 136px) clamp(18px, 2vw, 30px) clamp(104px, 10vw, 152px);
  background: var(--paper);
  color: var(--dark);
}

.work-format__heading {
  display: grid;
  grid-template-columns: minmax(150px, 22%) minmax(0, 1fr);
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(20px, 2.1vw, 30px);
}

.work-format__eyebrow {
  margin: 0 0 0.7em;
  width: auto;
  max-width: none;
  justify-self: stretch;
  margin-right: clamp(40px, 4vw, 60px);
  color: var(--dark);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(38.6px, 5.34vw, 81px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: right;
  transform: translateY(60px);
  white-space: nowrap;
}

.work-format__heading h2 {
  margin: 0;
  color: var(--accent-ink);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-align: left;
}

.work-format__mobile-break,
.work-format__swipe-hint {
  display: none;
}

.work-format__slider { display: contents; }

.work-format__cards {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: 100%;
  height: clamp(500px, 44vw, 640px);
}

.work-step {
  position: relative;
  flex: 1 1 0;
  height: 64%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(45, 27, 27, 0.22);
  border-radius: 10px;
  background: var(--paper);
  color: var(--dark);
  cursor: pointer;
  isolation: isolate;
  transform: translateY(0);
  transition:
    flex-grow 850ms cubic-bezier(.16,.8,.18,1),
    flex-basis 850ms cubic-bezier(.16,.8,.18,1),
    height 850ms cubic-bezier(.16,.8,.18,1),
    transform 850ms cubic-bezier(.16,.8,.18,1),
    border-color 400ms ease;
  will-change: flex-grow, height, transform;
}

html[data-theme="dark"] .work-step {
  border-color: rgba(242, 239, 231, 0.22);
}

.work-step:hover,
.work-step:focus-visible {
  flex-grow: 1.45;
  height: 74%;
  z-index: 2;
  border-color: var(--accent);
  outline: none;
  transform: translateY(-4px);
}

.work-step__number-window {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(88px, 6.65vw, 94px);
  overflow: hidden;
}

.work-step__number {
  position: absolute;
  top: -0.04em;
  left: 50%;
  color: var(--dark);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(158px, 12.5vw, 176px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.08em;
  opacity: 0.96;
  transform: translateX(-50%) scale(1);
  transform-origin: center top;
  white-space: nowrap;
}

.work-step:hover .work-step__number,
.work-step:focus-visible .work-step__number {
  transform: translateX(-50%) scale(1);
}

.work-step__content {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  left: 50%;
  width: calc(100% - 40px);
  text-align: center;
  transform: translateX(-50%);
  transition:
    top 850ms cubic-bezier(.16,.8,.18,1),
    bottom 850ms cubic-bezier(.16,.8,.18,1),
    transform 850ms cubic-bezier(.16,.8,.18,1);
}

.work-step__content h3 {
  width: 100%;
  margin: 0 auto;
  font-size: clamp(19.8px, 1.6vw, 23.1px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
}

.work-step__content p {
  visibility: hidden;
  max-width: 390px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-family: var(--font-ui);
  font-size: clamp(19px, 1.45vw, 21px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 560ms cubic-bezier(.16,.8,.18,1),
    max-height 560ms cubic-bezier(.16,.8,.18,1),
    margin-top 560ms cubic-bezier(.16,.8,.18,1),
    visibility 0s linear 560ms;
}

.work-step:hover .work-step__content p,
.work-step:focus-visible .work-step__content p {
  visibility: visible;
  max-height: 420px;
  margin-top: 24px;
  opacity: 0.82;
  transform: translateY(0);
  transition-delay: 180ms, 180ms, 120ms, 120ms, 0s;
}

.work-step.is-active .work-step__content,
.work-step:hover .work-step__content,
.work-step:focus-visible .work-step__content {
  top: 62%;
  bottom: auto;
  width: 260px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.work-step.is-active .work-step__content p {
  visibility: visible;
  max-height: 420px;
  margin-top: 24px;
  opacity: 0.82;
  transform: translateY(0);
  transition-delay: 180ms, 180ms, 120ms, 120ms, 0s;
}

@media (min-width: 901px) and (hover: hover) {
  .work-step {
    background: #0E0B0B;
    color: #F2EFE7;
  }

  .work-step:nth-child(1) { --card-accent: #5A2424; }
  .work-step:nth-child(2) { --card-accent: #243D2C; }
  .work-step:nth-child(3) { --card-accent: #23334D; }
  .work-step:nth-child(4) { --card-accent: #392A45; }
  .work-step:nth-child(5) { --card-accent: #5A4031; }
  .work-step:nth-child(6) { --card-accent: #214647; }

  .work-step::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 64% 60% at 50% 45%, var(--card-accent) 0%, color-mix(in srgb, var(--card-accent) 65%, #0E0B0B) 48%, #0E0B0B 100%);
    opacity: 0;
    pointer-events: none;
    content: "";
    transition: opacity 460ms cubic-bezier(.2,.7,.25,1);
  }

  .work-step:hover::before,
  .work-step:focus-visible::before { opacity: 1; }

  .work-step__number-window,
  .work-step__content { z-index: 1; }
  .work-step__number { color: #F2EFE7; }
}

@media (max-width: 900px) {
  .work-format {
    padding-inline: 14px;
  }

  .work-format__heading {
    display: block;
  }

  .work-format__heading h2 {
    margin-top: 0;
    text-align: left;
  }

  .work-format__eyebrow {
    margin-top: 12px;
    margin-right: 0;
    text-align: left;
    transform: none;
    white-space: normal;
  }

  .work-format__cards {
    height: 520px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .work-step {
    height: 90%;
    min-width: min(76vw, 330px);
    scroll-snap-align: center;
  }

  .work-step:hover,
  .work-step:focus-visible {
    flex-grow: 1;
  }
}

@media (max-width: 767px) {
  .work-format__heading { margin-bottom: 12px; }
  .work-format__heading h2,
  .work-format__desktop-break { display: none; }
  .work-format__eyebrow {
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.2;
    text-align: center;
    transform: translateY(-30px);
  }
  .work-format__mobile-break { display: initial; }
  .work-format__slider { position: relative; display: block; }
  .work-format__swipe-hint {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 4px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 21px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .work-format__swipe-arrow { display: inline-block; transition: transform 300ms ease; }
  .work-format__swipe-hint.is-last .work-format__swipe-arrow { transform: rotate(180deg); }
  .work-format__cards { height: auto; align-items: stretch; padding-bottom: 8px; }
  .work-step,
  .work-step:hover,
  .work-step:focus-visible {
    display: flex;
    flex: 0 0 min(76vw, 330px);
    flex-direction: column;
    height: auto;
    min-height: 340px;
    padding: 106px 16px 18px;
    transform: none;
  }
  .work-step__number-window { position: absolute; height: 82px; }
  .work-step__number { font-size: 158px; }
  .work-step__content,
  .work-step.is-active .work-step__content,
  .work-step:hover .work-step__content,
  .work-step:focus-visible .work-step__content {
    position: static;
    width: 100%;
    text-align: center;
    transform: none;
  }
  .work-step__content p,
  .work-step.is-active .work-step__content p,
  .work-step:hover .work-step__content p,
  .work-step:focus-visible .work-step__content p {
    visibility: visible;
    max-height: none;
    margin-top: 16px;
    overflow: visible;
    opacity: 0.82;
    font-size: 14px;
    line-height: 1.4;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-step,
  .work-step::before,
  .work-step__number,
  .work-step__content h3,
  .work-step__content p {
    transition: none;
  }
}

.about {
  --about-reveal: 1;
  --about-lift: 12svh;
  --about-clip: 10svh;
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: transparent;
  color: var(--dark);
}

.about.is-scroll-reveal {
  margin-top: clamp(-72px, -4vw, -48px);
}

.about__paper {
  position: relative;
  isolation: isolate;
  min-height: 85svh;
  padding: 80px 24px 88px;
  background: var(--paper);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -18px 45px rgba(45, 27, 27, 0.06);
  clip-path: inset(calc((1 - var(--about-reveal)) * var(--about-clip)) 0 0 round 32px 32px 0 0);
  transform: translateY(calc((1 - var(--about-reveal)) * var(--about-lift)));
  will-change: transform, clip-path;
}

.about__guides {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(98vw, 1600px);
  transform: translateX(-50%);
  pointer-events: none;
}

.about__guides span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--dark);
  opacity: 0.07;
}

.about__guides span:nth-child(1) { left: 0; }
.about__guides span:nth-child(2) { left: 25%; }
.about__guides span:nth-child(3) { left: 50%; }
.about__guides span:nth-child(4) { left: 75%; }
.about__guides span:nth-child(5) { left: 100%; }

.about__title {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
  margin: 0 auto;
  width: 100%;
}

.strengths-title {
  display: block;
  flex-shrink: 0;
  width: min(92vw, 1400px);
  height: auto;
  margin: 0 auto;
}
html[data-theme="dark"] .strengths-title { filter: brightness(0) invert(1); }

.about__content {
  position: relative;
  z-index: 1;
  left: 50%;
  width: min(98vw, 1600px);
  margin: calc(clamp(300px, 25vw, 375px) + 18px) 0 0;
  transform: translateX(-50%);
  font-family: var(--font-ui);
}

.about__eyebrow {
  margin: 0 0 18px 50%;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.about__statement {
  --statement-progress: 1;
  width: 100%;
  margin: 0;
  font-size: clamp(32px, 3.3vw, 58px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
  opacity: calc(0.15 + var(--statement-progress) * 0.85);
  transform: translateY(calc((1 - var(--statement-progress)) * 20px));
}

@media (min-width: 768px) {
  .about__statement {
    --copy-inset: calc(25% - 12px - clamp(150px, 13vw, 195px));
    width: calc(100% - var(--copy-inset));
    margin-left: var(--copy-inset);
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .about__statement .about__statement-lead {
    width: min(49vw, 800px);
  }
}

.about__statement p {
  display: inline;
  margin: 0;
}

.about__statement p + p {
  margin: 0;
}

.about__statement-lead {
  display: block;
  width: 50%;
  margin-left: auto;
}

.about__word {
  opacity: var(--word-progress, 1);
}

.about__inverse {
  padding: 0 0.06em;
  background: var(--dark);
  color: var(--paper);
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.about__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 75%;
  margin: clamp(32px, 2.8vw, 48px) 0 0 auto;
}

.about__metric {
  --metric-progress: 1;
  display: flex;
  flex-direction: column;
  opacity: var(--metric-progress);
  transform: translateY(calc((1 - var(--metric-progress)) * 32px));
}

.about__metric dd {
  position: relative;
  left: -0.1em;
  display: flex;
  align-items: baseline;
  order: -1;
  margin: 0;
  font-size: clamp(120px, 14vw, 230px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.085em;
  white-space: nowrap;
}

.about__number {
  position: relative;
  display: inline-block;
}

.about__plus {
  align-self: baseline;
  margin: 0 0 0 0.015em;
  color: var(--dark);
  font-size: 0.85em;
  line-height: 0.78;
  letter-spacing: -0.085em;
}

.about__metric dt {
  max-width: 92%;
  margin-top: 10px;
  font-size: clamp(11px, 1.2vw, 18px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.about__portrait-layout {
  position: absolute;
  top: calc(-13px - clamp(300px, 25vw, 375px));
  left: 0;
  width: calc(50% - 24px);
  margin: 0;
}

.about__portrait {
  --photo-progress: 1;
  width: min(100%, clamp(300px, 26vw, 390px));
  margin: 0 0 0 auto;
  opacity: var(--photo-progress);
  transform: translateY(calc((1 - var(--photo-progress)) * 24px));
}

.about__photo-slot {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid color-mix(in srgb, var(--page-text) 12%, transparent);
  object-fit: cover;
  box-shadow: 0 16px 38px color-mix(in srgb, var(--page-text) 9%, transparent);
}

.about__future-copy {
  display: none;
}

html[data-theme="dark"] .about {
  background: transparent;
  color: var(--page-text);
}

html[data-theme="dark"] .about__paper {
  background: var(--page-bg);
  color: var(--page-text);
  box-shadow: 0 -18px 45px rgba(5, 3, 3, 0.25);
}

html[data-theme="dark"] .about__guides span {
  background: var(--page-text);
  opacity: 0.09;
}

html[data-theme="dark"] .work-formats,
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .site-footer {
  border-color: var(--border);
  background: var(--page-bg);
  color: var(--page-text);
}

@media (max-width: 767px) {
  .hero__background {
    background-position: 58% center;
  }

  .about {
    --about-lift: 42px;
    --about-clip: 36px;
  }

  .about.is-scroll-reveal {
    margin-top: -32px;
  }

  .about__paper {
    min-height: 85svh;
    padding: 56px 20px 56px;
    border-radius: 24px 24px 0 0;
    clip-path: inset(calc((1 - var(--about-reveal)) * var(--about-clip)) 0 0 round 24px 24px 0 0);
  }

  .about__guides {
    width: calc(100% - 40px);
  }

  .about__guides span {
    opacity: 0.04;
  }

  .strengths-title {
    width: 94vw;
  }

  .about__content {
    width: 100%;
    margin-top: 32px;
    padding-top: calc(min(96vw, 466.67px) + 24px);
  }

  .about__statement {
    width: 100%;
    font-size: clamp(24.6px, 6.97vw, 39.36px);
    line-height: 1.12;
    transform: translateY(calc((1 - var(--statement-progress)) * 12px));
  }

  .about__statement p {
    display: block;
  }

  .about__statement p:first-child { text-indent: 25%; }

  .about__statement p + p {
    margin-top: 0.4em;
  }

  .about__statement-lead {
    display: inline;
    width: auto;
    margin: 0;
  }

  .about__metrics {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 36px;
  }

  .about__eyebrow {
    position: absolute;
    top: min(68vw, 330px);
    left: 0;
    width: calc(25% - 12px);
    margin: 0;
    color: #F2EFE7;
    line-height: 1.25;
  }

  .about__metric dd {
    font-size: clamp(48px, 14vw, 62px);
  }

  .about__metric dt {
    margin-top: 12px;
    font-size: 11px;
  }

  .about__portrait-layout {
    top: 0;
    width: 100%;
    margin: 0;
  }

  .about__portrait {
    width: min(72vw, 350px);
    margin-left: 25%;
  }

  .about__future-copy {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .works.is-calculator-transition {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .about.is-scroll-reveal {
    margin-top: 0;
  }

  .about__paper {
    clip-path: none;
    transform: none;
    will-change: auto;
  }

  .about__statement,
  .about__metric,
  .about__portrait,
  .about__word {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee__track {
    animation-play-state: paused;
  }
}

@media (max-width: 900px) {
  .hero__statement {
    left: 0;
    width: min(56vw, 560px);
  }

  .hero__actions {
    left: 0;
    width: min(56vw, 560px);
  }

  .hero__handwritten-note {
    top: calc(7% - 18px);
    left: 52%;
    width: clamp(130.5px, 15.3vw, 153px);
  }

  .hero-portrait {
    right: 0;
    width: clamp(350px, 43vw, 430px);
  }

}

@media (max-width: 767px) {
  body:has(.header) {
    --site-header-flow-offset: 68px;
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }

  .header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    height: 68px;
    padding: 13px 18px;
    box-shadow: none;
  }

  .brand {
    position: relative;
    z-index: 2;
    overflow: hidden;
    font-size: clamp(16px, 4.5vw, 19px);
    text-overflow: ellipsis;
  }

  .nav,
  .header__right {
    display: none;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 28px;
    padding: 5px 3px;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 1px;
    align-self: center;
    background: currentColor;
    transform-origin: center;
    transition: opacity 260ms ease, transform 320ms cubic-bezier(.22, .75, .18, 1);
  }

  .mobile-menu {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 96px 20px 40px;
    background: var(--page-bg);
    color: var(--page-text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 320ms ease, visibility 320ms ease, transform 420ms cubic-bezier(.22, .75, .18, 1);
  }

  .mobile-menu a {
    width: max-content;
    font-size: clamp(42px, 13vw, 68px);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.055em;
  }

  .mobile-menu__socials {
    position: absolute;
    right: 20px;
    bottom: 28px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--accent-ink);
  }

  .mobile-menu__socials a {
    width: auto;
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .header.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .benefits-scroll__pin {
    padding: 16px 12px;
  }

  .benefits-scroll__stage {
    height: 82svh;
  }

  .benefits-scroll__title {
    top: 40%;
    left: 50%;
    width: 88%;
  }

  .benefits-scroll__title h2 {
    font-size: clamp(25px, 8vw, 38px);
  }

  .benefits-scroll__description {
    top: calc(40% + 48px);
    right: 0;
    left: 0;
    width: min(320px, calc(100% - 48px));
    margin-inline: auto;
    font-size: 13px;
    text-align: center;
    transform: none;
  }

  .benefits-scroll__counter {
    top: 40%;
    left: 20px;
    width: 46px;
    height: 46px;
    font-size: 34px;
    line-height: 46px;
  }

  .solution-reveal {
    min-height: 50svh;
    margin: 20px;
  }

  .solution-reveal__content {
    opacity: 0.4;
    -webkit-mask-image: none;
    mask-image: none;
    will-change: auto;
  }

  .solution-reveal__base {
    display: none;
  }

  .solution-reveal h2 {
    font-size: clamp(42px, 14.9vw, 75px);
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
    padding: 0 18px 18px;
  }

  .hero__background--light,
  .hero__background--dark {
    bottom: 0;
    height: auto;
    background-image: url("../assets/graphics/home-hero-mobile.webp");
    background-position: center;
    background-size: cover;
  }

  .hero__stage {
    display: block;
    height: 100%;
    min-height: 0;
    flex: none;
    padding: 0;
  }

  .hero__statement {
    position: absolute;
    top: calc(17% - 35px);
    left: 0;
    width: 100%;
    transform: none;
  }

  .hero-cost-cta {
    top: 25%;
    right: auto;
    left: 0;
    min-height: 44px;
    padding-inline: 18px;
    font-size: 10px;
    transform: none;
  }

  .hero__actions {
    top: calc(29% + 25px);
    right: 16px;
    left: 16px;
    width: auto;
  }

  .hero-title {
    width: 100%;
    text-align: left;
  }

  .hero-title__primary,
  .hero-title__secondary {
    font-size: clamp(32px, 8.8vw, 52px);
    line-height: 1.02;
  }

  .hero-title__primary {
    width: max-content;
    white-space: nowrap;
  }

  .hero-title__brush {
    width: 112%;
  }

  .hero__handwritten-note,
  html[lang="en"] .hero__handwritten-note-en,
  .works-link,
  .marquee {
    display: none;
  }

  .hero__footer {
    position: absolute;
    z-index: 4;
    top: 42%;
    right: 16px;
    left: 16px;
    display: block;
    padding: 0;
  }

  .hero__footer::before {
    display: none;
  }

  .estimate-link {
    width: 100%;
    height: 58px;
    min-height: 0;
    margin: 0;
    font-size: clamp(13px, 3.5vw, 15px);
  }

  .hero__actions .estimate-link__text {
    padding-inline: 28px;
  }

  .hero-contact-link {
    position: relative;
    top: auto;
    margin-top: 10px;
  }

  .hero-stats {
    gap: 10px;
    width: 100%;
    margin-top: 31px;
  }

  .hero-stats__item span {
    max-width: 105px;
  }

  .hero-portrait {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: min(88vw, 430px);
    height: min(62svh, 560px);
    margin: 16px auto 0;
  }

  .hero-portrait img {
    object-position: 50% 18%;
  }

}

@media (max-width: 420px) {
  .hero__stage {
    padding-top: 0;
  }

  .hero-portrait {
    width: 90vw;
    height: min(60svh, 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-scroll {
    min-height: 0;
    height: auto;
  }

  .benefits-scroll__pin {
    height: auto;
    min-height: 100svh;
  }

  .benefits-scroll__stage {
    min-height: 720px;
  }

  .benefits-scroll__phrase:not(:first-child) {
    display: none;
  }

  .solution-reveal__content {
    opacity: 0.4;
    -webkit-mask-image: none;
    mask-image: none;
    will-change: auto;
  }

  .solution-reveal__base {
    display: none;
  }

  .hero-portrait,
  .hero-title {
    opacity: 1;
    transition: none;
    transform: none;
  }
}

/* Shared mobile project enquiry and temporary legal pages. */
.mobile-max-link { display: none; }
body.is-request-open { overflow: hidden; }

.site-request-modal {
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: clamp(22px, 4vw, 40px);
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: var(--font-ui);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.site-request-modal.is-visible { opacity: 1; transform: translateY(0); }
.site-request-modal::backdrop { background: rgba(0, 0, 0, 0.68); animation: request-backdrop-in 300ms both; }
@keyframes request-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.site-request-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 29px;
  font-weight: 300;
  cursor: pointer;
}
.site-request-modal__kicker { margin: 0 42px 22px 0; color: var(--accent-ink); font-size: 10px; letter-spacing: .12em; }
.site-request-modal h2 { max-width: 490px; margin: 0 0 16px; font-size: clamp(31px, 6vw, 54px); line-height: .98; letter-spacing: -.05em; }
.site-request-modal__intro { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.site-request-modal__form { display: grid; gap: 17px; }
.site-request-modal__form > label:not(.site-request-modal__consent) { display: grid; gap: 8px; font-size: 10px; letter-spacing: .08em; }
.site-request-modal__form input:not([type="checkbox"]),
.site-request-modal__form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  letter-spacing: 0;
  resize: vertical;
}
.site-request-modal__form textarea { min-height: 96px; }
.site-request-modal__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.5; }
.site-request-modal__consent input { flex: none; margin: 3px 0 0; accent-color: var(--accent); }
.site-request-modal__consent a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.site-request-modal__policies { margin: -8px 0 0 25px; font-size: 10px; line-height: 1.5; opacity: .7; }
.site-request-modal__policies a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-request-modal__submit { min-height: 52px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: var(--accent-contrast); font-size: 12px; font-weight: 600; letter-spacing: .03em; cursor: pointer; }
.site-request-modal__submit:hover { background: var(--accent-hover); }
.site-request-modal__submit:active { background: var(--accent-active); }
.site-request-modal__response-time { margin: 0; text-align: center; font-size: 9px; letter-spacing: .08em; }
.site-request-modal__status { min-height: 1em; margin: 0; color: var(--accent-ink); font-size: 11px; line-height: 1.4; }

.legal-page .header { background: var(--page-bg); color: var(--page-text); }
.legal-main { width: min(100% - 40px, 900px); min-height: 70svh; margin: 0 auto; padding: 150px 0 100px; }
.legal-back { display: inline-block; margin-bottom: 58px; color: var(--accent-ink); font-size: 11px; text-decoration: none; }
.legal-main h1 { max-width: 820px; margin: 0 0 64px; font-size: clamp(40px, 7vw, 86px); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.legal-main__copy { max-width: 630px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 767px) {
  .header:has(.mobile-menu-toggle) { grid-template-columns: minmax(0, 1fr) 40px 34px; gap: 8px; }
  .header:not(:has(.mobile-menu-toggle)) { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; }
  .header .brand,
  .portfolio-body .header .brand { font-size: clamp(14.5px, 4.1vw, 17.3px); }
  .mobile-max-link {
    position: relative;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 8px;
    place-items: center;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
  }
  .mobile-max-link svg { width: 26px; height: 26px; }
  .mobile-max-link:hover,
  .mobile-max-link:focus-visible { color: var(--accent-ink); }
  .site-request-modal { padding: 24px 18px; }
  .site-request-modal h2 { font-size: clamp(30px, 8vw, 38px); }
  .legal-main { padding: 110px 0 70px; }
}

@media (max-width: 768px) {
  body.is-mobile-menu-open { overflow: hidden; }
  .header:has(.mobile-menu-toggle) { height: 68px; padding: 13px 18px; }
  .header:has(.mobile-menu-toggle) { grid-template-columns: minmax(0, 1fr) 40px 34px; }
  .header .brand { font-size: clamp(14.5px, 4.1vw, 17.3px); }
  .header .nav, .header .header__right { display: none; }
  .mobile-max-link { position: relative; z-index: 2; display: grid; width: 40px; height: 40px; padding: 8px; place-items: center; border: 0; background: transparent; color: currentColor; }
  .mobile-max-link svg { width: 26px; height: 26px; }
  .mobile-menu-toggle { position: relative; z-index: 2; display: grid; width: 34px; height: 28px; padding: 5px 3px; border: 0; background: transparent; color: currentColor; cursor: pointer; }
  .mobile-menu-toggle span { display: block; width: 28px; height: 1px; align-self: center; background: currentColor; transform-origin: center; transition: opacity 260ms ease, transform 320ms cubic-bezier(.22, .75, .18, 1); }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    --accent-ink: color-mix(in srgb, var(--accent) 85%, #F2EFE7);
    display: flex;
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 96px 20px 28px;
    background: #0E0B0B;
    color: #F2EFE7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 320ms ease, visibility 320ms ease, transform 320ms cubic-bezier(.22, .75, .18, 1);
  }
  .mobile-menu::before, .mobile-menu::after { position: absolute; top: 68px; bottom: 0; width: 1px; background: rgba(242, 239, 231, .045); content: ""; pointer-events: none; }
  .mobile-menu::before { left: 34%; }
  .mobile-menu::after { left: 68%; }
  .mobile-menu__links, .mobile-menu__socials { position: relative; z-index: 1; flex: none; }
  .mobile-menu__item { border-bottom: 1px solid rgba(242, 239, 231, .2); }
  .mobile-menu__row { min-height: 92px; }
  .mobile-menu .mobile-menu__row > .mobile-menu__expand,
  .mobile-menu .mobile-menu__row > .mobile-menu__works { display: grid; width: 100%; min-height: 92px; grid-template-columns: minmax(0, 1fr) 44px; align-content: center; align-items: center; gap: 8px 12px; padding: 12px 0; border: 0; background: none; color: #F2EFE7; text-align: left; cursor: pointer; }
  .mobile-menu__title { position: relative; grid-column: 1; grid-row: 1; font-size: clamp(32px, 9vw, 38px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
  .mobile-menu__indicator { position: relative; display: grid; width: 44px; height: 44px; grid-column: 2; grid-row: 1; place-items: center; font-size: 26px; font-weight: 300; line-height: 1; }
  .mobile-menu__indicator::before { position: absolute; top: 50%; right: calc(100% + 3px); width: 13px; border-top: 1px solid rgba(242, 239, 231, .25); content: ""; }
  .mobile-menu__item.is-expanded .mobile-menu__title { color: var(--accent-ink); }
  .mobile-menu__item.is-expanded .mobile-menu__title::before { position: absolute; top: 50%; left: -15px; width: 5px; height: 5px; background: var(--accent); content: ""; transform: translateY(-50%); }
  .mobile-menu__submenu { max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height 300ms ease, opacity 300ms ease, visibility 300ms ease; }
  .mobile-menu__item.is-expanded .mobile-menu__submenu { max-height: 360px; opacity: 1; visibility: visible; }
  .mobile-menu__submenu-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 10px 0 24px 20px; transform: translateY(-8px); transition: transform 300ms ease; }
  .mobile-menu__item.is-expanded .mobile-menu__submenu-inner { transform: translateY(0); }
  .mobile-menu .mobile-menu__submenu a { display: flex; width: auto; gap: 10px; color: rgba(242, 239, 231, .7); font-size: clamp(14px, 3.8vw, 16px); font-weight: 400; line-height: 1.25; letter-spacing: 0; }
  .mobile-menu__submenu a::before { color: var(--accent-ink); content: "—"; }
  .mobile-menu .mobile-menu__submenu a:hover, .mobile-menu .mobile-menu__submenu a:focus-visible { color: #F2EFE7; }
  .mobile-menu__languages { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin-top: 24px; color: rgba(242, 239, 231, .55); }
  .mobile-menu__languages button { border: 0; padding: 8px 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
  .mobile-menu__languages button[aria-pressed="true"] { color: var(--accent-ink); }
  .mobile-menu__contacts { position: relative; z-index: 1; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(242, 239, 231, .2); }
  .mobile-menu .mobile-menu__email { display: inline-block; max-width: 100%; color: rgba(242, 239, 231, .68); font-size: clamp(12px, 3.5vw, 14px); font-weight: 400; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }
  .mobile-menu .mobile-menu__email:hover, .mobile-menu .mobile-menu__email:focus-visible { color: var(--accent-ink); }
  .mobile-menu__socials { position: static; display: flex; width: 100%; justify-content: flex-start; gap: 14px; margin-top: 12px; color: #F2EFE7; }
  .mobile-menu .mobile-menu__socials a { display: grid; width: 44px; height: 44px; place-items: center; color: inherit; }
  .mobile-menu__socials svg { display: block; width: 24px; height: 24px; }
  .mobile-menu .mobile-menu__socials a:hover, .mobile-menu .mobile-menu__socials a:focus-visible { color: var(--accent-ink); }
  .header.is-menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .header.is-menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header.is-menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .header.is-menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  #about, #calculator, #advantages, #work-format, #strengths, #faq, #blog,
  #yandex-direct, #ai-video, #video-editing { scroll-margin-top: 76px; }
  .header,
  .header.is-menu-open,
  html[data-theme="dark"] .header,
  .legal-page .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    border: 1px solid rgba(242, 239, 231, .15);
    background: #0E0B0B;
    color: #F2EFE7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-request-modal,
  .site-request-modal::backdrop { animation: none; transition: none; }
}

.site-request-modal__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
