/* ===== Novella — landing styles ===== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/CormorantGaramond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/CormorantGaramond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/Manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/Manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --paper: #e7e1d7;
  --paper-2: #ded7ca;
  --dark: #16130f;
  --dark-2: #1d1a15;
  --ink: #211d18;
  --ink-soft: #6b665c;
  --cream: #f3ede1;
  --cream-soft: #cfc9bd;
  --accent: #806348;
  --accent-soft: #a08163;
  --line: rgba(33, 29, 24, 0.18);
  --line-onDark: rgba(243, 237, 225, 0.25);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", "PT Serif", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: clamp(20px, 5vw, 88px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- shared bits ---------- */

.section-index {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 10px;
  padding-bottom: 10px;
  position: relative;
}
.section-index::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.section-index--onDark {
  color: var(--cream-soft);
}
.section-index--onDark::after {
  background: var(--accent-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  transition: color 300ms ease, border-color 300ms ease;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.round-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
  transition: border-color 300ms ease;
}
.round-arrow svg { width: 16px; height: 16px; }
.text-link:hover .round-arrow { border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}
.btn__icon { width: 15px; height: 15px; }
.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover { background: #000; }

/* ---------- header ---------- */

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
}
.header__inner {
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 34px) var(--container) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo__img {
  height: clamp(26px, 3.2vw, 44px);
  width: auto;
  color: var(--cream);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.header__icon { width: 15px; height: 15px; opacity: 0.9; }
.header__divider {
  width: 1px;
  height: 14px;
  background: var(--line-onDark);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  color: var(--cream);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 5vh, 40px);
  padding: clamp(88px, 20vh, 140px) var(--container) 32px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__list { display: flex; flex-direction: column; gap: clamp(10px, 3vh, 22px); }
.mobile-menu__list a {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 5vh, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-menu__actions { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 320px; flex-shrink: 0; }
.mobile-menu__actions .btn--outline { border-color: var(--cream); color: var(--cream); }
.mobile-menu__actions .btn--outline:hover { background: var(--cream); color: var(--dark); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,9,7,0.72) 0%, rgba(10,9,7,0.35) 42%, rgba(10,9,7,0.08) 62%),
    linear-gradient(180deg, rgba(10,9,7,0.55) 0%, rgba(10,9,7,0.05) 22%, rgba(10,9,7,0.05) 70%, rgba(10,9,7,0.5) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(120px, 20vw, 220px) var(--container) clamp(56px, 8vw, 96px);
  color: var(--cream);
}
.hero__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero__text {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--cream-soft);
  margin: 0 0 30px;
  max-width: 32ch;
}
.hero .text-link { color: var(--cream); }

/* ---------- split sections (02 / 06) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  background: var(--paper);
  min-height: 640px;
}
.split__text {
  padding: clamp(40px, 5vw, 90px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1.22;
  margin: 0 0 22px;
  max-width: 15ch;
}
.split__body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 34ch;
}
.split__media picture,
.split__media img {
  width: 100%;
  height: 100%;
}
.split__media img {
  object-fit: cover;
}

.split--visit .contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}
.contact-list__icon { width: 18px; height: 18px; flex-shrink: 0; }
.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- services (03) ---------- */

.services {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(40px, 5vw, 72px) var(--container) clamp(56px, 6vw, 88px);
}
.services__head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  position: relative;
}
.services__head .section-index {
  position: absolute;
  left: 0;
  top: 0;
}
.services__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0.03em;
  margin: 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1vw, 14px);
}
.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 18px;
}
.service-card__media picture,
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  margin: 0 0 8px;
}
.service-card__text {
  font-size: 0.8rem;
  color: var(--cream-soft);
  margin: 0;
}

/* ---------- portfolio (04) ---------- */

.portfolio {
  background: var(--paper);
  padding: clamp(40px, 5vw, 72px) var(--container);
}
.portfolio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.portfolio__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  margin: 10px 0 0;
  max-width: 20ch;
}
.portfolio__link { gap: 16px; flex-shrink: 0; }
.portfolio__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 44px);
}
.portfolio__row {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  height: clamp(300px, 27vw, 440px);
}
.portfolio-card {
  position: relative;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.portfolio-card--lg { flex: 1.65 1 0%; }
.portfolio-card--sm { flex: 1 1 0%; }
.portfolio-card__media {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.portfolio-card__media picture,
.portfolio-card__media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: rgba(23, 21, 17, 0.35);
  padding: 4px 9px;
}
.portfolio-card__expand {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 237, 225, 0.55);
  color: var(--cream);
  background: rgba(23, 21, 17, 0.25);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), border-color 300ms ease;
}
.portfolio-card__expand svg { width: 16px; height: 16px; }
.portfolio-card:hover .portfolio-card__expand {
  opacity: 1;
  transform: scale(1);
  border-color: var(--cream);
}
@media (hover: none) {
  .portfolio-card__expand { opacity: 0.85; transform: none; }
}
.portfolio-card figcaption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.portfolio-card figcaption span {
  display: block;
  color: var(--ink);
  font-weight: 600;
  transition: color 300ms ease;
}
.portfolio-card:hover figcaption span { color: var(--accent); }

/* ---------- process (05) ---------- */

.process {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(40px, 5vw, 72px) var(--container);
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.process__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.3;
  margin: 18px 0 0;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  position: relative;
}
.process-step {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-onDark);
}
.process-step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 22px;
  height: 1px;
  background: var(--accent-soft);
}
.process-step__num {
  display: block;
  font-size: 0.85rem;
  color: var(--cream-soft);
  margin-bottom: 10px;
}
.process-step__title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  margin: 0 0 10px;
}
.process-step__text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--cream-soft);
  margin: 0;
  max-width: 24ch;
}

/* ---------- footer ---------- */

.footer {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(24px, 3vw, 36px) var(--container);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__logo {
  height: 34px;
  width: auto;
  color: var(--cream);
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--cream-soft);
  margin: 0;
}
.footer__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.85rem;
}
.footer__policy {
  font-size: 0.8rem;
  color: var(--cream-soft);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: clamp(24px, 5vw, 64px);
  overflow-y: auto;
}
.lightbox[hidden] { display: none; }
.lightbox__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(24px, 3vw, 56px);
  max-width: 1400px;
  width: 100%;
  align-items: center;
  margin: auto;
}
.lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__info {
  color: var(--cream);
  border-left: 1px solid var(--line-onDark);
  padding-left: clamp(20px, 2.4vw, 40px);
}
.lightbox__count {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream-soft);
  margin: 0 0 16px;
}
.lightbox__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 10px;
}
.lightbox__location {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}
.lightbox__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--cream-soft);
  margin: 0;
  max-width: 34ch;
}
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-onDark);
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: border-color 300ms ease, background 300ms ease;
  z-index: 2;
}
.lightbox__nav:hover {
  border-color: var(--cream);
  background: rgba(243, 237, 225, 0.08);
}
.lightbox__nav svg { width: 18px; height: 18px; }
.lightbox__nav--prev { left: clamp(12px, 3vw, 40px); }
.lightbox__nav--next { right: clamp(12px, 3vw, 40px); }

@media (max-width: 700px) {
  .lightbox__inner { grid-template-columns: 1fr; }
  .lightbox__img { max-height: 52vh; }
  .lightbox__info {
    border-left: none;
    border-top: 1px solid var(--line-onDark);
    padding-left: 0;
    padding-top: 20px;
  }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- policy modal ---------- */

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.policy-modal[hidden] { display: none; }
.policy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.55);
}
.policy-modal__card {
  position: relative;
  width: min(760px, calc(100vw - 40px));
  max-height: min(84vh, 860px);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.policy-modal__scroll {
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px);
}
.policy-modal__title {
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin: 0 0 6px;
}
.policy-modal__updated {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.policy-modal__scroll h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 26px 0 10px;
}
.policy-modal__scroll h3:first-of-type { margin-top: 0; }
.policy-modal__scroll p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.policy-modal__scroll a { color: var(--ink); text-decoration: underline; }
.policy-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

/* ---------- reveal & motion ---------- */

[data-reveal="text"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal="text"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="card"] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
[data-reveal="card"].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.portfolio__row .portfolio-card:last-child[data-reveal] { transition-delay: 120ms; }
.portfolio__row:last-child .portfolio-card:first-child[data-reveal] { transition-delay: 60ms; }
.portfolio__row:last-child .portfolio-card:last-child[data-reveal] { transition-delay: 180ms; }

.service-card__media img,
.portfolio-card__media img {
  transition: transform 350ms ease;
}
.service-card:hover .service-card__media img,
.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal="text"],
  [data-reveal="card"] {
    opacity: 1;
    transform: none;
    transition-duration: 0.01ms;
  }
  .service-card__media img,
  .portfolio-card__media img {
    transition-duration: 0.01ms;
  }
}

/* ================= responsive ================= */

@media (max-width: 1180px) {
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 420px; }
  .split__media img { height: 100%; }
  .portfolio__row { height: auto; flex-wrap: wrap; }
  .portfolio-card--lg,
  .portfolio-card--sm { flex: 1 1 45%; height: auto; }
  .portfolio-card__media { aspect-ratio: 4 / 5; flex: none; }
  .portfolio__title { margin-top: 12px; }
  .process { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; margin-top: 28px; }
}

@media (max-width: 900px), (max-height: 500px) {
  .header__nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services__head .section-index { position: static; margin-bottom: 14px; }
}

@media (max-width: 640px) {
  .hero__content { padding-top: clamp(96px, 34vw, 160px); }
  .hero__title { max-width: 100%; }
  .split__text { padding: 40px var(--container); }
  .split__media { min-height: 320px; }
  .portfolio__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .portfolio__grid { gap: 28px; }
  .portfolio__row { flex-direction: column; height: auto; gap: 28px; }
  .portfolio-card--lg,
  .portfolio-card--sm { flex: 1 1 auto; height: auto; }
  .service-card__media,
  .portfolio-card__media { aspect-ratio: 4 / 5; }
  .process__steps { grid-template-columns: 1fr; row-gap: 26px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer__nav { width: 100%; justify-content: space-between; }
  .split__actions .btn { flex: 1 1 auto; }
}
