/* ==========================================================================
   Apurva Amin Architects — main.css
   All numbers measured from the Figma SVG exports (1920 × 1080 frames).
   Section order follows the site flow:
     01 logo · 02 home header + dropdown · 03 home slider · 04 sidebar shell
     05 service landing · 06 category listing · 07 interior/landscape grid
     08 lightbox · 09 project/product · 10 about · 11 team · 12 awards
     13 footprints · 14 contact · 15 mobile menu · 16 mobile layouts
   ========================================================================== */

/* ======================= 00  B/W FILTER (backend toggle) ==============
   Figma images are colour files with a black & white filter on top.
   ======================================================================= */
.is-grayscale img,
.is-grayscale video {
  filter: grayscale(100%);
}

/* =========================== 01  LOGO ==================================
   Vector logo, x=50 y=35, 322.8 × 12 (® in #231F20).
   ======================================================================= */
.aaa-logo {
  position: fixed;
  top: var(--logo-top);
  left: var(--pad-x);
  z-index: 30;
  display: block;
  line-height: 0;
  color: var(--c-black);
}

.aaa-logo svg,
.aaa-logo img {
  display: block;
  width: auto;
  height: var(--logo-h);
  max-width: none;
}

/* ====================== 02  HOME HEADER + DROPDOWN =====================
   PROJECTS box x=1494 · ABOUT 1658 · CONTACT 1793 → right edge 1870.
   Inter Medium 14 / ls 1.4px / uppercase / #000. Baseline y=46.5.
   ======================================================================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 0;
}

.site-nav {
  position: absolute;
  top: 33px;
  right: var(--pad-x);
}

.site-nav__list {
  display: flex;
  align-items: flex-start;
  gap: 81px;
}

.site-nav__list>li {
  position: relative;
}

.site-nav__list a {
  display: block;
  font-size: var(--t-topnav-size);
  line-height: var(--t-topnav-lh);
  font-weight: var(--fw-medium);
  letter-spacing: var(--t-topnav-ls);
  text-transform: uppercase;
  color: var(--c-black);
  white-space: nowrap;
  /* CSS adds letter-spacing after the last letter; Figma does not. */
  margin-right: calc(-1 * var(--t-topnav-ls));
  transition: opacity var(--dur) var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  opacity: .6;
}

/* Projects ▾ dropdown */
.site-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.site-nav__list .menu-item-has-children:hover>.sub-menu,
.site-nav__list .menu-item-has-children:focus-within>.sub-menu,
.site-nav__list .menu-item-has-children.is-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}

.menu-toggle {
  display: none;
}

/* ============================ 03  HOME SLIDER ==========================
   Full viewport, no scroll, no scrollbar. Fit = cover (default) or contain
   (backend: Home → Slider → Image fit).
   ======================================================================= */
html.is-home-page,
html.is-home-page body {
  height: 100%;
  overflow: hidden;
}

.home-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #e8e8e8;
  cursor: pointer;
}

.home-slider__track {
  display: flex;
  height: 100%;
  transition: transform var(--slide-dur) var(--ease);
  will-change: transform;
}

.home-slider.is-fade .home-slider__track {
  display: block;
  position: relative;
  transform: none !important;
}

.home-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-slider.is-fade .home-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--slide-dur) var(--ease);
}

.home-slider.is-fade .home-slider__slide.is-active {
  opacity: 1;
}

.home-slider__slide .aaa-media,
.home-slider__link {
  display: block;
  width: 100%;
  height: 100%;
}

.home-slider__slide img,
.home-slider__slide video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: var(--slider-fit, cover);
  object-position: top;
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  color: #fff;
  opacity: .85;
  transition: opacity var(--dur) var(--ease);
}

.home-slider__arrow:hover {
  opacity: 1;
}

.home-slider__arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.home-slider__arrow--prev {
  left: var(--pad-x);
}

.home-slider__arrow--next {
  right: var(--pad-x);
}

.home-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.home-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: background var(--dur) var(--ease);
}

.home-slider__dot.is-active {
  background: #fff;
}

/* ====================== 04  SIDEBAR SHELL (480 column) =================
   Fixed white column 0–480. Logo top (35/50). Nav anchored to the bottom:
   Inter Light 24, line 29, gap 23 (pitch 52), last baseline at 1022.
   ======================================================================= */
.inner {
  position: relative;
  min-height: 100vh;
}

.inner-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: var(--col);
  height: 100vh;
  background: var(--c-bg);
}

.inner-sidebar .aaa-logo {
  position: absolute;
}

.side-nav {
  position: absolute;
  left: var(--pad-x);
  bottom: var(--side-bottom);
}

.side-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--t-side-gap);
}

.side-nav__item a {
  display: inline-block;
  font-size: var(--t-side-size);
  line-height: var(--t-side-lh);
  font-weight: var(--fw-light);
  color: var(--c-soft);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.side-nav.has-active .side-nav__item a {
  color: var(--c-muted);
}

.side-nav.has-active .side-nav__item.is-active a,
.side-nav.has-active .side-nav__item a:hover,
.side-nav.has-active .side-nav__item a:focus-visible {
  color: var(--c-soft);
}

.inner__main {
  margin-left: var(--col);
  min-width: 0;
}

/* standard content band inside the shell: 480 → 1870, starts at y=180 */
.inner__band {
  padding: var(--content-top) var(--pad-x) var(--page-bottom) 0;
}

/* ====================== 05  SERVICE / ABOUT LANDING ====================
   Right image 480 → 1920 × full height (Architecture, Product Design, About).
   ======================================================================= */
.landing-media {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.landing-media .aaa-media,
.landing-media img,
.landing-media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right;
}

/* ===================== 06  CATEGORY LISTING (Houses / Hinchko) ========
   500 × 500 cards at x=480 & x=1370, first row y=180.
   Caption Inter Light 18 #7F7F7F, baseline 23px under the image.
   Optional header (Hinchko): title Light 24 · sub Light 18 · desc Light 18/24.
   ======================================================================= */
.listing__head {
  margin-bottom: var(--gap);
}

.listing__title {
  font-size: var(--t-24);
  line-height: var(--t-24-lh);
  font-weight: var(--fw-light);
  color: var(--c-soft);
}

.listing__subtitle {
  margin-top: 5.5px;
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  color: var(--c-soft);
}

.listing__desc {
  margin-top: 19.5px;
  font-size: var(--t-18);
  line-height: 24px;
  color: var(--c-soft);
}

.listing__desc>*+* {
  margin-top: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, var(--sq));
  justify-content: space-between;
  row-gap: var(--list-row-gap);
}

.card {
  display: block;
  min-width: 0;
}

.card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: opacity var(--dur) var(--ease);
}

.card:hover .card__media img {
  opacity: .9;
}

.card__title {
  display: block;
  margin-top: var(--cap-mt);
  font-size: var(--t-18);
  line-height: var(--cap-lh);
  font-weight: var(--fw-light);
  color: var(--c-soft);
}

.listing__empty {
  color: var(--c-muted);
}

/* ================= 07  INTERIOR / LANDSCAPE IMAGE GRID ================
   Logo only. 500 × 500 images, x=480/1370, rows every 550 (gap 50).
   ======================================================================= */
.bare-page {
  position: relative;
}

.gallery-grid {
  padding: var(--content-top) var(--pad-x) var(--page-bottom) var(--col);
}

.gallery-grid__list {
  display: grid;
  grid-template-columns: repeat(2, var(--sq));
  justify-content: space-between;
  row-gap: var(--gap);
}

.gallery-grid__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: #f2f2f2;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: opacity var(--dur) var(--ease);
}

.gallery-grid__item:hover img {
  opacity: .9;
}

/* ============================ 08  LIGHTBOX ============================
   White overlay · logo · main image 1408 × 792 at (256,100) · close X at
   (1689,100) · arrows 24px at x=50 / x=1846, centred · thumbs 61px,
   gap 29, top 919, active = 1px #7F7F7F outline 1px away.
   ======================================================================= */
.lightbox {
  --lb-sw: min(var(--lb-w), calc((100vh - 230px) * 1.777778));
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}

.lightbox .aaa-logo {
  position: absolute;
}

.lightbox__stage {
  position: absolute;
  top: var(--lb-top);
  left: 50%;
  width: var(--lb-sw);
  aspect-ratio: 1408 / 792;
  transform: translateX(-50%);
}

.lightbox__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transition: opacity .25s var(--ease);
}

.lightbox__img.is-loading {
  opacity: 0;
}

.lightbox__close {
  position: absolute;
  top: calc(var(--logo-top) + var(--logo-h, 12px) / 2 - 12px);
  left: auto;
  right: var(--pad-x);
  width: 24px;
  height: 24px;
  color: var(--c-soft);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  color: var(--c-soft);
}

.lightbox__close svg,
.lightbox__arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.lightbox__arrow--prev {
  left: var(--pad-x);
}

.lightbox__arrow--next {
  right: var(--pad-x);
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  color: var(--c-ink);
}

.lightbox__strip {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: var(--lb-sw);
  transform: translateX(-50%);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.lightbox__strip::-webkit-scrollbar {
  display: none;
}

.lightbox__thumbs {
  display: flex;
  gap: var(--lb-thumb-gap);
  padding: 2px;
  width: max-content;
}

.lightbox__thumb {
  flex: 0 0 auto;
  width: var(--lb-thumb);
  height: var(--lb-thumb);
  outline: 1px solid transparent;
  outline-offset: 1px;
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lightbox__thumb.is-active {
  outline-color: var(--c-thumb-border);
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

/* ======================== 09  PROJECT / PRODUCT =======================
   Banner 1920 × 900 (projects only) · intro: title (Regular 24) top-left,
   details bottom-left (label Medium 18 #7F7F7F, value Light 18 #5B5B5B,
   8px label→value, 20px between items), 500² thumb at x=1370 ·
   gallery 1390 wide, 50 gaps, 50% rows · back: 20px icon + BACK (Regular 18)
   51px under the last image, 181px bottom.
   ======================================================================= */
.project__banner {
  position: relative;
  width: 100%;
}

.project__banner .aaa-media,
.project__banner img,
.project__banner video {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.project__body {
  padding: var(--gap) var(--pad-x) 181px var(--col);
}

.project--no-banner .project__body {
  padding-top: var(--content-top);
}

.project__intro {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.project__intro-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: var(--intro-left);
  min-width: 0;
}

.project__title {
  font-size: var(--t-24);
  line-height: var(--t-24-lh);
  font-weight: var(--fw-regular);
  color: var(--c-soft);
}

.project__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: -1px;
}

.project__detail-title {
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  font-weight: var(--fw-medium);
  color: var(--c-soft);
}

.project__detail-text {
  margin-top: 8px;
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  font-weight: var(--fw-light);
  color: var(--c-ink);
}

.project__detail-text>*+* {
  margin-top: var(--t-18-lh);
}

.project__thumb {
  flex: 0 0 var(--sq);
  width: var(--sq);
  align-self: flex-start;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.project__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin-top: var(--gap);
}

.grow img,
.grow video {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.grow--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--pair-gap);
  align-items: start;
}

.grow--single .grow__col {
  width: 50%;
}

.grow--single.grow--right .grow__col {
  margin-left: auto;
}

.project__foot {
  margin-top: 51px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-18);
  line-height: 20px;
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  color: var(--c-soft);
  transition: color var(--dur) var(--ease);
}

.back-link span {
  position: relative;
  top: 1px;
}

.back-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 20px;
}

.back-link:hover {
  color: var(--c-ink);
}

/* ============================== 10  ABOUT =============================
   AAA / Practice / Apurva Amin: image 720² at (480,180) + optional radial
   vignette · text column x=1250 → 1870 (620) · Light 18 / line 25 /
   paragraph gap 20 · bold = Medium. Name: Light 24 · role Light 18.
   ======================================================================= */
.about {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.about__media {
  position: relative;
  flex: 0 0 var(--about-img);
  width: var(--about-img);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.about__media img,
.about__media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.about__media.has-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(74.254% 74.254% at 50% 50%, rgba(0, 0, 0, 0) 0%, #000 100%);
}

.about__text {
  flex: 0 0 var(--about-text);
  width: var(--about-text);
  min-width: 0;
  color: var(--c-soft);
}

.about__name {
  font-size: var(--t-24);
  line-height: var(--t-24-lh);
  font-weight: var(--fw-light);
}

.about__role {
  margin-top: 5.5px;
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
}

.about__name+.about__body,
.about__role+.about__body {
  margin-top: 20px;
}

.about__body {
  font-size: var(--t-18);
  line-height: var(--about-lh, 25px);
  font-weight: var(--fw-light);
}

.about__body>*+* {
  margin-top: 20px;
}

.about__body strong,
.about__body b,
.about__body h3,
.about__body h4 {
  font-weight: var(--fw-medium);
}

.about__body h3,
.about__body h4 {
  font-size: var(--t-18);
  line-height: inherit;
}

.about__body h3+p,
.about__body h4+p {
  margin-top: 0;
}

.about__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================== 11  TEAM =============================
   Group photo 1390 wide at y=180 · 3 × 380×320 (gap 125) · 4 × 262²
   (gap 114) · 6 × 160² (gap 86). Captions Regular 18 / 15 / 15.
   ======================================================================= */
.team__group img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.team__tier {
  display: grid;
  justify-content: space-between;
}

.team__tier--a {
  margin-top: 65px;
  grid-template-columns: repeat(3, var(--team-a));
  row-gap: 22px;
}

.team__tier--b {
  margin-top: 60px;
  grid-template-columns: repeat(4, var(--team-b));
  row-gap: 22.5px;
}

.team__tier--c {
  margin-top: 60px;
  grid-template-columns: repeat(6, var(--team-c));
  row-gap: 23.75px;
}

.team>.team__tier:first-child {
  margin-top: 0;
}

.team__media {
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
}

.team__tier--a .team__media {
  aspect-ratio: 380 / 320;
}

.team__tier--b .team__media,
.team__tier--c .team__media {
  aspect-ratio: 1 / 1;
}

.team__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.team__cap {
  display: block;
  font-weight: var(--fw-regular);
  color: var(--c-soft);
}

.team__tier--a .team__cap {
  margin-top: 5px;
  font-size: var(--t-18);
  line-height: 23px;
}

.team__tier--b .team__cap {
  margin-top: 6.5px;
  font-size: var(--t-15);
  line-height: var(--t-15-lh);
}

.team__tier--c .team__cap {
  margin-top: 6.25px;
  font-size: var(--t-15);
  line-height: var(--t-15-lh);
}

.team.inner__band {
  padding-bottom: 177px;
}

/* ============================== 12  AWARDS ============================
   Flat list, newest year first. Year x=480 (Light 18, ls 1.8) · title
   x=680 (Light 18), max 870 wide · line 22 · 47px between rows.
   ======================================================================= */
.awards__list {
  padding-top: 1px;
  display: flex;
  flex-direction: column;
  gap: 47px;
}

.awards__item {
  display: flex;
  align-items: flex-start;
}

.awards__year {
  flex: 0 0 var(--award-year);
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  letter-spacing: var(--ls-18);
  color: var(--c-soft);
}

.awards__title {
  flex: 0 1 62.59%;
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  color: var(--c-soft);
}

.awards__title a:hover {
  color: var(--c-ink);
}

/* ============================ 13  FOOTPRINTS ===========================
   India outline (vector) frame 611.86 × 695.70 at (654,192) · dots r=3
   #767676 · list x=1540 from y=180: state Medium 18, cities Light 18,
   39px pitch, scrolls inside the viewport with a ⌄ hint at (1748,918).
   ======================================================================= */
.footprints {
  position: relative;
  height: 100vh;
  min-height: 720px;
}

.footprints__map {
  position: absolute;
  top: 192px;
  left: 12.0833%;
  /* (654 − 480) / 1440 */
  width: 42.4903%;
  /* 611.86 / 1440      */
}

.footprints__map-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 611.86 / 695.702;
}

.footprints__svg,
.footprints__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.footprints__dot {
  position: absolute;
  z-index: 2;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--c-dot);
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footprints__dot::before {
  /* larger invisible hit area */
  content: "";
  position: absolute;
  inset: -6px;
}

.footprints__dot:hover,
.footprints__dot:focus-visible,
.footprints__dot.is-hover {
  z-index: 3;
  background: var(--c-dot-hover);
  transform: scale(1.5);
  outline: none;
}

.footprints__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) scale(.6667);
  transform-origin: 50% 100%;
  padding: 4px 9px;
  font-size: var(--t-18);
  /* 15px after the 1.5 dot scale is undone */
  line-height: var(--t-18-lh);
  white-space: nowrap;
  color: var(--c-ink);
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.footprints__dot:hover .footprints__tip,
.footprints__dot:focus-visible .footprints__tip,
.footprints__dot.is-hover .footprints__tip {
  opacity: 1;
}

.footprints__list-wrap {
  position: absolute;
  top: var(--content-top);
  bottom: 0;
  left: 73.6111%;
  /* (1540 − 480) / 1440 */
  width: 22.9167%;
  /* 330 / 1440          */
}

.footprints__list {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 60px;
}

.footprints__list::-webkit-scrollbar {
  display: none;
}

.footprints__state+.footprints__state {
  margin-top: 39px;
}

.footprints__state-name {
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  font-weight: var(--fw-medium);
  color: var(--c-soft);
}

.footprints__cities {
  margin-top: 17.5px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.footprints__city {
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
  color: var(--c-soft);
  cursor: default;
  transition: color var(--dur) var(--ease);
}

.footprints__city.is-hover {
  color: var(--c-ink);
}

.footprints__more {
  position: absolute;
  left: 208px;
  bottom: 132px;
  width: 30px;
  height: 30px;
  color: var(--c-soft);
  transition: opacity var(--dur) var(--ease);
}

.footprints__more svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  transition: transform var(--dur) var(--ease);
}

/* at the end of the list ⌄ turns into ⌃ (click = back to top) */
.footprints__more.is-up svg {
  transform: rotate(180deg);
}

.footprints__more.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============================== 14  CONTACT ============================
   Left column (bottom-anchored, icons bottom at 1022) · text #7B7B7B ·
   values Light 18 ls 1.8 · headings Medium 18 · line 22 · blocks +29 ·
   icons 24px boxes from x=58, 16 apart · right image 1440 × full height.
   ======================================================================= */
.contact__left {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: var(--col);
  height: 100vh;
  background: var(--c-bg);
}

.contact__info {
  position: absolute;
  left: var(--pad-x);
  right: 20px;
  bottom: 57.5px;
  color: var(--c-contact);
  font-size: var(--t-18);
  line-height: var(--t-18-lh);
}

.contact__block+.contact__block {
  margin-top: 29px;
}

.contact__value,
.contact__address,
.contact__direction {
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-18);
}

.contact__address {
  white-space: pre-line;
}

.contact__heading {
  font-weight: var(--fw-medium);
}

.contact__direction {
  display: inline-flex;
  align-items: center;
  gap: 12.8px;
}

.contact__direction svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact__info a:hover {
  color: var(--c-ink);
}

.contact__social {
  display: flex;
  gap: 16px;
  margin: 36.5px 0 0 8px;
}

.contact__social a {
  display: block;
  width: 24px;
  height: 24px;
}

.contact__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact__media {
  margin-left: var(--col);
}

/* ============================ 404 ================================== */
.error-404 {
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
  color: var(--c-soft);
}

.error-404 a {
  display: inline-block;
  margin-top: 16px;
  text-decoration: underline;
}

/* ======================= 15  MOBILE MENU (all pages) ====================
   Hidden on desktop. Logo + burger bar, full-screen white menu.
   ======================================================================= */
.m-bar,
.m-menu {
  display: none;
}