/* ==========================================================================
   49 Southwark Bridge Road — holding page
   Desktop geometry is the 1440px Figma frame scaled by --px (1 design px).
   ========================================================================== */

/* ---------- Fonts ----------
   Edict Display (trial cuts, supplied as .otf → WOFF2): Medium, Medium Italic,
   Regular Italic. The upright Regular (hero address in Figma) wasn't supplied, so
   400-weight text resolves to Medium until EdictDisplayTrial-Regular is added.
   Trial files hold 72 glyphs (no "?" — Figma sets that in ABC Arizona Flare).
   Body: SF Pro Display Light (supplied; Figma specifies SF Compact Display Light),
   Latin subset of assets/fonts/SF Pro Display/SF-Pro-Display-Light.otf. */
@font-face {
  font-family: "Edict Display";
  src: url("../fonts/EdictDisplayTrial-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Edict Display";
  src: url("../fonts/EdictDisplayTrial-MediumItalic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Edict Display";
  src: url("../fonts/EdictDisplayTrial-RegularItalic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
/* Not supplied yet: picked up only if installed locally; add a url() when the file arrives */
@font-face {
  font-family: "ABC Arizona Flare";
  src: local("ABC Arizona Flare Trial Regular"), local("ABCArizonaFlare-Regular-Trial");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* 1 design px at 1440 wide; scales with the viewport at every size (no content cap) */
  --px: calc(100vw / 1440);

  --green: #aac197;
  --paper: #f7f7f7;
  --ink: #1e1e1e;
  --ink-2: #171d17;
  --forest: #171d17;
  --forest-2: #242d24;
  --white: #fcfaf7;
  --glass: rgba(40, 39, 39, 0.8);
  --media-border: rgba(23, 29, 23, 0.11);

  --serif: "Edict Display", Georgia, "Times New Roman", serif;
  --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* 6-column line grid: 40px left / 38px right at 1440 */
  --edge-l: 2.7778%;
  --edge-r: 2.6389%;

  /* hero geometry (shared with the loader so the logo hands over in place) */
  --logo-w: calc(460 * var(--px));
  --logo-top: 37.45%;
  --cta-w: max(180px, calc(220 * var(--px)));
  --cta-h: max(42px, calc(48 * var(--px)));
  --cta-bottom: calc(57 * var(--px));
  --hero-min: calc(640 * var(--px));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.is-loading, html.is-loading body { overflow: hidden; }
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.u-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 100% 100%;
  transition: background-size 0.4s var(--ease-out-cubic);
}
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; background-position: 0 100%; }

/* ---------- Keyframes (match septiembrearquitectura.com) ---------- */
@keyframes fadeInUp   { from { opacity: 0; transform: translate3d(0, 20%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp2  { from { opacity: 0; transform: translate3d(0, 4rem, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(4rem, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Loader ---------- */
#loader { display: none; }
.js #loader {
  display: block;
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: 200;
  color: #fff;
  transition: opacity 0.3s var(--ease-in-out);
}
.js #loader::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100lvh;
  background: var(--forest);
}
/* same box as .hero, so the logo lands exactly where the hero logo sits */
.loader__stage {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: var(--hero-min);
}
.loader__logo {
  position: absolute;
  left: 0; right: 0;
  margin: 0 auto;
  top: calc(var(--logo-top) - var(--logo-w) * 0.16623);
  width: var(--logo-w);
  z-index: 2;
}
.ld { display: block; width: 100%; height: auto; aspect-ratio: 460.131 / 152.973; overflow: visible; }

/* Logo build, timed from "SBR Logo Animation_1.mov" (29.97fps):
   0.52s  4 9 S B R fade up one by one (0.2s apart); each column tick grows up
          from the baseline with them (0.133s apart)
   2.50s  all six lines drop to full height
   2.86s  S E 1 fade up together; build complete ≈3.4s                       */
.js .ld-char,
.js .ld-sub,
.js .ld-tick,
.js .ld-ext { transform-box: view-box; }
.js .ld-char {
  --rise: 18px; /* SVG units */
  animation: ldFade 0.18s linear both, ldRise 0.65s var(--ease-out-cubic) both;
  animation-delay: calc(0.52s + var(--i) * 0.2s);
}
.js .ld-tick,
.js .ld-ext { transform-origin: 0 33.4px; } /* baseline of the top row */
.js .ld-tick {
  animation: ldGrow 0.85s var(--ease-out-expo) both;
  animation-delay: calc(0.5s + var(--i) * 0.133s); /* --i set on each .ld-line */
}
.js .ld-ext { animation: ldGrow 0.7s var(--ease-out-expo) 2.5s both; }
.js .ld-sub {
  --rise: 10px;
  animation: ldFade 0.18s linear 2.86s both, ldRise 0.5s var(--ease-out-cubic) 2.86s both;
}
@keyframes ldFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ldRise { from { transform: translate(0, var(--rise)); } to { transform: none; } }
@keyframes ldGrow { from { transform: scaleY(0); } to { transform: none; } }

/* hand-over: overlay fades straight off, logo stays put (the hero logo is underneath) */
body[data-load="first-done"] #loader { opacity: 0; pointer-events: none; }
body[data-load="done"] #loader       { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Custom cursor (desktop, fine pointer only) ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  --cursor-color: var(--ink-2);
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  z-index: 300;
  pointer-events: none;
}
.has-cursor .cursor.on-dark { --cursor-color: var(--green); }
.cursor > div {
  position: absolute;
  left: 0; top: 0;
  width: var(--cw, 10px);
  height: var(--ch, 10px);
  border-radius: var(--cr, 50px);
  transform: translate(-50%, -50%);
  background: var(--cursor-color);
  border: 1px solid transparent;
  transition: width 0.35s var(--ease-out-cubic), height 0.35s var(--ease-out-cubic),
              background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor.is-link > div { --cw: 44px; --ch: 44px; background: transparent; border-color: var(--cursor-color); }
.cursor.is-fill > div { background: transparent; border-color: var(--cursor-color); }
.cursor.is-hidden > div { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--cta-w);
  height: var(--cta-h);
  border: 1px solid var(--green);
  border-radius: 50px;
  color: #fff;
  font-family: var(--sans);
  font-weight: 300;
  font-size: max(15px, calc(18 * var(--px)));
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-out-cubic);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out-cubic);
}
.btn:hover, .btn:focus-visible { color: var(--forest); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--glass  { background: var(--glass); }
.btn--forest { background: var(--forest-2); }
.btn__label { position: relative; display: block; overflow: hidden; line-height: 1.25; }
.btn__label > span,
.btn__label::after { display: block; transition: transform 0.55s var(--ease-out-cubic); }
.btn__label::after {
  content: attr(data-label);
  position: absolute;
  left: 0; top: 100%;
  width: 100%;
  text-align: center;
}
.btn:hover .btn__label > span, .btn:hover .btn__label::after,
.btn:focus-visible .btn__label > span, .btn:focus-visible .btn__label::after { transform: translateY(-100%); }

/* ---------- Scroll reveals ([data-aos] like the reference) ---------- */
.js [data-aos] { opacity: 0; }
.js [data-aos].aos-animate {
  animation-duration: var(--aos-dur, 0.8s);
  animation-delay: var(--aos-delay, 0s);
  animation-timing-function: var(--ease-out-cubic);
  animation-fill-mode: both;
}
.js [data-aos="fadeInUp"].aos-animate   { animation-name: fadeInUp; }
.js [data-aos="fadeInUp2"].aos-animate  { animation-name: fadeInUp2; }
.js [data-aos="fadeInLeft"].aos-animate { animation-name: fadeInLeft; }
.js [data-aos="fadeIn"].aos-animate     { animation-name: fadeIn; --aos-dur: 0.6s; animation-timing-function: var(--ease-in-out); }

.js [data-reveal] { clip-path: inset(100% 0 0 0); }
.js [data-reveal] .media__zoom { transform: scale(1.2); }
.js [data-reveal].aos-animate { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-out-cubic) 0.1s; }
.js [data-reveal].aos-animate .media__zoom { transform: scale(1); transition: transform 1.4s var(--ease-out-cubic); }

/* ---------- Lines ---------- */
.line {
  position: absolute;
  width: 0;
  left: calc(var(--edge-l) + (100% - var(--edge-l) - var(--edge-r)) * var(--n) / 6);
  pointer-events: none;
}
/* Lines shoot up from below the fold into place the first time they come into view.
   main.js adds .is-in (once) and sets --line-delay so a group plays left → right.
   35vh start offset = just under the viewport edge when triggered at 75%.
   The inner img moves, not .line itself, so ScrollTrigger measures the line's real spot. */
.js .line img { opacity: 0; transform: translate3d(0, 35vh, 0); }
.js .line.is-in img {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-out-cubic) var(--line-delay, 0s),
              transform 1.4s var(--ease-out-expo) var(--line-delay, 0s);
}
.line img { position: absolute; top: 0; left: -1px; width: 2px; height: 100%; }
.line--n0 { --n: 0; } .line--n1 { --n: 1; } .line--n2 { --n: 2; } .line--n3 { --n: 3; }
.line--n4 { --n: 4; } .line--n5 { --n: 5; } .line--n6 { --n: 6; }

/* ---------- Landing ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: var(--hero-min);
  overflow: hidden;
  color: #fff;
  background: #0d1b45;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* fallback until hero.mp4 is supplied */
  background: linear-gradient(180deg, #0c1a44 0%, #14295b 58%, #0a1330 100%);
}
/* Figma crop of the square 1920px source in the 1440×1024 frame (fitted from the
   layer export): scale .773, offset -45px / -332px. Reproduced as cover @ 50% 75%
   plus a 1.0307 zoom about 101.9% 33.2% — exact at 1440×1024, and on other
   aspect ratios the skyline stays in the lower half. Portrait screens pan right
   to keep the Shard in view. */
.hero {
  --hero-pos: 50% 75%;
  --hero-zoom: 1.0307;
  --hero-origin: 101.9% 33.2%;
}
@media (max-aspect-ratio: 1/1) { .hero { --hero-pos: 88% 75%; } }
.hero__frame { position: absolute; inset: 0; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos);
  transform: scale(var(--hero-zoom));
  transform-origin: var(--hero-origin);
}
/* second copy used by main.js to cross-fade each loop end into the start */
.hero__video--b { opacity: 0; }

/* starts slightly zoomed in behind the loader, eases out once the logo build hands over */
.js .hero__frame { transform: scale(1.15); }
body[data-load="first-done"] .hero__frame,
body[data-load="done"] .hero__frame { transform: scale(1); transition: transform 2.8s var(--ease-out-quart); }

.hero__inner { position: absolute; inset: 0; }
.hero__address {
  position: absolute;
  left: 0; right: 0;
  top: calc(33 * var(--px));
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: max(15px, calc(20 * var(--px)));
  line-height: normal;
}
.hero__logo {
  position: absolute;
  left: 0; right: 0;
  margin: 0 auto;
  top: calc(var(--logo-top) - var(--logo-w) * 0.16623);
  width: var(--logo-w);
}
.hero__logo img { width: 100%; height: auto; }
.hero__cta {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--cta-bottom);
  margin: 0 auto;
}

/* hero copy waits for the loader to clear */
.js [data-hero-in] {
  opacity: 0;
  transform: translate3d(0, calc(16 * var(--px)), 0);
  transition: opacity 0.45s var(--ease-in-out), transform 0.8s var(--ease-out-cubic);
}
body[data-load="first-done"] [data-hero-in],
body[data-load="done"] [data-hero-in] { opacity: 1; transform: none; transition-delay: 0.17s; }
body[data-load="first-done"] .hero__cta[data-hero-in],
body[data-load="done"] .hero__cta[data-hero-in] { transition-delay: 0.35s; }
/* restore the button's own hover transitions once it has arrived */
body[data-load="done"] .hero__cta[data-hero-in] { transition: color 0.45s var(--ease-out-cubic); }

/* ---------- Intro ---------- */
.intro {
  position: relative;
  height: calc(892 * var(--px));
  background: var(--paper);
  text-align: center;
}
.intro__line { height: calc(258 * var(--px)); }
.intro__line--top { top: 0; }
.intro__line--bottom { bottom: 0; }
.intro__copy {
  padding-top: calc(293 * var(--px));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(65 * var(--px));
  line-height: calc(75 * var(--px));
  color: var(--ink);
  white-space: nowrap;
}
.intro__sub {
  margin-top: calc(40 * var(--px));
  font-size: max(17px, calc(26 * var(--px)));
  line-height: normal;
  color: var(--ink-2);
}

/* ---------- Image block ---------- */
.features {
  position: relative;
  background: var(--paper);
  padding: calc(152 * var(--px)) 0 calc(203 * var(--px));
}
.features__lines { position: absolute; inset: 0; z-index: 0; }
.line--full { top: calc(47 * var(--px)); bottom: calc(55 * var(--px)); }
.line--center { top: 0; }

.feature { position: relative; }
.feature--2 { margin-top: calc(251 * var(--px)); }
.feature--3 { margin-top: calc(195 * var(--px)); }
.feature--4 { margin-top: calc(165 * var(--px)); }
.feature--5 { margin-top: calc(178 * var(--px)); }

/* connector lines, positioned relative to the row's image top */
.line--part { z-index: 0; }
.feature--1 .line--part { top: calc(-105 * var(--px)); height: calc(800 * var(--px)); }
.feature--2 .line--part { top: calc(25.5 * var(--px)); height: calc(738.5 * var(--px)); }
.feature--3 .line--part { top: calc(16 * var(--px)); height: calc(652 * var(--px)); }
.feature--4 .line--part { top: calc(5 * var(--px)); height: calc(688 * var(--px)); }
.feature--5 .line--part { top: calc(81 * var(--px)); height: calc(688 * var(--px)); }

.feature__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  margin: 0 var(--edge-r) 0 var(--edge-l);
}
.feature__text {
  grid-row: 1;
  grid-column: 1 / 3;
  justify-self: center;
  width: calc(426 * var(--px));
  text-align: center;
}
.feature--flip .feature__text { grid-column: 4 / 6; }
.feature__text--raise { margin-bottom: calc(46 * var(--px)); }

.feature__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(32 * var(--px));
  line-height: normal;
  color: var(--ink);
}
.feature__title--sm { font-size: calc(30 * var(--px)); }
.feature__title--tight { line-height: calc(39 * var(--px)); }
.feature__title .q { font-family: "ABC Arizona Flare", var(--serif); font-weight: 400; }
.feature__desc {
  margin: calc(26 * var(--px)) auto 0;
  width: calc(370 * var(--px));
  font-size: max(15px, calc(21 * var(--px)));
  line-height: normal;
  color: var(--ink-2);
}

/* ---------- Media (Figma crop + reveal + parallax layers) ---------- */
.media {
  position: relative;
  grid-row: 1;
  grid-column: 3 / 7;
  margin: 0 calc(11 * var(--px));
  overflow: hidden;
  border-radius: 1px;
}
.feature--flip .media { grid-column: 1 / 4; }
.media--border { border: 1px solid var(--media-border); }
.media__zoom { position: absolute; inset: 0; overflow: hidden; border-radius: 1px; }
.media__parallax { position: absolute; inset: 0; }
.media img { position: absolute; max-width: none; }

.media--office  { aspect-ratio: 889 / 538; margin-right: calc(8 * var(--px)); }
.media--office img  { width: 114.17%; height: 125.81%; left: -13.72%; top: -12.39%; }
.media--nest    { aspect-ratio: 659 / 569; }
.media--nest img    { width: 115.3%;  height: 100.13%; left: -5.8%;   top: -0.07%; }
.media--market  { aspect-ratio: 886 / 539; }
.media--market img  { width: 100%;    height: 246.54%; left: 0;       top: -111.02%; }
.media--cyclist { aspect-ratio: 656 / 496; margin-left: calc(14 * var(--px)); }
.media--cyclist img { width: 100.03%; height: 198.35%; left: -0.02%;  top: -54.58%; }
.media--managed { aspect-ratio: 886 / 622; }
.media--managed img { width: 102.84%; height: 183.09%; left: -1.59%;  top: -48.6%; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--forest);
  color: var(--white);
  padding: calc(45 * var(--px)) var(--edge-r) calc(55 * var(--px)) var(--edge-l);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__title {
  margin-left: calc(2 * var(--px));
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(50 * var(--px));
  line-height: calc(55 * var(--px));
  color: #fff;
}
.footer__top .btn { margin-top: calc(21 * var(--px)); }

.footer__rule {
  position: relative;
  height: 1px;
  margin-top: calc(112 * var(--px));
  container-type: inline-size;
  transform-origin: 0 50%;
}
.footer__rule img {
  position: absolute;
  left: 50%; top: 50%;
  width: 1px;
  height: 100cqw;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.footer__grid {
  margin-top: calc(70 * var(--px));
  display: grid;
  grid-template-columns: calc(366 / 1362 * 100%) 1fr calc(182 / 1362 * 100%);
  align-items: start;
}
.footer__col--ay  { padding-top: calc(18 * var(--px)); }
.footer__col--usp { padding-top: calc(16 * var(--px)); }
.footer__col--zinc { grid-column: 3; }
.footer__logo--ay  { width: calc(97.5484 * var(--px)); height: auto; }
.footer__logo--usp { width: calc(90 * var(--px)); height: calc(61 * var(--px)); object-fit: cover; }

.contacts {
  margin-top: calc(25 * var(--px));
  display: grid;
  row-gap: calc(17 * var(--px));
}
.contacts li, .contacts--single {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: max(13px, calc(17 * var(--px)));
  line-height: max(19px, calc(25 * var(--px)));
}
.contacts__name { color: var(--green); }
.footer__by {
  color: var(--green);
  font-size: max(13px, calc(17 * var(--px)));
  line-height: max(19px, calc(25 * var(--px)));
}
.footer__zinc {
  display: block;
  width: calc(180 * var(--px));
  height: calc(41 * var(--px));
  margin-top: calc(17 * var(--px));
  transform: scaleY(-1);
  /* Figma's clip-path group is a plain 180×41 rect, so a box clip is equivalent.
     (A CSS mask-image is blocked under file:// and some CDNs, which hid the logo.) */
  overflow: hidden;
}
.footer__zinc img { width: 100%; height: 100%; }
.footer__col--zinc .contacts--single { margin-top: calc(23 * var(--px)); row-gap: 0; }

.footer__legal {
  margin: calc(152 * var(--px)) 0 0 calc(2 * var(--px));
  max-width: calc(1226 * var(--px));
  font-size: max(11px, calc(15 * var(--px)));
  line-height: max(18px, calc(25 * var(--px)));
  opacity: 0.9;
}

/* ==========================================================================
   Tablet / mobile
   ========================================================================== */
@media (max-width: 1023px) {
  :root {
    --gutter: 20px;
    --edge-l: var(--gutter);
    --edge-r: var(--gutter);
    --logo-w: min(68vw, 360px);
    --cta-w: 200px;
    --cta-h: 46px;
    --cta-bottom: 40px;
    --hero-min: 560px;
  }

  .hero__address { top: 22px; padding: 0 var(--gutter); font-size: 15px; }
  .btn { font-size: 16px; }

  .intro { height: auto; padding: 0 var(--gutter); }
  .intro__line { height: 88px; }
  .intro__copy { padding: 120px 0 120px; }
  .intro__title {
    white-space: normal;
    font-size: clamp(30px, 7.6vw, 54px);
    line-height: 1.15;
    max-width: 14em;
  }
  .intro__sub { margin-top: 22px; font-size: 17px; }

  .features { padding: 72px 0 80px; }
  .features__lines .line { display: none; }
  .features__lines .line--n0,
  .features__lines .line--n6 { display: block; top: 24px; bottom: 24px; }
  .line--part { display: none; }
  .feature + .feature { margin-top: 80px; }

  .feature__grid {
    display: flex;
    flex-direction: column;
    margin: 0 calc(var(--gutter) + 10px);
  }
  .media, .media--office, .media--cyclist { order: 1; width: 100%; margin: 0; }
  .feature__text, .feature__text--raise {
    order: 2;
    width: auto;
    max-width: 30em;
    margin: 28px auto 0;
  }
  .feature__title, .feature__title--sm { font-size: 26px; }
  .feature__title--tight { line-height: 1.22; }
  .feature__desc { width: auto; margin-top: 14px; font-size: 17px; }

  .footer { padding: 56px var(--gutter) 40px; }
  .footer__top { flex-direction: column; gap: 28px; }
  .footer__title { margin: 0; font-size: 38px; line-height: 1.12; }
  .footer__top .btn { margin: 0; }
  .footer__rule { margin-top: 48px; }
  .footer__grid { margin-top: 44px; grid-template-columns: 1fr; row-gap: 44px; }
  .footer__col--ay, .footer__col--usp { padding-top: 0; }
  .footer__col--zinc { grid-column: auto; }
  .footer__logo--ay { width: 88px; }
  .footer__logo--usp { width: 80px; height: 54px; }
  .contacts { margin-top: 20px; row-gap: 16px; }
  .contacts li, .contacts--single, .footer__by { font-size: 15px; line-height: 23px; }
  .footer__zinc { width: 160px; height: 36.4px; margin-top: 12px; }
  .footer__col--zinc .contacts--single { margin-top: 18px; }
  .footer__legal { margin: 56px 0 0; max-width: none; font-size: 12px; line-height: 1.65; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--zinc { grid-column: 1 / -1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-aos] { opacity: 1; }
  .js [data-reveal] { clip-path: none; }
  .js [data-reveal] .media__zoom, .js .hero__frame { transform: none; }
  .js [data-hero-in] { opacity: 1; transform: none; }
  .js .line img { opacity: 1; transform: none; }
}
