:root {
  color-scheme: light;
  --red: #c8102e;
  --red-dark: #9f1028;
  --ink: #1c1b1b;
  --muted: #555052;
  --paper: #fff;
  --soft: #f6f3f3;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 160ms;
  --duration-ui: 240ms;
  --duration-reveal: 760ms;
  --page-gutter: clamp(20px, 5vw, 76px);
  --content-width: 1320px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--content-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--paper);
}

.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  flex: 0 1 auto;
}

.brand__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand__legal {
  max-width: 280px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.1vw, 46px);
}

.primary-nav a,
.mobile-menu__links a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  transition: color var(--duration-fast) ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-ui) var(--ease-out);
}

.primary-nav a[aria-current="page"] {
  color: var(--red);
}

.primary-nav a[aria-current="page"]::after,
.primary-nav a:hover::after {
  transform: scaleX(1);
}

.mobile-menu {
  display: none;
}

.float-tools {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: 16px;
  display: grid;
  gap: 3px;
  transform: translateY(-50%);
}

.float-tools__button {
  display: grid;
  width: 60px;
  min-height: 62px;
  place-content: center;
  justify-items: center;
  gap: 3px;
  color: var(--red);
  background: var(--paper);
  font-size: 13px;
  line-height: 1.15;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-out);
}

.float-tools {
  transition: opacity var(--duration-ui) ease, visibility var(--duration-ui) ease, transform var(--duration-ui) var(--ease-out);
}

.float-tools.is-obscured {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
}

.float-tools__button svg {
  width: 21px;
  height: 21px;
}

.float-tools__button:active {
  transform: scale(0.96);
}

.float-tools__phone {
  color: var(--paper);
  background: var(--red);
}

.float-tools__phone:hover {
  background: var(--red-dark);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100svh - 88px));
  overflow: hidden;
  color: var(--paper);
  background-color: var(--red-dark);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.home-hero::before,
.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(153 0 25 / 68%);
  content: "";
}

.home-hero--banner {
  background-image: url("assets/web/drafting-compass.webp");
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(690px, calc(100svh - 88px));
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  align-items: stretch;
  padding-block: 38px 58px;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 38px 42px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.home-hero h1 {
  margin-bottom: 26px;
  font-size: 82px;
  font-weight: 750;
  line-height: 1.16;
}

.home-hero__summary {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 84%);
  font-size: 19px;
}

.home-hero .text-link {
  color: var(--paper);
}

.home-hero .text-link:hover {
  color: var(--paper);
}

.home-hero__slogan {
  color: var(--paper);
  font-size: 26px;
  font-weight: 700;
}

.home-hero__descriptor {
  max-width: 520px;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-out);
}

.button:active {
  transform: scale(0.98);
}

.button--red {
  color: var(--paper);
  background: var(--red);
}

.button--red:hover {
  background: var(--red-dark);
}

.button--outline {
  color: var(--red);
  border-color: var(--red);
  background: transparent;
}

.button--outline:hover {
  color: var(--paper);
  background: var(--red);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-weight: 650;
  transition: gap var(--duration-fast) var(--ease-out), color var(--duration-fast) ease;
}

.text-link:hover {
  gap: 14px;
  color: var(--red-dark);
}

.hero-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 58px);
  color: var(--paper);
  background: rgb(126 0 20 / 78%);
  border: 1px solid rgb(255 255 255 / 22%);
  backdrop-filter: blur(4px);
}

.hero-index h2 {
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 500;
}

.hero-index a {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 3px solid rgb(255 255 255 / 35%);
  font-size: 22px;
  transition: padding var(--duration-fast) var(--ease-out), background-color var(--duration-fast) ease;
}

.hero-index a:last-child {
  border-bottom: 3px solid rgb(255 255 255 / 35%);
}

.hero-index a span {
  font-size: 16px;
}

.hero-index a:hover {
  padding-inline: 8px;
  background: rgb(255 255 255 / 8%);
}

.section-block {
  padding-block: clamp(76px, 9vw, 132px);
}

.home-profile {
  background: var(--soft);
}

.home-profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
}

.home-profile h2 {
  max-width: 650px;
  margin-bottom: 10px;
  font-size: 48px;
  line-height: 1.35;
}

.home-profile__statement {
  margin-bottom: 0;
  font-size: 22px;
  font-weight: 650;
}

.home-profile__copy {
  max-width: 470px;
}

.home-profile__copy p {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 18px;
}

.home-profile__visual {
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.home-profile__visual video,
.identity-visual img,
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-profile__visual video {
  display: block;
  background: var(--soft);
}

.identity-visual {
  width: min(100%, 680px);
  margin: 48px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.identity-visual img,
.service-visual img {
  display: block;
  filter: grayscale(1) contrast(1.04);
}

.services-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: stretch;
  gap: clamp(26px, 5vw, 70px);
}

.service-visual {
  position: sticky;
  top: 100px;
  align-self: start;
  min-height: 290px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.section-heading {
  margin-bottom: 43px;
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.home-clients h2,
.identity-layout h2,
.expertise-layout h2,
.contact-form-area h2 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.2;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.team-stats > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 20px 24px 15px 0;
}

.team-stats dt {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 16px;
}

.team-stats dd {
  margin: 0;
  color: var(--red);
  font-size: 96px;
  font-weight: 650;
  line-height: 1;
}

.team-stats dd span {
  margin-left: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
}

.home-clients {
  color: var(--paper);
  background: var(--red);
}

.home-clients__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.home-clients h2 {
  margin-bottom: 12px;
}

.home-clients p {
  margin-bottom: 0;
}

.home-clients .button--outline {
  color: var(--paper);
  border-color: var(--paper);
  white-space: nowrap;
}

.home-clients .button--outline:hover {
  color: var(--red);
  background: var(--paper);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background-color: var(--red-dark);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.page-hero__inner {
  display: grid;
  min-height: 360px;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 50px;
  padding-block: 82px 68px;
}

.page-hero--about {
  background-image: url("assets/web/editorial-papers.webp");
}

.page-hero--services {
  background-image: url("assets/web/drafting-overlay.webp");
}

.page-hero--clients {
  background-image: url("assets/web/service-index.webp");
}

.page-hero--contact {
  background-image: url("assets/web/drafting-reel-poster.webp");
}

.page-hero h1 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 108px;
  font-weight: 750;
  line-height: 1.08;
}

.page-hero__lead {
  max-width: 430px;
  padding-bottom: 7px;
}

.page-hero__slogan {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 30px;
  font-weight: 650;
}

.page-hero__action {
  margin-top: 22px;
}

.page-hero__lead p:last-child {
  margin-bottom: 0;
  color: rgb(255 255 255 / 86%);
  font-size: 17px;
}

.page-hero .button--outline {
  color: var(--paper);
  border-color: rgb(255 255 255 / 82%);
}

.page-hero .button--outline:hover {
  color: var(--red);
  background: var(--paper);
}

.identity-section {
  background: var(--soft);
}

.identity-layout,
.expertise-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 10vw, 150px);
}

.identity-copy {
  max-width: 680px;
}

.identity-copy h3 {
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.4;
}

.identity-copy > p {
  max-width: 600px;
  margin-bottom: 37px;
  color: var(--muted);
  font-size: 18px;
}

.identity-related {
  padding-left: 20px;
  border-left: 5px solid var(--red);
}

.identity-related span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
}

.identity-related p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}

.team-section .section-heading {
  margin-bottom: 38px;
}

.team-stats--large > div {
  padding-block: 20px 10px;
}

.team-stats--large dt {
  font-size: 17px;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.expertise-list li {
  padding: 11px 17px;
  color: var(--red);
  background: var(--paper);
  font-size: 17px;
}

.services-section {
  padding-top: 0;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 6px;
  background: var(--soft);
}

.service-tabs button {
  min-height: 58px;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 650;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.service-tabs button[aria-selected="true"] {
  color: var(--paper);
  background: var(--red);
}

.service-tabs button:hover:not([aria-selected="true"]) {
  color: var(--red);
  background: var(--paper);
}

.service-panel {
  --panel-padding: clamp(35px, 6vw, 76px);
  --panel-title-height: 60px;
  --panel-title-gap: 36px;
  min-height: 430px;
  padding: var(--panel-padding) clamp(22px, 5vw, 64px);
  /* Fade to a light tint before the project list to preserve text contrast. */
  background: linear-gradient( /* taste-skill-ignore: requested red-to-transparent service panel treatment */
    to bottom,
    var(--red) 0,
    rgb(200 16 46 / 94%) calc(var(--panel-padding) + var(--panel-title-height)),
    rgb(200 16 46 / 12%) calc(var(--panel-padding) + var(--panel-title-height) + var(--panel-title-gap)),
    rgb(200 16 46 / 0%) 100%
  );
}

.service-panel h2 {
  margin-bottom: var(--panel-title-gap);
  color: var(--paper);
  font-size: 50px;
  line-height: var(--panel-title-height);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 42px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-items li {
  min-height: 66px;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  font-size: 21px;
}

.no-script-note {
  margin-top: 22px;
  color: var(--muted);
}

.service-contact {
  color: var(--paper);
  background: var(--red);
}

.service-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.service-contact h2 {
  margin-bottom: 0;
  font-size: 48px;
}

.service-contact .button--red {
  color: var(--red);
  background: var(--paper);
}

.service-contact .button--red:hover {
  color: var(--red-dark);
  background: #f3eeee;
}

.clients-section {
  padding-top: 48px;
  background: var(--soft);
}

.client-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.client-list li {
  display: flex;
  min-width: 0;
  min-height: 160px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px 16px 16px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 550;
  text-align: center;
  transition: color var(--duration-fast) ease;
}

.client-list li:hover {
  color: var(--red);
}

.client-logo {
  display: flex;
  width: 100%;
  height: 72px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  width: auto;
  height: auto;
  max-width: min(100%, 166px);
  max-height: 66px;
  object-fit: contain;
}

.client-list li > span {
  max-width: 100%;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-section {
  padding-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.contact-details {
  padding: 32px;
  color: var(--paper);
  background: var(--red);
}

.contact-phone {
  display: inline-block;
  margin-bottom: 45px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.contact-details dl {
  display: grid;
  gap: 26px;
  margin: 0;
}

.contact-details dt {
  margin-bottom: 5px;
  font-size: 14px;
  opacity: 0.82;
}

.contact-details dd {
  margin: 0;
  font-size: 16px;
}

.contact-form-area h2 {
  margin-bottom: 14px;
}

.form-note {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
}

.form-fallback {
  padding: 22px;
  background: var(--soft);
}

.form-fallback a {
  color: var(--red);
  font-weight: 700;
}

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

.form-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.form-field > span {
  font-size: 15px;
  font-weight: 650;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 51px;
  padding: 11px 13px;
  border: 0;
  border-bottom: 2px solid #bdb6b8;
  border-radius: 0;
  color: var(--ink);
  background: var(--soft);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  outline: 0;
}

.form-field small {
  color: var(--muted);
  font-size: 13px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-submit {
  margin-top: 25px;
}

.form-result {
  padding: 22px 0 0;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}

.form-result p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.site-footer {
  padding-block: 58px 44px;
  color: var(--paper);
  background: #1e1b1c;
}

.site-footer__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 34px;
}

.site-footer__slogan {
  margin-bottom: 0;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer__phone {
  color: var(--paper);
  font-size: 34px;
  font-weight: 650;
  white-space: nowrap;
}

.site-footer__contact {
  display: flex;
  align-self: baseline;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}

.site-footer__qr {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0;
  color: #e2dfe0;
  font-size: 12px;
  line-height: 1.4;
}

.site-footer__qr img {
  display: block;
  width: min(120px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.site-footer__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 35px;
  max-width: 960px;
  color: #e2dfe0;
}

.site-footer__brand {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 13px;
  padding-bottom: 12px;
}

.site-footer__logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 3px;
  object-fit: contain;
  background: var(--paper);
}

.site-footer__details p {
  margin-bottom: 0;
}

.site-footer__details p:first-child {
  color: var(--paper);
}

.site-footer__icp {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #b6b1b2;
}

.site-footer__icp a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__icp a:hover,
.site-footer__icp a:focus-visible {
  color: var(--paper);
  border-bottom-color: currentColor;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 38px;
}

.site-footer__nav a {
  min-height: 40px;
  color: #e2dfe0;
  transition: color var(--duration-fast) ease;
}

.site-footer__nav a:hover {
  color: var(--paper);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.motion-ready .hero-index {
  transition-delay: 100ms;
}

.service-panel.is-changing {
  animation: panel-enter 330ms var(--ease-out) both;
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .site-header__inner {
    gap: 20px;
  }

  .brand__legal {
    max-width: 200px;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav a {
    font-size: 14px;
  }

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

  .home-profile__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .home-profile__visual {
    width: min(100%, 540px);
    grid-column: 1 / -1;
    justify-self: end;
  }

  .services-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.62fr);
    gap: 24px;
  }

  .service-visual {
    top: 82px;
    min-height: 250px;
  }

  .home-hero h1 {
    font-size: 64px;
  }

  .page-hero h1 {
    font-size: 88px;
  }

  .team-stats dd {
    font-size: 84px;
  }

  .client-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-phone {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 20px;
  }

  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 72px;
    gap: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .brand__legal {
    max-width: 200px;
    font-size: 18px;
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .mobile-menu summary {
    display: flex;
    min-width: 62px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--red);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu__links {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    width: min(270px, calc(100vw - 40px));
    padding: 10px 18px;
    background: var(--paper);
    border-top: 4px solid var(--red);
  }

  .mobile-menu__links a {
    border-bottom: 3px solid var(--soft);
  }

  .mobile-menu__links a:last-child {
    border-bottom: 0;
  }

  .mobile-menu__links a[aria-current="page"] {
    color: var(--red);
    font-weight: 700;
  }

  .float-tools {
    top: auto;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 4px;
    transform: none;
  }

  .float-tools__button {
    width: 56px;
    min-height: 54px;
    gap: 1px;
    font-size: 13px;
  }

  .float-tools__button svg {
    width: 19px;
    height: 19px;
  }

  .home-hero,
  .home-hero__inner {
    min-height: 0;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 34px 50px;
  }

  .home-hero__copy {
    padding-block: 28px 38px;
  }

  .home-hero h1 {
    margin-bottom: 17px;
    font-size: 35px;
    line-height: 1.2;
  }

  .home-hero__summary {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .home-hero__actions {
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .button {
    min-height: 48px;
    padding-inline: 17px;
  }

  .hero-index {
    padding: 24px 132px 28px 24px;
  }

  .hero-index h2 {
    margin-bottom: 12px;
  }

  .hero-index a {
    min-height: 49px;
    font-size: 18px;
  }

  .section-block {
    padding-block: 74px;
  }

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

  .home-profile__visual {
    width: 100%;
    min-height: 0;
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .identity-visual {
    margin-top: 32px;
    aspect-ratio: 4 / 3;
  }

  .home-profile h2 {
    font-size: 32px;
  }

  .home-profile__statement {
    font-size: 19px;
  }

  .home-profile__copy p {
    font-size: 17px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading--split {
    align-items: center;
  }

  .section-heading h2,
  .home-clients h2,
  .identity-layout h2,
  .expertise-layout h2,
  .contact-form-area h2 {
    font-size: 31px;
  }

  .team-stats {
    grid-template-columns: 1fr;
  }

  .team-stats > div {
    align-items: center;
    padding: 14px 0;
  }

  .team-stats dt {
    margin-bottom: 0;
  }

  .team-stats dd {
    font-size: 59px;
  }

  .home-clients__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .page-hero__inner {
    min-height: 0;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 58px 45px;
  }

  .page-hero h1 {
    font-size: 56px;
  }

  .page-hero__lead {
    max-width: 520px;
  }

  .page-hero__slogan {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .identity-layout,
  .expertise-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .identity-copy h3 {
    font-size: 25px;
  }

  .identity-copy > p {
    font-size: 17px;
  }

  .team-stats--large > div {
    padding-block: 12px;
  }

  .team-stats--large dt {
    font-size: 16px;
  }

  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tabs button {
    min-height: 49px;
    padding-inline: 8px;
  }

  .service-tabs button:last-child {
    grid-column: 1 / -1;
  }

  .services-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-visual {
    position: static;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .service-panel {
    --panel-padding: 34px;
    --panel-title-height: 42px;
    --panel-title-gap: 23px;
    min-height: 360px;
    padding: var(--panel-padding) 20px;
  }

  .service-panel h2 {
    font-size: 35px;
  }

  .service-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .service-items li {
    min-height: 65px;
    font-size: 16px;
  }

  .service-contact__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-contact h2 {
    font-size: 31px;
  }

  .client-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .client-list li {
    min-height: 140px;
    gap: 10px;
    padding: 16px 10px 14px;
    font-size: 14px;
  }

  .client-logo {
    height: 60px;
  }

  .client-logo img {
    max-width: min(100%, 140px);
    max-height: 56px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-details {
    padding: 25px;
  }

  .contact-phone {
    margin-bottom: 30px;
    font-size: 40px;
  }

  .contact-details dd {
    font-size: 15px;
  }

  .contact-form-area h2 {
    margin-bottom: 10px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .form-submit {
    width: 100%;
  }

  .site-footer {
    padding-block: 48px 95px;
  }

  .site-footer__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 25px;
  }

  .site-footer__slogan {
    font-size: 34px;
  }

  .site-footer__phone {
    font-size: 25px;
  }

  .site-footer__contact {
    align-self: flex-start;
  }

  .site-footer__details {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 14px;
  }

  .site-footer__nav {
    gap: 6px 20px;
    padding-top: 24px;
  }
}

@media (max-width: 390px) {
  :root {
    --page-gutter: 17px;
  }

  .home-hero h1 {
    font-size: 35px;
  }

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

  .contact-phone {
    font-size: 36px;
  }

  .client-list {
    gap: 12px;
  }
}

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

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