@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:wght@500;600;700&family=Manrope:wght@400;500;600;700&family=PT+Sans:wght@400;700&family=PT+Serif:wght@400;700&display=swap');

:root {
  --ink: #202426;
  --ink-soft: #363b3d;
  --ink-deep: #131617;
  --forest: #3c4447;
  --paper: #f2f1ed;
  --paper-deep: #e1e0dc;
  --white: #fdfcf9;
  --brass: #817a6f;
  --brass-light: #aaa297;
  --clay: #596267;
  --line: rgba(32, 36, 38, 0.18);
  --muted: #676c6d;
  --header-bg: rgba(242, 241, 237, 0.95);
  --image-overlay-light: rgba(32, 36, 38, 0.18);
  --image-overlay-dark: rgba(32, 36, 38, 0.5);
  --image-overlay-solid: rgba(32, 36, 38, 0.74);
  --shadow: 0 24px 70px rgba(19, 22, 23, 0.14);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', Arial, sans-serif;
  --shell: min(1240px, calc(100% - 64px));
  --content-body: 18px;
  --content-small: 16px;
  --content-note: 14px;
  --content-leading: 1.72;
}

html[data-content-size='standard'] {
  --content-body: 16px;
  --content-small: 14px;
  --content-note: 12px;
  --content-leading: 1.7;
}

html[data-content-size='large'] {
  --content-body: 20px;
  --content-small: 18px;
  --content-note: 16px;
  --content-leading: 1.75;
}

html[data-type='plex'] {
  --serif: 'IBM Plex Serif', Georgia, serif;
  --sans: 'IBM Plex Sans', Arial, sans-serif;
}

html[data-type='pt'] {
  --serif: 'PT Serif', Georgia, serif;
  --sans: 'PT Sans', Arial, sans-serif;
}

html[data-type='sans'] {
  --serif: 'Manrope', Arial, sans-serif;
  --sans: 'Manrope', Arial, sans-serif;
}

html[data-palette='forest'] {
  --ink: #17211d;
  --ink-soft: #28342f;
  --ink-deep: #101713;
  --forest: #314b40;
  --paper: #f4f0e8;
  --paper-deep: #e7dfd2;
  --white: #fffdf8;
  --brass: #b8864b;
  --brass-light: #d2ad79;
  --clay: #97583f;
  --line: rgba(23, 33, 29, 0.18);
  --muted: #6f756f;
  --header-bg: rgba(244, 240, 232, 0.95);
  --image-overlay-light: rgba(23, 33, 29, 0.18);
  --image-overlay-dark: rgba(23, 33, 29, 0.48);
  --image-overlay-solid: rgba(23, 33, 29, 0.72);
  --shadow: 0 24px 70px rgba(20, 29, 25, 0.14);
}

html[data-palette='navy'] {
  --ink: #182331;
  --ink-soft: #2b3948;
  --ink-deep: #101821;
  --forest: #2b4157;
  --paper: #f3f1ec;
  --paper-deep: #e1e5e7;
  --white: #fffdfa;
  --brass: #a77e47;
  --brass-light: #d0ad77;
  --clay: #855d3d;
  --line: rgba(24, 35, 49, 0.18);
  --muted: #6b737b;
  --header-bg: rgba(243, 241, 236, 0.95);
  --image-overlay-light: rgba(24, 35, 49, 0.18);
  --image-overlay-dark: rgba(24, 35, 49, 0.5);
  --image-overlay-solid: rgba(24, 35, 49, 0.74);
  --shadow: 0 24px 70px rgba(16, 24, 33, 0.15);
}

html[data-palette='burgundy'] {
  --ink: #221d1f;
  --ink-soft: #382e31;
  --ink-deep: #151214;
  --forest: #4a3037;
  --paper: #f4eee7;
  --paper-deep: #e8dbd3;
  --white: #fffaf5;
  --brass: #a98256;
  --brass-light: #d0ad7f;
  --clay: #7c3842;
  --line: rgba(34, 29, 31, 0.18);
  --muted: #746a68;
  --header-bg: rgba(244, 238, 231, 0.95);
  --image-overlay-light: rgba(34, 29, 31, 0.2);
  --image-overlay-dark: rgba(34, 29, 31, 0.52);
  --image-overlay-solid: rgba(34, 29, 31, 0.74);
  --shadow: 0 24px 70px rgba(29, 18, 21, 0.15);
}

html[data-palette='graphite'] {
  --ink: #202426;
  --ink-soft: #363b3d;
  --ink-deep: #131617;
  --forest: #3c4447;
  --paper: #f2f1ed;
  --paper-deep: #e1e0dc;
  --white: #fdfcf9;
  --brass: #817a6f;
  --brass-light: #aaa297;
  --clay: #596267;
  --line: rgba(32, 36, 38, 0.18);
  --muted: #6d7273;
  --header-bg: rgba(242, 241, 237, 0.95);
  --image-overlay-light: rgba(32, 36, 38, 0.18);
  --image-overlay-dark: rgba(32, 36, 38, 0.5);
  --image-overlay-solid: rgba(32, 36, 38, 0.74);
  --shadow: 0 24px 70px rgba(19, 22, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--clay);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.section--compact {
  padding-block: 80px;
}

.section-kicker,
.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: '';
}

.section-title {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.section-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading-row {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 54px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.button--light:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-block: 6px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: '↗';
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.utility-bar {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-bar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
}

.utility-bar__links {
  display: flex;
  gap: 22px;
}

.utility-bar a {
  text-decoration: none;
}

.utility-bar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  min-height: 88px;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}

.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.brand__role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  align-items: center;
  justify-content: center;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--clay);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: grid;
  justify-items: end;
  text-decoration: none;
}

.header-contact span:first-child {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.header-contact span:last-child {
  margin-top: 4px;
  color: var(--clay);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  content: '';
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded='true'] span {
  opacity: 0;
}

.menu-toggle[aria-expanded='true']::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true']::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  min-height: 675px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: stretch;
}

.hero__content {
  display: flex;
  min-width: 0;
  max-width: 750px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 84px 76px 84px 0;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.87;
}

.hero__lawyer {
  margin: 29px 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.15;
}

.hero__lead {
  max-width: 610px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  color: var(--white);
  background-color: var(--ink);
  background-image: linear-gradient(var(--image-overlay-light), var(--image-overlay-dark)), url('assets/site-visuals/hero-architecture.webp');
  background-position: center;
  background-size: cover;
}

.hero__visual::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  content: '';
}

.hero__femida {
  position: absolute;
  right: -3px;
  bottom: 0;
  width: min(54%, 276px);
  filter: saturate(0.65) sepia(0.1);
}

.hero__visual-note {
  position: absolute;
  top: 46px;
  left: 46px;
  max-width: 190px;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero__experience {
  position: absolute;
  bottom: 42px;
  left: 42px;
  z-index: 2;
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--image-overlay-solid);
  text-align: center;
}

.hero__experience strong {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 0.8;
}

.hero__experience span {
  margin-top: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-rail {
  color: var(--white);
  background: var(--forest);
}

.contact-rail__inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: repeat(5, auto);
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.contact-rail a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.contact-rail a:hover {
  color: var(--white);
}

.contact-rail__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.27);
  font-family: var(--serif);
  font-size: 12px;
}

.promise {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.promise__quote {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 68px;
}

.promise__index {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 92px;
  line-height: 0.8;
}

.promise__quote h2 {
  max-width: 940px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.promise__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  min-height: 185px;
  padding: 34px 32px 34px 0;
  border-right: 1px solid var(--line);
}

.fact + .fact {
  padding-left: 32px;
}

.fact:last-child {
  border-right: 0;
}

.fact__number {
  display: block;
  margin-bottom: 20px;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.fact p {
  max-width: 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-panel {
  position: relative;
  min-height: 700px;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-panel--dark {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.service-panel__number {
  position: absolute;
  top: 42px;
  right: 44px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1;
}

.service-panel h3 {
  max-width: 400px;
  margin: 0 80px 40px 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.service-panel h4 {
  margin: 40px 0 15px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-panel--dark h4 {
  color: var(--brass-light);
}

.service-list,
.problem-list,
.skills-list,
.article-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.service-panel--dark .service-list li {
  border-color: rgba(255, 255, 255, 0.14);
}

.service-list li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--clay);
  content: '';
  transform: rotate(45deg);
}

.service-panel--dark .service-list li::before {
  border-color: var(--brass-light);
}

.service-list a {
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.problem-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.problem-list li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
}

.service-panel--dark .problem-list li {
  border-color: rgba(255, 255, 255, 0.18);
}

.problem-list a {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
}

.editorial-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.editorial-link {
  display: grid;
  min-height: 245px;
  grid-template-rows: auto 1fr auto;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.editorial-link:hover {
  color: var(--white);
  background: var(--forest);
}

.editorial-link__label {
  color: var(--clay);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-link:hover .editorial-link__label {
  color: var(--brass-light);
}

.editorial-link h4 {
  max-width: 270px;
  margin: 28px 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.05;
}

.editorial-link__arrow {
  font-size: 22px;
  justify-self: end;
}

.mid-cta {
  color: var(--white);
  background: var(--clay);
}

.mid-cta__inner {
  display: grid;
  min-height: 210px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: center;
}

.mid-cta h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.expertise {
  color: var(--white);
  background: var(--ink);
}

.expertise__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
  gap: 78px;
  align-items: stretch;
}

.expertise__visual {
  position: relative;
  min-height: 610px;
  background: url('assets/site-visuals/expertise-clear-route.webp') center / cover;
}

.expertise__visual::after {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.43);
  content: '';
}

.expertise__visual span {
  position: absolute;
  right: -22px;
  bottom: 42px;
  z-index: 2;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--brass-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expertise__content {
  padding-block: 42px;
}

.expertise .section-kicker {
  color: var(--brass-light);
}

.expertise .section-title {
  max-width: 680px;
}

.skills-list {
  margin-top: 48px;
  counter-reset: skill;
}

.skills-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  counter-increment: skill;
}

.skills-list li::before {
  color: var(--brass-light);
  content: counter(skill, decimal-leading-zero);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-section {
  background: var(--white);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 70px;
  align-items: start;
}

.price-aside {
  position: sticky;
  top: 130px;
}

.price-aside__image {
  min-height: 260px;
  margin-top: 30px;
  background: url('assets/site-visuals/price-clear-route.webp') center / cover;
}

.price-aside p {
  color: var(--muted);
  font-size: 13px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table tr {
  border-top: 1px solid var(--line);
}

.price-table tr:last-child {
  border-bottom: 1px solid var(--line);
}

.price-table td {
  padding: 24px 0;
  vertical-align: top;
}

.price-table td:first-child {
  padding-right: 38px;
  font-size: 14px;
}

.price-table td:last-child {
  width: 180px;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.reviews-section {
  overflow: hidden;
  background: var(--paper-deep);
}

.reviews-controls {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  transition: color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
  color: var(--white);
  background: var(--ink);
}

.reviews-track {
  display: grid;
  grid-auto-columns: minmax(270px, 31%);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 3px max(32px, calc((100vw - 1240px) / 2)) 28px;
  scroll-behavior: smooth;
  scroll-padding-inline: max(32px, calc((100vw - 1240px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--clay) transparent;
  scrollbar-width: thin;
}

.review-item {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.review-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 300ms ease;
}

.review-item:hover img {
  transform: scale(1.015);
}

.review-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 30px;
  color: var(--white);
  background: rgba(10, 15, 12, 0.94);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__image {
  max-width: min(900px, 80vw);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.lightbox__close {
  top: 20px;
  right: 20px;
  font-size: 26px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  font-size: 22px;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 20px;
}

.lightbox__next {
  right: 20px;
}

.lightbox__count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  font-size: 11px;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.contact-section {
  color: var(--white);
  background: var(--forest);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: 80px;
  align-items: start;
}

.contact-copy .section-kicker {
  color: var(--brass-light);
}

.contact-copy .section-title {
  max-width: 580px;
}

.contact-copy > p {
  max-width: 530px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.contact-list a {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--serif);
  font-size: 21px;
  text-decoration: none;
}

.contact-list a::after {
  color: var(--brass-light);
  content: '↗';
  font-family: var(--sans);
  font-size: 14px;
}

.lead-form {
  padding: 48px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 24px;
}

.lead-form__field {
  display: grid;
  gap: 8px;
}

.lead-form__field--wide {
  grid-column: 1 / -1;
}

.lead-form__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form__input,
.lead-form__textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  transition: border-color 180ms ease;
}

.lead-form__textarea {
  min-height: 102px;
  resize: vertical;
}

.lead-form__input:focus,
.lead-form__textarea:focus {
  border-color: var(--clay);
}

.lead-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 26px 0;
  color: var(--muted);
  font-size: 11px;
}

.lead-form__consent input {
  margin-top: 4px;
  accent-color: var(--clay);
}

.lead-form .button {
  width: 100%;
}

.lead-form__status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--forest);
  font-size: 12px;
  text-align: center;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink-deep);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-block: 56px;
}

.site-footer .brand__name,
.site-footer .brand__role {
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  min-height: 66px;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
}

.article-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.article-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background: var(--article-image, url('assets/books.jpg')) center / cover;
  content: '';
  opacity: 0.36;
}

.article-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 480px;
  max-width: 820px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  text-decoration: none;
}

.article-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.3vw, 88px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.article-hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.article-content {
  background: var(--white);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 90px;
  align-items: start;
}

.article-body {
  max-width: 830px;
}

.article-block + .article-block {
  margin-top: 90px;
}

.article-block h2 {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.article-list {
  counter-reset: item;
}

.article-list > li {
  position: relative;
  padding: 20px 0 20px 55px;
  border-top: 1px solid var(--line);
  counter-increment: item;
}

.article-list > li::before {
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--clay);
  content: counter(item, decimal-leading-zero);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-list ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.article-list ul li {
  margin-block: 8px;
}

.article-aside {
  position: sticky;
  top: 130px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.article-aside__number {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
}

.article-aside h3 {
  margin: 22px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.article-aside p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.article-aside .button {
  width: 100%;
  padding-inline: 14px;
  font-size: 10px;
}

/* Content sizing stays independent from display headings and navigation. */
.hero__lead,
.section-lead,
.article-hero__inner > p:not(.eyebrow),
.article-list > li {
  font-size: var(--content-body);
  line-height: var(--content-leading);
}

.fact p,
.service-list li,
.problem-list li,
.skills-list li,
.price-aside p,
.price-table td:first-child,
.contact-copy > p,
.lead-form__input,
.lead-form__textarea,
.article-aside p {
  font-size: var(--content-small);
  line-height: var(--content-leading);
}

.hero__visual-note,
.lead-form__consent,
.site-footer__bottom {
  font-size: var(--content-note);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prototype-switcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 420;
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.35;
}

.prototype-switcher__toggle {
  display: flex;
  width: 156px;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--brass);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 34px rgba(12, 18, 15, 0.2);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-switcher__toggle-mark {
  color: var(--brass-light);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.06em;
  text-transform: none;
}

.prototype-switcher__panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: 360px;
  max-height: min(720px, calc(100vh - 100px));
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 22px 70px rgba(12, 18, 15, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.prototype-switcher.is-open .prototype-switcher__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.prototype-switcher__header {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.prototype-switcher__header strong {
  display: block;
  font-size: 13px;
}

.prototype-switcher__header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.prototype-switcher__badge {
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid var(--brass);
  color: var(--clay);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-switcher__group {
  margin: 19px 0 0;
  padding: 0;
  border: 0;
}

.prototype-switcher__legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prototype-switcher__types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.prototype-switcher__type,
.prototype-switcher__size,
.prototype-switcher__palette {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.prototype-switcher__type {
  min-height: 92px;
  padding: 12px;
}

.prototype-switcher__type:hover,
.prototype-switcher__size:hover,
.prototype-switcher__palette:hover,
.prototype-switcher__type[aria-pressed='true'],
.prototype-switcher__size[aria-pressed='true'],
.prototype-switcher__palette[aria-pressed='true'] {
  border-color: var(--clay);
  background: var(--paper);
}

.prototype-switcher__type[aria-pressed='true'],
.prototype-switcher__size[aria-pressed='true'],
.prototype-switcher__palette[aria-pressed='true'] {
  box-shadow: inset 3px 0 0 var(--clay);
}

.prototype-switcher__sample {
  display: block;
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1;
}

[data-type-option='editorial'] .prototype-switcher__sample {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

[data-type-option='plex'] .prototype-switcher__sample {
  font-family: 'IBM Plex Serif', Georgia, serif;
}

[data-type-option='pt'] .prototype-switcher__sample {
  font-family: 'PT Serif', Georgia, serif;
}

[data-type-option='sans'] .prototype-switcher__sample {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.prototype-switcher__type-name {
  display: block;
  font-size: 10px;
  font-weight: 700;
}

.prototype-switcher__type-pair {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.prototype-switcher__sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.prototype-switcher__size {
  min-height: 82px;
  padding: 10px;
  text-align: center;
}

.prototype-switcher__size-sample,
.prototype-switcher__size-name,
.prototype-switcher__size-value {
  display: block;
}

.prototype-switcher__size-sample {
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1;
}

[data-content-size-option='comfortable'] .prototype-switcher__size-sample {
  font-size: 19px;
}

[data-content-size-option='large'] .prototype-switcher__size-sample {
  font-size: 22px;
}

.prototype-switcher__size-name {
  font-size: 9px;
  font-weight: 700;
}

.prototype-switcher__size-value {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.prototype-switcher__palettes {
  display: grid;
  gap: 7px;
}

.prototype-switcher__palette {
  display: grid;
  min-height: 46px;
  grid-template-columns: 63px 1fr;
  gap: 11px;
  align-items: center;
  padding: 8px 10px;
}

.prototype-switcher__swatches {
  display: grid;
  height: 26px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.prototype-switcher__swatches i:nth-child(1) {
  background: var(--swatch-1);
}

.prototype-switcher__swatches i:nth-child(2) {
  background: var(--swatch-2);
}

.prototype-switcher__swatches i:nth-child(3) {
  background: var(--swatch-3);
}

.prototype-switcher__palette-name {
  font-size: 10px;
  font-weight: 700;
}

.prototype-switcher__footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.prototype-switcher__current {
  max-width: 220px;
  color: var(--muted);
  font-size: 9px;
}

.prototype-switcher__reset {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--clay);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .prototype-switcher {
    right: 12px;
    bottom: 12px;
  }

  .prototype-switcher__toggle {
    width: 52px;
    padding-inline: 8px;
  }

  .prototype-switcher__toggle-text {
    display: none;
  }

  .prototype-switcher__panel {
    right: 0;
    bottom: 60px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 92px);
    padding: 18px;
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 44px, 980px);
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 24px max(22px, calc((100% - 980px) / 2));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .header-contact {
    order: 3;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.72fr);
  }

  .hero__content {
    padding-right: 40px;
  }

  .hero__title {
    font-size: clamp(52px, 7vw, 74px);
  }

  .contact-rail__inner {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    padding-block: 20px;
  }

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

  .service-panel {
    min-height: 0;
  }

  .price-layout,
  .contact-layout {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .section {
    padding-block: 78px;
  }

  .section--compact {
    padding-block: 60px;
  }

  .utility-bar__inner > span {
    display: none;
  }

  .utility-bar__inner {
    justify-content: center;
  }

  .site-header__inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    order: initial;
  }

  .header-contact {
    display: none;
  }

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

  .hero__content {
    padding: 70px 0;
  }

  .hero__visual {
    min-height: 480px;
  }

  .contact-rail__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .promise__quote {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .promise__index {
    font-size: 58px;
  }

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

  .fact,
  .fact + .fact {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .editorial-link-grid {
    grid-template-columns: 1fr;
  }

  .editorial-link {
    min-height: 190px;
  }

  .mid-cta__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 52px;
  }

  .mid-cta .button {
    justify-self: start;
  }

  .expertise__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .expertise__visual {
    min-height: 420px;
  }

  .expertise__visual span {
    right: 20px;
  }

  .price-layout,
  .contact-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .price-aside,
  .article-aside {
    position: static;
  }

  .price-aside__image {
    display: none;
  }

  .reviews-track {
    grid-auto-columns: minmax(260px, 72%);
  }

  .contact-layout {
    gap: 54px;
  }

  .contact-copy {
    order: 2;
  }

  .lead-form {
    order: 1;
  }

  .site-footer__top,
  .site-footer__bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer__top {
    display: grid;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .site-footer__bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }

  .article-hero::after {
    width: 100%;
    opacity: 0.15;
  }

  .article-hero__inner {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .utility-bar__links {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__role {
    display: none;
  }

  .hero__content {
    padding: 58px 0;
  }

  .hero__title {
    font-size: clamp(49px, 15vw, 64px);
  }

  .hero__actions,
  .hero__actions .button,
  .hero__secondary {
    width: 100%;
  }

  .hero__secondary {
    justify-content: center;
  }

  .hero__visual {
    min-height: 400px;
  }

  .hero__visual::before {
    inset: 14px;
  }

  .hero__visual-note {
    top: 32px;
    left: 32px;
  }

  .hero__experience {
    bottom: 24px;
    left: 24px;
    width: 126px;
    height: 126px;
  }

  .hero__experience strong {
    font-size: 44px;
  }

  .contact-rail__inner {
    grid-template-columns: 1fr;
  }

  .contact-rail a {
    font-size: 11px;
  }

  .section-heading-row {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 43px;
  }

  .promise__quote h2 {
    font-size: 38px;
  }

  .service-panel {
    padding: 34px 24px;
  }

  .service-panel__number {
    top: 26px;
    right: 24px;
    font-size: 48px;
  }

  .service-panel h3 {
    margin-right: 55px;
    font-size: 40px;
  }

  .editorial-link {
    padding: 26px;
  }

  .expertise__visual {
    min-height: 340px;
  }

  .expertise__content {
    padding-bottom: 0;
  }

  .price-table td {
    display: block;
    padding: 16px 0 0;
  }

  .price-table td:last-child {
    width: auto;
    padding: 5px 0 16px;
    font-size: 23px;
    text-align: left;
  }

  .reviews-controls {
    display: none;
  }

  .review-item {
    height: 450px;
  }

  .lead-form {
    padding: 32px 22px;
  }

  .lead-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    font-size: 17px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox {
    padding: 15px;
  }

  .lightbox__image {
    max-width: 94vw;
    max-height: 80vh;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .article-hero h1 {
    font-size: 50px;
  }

  .article-block + .article-block {
    margin-top: 64px;
  }

  .article-list > li {
    padding-left: 40px;
  }

  html[data-type='plex'] .hero__title,
  html[data-type='pt'] .hero__title,
  html[data-type='sans'] .hero__title {
    font-size: clamp(42px, 12vw, 50px);
  }

  html[data-type='plex'] .article-hero h1,
  html[data-type='pt'] .article-hero h1,
  html[data-type='sans'] .article-hero h1 {
    font-size: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.concepts-page {
  background: var(--paper);
}

.concepts-intro {
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.concepts-intro h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.concepts-intro > .shell > p:last-child {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.concepts-back {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.concept-set {
  padding-block: 112px;
  border-bottom: 1px solid var(--line);
}

.concept-set--first {
  background: var(--white);
}

.concept-set__heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.concept-set__rank {
  padding-top: 8px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.concept-set__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.concept-set__heading p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.concept-set__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 20px;
}

.concept-card {
  min-width: 0;
}

.concept-card__image {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.concept-card__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 300ms ease;
}

.concept-card__image:hover img {
  transform: scale(1.015);
}

.concept-card__copy {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 18px;
  padding-top: 24px;
}

.concept-card__number {
  grid-row: 1 / span 2;
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.concept-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1;
}

.concept-card p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 720px) {
  .concepts-intro {
    padding: 42px 0;
  }

  .concepts-intro h1 {
    font-size: 50px;
  }

  .concepts-back {
    margin-bottom: 38px;
  }

  .concept-set {
    padding-block: 64px;
  }

  .concept-set__heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 38px;
  }

  .concept-set__rank {
    padding-top: 0;
  }

  .concept-set__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .concept-set__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Модалка подтверждения отправки формы */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 23, 19, 0.55);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 60px rgba(16, 23, 19, 0.28);
}

.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 24px;
}

.lead-modal__text {
  margin: 0 0 24px;
  color: var(--muted);
}

.lead-modal__ok {
  width: 100%;
}
