/* ═══════════════════════════════════════════════════════
   ESCALA — sorores.co.uk inspired layout
   Fixed left sidebar nav + content area on the right
═══════════════════════════════════════════════════════ */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #FFFFFF;
  --ink:       #181411;
  --ink-soft:  #4C443B;
  --muted:     #7B7368;
  --line:      #DED7CD;
  --line-soft: #ECE6DC;
  --accent:    #A79784;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --side-w: clamp(280px, 22vw, 320px);
  --side-w-lg: 320px;
  --pad-x: clamp(32px, 4.8vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--bg); }

/* ═══ SIDEBAR ═══ */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--side-w);
  padding: 40px 32px 44px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: clamp(84px, 12vh, 128px);
  padding-left: 0;
}

.site-wordmark,
.sidebar__logo-mark {
  font-family: var(--serif);
  font-size: clamp(28px, 2.3vw, 34px);
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: none;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.sidebar__link {
  font-family: var(--serif);
  font-size: clamp(28px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.sidebar__link:hover { opacity: 0.45; }
.sidebar__link.is-active { color: var(--muted); }

.sidebar__bottom {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ═══ MAIN AREA ═══ */
.main {
  margin-left: var(--side-w);
  min-height: 100vh;
}

/* ═══ MOBILE HEADER ═══ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav { display: none; }
.mobile-header__logo {
  display: inline-flex;
  align-items: center;
}

.mobile-header__logo .site-wordmark {
  font-size: 24px;
}
.mobile-burger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  padding: 6px;
}
.mobile-burger span {
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

/* ═══ PAGE / SECTION ═══ */
.page {
  padding: clamp(64px, 8vw, 108px) var(--pad-x) clamp(88px, 10vw, 128px);
  min-height: 100vh;
  border-top: 1px solid var(--line);
}
.page:first-of-type { border-top: none; padding-top: clamp(72px, 9vw, 120px); }

.page__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 50px;
  line-height: 52px;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 8ch;
}

.page__title--wide {
  max-width: none;
  white-space: nowrap;
  font-size: 50px;
}

.page__title em { font-style: normal; font-weight: 400; }

.page__lead {
  font-family: var(--sans);
  font-size: clamp(20px, 1.85vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: none;
  margin-bottom: clamp(52px, 6vw, 72px);
  font-weight: 400;
}

.page__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.page__meta-sep { opacity: 0.4; }

/* ═══ LANDING PAGE ═══ */
.landing-page {
  padding-top: clamp(44px, 6vw, 80px);
  min-height: auto;
  padding-bottom: 48px;
}

.landing-intro {
  display: block;
  margin-bottom: clamp(48px, 5vw, 68px);
}

.landing-intro__main {
  max-width: 1400px;
}

.landing-title {
  font-family: var(--serif);
  font-size: clamp(78px, 10.2vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.landing-copy {
  font-size: clamp(20px, 1.85vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: none;
  padding-top: 12px;
}

.video-placeholder {
  margin-bottom: clamp(52px, 6vw, 72px);
}

.video-placeholder__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  background:
    linear-gradient(135deg, rgba(24, 20, 17, 0.88), rgba(68, 58, 49, 0.68)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-placeholder__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-placeholder__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 24%);
  opacity: 0.9;
}

/* ── Reel ── */
.reel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.2;
  overflow: hidden;
  margin-bottom: clamp(52px, 6vw, 72px);
  background: #0a0908;
}

.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.reel-eyebrow {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.6);
}

.reel-sound {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 2;
  border: 1px solid rgba(255, 248, 238, 0.26);
  background: rgba(255, 248, 238, 0.06);
  color: rgba(255, 248, 238, 0.8);
  padding: 7px 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.reel-sound:hover {
  background: rgba(255, 248, 238, 0.12);
  border-color: rgba(255, 248, 238, 0.46);
}

.reel-text {
  position: absolute;
  bottom: clamp(22px, 4%, 42px);
  left: clamp(24px, 4%, 48px);
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 46px);
  font-weight: 400;
  color: rgba(255, 248, 238, 0.95);
  pointer-events: none;
  letter-spacing: -0.01em;
}

.reel-text span {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reel-text span.visible {
  opacity: 1;
  transform: translateY(0);
}
.reel-text span.hidden {
  opacity: 0;
  transform: translateY(-8px);
}

.video-placeholder__eyebrow,
.video-placeholder__label {
  position: relative;
  z-index: 1;
}

.video-placeholder__eyebrow {
  position: absolute;
  top: 24px;
  left: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.7);
}

.video-placeholder__sound {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  border: 1px solid rgba(255, 248, 238, 0.26);
  background: rgba(255, 248, 238, 0.08);
  color: rgba(255, 248, 238, 0.86);
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: default;
}

.video-placeholder__label {
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 42px);
  color: #fff;
  letter-spacing: -0.02em;
}

.landing-divider {
  width: 100%;
  border-top: 1px solid var(--line);
  margin: 0 0 clamp(52px, 6vw, 72px);
}

.landing-projects {
  margin-bottom: clamp(52px, 6vw, 76px);
}

.landing-projects__intro {
  max-width: 1180px;
  margin-bottom: clamp(38px, 4vw, 52px);
}

.landing-projects__title {
  font-family: var(--serif);
  font-size: clamp(36px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.landing-projects__copy {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 22px;
}

.landing-projects__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s ease;
}

.landing-projects__link:hover {
  color: var(--ink);
}

.projects--landing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
  margin-bottom: 0;
}

.project__img--landscape {
  aspect-ratio: 1.35 / 1;
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  background: #f0eadf;
}

.project__img--landscape img {
  object-fit: cover;
  filter: none;
}

.project__name--landing {
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.24;
  color: #635c54;
  font-weight: 600;
}

.landing-footer {
  padding-bottom: 8px;
}

.landing-footer__contact {
  display: grid;
  justify-items: end;
  gap: 22px;
}

.landing-footer__block {
  text-align: right;
  max-width: 520px;
}

.landing-footer__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.landing-footer__value {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.landing-footer__socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-footer__socials a {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  transition: opacity 0.3s ease;
}

.landing-footer__socials a:hover,
.landing-footer__value:hover {
  opacity: 0.6;
}

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

.landing-legal__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 13px;
  color: var(--accent);
}

.landing-legal__nav a::after {
  content: "|";
  margin-left: 10px;
  color: #c4bcaf;
}

.landing-legal__nav a:last-child::after {
  content: "";
  margin-left: 0;
}

.landing-legal__copy {
  font-size: 13px;
  color: #6f6d67;
}

/* ═══ SERVICE CARDS (Creative-style 4 columns) ═══ */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.s-card { display: block; }
.s-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--line-soft);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.s-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.96) contrast(1.01);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.s-card:hover .s-card__img img { transform: scale(1.03); }

.s-card__img--placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(244, 240, 232, 0.95)),
    linear-gradient(135deg, #f6f3ed, #ebe5d9);
  border: 1px solid var(--line);
}

.s-card__img--placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(123, 115, 104, 0.18);
}

.s-card__placeholder-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.s-card__title {
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.s-card__body {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ═══ STACKED SERVICES (Consultancy-style) ═══ */
.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(50px, 6vw, 72px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.stack-row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.stack-row__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--line-soft);
  overflow: hidden;
}
.stack-row__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.96) contrast(1.01);
}
.stack-row__title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.stack-row__body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* ═══ PROJECTS GRID ═══ */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 36px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.project {
  display: block;
  cursor: pointer;
}
.project__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--line-soft);
  overflow: hidden;
  margin-bottom: 14px;
}
.project__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.96) contrast(1.01);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}
.project:hover .project__img img {
  filter: none;
  transform: scale(1.02);
}
.project__name {
  font-family: var(--sans);
  font-size: 17px;
  font-style: normal;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  font-weight: 600;
}

/* ═══ TEAM ═══ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px);
  margin-bottom: clamp(60px, 8vw, 100px);
  align-items: stretch;
}
.member {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  height: 100%;
}
.member__photo {
  width: 100%;
  height: clamp(340px, 28vw, 460px);
  background: var(--line-soft);
  overflow: hidden;
  margin-bottom: 18px;
}
.member__photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.01);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.member:hover .member__photo img { transform: scale(1.02); }
.member__name {
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.member__role {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.member__bio {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 12px;
  max-width: 44ch;
}
.member__links {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: end;
  column-gap: 28px;
  row-gap: 0;
}
.member__mail {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  padding-bottom: 2px;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.member__site {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  padding-bottom: 2px;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.member__site--placeholder {
  visibility: hidden;
  pointer-events: none;
}
.member__mail:hover,
.member__site:hover {
  opacity: 0.5;
  color: var(--ink);
  border-color: var(--ink);
}

/* ═══ CONTACT ═══ */
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  margin-bottom: clamp(60px, 8vw, 100px);
}

.contact-block {
  display: flex; flex-direction: column;
  gap: 38px;
}
.cblock {
  display: flex; flex-direction: column; gap: 6px;
}
.cblock__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cblock__value {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--ink);
  font-weight: 400;
}
a.cblock { transition: opacity 0.3s ease; }
a.cblock:hover { opacity: 0.55; }

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 6px 0 10px;
  outline: none;
  width: 100%;
  resize: vertical;
  transition: border-color 0.3s ease;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { min-height: 110px; line-height: 1.5; }

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--ink);
}
.consent a {
  border-bottom: 1px solid var(--ink-soft);
}

.lead-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  font-family: var(--serif);
  font-style: normal;
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 4px 2px;
  cursor: pointer;
  margin-top: 12px;
  transition: letter-spacing 0.5s ease;
}
.lead-form__submit:hover { letter-spacing: 0.04em; }
.lead-form__submit[disabled] {
  opacity: 0.5;
  cursor: wait;
}
.lead-form__success {
  grid-column: 1 / -1;
  color: #2f7d4b;
  font-size: 14px;
  line-height: 1.5;
  padding-top: 4px;
}
.lead-form__error {
  grid-column: 1 / -1;
  color: #a23f3f;
  font-size: 14px;
  line-height: 1.5;
  padding-top: 4px;
}
.form-botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ═══ PAGE FOOTER (per-page bottom block) ═══ */
.page-foot {
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-foot__col {
  display: flex; flex-direction: column; gap: 6px;
}
.page-foot__label {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.page-foot__col a,
.page-foot__col span {
  font-size: 14px;
  color: var(--ink-soft);
  font-family: var(--sans);
  transition: opacity 0.3s ease;
}
.page-foot__col a:hover { opacity: 0.55; }

.page-bottom {
  border-top: 1px solid var(--line);
  padding: 24px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 12px;
  color: var(--muted);
}
.page-bottom__nav { display: flex; gap: 16px; flex-wrap: wrap; }
.page-bottom__nav a { transition: color 0.3s ease; }
.page-bottom__nav a:hover { color: var(--ink); }

/* ═══ REVEAL ═══ */
.page__title, .page__lead, .page__meta,
.s-card, .stack-row, .project, .member,
.contact-cols, .lead-form {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  :root { --side-w: 250px; --pad-x: 32px; }
  .sidebar { padding: 38px 24px 34px 28px; }
  .sidebar__logo-mark,
  .site-wordmark { font-size: 28px; }
  .sidebar__link { font-size: 24px; }
  .sidebar__nav { gap: 22px; }
  .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-row { grid-template-columns: 280px 1fr; gap: 36px; }
  .projects--landing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .main { margin-left: 0; padding-top: 64px; }
  .page { padding: 48px 22px 64px; }
  .page__title { font-size: 50px; line-height: 52px; margin-bottom: 12px; }
  .page__title--wide {
    font-size: 50px;
    white-space: nowrap;
  }
  .page__lead { font-size: 18px; margin-bottom: 48px; }
  .cards-4, .cards-3, .projects, .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .member__photo { height: auto; aspect-ratio: 4 / 5; }
  .stack-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-cols { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .page-foot { grid-template-columns: 1fr; gap: 28px; }
  .landing-page { padding-top: 34px; }
  .landing-title { font-size: clamp(56px, 15vw, 82px); }
  .landing-copy { font-size: 18px; }
  .video-placeholder__frame { aspect-ratio: 16 / 11.5; }
  .projects--landing { grid-template-columns: 1fr; gap: 30px; }
  .landing-footer__contact,
  .landing-footer__block { justify-items: start; text-align: left; }
  .landing-footer__socials { justify-content: flex-start; }
  .landing-legal {
    align-items: flex-start;
    flex-direction: column;
  }
  .landing-legal__nav {
    justify-content: flex-start;
    gap: 8px;
  }

  .mobile-nav {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 40px 28px;
    gap: 22px;
    z-index: 105;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--ink);
  }
}
