@font-face {
  font-family: Futura;
  src: url("../fonts/FuturaPT.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #191918;
  --paper: #f5f3ef;
  --cream: #e9e4dc;
  --red: #c52026;
  --red-dark: #99181d;
  --muted: #686660;
  --line: rgba(25, 25, 24, 0.18);
  --container: 1220px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Futura, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img,
picture {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 124px 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 2000;
  padding: 12px 18px;
  background: #fff;
  color: #000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.icon-arrow,
.icon-down,
.icon-up,
.icon-plus,
.lightbox-close svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Loader */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: #111110;
  color: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
  animation: loaderFallback 0.55s 2.7s forwards;
}

.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  width: min(50vw, 620px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.17), transparent);
}

.site-loader::before {
  top: 23%;
  left: -8%;
  transform: rotate(-27deg);
}

.site-loader::after {
  right: -8%;
  bottom: 23%;
  transform: rotate(27deg);
}

.site-loader.is-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.loader-seen .site-loader {
  display: none;
}

.loader-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(330px, calc(100vw - 48px));
}

.loader-inner img {
  width: 132px;
  height: auto;
  margin-bottom: 22px;
  animation: loaderItem 0.8s var(--ease) both;
}

.loader-inner strong {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  animation: loaderItem 0.8s 0.1s var(--ease) both;
}

.loader-progress {
  width: 100%;
  height: 1px;
  margin-top: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: translateX(-100%);
  animation: loaderProgress 1.2s 0.12s var(--ease) forwards;
}

.loader-inner p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: loaderItem 0.8s 0.18s var(--ease) both;
}

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

@keyframes loaderProgress {
  to { transform: translateX(0); }
}

@keyframes loaderFallback {
  to { visibility: hidden; pointer-events: none; opacity: 0; }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(245, 243, 239, 0.97);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy b {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.13em;
}

.brand-copy small {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.68;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.25s;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.phone span {
  font-size: 17px;
  letter-spacing: 0.05em;
}

.phone small {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 6px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
  transition: transform 0.25s;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 92px;
  left: 0;
  width: 100%;
  max-height: calc(100svh - 92px);
  overflow-y: auto;
  padding: 22px max(32px, calc((100vw - var(--container)) / 2)) 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  min-height: 54px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 25px;
}

.mobile-menu .button {
  width: 100%;
  margin-top: 24px;
}

/* Typography and buttons */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin-bottom: 30px;
  font-size: clamp(60px, 7.2vw, 106px);
}

h2 {
  font-size: clamp(46px, 5vw, 72px);
}

h1 em,
h2 em,
blockquote em {
  color: var(--red);
  font-style: normal;
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red);
}

.section-kicker {
  color: var(--red);
}

.section-kicker.light {
  color: #efb5b8;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 26px;
  gap: 28px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}

.button-primary {
  background: var(--red);
  color: #fff;
}

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

.button-ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button-ghost:hover {
  background: #fff;
  color: #111;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  height: 100vh;
  max-height: 980px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  animation: heroZoom 13s var(--ease) forwards;
  transform: scale(1.035);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 10, 9, 0.86) 0%, rgba(10, 10, 9, 0.48) 48%, rgba(10, 10, 9, 0.14) 100%), linear-gradient(0deg, rgba(10, 10, 9, 0.64), transparent 48%);
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.52;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: flex-end;
  gap: 44px;
  transform: translateX(-50%);
}

.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-stat strong {
  padding-top: 3px;
  color: var(--red);
  font-size: 11px;
  font-weight: 400;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-style: normal;
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 245px;
  align-items: start;
  gap: 54px;
}

.large-copy {
  max-width: 700px;
  margin: 44px 0 0;
  color: #4d4b47;
  font-size: 22px;
  line-height: 1.55;
}

.intro-note {
  margin-top: 105px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.red-mark {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 18px;
  background: var(--red);
}

.intro-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Services */
.section-dark {
  background: var(--ink);
  color: #fff;
}

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

.section-heading > p,
.documents-heading > p {
  max-width: 365px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-dark .section-heading > p {
  color: rgba(255, 255, 255, 0.56);
}

.service-list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card {
  display: grid;
  grid-template-columns: 50px minmax(300px, 1fr) 210px 140px;
  align-items: center;
  min-height: 166px;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-number {
  color: var(--red);
  font-size: 11px;
}

.service-content h3 {
  margin: 0 0 9px;
  font-size: 34px;
  font-weight: 400;
}

.service-content p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
}

.service-image {
  width: 190px;
  height: 114px;
  overflow: hidden;
  justify-self: end;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.3s, transform 0.5s var(--ease);
}

.service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card > a .icon-arrow {
  color: var(--red);
}

/* Projects */
.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 0.22s, color 0.22s;
}

.portfolio-link .icon-arrow {
  color: var(--red);
}

.portfolio-link:hover {
  background: var(--ink);
  color: #fff;
}

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

.project-card {
  position: relative;
  width: 100%;
  height: 390px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #222;
  text-align: left;
  cursor: pointer;
}

.project-card picture,
.project-card img {
  width: 100%;
  height: 100%;
}

.project-card img {
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.4s;
}

.project-card:nth-child(3) img {
  object-position: center 43%;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 76px;
  bottom: 24px;
  left: 26px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.project-overlay b {
  font-size: 23px;
  font-weight: 400;
}

.project-overlay small {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.74;
}

.project-card i {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

/* Documents */
.documents {
  padding-top: 24px;
}

.documents-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.document-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.document-card > img,
.document-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.document-card > img {
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.document-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(8, 8, 8, 0.8));
}

.document-content {
  position: absolute;
  z-index: 1;
  inset: auto 28px 26px;
  display: grid;
}

.document-content small {
  margin-bottom: 10px;
  color: #efb5b8;
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.document-content strong {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.05;
}

.document-content b {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(225px, 100%);
  min-height: 48px;
  margin-top: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.document-content .icon-arrow {
  color: #ef4c52;
}

/* Approach */
.manifesto {
  position: relative;
  display: flex;
  align-items: center;
  height: 560px;
  overflow: hidden;
  color: #fff;
}

.manifesto-image {
  position: absolute;
  inset: 0;
  background: url("../images/podhod.png") center 48% / cover no-repeat;
  background-image: image-set(url("../images/podhod.webp") type("image/webp"), url("../images/podhod.png") type("image/png"));
}

.manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 12, 0.84), rgba(13, 13, 12, 0.48));
}

.manifesto-inner {
  position: relative;
  z-index: 1;
}

.manifesto blockquote {
  max-width: 1030px;
  margin: 0;
  font-size: clamp(36px, 4.3vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  min-height: 238px;
  padding: 32px 25px 20px;
  border-right: 1px solid var(--line);
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.steps span {
  color: var(--red);
  font-size: 12px;
}

.steps h3 {
  margin: 50px 0 14px;
  font-size: 27px;
  font-weight: 400;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* About */
.section-cream {
  background: var(--cream);
}

.about-grid {
  display: block;
}

.about-image {
  position: relative;
  width: 100%;
  height: clamp(290px, 34vw, 420px);
  margin-bottom: 70px;
  overflow: hidden;
  background: #222;
}

.about-image picture,
.about-image img {
  width: 100%;
  height: 100%;
}

.about-image img {
  object-fit: cover;
  object-position: center;
}

.about-image span {
  position: absolute;
  bottom: 22px;
  left: 24px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 82px;
}

.about-copy .section-kicker {
  grid-column: 1;
  grid-row: 1;
}

.about-copy h2 {
  grid-column: 1;
  grid-row: 2 / 4;
}

.about-copy > p:not(.section-kicker) {
  grid-column: 2;
  grid-row: 1 / 3;
  max-width: 650px;
  margin: 0 0 40px;
  color: #55514b;
  font-size: 20px;
  line-height: 1.58;
}

.qualities {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.qualities div {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.qualities div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.qualities div:nth-child(even) {
  padding-left: 22px;
}

.qualities strong {
  color: var(--red);
  font-size: 11px;
  font-weight: 400;
}

.qualities span {
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Contact */
.cta {
  background: #242423;
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 90px;
}

.cta-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 32px 0 46px;
  color: rgba(255, 255, 255, 0.58);
}

.direct-contacts {
  display: grid;
}

.direct-contacts > a,
.direct-contacts > div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.direct-contacts small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.direct-contacts b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 400;
}

.contact-form {
  align-self: start;
  padding: 40px;
  background: var(--paper);
  color: var(--ink);
}

.contact-form label {
  display: block;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-form label span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 1px 0 var(--red);
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 78px 0 26px;
  background: #0f0f0e;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.75fr);
  gap: 48px;
}

.brand-footer {
  color: #fff;
}

.footer-intro p {
  max-width: 310px;
  margin: 28px 0 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 16px;
}

.footer-phone {
  display: inline-block;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column > span {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-socials .icon-arrow {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-bottom > span:nth-child(2) {
  text-align: center;
}

.back-to-top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: #121212;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox figcaption {
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.mobile-cta {
  display: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
  }

  .service-card:hover .service-image img,
  .project-card:hover img,
  .document-card:hover > img {
    transform: scale(1.04);
  }

  .service-card:hover .service-image img {
    opacity: 1;
  }

  .project-card:hover img {
    filter: saturate(0.82);
  }

  .project-card:hover i,
  .back-to-top:hover {
    border-color: var(--red);
    background: var(--red);
  }

  .project-card:hover i {
    transform: rotate(90deg);
  }

  .footer-column a:hover {
    color: #fff;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .intro-grid {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .intro-note {
    grid-column: 2;
    margin-top: 16px;
  }

  .service-card {
    grid-template-columns: 42px minmax(250px, 1fr) 170px 125px;
    gap: 20px;
  }

  .service-image {
    width: 160px;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 50px;
  }

  .footer-main {
    grid-template-columns: 1.25fr repeat(3, 0.75fr);
    gap: 30px;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    height: 72px;
  }

  .brand img {
    width: 44px;
  }

  .brand-copy b {
    font-size: 17px;
  }

  .brand-copy small {
    display: none;
  }

  .phone {
    display: none;
  }

  .mobile-menu {
    top: 72px;
    max-height: calc(100svh - 72px - 62px);
    padding: 20px 18px 30px;
  }

  .hero {
    min-height: 720px;
    height: 100svh;
    max-height: none;
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 124px;
  }

  .hero-media img {
    object-position: 59% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(10, 10, 9, 0.88), rgba(10, 10, 9, 0.3)), linear-gradient(0deg, rgba(10, 10, 9, 0.78), transparent 54%);
  }

  h1 {
    font-size: clamp(50px, 14vw, 74px);
  }

  h2 {
    font-size: clamp(40px, 10vw, 58px);
  }

  .hero-lead {
    max-width: 94%;
    font-size: 18px;
  }

  .hero-stat {
    display: none;
  }

  .hero-bottom {
    bottom: 20px;
  }

  .scroll-cue {
    margin-left: 0;
  }

  .intro-grid,
  .section-heading,
  .documents-heading,
  .about-copy,
  .cta-grid {
    display: block;
  }

  .intro-grid > .section-kicker {
    margin-bottom: 26px;
  }

  .large-copy {
    margin-top: 30px;
    font-size: 19px;
  }

  .intro-note {
    max-width: 360px;
    margin-top: 40px;
  }

  .section-heading,
  .documents-heading {
    margin-bottom: 42px;
  }

  .section-heading > p,
  .section-heading > .portfolio-link,
  .documents-heading > p {
    margin-top: 28px;
  }

  .service-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 0;
    padding: 24px 0;
    gap: 16px;
  }

  .service-content h3 {
    font-size: 28px;
  }

  .service-image {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    height: 200px;
  }

  .service-card > a {
    grid-column: 2;
    width: min(180px, 100%);
  }

  .project-card {
    height: 330px;
  }

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

  .document-card {
    height: 340px;
  }

  .manifesto {
    height: 480px;
  }

  .manifesto-image {
    background-position: 52% center;
  }

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

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .about-image {
    height: 300px;
    margin-bottom: 48px;
  }

  .about-copy h2,
  .about-copy > p:not(.section-kicker),
  .qualities {
    display: block;
  }

  .about-copy > p:not(.section-kicker) {
    margin: 30px 0 42px;
    font-size: 18px;
  }

  .qualities {
    display: grid;
  }

  .cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr;
    gap: 44px 32px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-bottom > span:nth-child(2) {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    height: calc(62px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #111;
    box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.16);
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-width: 0;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.11em;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-cta a:last-child {
    background: var(--red);
  }
}

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

  .section {
    padding: 70px 0;
  }

  .loader-inner img {
    width: 106px;
  }

  .loader-inner strong {
    font-size: 34px;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 21px;
    font-size: 11px;
    letter-spacing: 0.17em;
  }

  .hero-content {
    padding-top: 82px;
    padding-bottom: 112px;
  }

  h1 {
    margin-bottom: 23px;
    font-size: clamp(44px, 14.2vw, 64px);
  }

  h2 {
    font-size: clamp(38px, 11.6vw, 48px);
  }

  .hero-lead {
    margin-bottom: 27px;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-buttons {
    display: grid;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-bottom {
    width: calc(100% - 28px);
  }

  .scroll-cue span {
    font-size: 10px;
  }

  .portfolio-link {
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card {
    height: 290px;
  }

  .project-overlay {
    right: 58px;
    bottom: 19px;
    left: 19px;
  }

  .project-overlay b {
    font-size: 20px;
  }

  .project-card i {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .documents {
    padding-top: 8px;
  }

  .documents-grid {
    gap: 12px;
  }

  .document-card {
    height: 300px;
  }

  .document-content {
    inset: auto 20px 20px;
  }

  .document-content strong {
    font-size: 32px;
  }

  .manifesto {
    height: 430px;
  }

  .manifesto blockquote br {
    display: none;
  }

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

  .steps li,
  .steps li:first-child,
  .steps li:last-child {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps h3 {
    margin: 23px 0 8px;
  }

  .about-image {
    height: 230px;
    margin-bottom: 40px;
  }

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

  .qualities div:nth-child(odd) {
    border-right: 0;
  }

  .qualities div:nth-child(even) {
    padding-left: 0;
  }

  .direct-contacts > a,
  .direct-contacts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    padding-top: 62px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-column {
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    margin-top: 48px;
  }

  .lightbox {
    max-width: 96vw;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 39px;
  }

  .brand-copy b {
    font-size: 15px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 16px;
  }

  .button {
    min-height: 53px;
    padding-inline: 18px;
    gap: 14px;
  }

  .project-card {
    height: 265px;
  }

  .document-card {
    height: 280px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    justify-self: start;
  }
}

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

  .site-loader {
    display: none;
  }

  .hero-media {
    animation: none;
  }

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

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