/* =====================================================================
   GREVON — merged stylesheet
   Sections, in page order: hero, video, about, projects.
   Combined from the standalone section builds; resets/fonts deduped.
   ===================================================================== */

/* ---- baseline reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { background: #121d2e; }
a { color: inherit; text-decoration: none; }

:root { --menu-width: 30em; }

/* ---- "Atyp" / "SuisseIntl" aren't licensed fonts available here, so
   they're aliased to real webfonts without touching any of the
   "Atyp" / "SuisseIntl" references in the section rules below ---- */
@font-face {
  font-family: 'Atyp';
  font-weight: 400;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/spacegrotesk/v22/V8mDoQDjQSkFtoMM3T6r8E7mPbF4C_k3HqU.woff2') format('woff2');
}
@font-face {
  font-family: 'Atyp';
  font-weight: 300;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/archivo/v25/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLydOxKsv4Rn.woff2') format('woff2');
}
@font-face {
  font-family: 'Atyp';
  font-weight: 700;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/spacegrotesk/v22/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj4PVnskPMA.woff2') format('woff2');
}
@font-face {
  font-family: 'SuisseIntl';
  font-weight: 400;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2') format('woff2');
}
@font-face {
  font-family: 'Host Grotesk';
  font-weight: 800;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/hostgrotesk/v5/co3UmWBnlCJ3U42vbbfdwMjzqHAXOdFzqU5PuWfJ_hGj-w.woff2') format('woff2');
}
@font-face {
  font-family: 'Host Grotesk';
  font-weight: 700;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/hostgrotesk/v5/co3UmWBnlCJ3U42vbbfdwMjzqHAXOdFzqU5PuQDJ_hGj-w.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-weight: 400;
  font-style: normal;
  src: url('https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2') format('woff2');
}

/* ---- the smooth-scroller viewport that wraps every section ----
   Desktop: smooth-scrollbar takes over and needs a fixed, clipped
   viewport (this is what makes the pin/parallax math work).
   Mobile: smooth-scrollbar is torn down in favor of native scroll
   (js/script.js), so the fixed height + clipping has to release too,
   or nothing past the hero would ever be reachable. */
.scroller { overflow: hidden; height: 100vh; }
body.hdn  { height: 100vh; overflow: hidden; }
@media (max-width: 760px) {
  .scroller { height: auto; overflow: visible; }
}


/* =====================================================================
   HERO / HOME SECTION
   ===================================================================== */

/* ---- scroll "rulers" ---- */
#mns_id_mv, #mns_id       { position: relative; }
#mns_id_set1              { position: relative; top: 2.604vw; }
#mns_id_set1_ops          { position: relative; top: 26.042vw; }
#mns_id_set2              { position: relative; top: 5.208vw; }
#mns_id_set2_ops          { position: relative; top: 20.833vw; }
#mns_id_set3              { position: relative; top: 20.833vw; }
#mns_id_set3_ops          { position: relative; top: 44.271vw; }
#mns_id_set4              { position: relative; top: 15.625vw; }
#mns_id_set4_ops          { position: relative; top: 31.25vw; }
#mns_id_set5              { position: relative; top: 7.813vw; }
#mns_id_set5_ops          { position: relative; top: 41.667vw; }
#mns_id_set6              { position: relative; top: 0; }
#mns_id_set6_ops          { position: relative; top: 26.042vw; }
#mns_id_set7              { position: relative; top: 18.229vw; }
#mns_id_set7_ops          { position: relative; top: 33.854vw; }

@media (max-width: 760px) {
  #mns_id_set1 { top: 0 }      #mns_id_set1_ops { top: 200px }
  #mns_id_set2 { top: 25px }   #mns_id_set2_ops { top: 400px }
  #mns_id_set3 { top: 100px }  #mns_id_set3_ops { top: 700px }
  #mns_id_set4 { top: 50px }   #mns_id_set4_ops { top: 650px }
  #mns_id_set5 { display: none } #mns_id_set5_ops { display: none }
  #mns_id_set6 { top: 50px }   #mns_id_set6_ops { top: 250px }
  #mns_id_set7 { top: 75px }   #mns_id_set7_ops { top: 450px }
}

/* ---- stage ---- */
.mn_screen {
  position: relative; height: 100vh;
  background: #121d2e; overflow: hidden; z-index: 50;
}
.mn_screen .intro {
  position: absolute; inset: 0 auto auto 0;
  width: 100vw; height: 100vh; overflow: hidden;
}
.mn_screen .intro_hold {
  position: absolute; inset: 0; margin: auto;
  display: flex; align-items: center; justify-content: center;
  width: 81.979vw; height: 40.208vw;
}
@media (max-width: 760px) {
  .mn_screen .intro_hold { width: 360px; height: 460px; }
}

/* initial (hidden) state of every image */
.mn_screen .intro_hold .intro_img {
  position: absolute; top: 0; left: 0; margin: auto;
  clip-path: inset(100%);
  transform: scale(1.8);
}
.mn_screen .intro_hold .intro_img .intro_img_hold {
  position: relative; width: 100%; height: 100%; overflow: hidden;
}
.mn_screen .intro_hold .intro_img .intro_img_hold img {
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 760px) {
  .intro_img01 img, .intro_img02 img, .intro_img03 img,
  .intro_img06 img, .intro_img07 img { object-position: 0 center; }
  .intro_img04 img { object-position: 100% center; }
}

/* per-image placement — needs the full ".mn_screen .intro_hold .intro_img"
   prefix to out-rank the base rule above (plain ".intro_imgNN" loses to
   it and every image would sit at 0,0) */
.mn_screen .intro_hold .intro_img.intro_img01 { top: 12.76vw;  left: 11.615vw; width: 22.969vw; height: 16.563vw; z-index: 60; }
.mn_screen .intro_hold .intro_img.intro_img02 { top: -0.781vw; left: 24.479vw; width: 13.958vw; height: 8.75vw;   z-index: 20; }
.mn_screen .intro_hold .intro_img.intro_img03 { top: 9.167vw;  left: 29.844vw; width: 16.51vw;  height: 23.542vw; z-index: 10; }
.mn_screen .intro_hold .intro_img.intro_img04 { top: 26.198vw; left: 31.458vw; width: 24.948vw; height: 13.073vw; z-index: 50; }
.mn_screen .intro_hold .intro_img.intro_img05 { top: -0.104vw; left: 40.99vw;  width: 22.552vw; height: 14.271vw; z-index: 30; }
.mn_screen .intro_hold .intro_img.intro_img06 { top: 23.073vw; left: 44.74vw;  width: 21.979vw; height: 13.958vw; z-index: 70; }
.mn_screen .intro_hold .intro_img.intro_img07 { top: 9.323vw;  left: 45.156vw; width: 17.031vw; height: 18.229vw; z-index: 10; opacity: 1; }
@media (max-width: 760px) {
  .mn_screen .intro_hold .intro_img.intro_img01 { width: 131px; height: 156px; top: 155px; left: 3px; }
  .mn_screen .intro_hold .intro_img.intro_img02 { width: 111px; height: 106px; top: 0;     left: 53px; }
  .mn_screen .intro_hold .intro_img.intro_img03 { width: 223px; height: 318px; top: 75px;  left: 82px; }
  .mn_screen .intro_hold .intro_img.intro_img04 { width: 153px; height: 119px; top: 335px; left: 183px; }
  .mn_screen .intro_hold .intro_img.intro_img05 { display: none; }
  .mn_screen .intro_hold .intro_img.intro_img06 { width: 131px; height: 131px; top: 188px; left: 224px; }
  .mn_screen .intro_hold .intro_img.intro_img07 { width: 146px; height: 192px; top: 48px;  left: 188px; }
}

/* ---- wordmark ---- */
.mn_screen .intro_hold_h1 {
  position: absolute; inset: 9.74vw 0 auto; margin: auto;
  width: auto; height: 16.25vw;
  display: inline-block; text-align: center; overflow: hidden;
  z-index: 65; opacity: 1; transform: translateY(0); pointer-events: none;
}
.mn_screen .intro_hold_h1 .h2g {
  position: relative; display: inline-block;
  color: #a9abb5;
  font: 22.188vw/12.24vw Atyp;
  letter-spacing: -1.664vw;
  height: 16.25vw; left: -1.823vw;
  transform: translateY(21vw);          /* start below the mask */
}
@media (max-width: 1024px) { .mn_screen .intro_hold_h1 .h2g { transform: translateY(17.5vw); } }
@media (max-width: 760px) {
  .mn_screen .intro_hold_h1 { inset: -11px 0 0; margin: auto; height: 80px; z-index: 80; }
  .mn_screen .intro_hold_h1 .h2g {
    color: #fff; left: 0; top: 11px; height: 80px;
    font: 86px/56px Atyp; letter-spacing: -6.487px;
    transform: translateY(85px);
  }
}

/* ---- Grevon logo mark (replaces the "Selemen" text wordmark) ----
   ".h2g" still slides up the same way since the entrance timeline
   animates that same selector. */
.mn_screen .intro_hold_h1 .h2g {
  display: flex; align-items: center; justify-content: center;
  left: 0; letter-spacing: 0;
}
.mn_screen .intro_hold_h1 .h2g .grevon-logo-mark {
  display: block; height: 42%; width: auto;
  filter: brightness(0) invert(1);
}

/* ---- subtitle ---- */
.mn_screen .ms_txt {
  position: absolute; width: 100%; bottom: 2.083vw;
  text-align: center; opacity: 0; transform: translateY(1.302vw); z-index: 80;
}
.mn_screen .ms_txt p { color: rgba(169,171,181,.9); font: 300 .99vw/.99vw Atyp; }
@media (max-width: 1280px) { .mn_screen .ms_txt p { font: .938vw/.938vw Atyp; } }
@media (max-width: 1024px) { .mn_screen .ms_txt p { font: 1.172vw/1.172vw Atyp; } }
@media (max-width: 760px)  {
  .mn_screen .ms_txt { bottom: 120px; transform: translateY(25px); }
  .mn_screen .ms_txt p { font: 15px/15px Atyp; }
}

/* ---- "scroll down" hint ----
   Lives inside .ms_txt, so it fades in with the subtitle at the end of
   the intro and fades out with it as soon as the page is scrolled. */
.mn_screen .ms_scroll {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin-top: 12px;
}
.mn_screen .ms_scroll__label {
  color: rgba(244,237,225,.85);
  font: 400 max(10px, .68vw)/1 Atyp;
  letter-spacing: .22em; text-transform: uppercase;
  padding-left: .22em;                 /* re-centre: tracking adds space on the right only */
}
.mn_screen .ms_scroll__line {
  position: relative; display: block; overflow: hidden;
  width: 1px; height: 28px;
  background: rgba(169,171,181,.25);
}
.mn_screen .ms_scroll__line::after {
  content: ""; position: absolute; inset: 0;
  background: #e1c08e;
  animation: ms-scroll-line 1.8s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes ms-scroll-line {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
@media (max-width: 760px) {
  .mn_screen .ms_txt { bottom: 56px; }
  .mn_screen .ms_scroll__label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .mn_screen .ms_scroll__line::after { animation: none; }
}

/* ================= underlay-nav (hamburger + slide-out menu) —
   fixed/global, sits outside .scroller so it stays visible across
   every section, current and future ================= */
.underlay-nav__header {
  z-index: 100;
  color: #fff;
  position: fixed;
  inset: 0% 0% auto;
  /* the toggle is always white for contrast against the hero/video/dark
     photo sections it normally sits over, but the contact section below
     is a plain white background — without this scrim "Menu" becomes
     white-on-white and effectively invisible there. A permanent subtle
     fade keeps it readable everywhere without retheming per-section.
     It lives on ::before so it can fade out while the menu is open:
     the header spans the full width above the white menu panel, and
     the scrim showed there as a dark smudge across the top of it. */
}
.underlay-nav__header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
  transition: opacity .4s ease;
}
body[data-menu-status="open"] .underlay-nav__header::before { opacity: 0; }

.underlay-nav__bar {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.underlay-nav__container {
  justify-content: flex-end;
  align-items: center;
  padding: 2.5em;
  display: flex;
}

.underlay-nav__toggle {
  grid-column-gap: .75em;
  grid-row-gap: .75em;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  outline-offset: 0px;
  background-color: #0000;
  border: 1px #000;
  outline: 3px #555;
  justify-content: center;
  align-items: center;
  margin: -1em;
  padding: 1em;
  display: flex;
}

.underlay-nav__toggle-text {
  flex-flow: column;
  flex: none;
  justify-content: flex-start;
  align-items: flex-end;
  height: 1.5em;
  display: flex;
  overflow: hidden;
}

.underlay-nav__toggle-label {
  font-size: 1.25em;
}

.underlay-nav__toggle-icon {
  grid-column-gap: .375em;
  grid-row-gap: .375em;
  flex-flow: column;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  margin-bottom: -.3em;
  display: flex;
}

.underlay-nav__toggle-bar {
  background-color: currentColor;
  flex: none;
  width: 100%;
  height: .125em;
  padding: 0;
}

.underlay-nav__menu {
  z-index: 1;
  width: var(--menu-width);
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
}
/* .underlay-nav__link-label/-small have no color of their own and this
   menu sits outside the .underlay-nav__header branch that supplies #fff,
   so without this they'd inherit plain black text on the dark backdrop */
.underlay-nav__menu { color: #121d2e; }
/* .underlay-nav__menu itself has no default background (only its links
   are hidden/shown via opacity), so an unconditional background here
   would render as a solid panel over the page at all times, open or
   closed. Scoping it to the JS-driven "open" state on <body> keeps it
   invisible until the menu is actually opened. */
body[data-menu-status="open"] .underlay-nav__menu { background: #fff; }

.underlay-nav__overlay {
  z-index: 100;
  pointer-events: none;
  cursor: pointer;
  visibility: hidden;
  position: fixed;
  inset: 0% -1px 0% 0%;
  overflow: clip;
}

.underlay-nav__inner {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 7.5em 2em 2em;
  display: flex;
  overflow: auto;
}

.underlay-nav__list {
  flex-flow: column;
  width: 100%;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.underlay-nav__list.is--small {
  grid-column-gap: .75em;
  grid-row-gap: .75em;
}

.underlay-nav__link-large {
  border-radius: .25em;
  width: 100%;
  padding: .75em 1em;
  display: block;
}

/* extra breathing room setting "Grevon Clean Pro" apart from the main
   Home/About/Projects/Contact nav items above it */
.underlay-nav__list-item--spaced { margin-top: 9em; }

.underlay-nav__link-label {
  letter-spacing: -.04em;
  font-family: Haffer XH, Arial, sans-serif;
  font-size: 3.25em;
  line-height: .9;
}

.underlay-nav__bottom {
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-top: 1.5em;
  display: flex;
  position: relative;
}

.underlay-nav__bottom-col {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  flex-flow: column;
  flex: 1;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.underlay-nav__link-small {
  font-family: 'Geist', sans-serif;
  font-size: 1em;
  line-height: 1.1;
}

.underlay-nav__link-small.is--faded {
  opacity: .5;
}

.underlay-nav__corner {
  transform-origin: 100% 0;
  color: #fff;
  background-image: radial-gradient(circle farthest-side at 0 100%, #fff0 99%, #fff);
  width: 2em;
  height: 2em;
}

.underlay-nav__corner.is--bottom {
  transform-origin: 100% 100%;
  background-image: radial-gradient(circle farthest-side at 0 0, #fff0 99%, #fff);
}

.underlay-nav__dark {
  opacity: 0;
  background-color: #0000004d;
  position: absolute;
  inset: 0%;
}

.underlay-nav__bottom-border {
  opacity: .15;
  transform-origin: 0%;
  transform: scaleX(0);
  background-color: currentColor;
  width: 100%;
  height: 1px;
  position: absolute;
  inset: 0% 0% auto;
}

[data-reveal-l],
[data-reveal-s] {
  opacity: 0;
  visibility: hidden;
}

.underlay-nav__borders {
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  display: flex;
  position: absolute;
  inset: 0;
}

.underlay-nav__border {
  background-color: #fff;
  width: 100%;
  height: 1em;
}

.underlay-nav__border-row {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-end;
  display: flex;
}

@media screen and (max-width: 767px) {
  :root {
    --menu-width: 80vw;
  }

  .underlay-nav__container {
    padding: 1.25em;
  }

  .underlay-nav__toggle-text {
    height: 1.25em;
  }

  .underlay-nav__toggle-label {
    font-size: 1em;
  }

  .underlay-nav__inner {
    padding: 5em 1.25em 1.25em;
  }

  .underlay-nav__link-label {
    font-size: 2em;
  }

  .underlay-nav__bottom {
    grid-column-gap: 2em;
    grid-row-gap: 2em;
    flex-flow: column;
    padding-left: 1em;
    padding-right: 1em;
  }
}


/* =====================================================================
   VIDEO SECTION
   ===================================================================== */

.svh { position: relative; }

.svh__pin {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #121d2e;
  /* stays fixed on screen (see initVideoSection in js/script.js) for the whole
     scene sequence — without this it's earlier in the DOM than the
     sections after it, so they'd paint over it as soon as their scroll
     position reaches the same spot, well before the pin actually
     releases. Mirrors .mn_screen's z-index for the same reason. */
  z-index: 40;
}

/* phones (native scroll): the browser holds the pin itself */
.svh__pin.is-sticky { position: sticky; top: 0; }

.svh__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.svh__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #121d2e;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}
.svh__video.is-active {
  opacity: 1;
  z-index: 1;
}

.svh__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(18, 29, 46, .1) 0%, rgba(18, 29, 46, .65) 100%);
}

.svh__progress-rail {
  position: absolute;
  top: 50%;
  right: 3em;
  transform: translateY(-50%);
  width: 2px;
  height: 180px;
  background-color: rgba(255, 255, 255, .2);
  z-index: 3;
}
.svh__progress-fill {
  width: 100%;
  height: 0%;
  background-color: #fff;
}

.svh__caption {
  position: absolute;
  left: 3vw;
  bottom: 3vw;
  z-index: 4;
  max-width: 46vw;
}
.svh__caption p {
  margin: 0;
  color: #fff;
  font-family: 'Atyp', Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -.01em;
  word-spacing: .3em;
}
/* the letter spans are what actually animate in (see revealCaption() in
   js/script.js) — the paragraph itself just holds them, always visible */
.svh__caption .caption-letter { display: inline-block; }
.caption-word { display: inline-block; white-space: nowrap; }

.svh__logo {
  position: absolute;
  left: 3vw;
  bottom: 3vw;
  z-index: 5;
  height: 5vw;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  pointer-events: none;
}

.svh__track { position: relative; }
/* dvh (not plain vh) so this scroll-scrubbed track's measured height
   doesn't drift as mobile Safari's address bar shows/hides mid-scroll —
   plain vh is locked to the largest possible viewport, so the pin's
   start/end can desync from what's actually on screen over a track this
   long. Older browsers that don't understand dvh just keep the vh value. */
.svh__scene { height: 100vh; height: 100dvh; }

@media (max-width: 760px) {
  .svh__scene { height: 70vh; height: 70dvh; }

  .svh__progress-rail { right: 1.5em; height: 120px; }

  .svh__caption { left: 20px; bottom: 24px; max-width: calc(100% - 40px); }
  .svh__caption p { font-size: 22px; }

  .svh__logo { left: 20px; bottom: 24px; height: 42px; }
}

/* breathing room between the video's pinned scene sequence and the
   about copy that follows it */
.section_gap { height: 12vw; background: #121d2e; }
@media (max-width: 760px) { .section_gap { height: 80px; } }


/* =====================================================================
   ABOUT SECTION
   ===================================================================== */

/* the ".dtw_img" photos use mix-blend-mode: lighten, which blends against
   whatever is behind them — the shared #121d2e body background is what
   that assumes */

.doubl_txt_wrap { position: relative; margin: 0; }

/* ---- the type stack ---- */
.doubl_txt_wrap .doubl_txt { position: relative; padding: 21.615vw 0 17.448vw; }
@media (max-width: 1600px) { .doubl_txt_wrap .doubl_txt { padding: 21.25vw 0 17.448vw; } }
@media (max-width: 760px)  { .doubl_txt_wrap .doubl_txt { padding: 113px 0 0; } }

.doubl_txt_wrap .doubl_txt .rows {
  position: relative;
  margin: 0 0 -1.823vw;            /* negative leading pulls lines together */
  padding: 0 0 1.198vw 1.198vw;
  overflow: hidden;                /* clips the wiping overlay */
}
.doubl_txt_wrap .doubl_txt .rows:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .doubl_txt_wrap .doubl_txt .rows { margin: 0 0 0 11px; padding: 0; }
}

.doubl_txt_wrap .doubl_txt .rows .h2 {
  position: relative; z-index: 1;
  color: #fff;
  font: 9.375vw/9.479vw Atyp;
  letter-spacing: -0.563vw;
}
@media (max-width: 760px) {
  .doubl_txt_wrap .doubl_txt .rows .h2 { font: 45px/45px Atyp; letter-spacing: -2.7px; }
}

/* ---- the dimming veil that wipes away ---- */
.doubl_txt_wrap .doubl_txt .rows .dt_ovr {
  position: absolute; top: 1.823vw; left: 0;
  width: 100%; height: 100%;
  background: rgba(18, 29, 46, .65);
  transform-origin: 100% 100%;      /* collapses toward the right edge */
  opacity: 1;
  z-index: 10;
}
@media (max-width: 760px) { .doubl_txt_wrap .doubl_txt .rows .dt_ovr { top: 0; } }

/* ---- the blended parallax photos ---- */
.doubl_txt_wrap .dtw_img {
  position: absolute; top: 0; z-index: 20;
  mix-blend-mode: lighten;          /* this is the "inside the text" look */
  overflow: hidden;
}
.doubl_txt_wrap .dtw_img img {
  position: absolute; inset: 0; margin: auto; width: 100%; height: 100%;
  object-fit: cover;                /* keeps substituted photos undistorted */
}

.doubl_txt_wrap .dtw_img.dtw_img01 { width: 18.125vw; height: 30.104vw; top: 118.333vw; left: 0; }
.doubl_txt_wrap .dtw_img.dtw_img02 { width: 18.177vw; height: 30.104vw; top: 38.125vw;  left: 51.927vw; }
.doubl_txt_wrap .dtw_img.dtw_img03 { width: 27.083vw; height: 55.208vw; top: 79.167vw;  right: 0; }

@media (max-width: 760px) {
  .doubl_txt_wrap .dtw_img.dtw_img01 { width: 89px;  height: 148px; top: 548px; }
  .doubl_txt_wrap .dtw_img.dtw_img02 { width: 70px;  height: 116px; top: 158px; left: 207px; }
  .doubl_txt_wrap .dtw_img.dtw_img03 { width: 109px; height: 221px; top: 297px; }
}


/* =====================================================================
   PROJECTS SECTION
   ===================================================================== */

.apartment_premises { position: relative; margin: -1.198vw 0 0; }
@media (max-width: 760px) { .apartment_premises { margin: -12px 0 0; } }

/* two-column grid */
.apartment_premises .rows { position: relative; display: flex; margin: 3.177vw 0 0; }
@media (max-width: 760px) { .apartment_premises .rows { display: none; } }

.apartment_premises .rows .ap_ln_h {
  position: absolute; top: 0; left: 0; right: 0; margin: 0 auto;
  width: calc(100% - 3.125vw); height: 0.052vw;
}
.apartment_premises .rows .ap_ln_h span {
  position: absolute; display: block; width: 100%; height: 100%;
  background: #515258; transform: scaleX(0); transform-origin: 50% 50%;
}
.apartment_premises .rows .ap_ln_v {
  position: absolute; bottom: 0; right: 0; margin: 0 auto; width: 0.052vw; height: 100%;
}
.apartment_premises .rows .ap_ln_v span {
  position: absolute; display: block; width: 100%; height: 100%;
  background: #515258; transform: scaleY(0); transform-origin: 0 0;
}

.apartment_premises .rows .cols {
  position: relative; width: 50%; text-align: center; padding: 0 0 12.188vw;
}
.apartment_premises .rows .cols.cols01 .d_img01 { text-align: left;  margin-right: auto; }
.apartment_premises .rows .cols.cols02 .d_img02 { text-align: right; margin-left: auto; }
.apartment_premises .rows .cols .desc { height: 100%; }

/* number + copy */
.apartment_premises .rows .cols .desc .nbr {
  position: relative; color: #a9abb5; font: 0.99vw/0.99vw Atyp; margin: 1.771vw 0 0;
}
@media (max-width: 1280px) { .apartment_premises .rows .cols .desc .nbr { font: 0.938vw/0.938vw Atyp; } }
@media (max-width: 1024px) { .apartment_premises .rows .cols .desc .nbr { font: 0.977vw/0.977vw Atyp; } }

.apartment_premises .rows .cols .desc .txt {
  color: #a9abb5; font: 0.938vw/1.25vw Atyp;
  margin: 3.698vw 0 0; letter-spacing: -0.028vw; text-align: center;
}
@media (max-width: 1024px) {
  .apartment_premises .rows .cols .desc .txt { font: 1.172vw/1.563vw Atyp; letter-spacing: -0.035vw; }
}
/* SplitText line start-state */
.apartment_premises .rows .cols .desc .txt .word div { transform: translateY(100%); opacity: 0; }

/* ================= the panel ================= */
.apartment_premises .rows .cols .d_img {
  position: relative; margin: 0; padding: 10.26vw 0 0;
  max-width: 46.354vw; text-align: center;
}

/* default = full size */
.apartment_premises .rows .cols .d_img .dic_desc {
  position: relative; height: 58.802vw;
  transform: scale(1); clip-path: inset(0px);
  transition: 1.25s;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_cl {
  position: absolute; inset: 0; margin: auto;
  width: 100%; height: 100%; object-fit: cover; transition: 1.25s;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_ovr {
  position: absolute; inset: 0; margin: auto; width: 100%; height: 100%;
  transform: scale(1); opacity: 1; transition: 1.25s;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_ovr .ovr_scl {
  position: absolute; inset: 0; margin: auto; width: 100%; height: 100%;
  transform-origin: 50% 50%;
  background: rgba(19, 20, 26, .15);
  opacity: 0; transition: 1.25s;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_clip {
  position: absolute; width: 100%; height: 100%; z-index: 20;
  display: flex; justify-content: center; align-items: center; text-align: center;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_clip .h5 {
  color: #fff; font: 2.083vw/2.083vw SuisseIntl; letter-spacing: .005vw; transition: 1.25s;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_clip .h3 {
  color: #fff; font: 5.521vw/5.521vw Atyp; letter-spacing: -.193vw;
  transform: translateY(-1.302vw); transition: 1.25s;
}
.apartment_premises .rows .cols .d_img .dic_desc .d_img_clip .ts {
  color: rgba(255,255,255,.7); font: 0.99vw/0.99vw Atyp;
  transform: translateY(.469vw); transition: 1.25s;
}
@media (max-width: 1280px) { .apartment_premises .rows .cols .d_img .dic_desc .d_img_clip .ts { font: .938vw/.938vw Atyp; } }
@media (max-width: 1024px) { .apartment_premises .rows .cols .d_img .dic_desc .d_img_clip .ts { font: 1.172vw/1.172vw Atyp; } }

/* ---- .active = the shrunken / "zoomed out" state ---- */
.apartment_premises .rows .cols .d_img.active .dic_desc {
  clip-path: inset(5% 10%);
  transform: scale(0.65);
  transition: 1.25s;
}
@media (max-width: 1600px) {
  .apartment_premises .rows .cols .d_img.active .dic_desc { transform: scale(0.8); }
}
.apartment_premises .rows .cols .d_img.active .dic_desc .d_img_cl { transition: 1.25s; }
.apartment_premises .rows .cols .d_img.active .dic_desc .d_img_ovr {
  opacity: 1; transform: scale(1); transition: 1.25s;
}
.apartment_premises .rows .cols .d_img.active .dic_desc .d_img_ovr .ovr_scl {
  opacity: 1; transition: 1.25s;                    /* tint fades in */
}
.apartment_premises .rows .cols .d_img.active .dic_desc .d_img_clip .h5 {
  color: #a9abb5; font: 1.51vw/1.51vw SuisseIntl; letter-spacing: -.038vw; transition: 1.25s;
}
.apartment_premises .rows .cols .d_img.active .dic_desc .d_img_clip .h3 {
  color: #a9abb5; font: 4.01vw/4.01vw Atyp; letter-spacing: -.14vw;
  transform: translateY(-.885vw); transition: 1.25s;
}
.apartment_premises .rows .cols .d_img.active .dic_desc .d_img_clip .ts {
  color: #a9abb5; font: .729vw/.729vw Atyp; transform: translateY(.313vw); transition: 1.25s;
}

/* ================= CSS — mobile variant ================= */
.apartment_premises #rows_mb_scl01,
.apartment_premises #rows_mb_scl02 { position: relative; top: 50vh; }

.apartment_premises .rows_mb { display: none; }
@media (max-width: 760px) { .apartment_premises .rows_mb { display: block; } }

.apartment_premises .rows_mb .cols { position: relative; }
.apartment_premises .rows_mb .cols .desc { text-align: center; }
.apartment_premises .rows_mb .cols .desc .ap_bg_mb {
  height: 100vh;
  background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;
}
.apartment_premises .rows_mb .cols .desc .nbr {
  position: relative; color: rgba(169,171,181,.7);
  font: 12px/12px Atyp; margin: 0; padding-top: 57px;
}
.apartment_premises .rows_mb .cols .desc .dic_txt { margin: 120px 0 0; }
.apartment_premises .rows_mb .cols .desc .dic_txt .h5 {
  color: #fff; font: 19px/19px SuisseIntl; letter-spacing: -.475px; transition: 1.25s;
}
.apartment_premises .rows_mb .cols .desc .dic_txt .h3 {
  color: #fff; font: 50px/50px Atyp; letter-spacing: -1.75px; margin: -9px 0 0; transition: 1.25s;
}
.apartment_premises .rows_mb .cols .desc .dic_txt .ts {
  color: #fff; font: 12px/16px Atyp; margin: 16px 0 0; transition: 1.25s;
}
.apartment_premises .rows_mb .cols .desc .txt { margin: 155px 0 0; }
.apartment_premises .rows_mb .cols .desc .txt p { color: rgba(255,255,255,.7); font: 14px/19px SuisseIntl; }
.apartment_premises .rows_mb .cols .desc .txt p .br { display: block; }
.apartment_premises .rows_mb .cols .desc .ap_bg_mb_lnks { margin: 44px 0 0; }
.apartment_premises .rows_mb .cols .desc .ap_bg_mb_lnks .ap_bg_mb_lnk {
  display: inline-block; cursor: pointer;
  color: #a9abb5; font: 12px/12px Atyp;
  border: 1px solid rgba(169,171,181,.2); border-radius: 50px; padding: 18px 26px;
  transition: .7s cubic-bezier(.165,.84,.44,1);
}

/* ================= Industrial (03) — full-width band below the rows ================= */
.apartment_premises .ind_ln_h {
  position: relative; width: calc(100% - 3.125vw); height: 0.052vw; margin: 3.177vw auto 0;
}
.apartment_premises .ind_ln_h span {
  position: absolute; display: block; width: 100%; height: 100%;
  background: #515258; transform: scaleX(0); transform-origin: 50% 50%;
}
.apartment_premises .ind_img {
  position: relative; width: 46.354vw; height: 52vw; overflow: hidden; margin: 3.177vw auto 0;
}
.apartment_premises .ind_img .ind_img_hold { position: relative; width: 100%; height: 100%; }
.apartment_premises .ind_img .ind_img_cl {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.apartment_premises .ind_img .ind_ovr {
  position: absolute; inset: 0; background: rgba(18, 29, 46, .45);
}
.apartment_premises .ind_img .ind_clip {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; z-index: 20;
}
.apartment_premises .ind_img .nbr {
  position: absolute; top: 1.771vw; left: 1.563vw;
  color: rgba(255,255,255,.7); font: 0.99vw/0.99vw Atyp;
}
.apartment_premises .ind_img .dic_txt { opacity: 0; transform: translateY(2.5vw); }
.apartment_premises .ind_img .ap_bg_mb_lnks {
  display: none; opacity: 0; transform: translateY(2.5vw);
}
.apartment_premises .ind_img .dic_txt .h5 {
  color: #fff; font: 2.083vw/2.083vw SuisseIntl; letter-spacing: .005vw;
  margin-bottom: .9vw;
}
.apartment_premises .ind_img .dic_txt .h3 {
  color: #fff; font: 5.521vw/5.521vw Atyp; letter-spacing: -.193vw;
  transform: translateY(-1.302vw);
}
.apartment_premises .ind_img .dic_txt .ts {
  color: rgba(255,255,255,.7); font: 0.99vw/0.99vw Atyp;
  transform: translateY(.469vw);
}
@media (max-width: 760px) {
  .apartment_premises .ind_img { width: 100%; height: 100vh; margin: 12px 0 0; }
  .apartment_premises .ind_img .nbr { top: 57px; left: 20px; font: 12px/12px Atyp; }
  .apartment_premises .ind_img .dic_txt .h5 { font: 19px/19px SuisseIntl; letter-spacing: -.475px; margin-bottom: 8px; }
  .apartment_premises .ind_img .dic_txt .h3 { font: 50px/50px Atyp; letter-spacing: -1.75px; margin: 0; transform: none; }
  .apartment_premises .ind_img .dic_txt .ts { font: 12px/16px Atyp; margin: 16px 0 0; transform: none; }

  .apartment_premises .ind_img .ap_bg_mb_lnks {
    display: block; position: absolute; left: 0; right: 0; top: 63%;
    text-align: center; z-index: 21;
  }
  .apartment_premises .ind_img .ap_bg_mb_lnks .ap_bg_mb_lnk {
    display: inline-block; cursor: pointer;
    color: #a9abb5; font: 12px/12px Atyp;
    border: 1px solid rgba(169,171,181,.2); border-radius: 50px; padding: 18px 26px;
    transition: .7s cubic-bezier(.165,.84,.44,1);
  }
}

/* ---- same hover-zoom effect as the 01/02 panels, ported to a single
   image: resting state mirrors their ".active" (shrunk/tinted/muted)
   look, hover mirrors their default (full-size/vivid) look ---- */
@media (min-width: 761px) {
  .apartment_premises .ind_img .ind_img_hold {
    clip-path: inset(5% 10%);
    transform: scale(0.65);
    transition: 1.25s;
  }
  @media (max-width: 1600px) {
    .apartment_premises .ind_img .ind_img_hold { transform: scale(0.8); }
  }
  .apartment_premises .ind_img:hover .ind_img_hold {
    clip-path: inset(0px);
    transform: scale(1);
  }

  .apartment_premises .ind_img .ind_ovr { opacity: 1; transition: opacity 1.25s; }
  .apartment_premises .ind_img:hover .ind_ovr { opacity: 0; }

  .apartment_premises .ind_img .dic_txt .h5,
  .apartment_premises .ind_img .dic_txt .h3,
  .apartment_premises .ind_img .dic_txt .ts { transition: 1.25s; }

  .apartment_premises .ind_img .dic_txt .h5 { color: #a9abb5; font-size: 1.51vw; letter-spacing: -.038vw; }
  .apartment_premises .ind_img:hover .dic_txt .h5 { color: #fff; font-size: 2.083vw; letter-spacing: .005vw; }

  .apartment_premises .ind_img .dic_txt .h3 { color: #a9abb5; font-size: 4.01vw; letter-spacing: -.14vw; }
  .apartment_premises .ind_img:hover .dic_txt .h3 { color: #fff; font-size: 5.521vw; letter-spacing: -.193vw; }

  .apartment_premises .ind_img .dic_txt .ts { color: #a9abb5; font-size: .729vw; }
  .apartment_premises .ind_img:hover .dic_txt .ts { color: rgba(255,255,255,.7); font-size: 0.99vw; }
}


/* =====================================================================
   FOUNDER SECTION
   ===================================================================== */
.founder-section {
  position: relative;
  z-index: 2;
  /* same tone as the studio backdrop of the founder photo, so the
     portrait melts into the section instead of sitting in a box */
  background-color: #ebe2e4;
  padding: 9em 3.125vw;
}

.founder-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 6vw;
  align-items: center;
}

.founder__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.founder__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* feather the edges into the section background */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.founder__eyebrow {
  margin: 0 0 1.6em;
  color: #8a6529;
  font: 700 .85rem 'Host Grotesk', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.founder__name {
  margin: 0;
  color: #121d2e;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.founder__role {
  margin: 1.1em 0 0;
  color: rgba(18, 29, 46, .68);
  font: 1rem Atyp, sans-serif;
  letter-spacing: .02em;
}

.founder__bio {
  margin-top: 2.6em;
  padding-top: 2.6em;
  border-top: 1px solid rgba(18, 29, 46, .18);
  max-width: 38em;
}
.founder__bio p {
  margin: 0;
  color: rgba(18, 29, 46, .82);
  font: 300 clamp(1rem, 1.25vw, 1.2rem)/1.6 Atyp, sans-serif;
}
.founder__bio p + p { margin-top: 1.2em; }

.founder__quote {
  margin: 2.6em 0 0;
  padding-left: 1.2em;
  border-left: 2px solid #b08a4a;
  max-width: 30em;
  color: #121d2e;
  font: 300 clamp(1.2rem, 1.7vw, 1.7rem)/1.4 Atyp, sans-serif;
}

@media (max-width: 900px) {
  .founder-wrapper { grid-template-columns: 1fr; row-gap: 3em; }
  .founder__photo { max-width: 420px; }
}
@media (max-width: 760px) {
  .founder-section { padding: 5em 20px; }
}


/* =====================================================================
   NUMBERS SECTION
   ===================================================================== */
.stats {
  --stats-fg: #f4ede1;
  --stats-line: rgba(244, 237, 225, .22);
  position: relative;
  width: 100%;
  background-color: #121d2e;
  border-top: 1px solid rgba(169, 171, 181, .15);
  color: var(--stats-fg);
  padding: clamp(64px, 9vw, 130px) 0;
}
.stats-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.stats-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stats-line);
  color: #e1c08e;
  font: 700 12px 'Host Grotesk', sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(16px, 3vw, 40px);
}
.stat {
  padding: clamp(28px, 4vw, 56px) clamp(0px, 2vw, 32px) clamp(28px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--stats-line);
}
.stat:nth-child(even) {
  padding-left: clamp(20px, 4vw, 56px);
  border-left: 1px solid var(--stats-line);
}
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat-n {
  display: block;
  font-family: Manrope, 'Host Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(80px, 15vw, 240px);
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.stat-n b { font-weight: 300; }
.stat-u {
  display: block;
  margin-top: 18px;
  color: #e1c08e;
  font: 700 12px 'Host Grotesk', sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.stat p {
  max-width: 300px;
  margin: 10px 0 0;
  color: rgba(244, 237, 225, .8);
  font: 300 17px/1.5 Atyp, sans-serif;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 1px solid var(--stats-line); }
  .stat:last-child { border-bottom: 0; }
}


/* =====================================================================
   TESTIMONIALS SECTION
   ===================================================================== */
/* Same dark background as the numbers section above it, so the two
   read as one continuous block. */
.testimonials-section {
  position: relative;
  z-index: 2;
  background-color: #121d2e;
  border-top: 1px solid rgba(169, 171, 181, .15);
  padding: 9em 3.125vw;
}

.testimonials-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 6vw;
  align-items: start;
}

.testimonials-eyebrow {
  margin: 0 0 1.6em;
  color: #e1c08e;
  font: 700 .85rem 'Host Grotesk', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.testimonials-heading {
  margin: 0;
  color: #f4ede1;
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.testimonials-heading__line { display: block; }

.testimonials-slider { position: relative; }

.testimonials-mark {
  height: .55em;
  color: #e1c08e;
  font: 800 clamp(5rem, 9vw, 9rem)/1 'Host Grotesk', sans-serif;
  user-select: none;
}

/* every testimonial sits in the same grid cell, so the block is always as
   tall as the longest one and the page never jumps when they change */
.testimonials-track { display: grid; }
.testimonial {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .6s ease .2s, transform .6s ease .2s, visibility 0s;
}

.testimonial__quote {
  margin: 0;
  color: #f4ede1;
  font: 300 clamp(1.3rem, 2.1vw, 2.2rem)/1.4 Atyp, sans-serif;
  letter-spacing: -.005em;
}
.testimonial__by {
  display: flex;
  flex-direction: column;
  gap: .45em;
  margin-top: 2.4em;
}
.testimonial__name {
  color: #f4ede1;
  font: 700 1.05rem 'Host Grotesk', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.testimonial__meta {
  color: #a9abb5;
  font: .95rem Atyp, sans-serif;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  gap: 1.4em;
  margin-top: 3.2em;
  padding-top: 2em;
  border-top: 1px solid rgba(169, 171, 181, .2);
}
.testimonials-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid rgba(225, 192, 142, .55);
  border-radius: 50%;
  color: #f4ede1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.testimonials-btn:hover { background-color: #e1c08e; border-color: #e1c08e; color: #121d2e; }
.testimonials-btn:focus-visible { outline: 2px solid #e1c08e; outline-offset: 3px; }
.testimonials-count {
  min-width: 5em;
  color: #a9abb5;
  font: .95rem Atyp, sans-serif;
  letter-spacing: .08em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
/* a single testimonial needs no arrows */
.testimonials-slider.is-single .testimonials-controls { display: none; }

@media (max-width: 900px) {
  .testimonials-wrapper { grid-template-columns: 1fr; row-gap: 3.5em; }
}
@media (max-width: 760px) {
  .testimonials-section { padding: 5em 20px; }
  .testimonials-controls { margin-top: 2.4em; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial, .testimonial.is-active { transform: none; transition-duration: 0s; transition-delay: 0s; }
}


/* =====================================================================
   CONTACT SECTION
   ===================================================================== */
/* This section's clip-path "opens" as it scrolls into view. The page's
   desktop scrolling runs through a custom smooth-scrollbar instance (see
   initScroll in js/script.js), and .scroller has overflow:hidden — real
   CSS position:sticky is inert in that setup, so .contact-section stays
   position:relative and the reveal runs as a plain scroll-linked scrub. */
.wrap-sticky { position: relative; z-index: 1; }

.contact-section {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  padding: 8em 3em;
  clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
  will-change: clip-path;
}

.contact-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #4a4642;
  font-family: 'Host Grotesk';
  font-weight: 800;
  font-size: clamp(3.6rem, 9.8vw, 9rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto 3em;
  padding-top: 1em;
}
.contact-heading__line { display: block; }

.contact-form { border-top: 1px solid rgba(0, 0, 0, .12); }
.contact-form__row { border-bottom: 1px solid rgba(0, 0, 0, .12); }
.contact-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-field { padding: 2.5em 2em 2.5em 0; }
.contact-field--bordered {
  border-left: 1px solid rgba(0, 0, 0, .12);
  padding-left: 2em;
}
.contact-field__label {
  display: block;
  color: #d9722c;
  font: 1rem Atyp;
  margin-bottom: 1.5em;
}
.contact-field__input {
  display: block;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  color: #4a4642;
  font: 1.1rem Atyp;
  resize: none;
}
.contact-field__input::placeholder { color: rgba(63, 60, 56, .4); }
.contact-field__input--textarea { min-height: 3em; }

.contact-form__submit-row {
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding-top: 2.5em;
}
.contact-submit {
  display: inline-block;
  background: none;
  border: 1px solid #d9722c;
  color: #4a4642;
  font: .95rem Atyp;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1em 2.2em;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.contact-submit:hover { background-color: #d9722c; color: #fff; }

.contact-form__status {
  margin: 0;
  color: #d9722c;
  font: .9rem Atyp;
}

@media (max-width: 767px) {
  .contact-section {
    padding: 5em 1.5em;
    clip-path: none;
    will-change: auto;
  }
  .contact-heading { margin-bottom: 2em; }
  .contact-form__row--split { grid-template-columns: 1fr; }
  .contact-field--bordered {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, .12);
    padding-left: 0;
    padding-top: 2.5em;
  }
}


/* =====================================================================
   LOOP VIDEO SECTION
   ===================================================================== */
.loop-video-section {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
.loop-video-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .loop-video-section { height: 50vh; }
}


/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  position: relative;
  background: #121d2e;
  padding: 5vw 3.125vw 2vw;
  border-top: 1px solid rgba(169, 171, 181, .15);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4vw;
  padding-bottom: 3vw;
}

.site-footer__brand { max-width: 22vw; }
.site-footer__logo {
  display: block;
  height: max(22px, 1.8vw);
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.2vw;
}
.site-footer__tagline {
  color: rgba(169, 171, 181, .8);
  font: max(13px, .938vw)/1.4 Atyp;
}

.site-footer__nav { display: flex; gap: 5vw; }
.site-footer__col { display: flex; flex-direction: column; }
.site-footer__col-title {
  color: rgba(169, 171, 181, .5);
  font: max(11px, .78vw)/1 Atyp;
  text-transform: uppercase;
  letter-spacing: .05vw;
  margin-bottom: 1.2vw;
}
.site-footer__link {
  color: #fff;
  font: max(13px, .99vw)/1 Atyp;
  margin-bottom: .9vw;
  transition: color .3s ease;
}
.site-footer__link:hover { color: #a9abb5; }

.site-footer__social {
  display: inline-flex;
  color: #fff;
  width: fit-content;
  transition: color .3s ease;
}
.site-footer__social:hover { color: #a9abb5; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2vw;
  border-top: 1px solid rgba(169, 171, 181, .15);
}
.site-footer__copyright { color: rgba(169, 171, 181, .5); font: max(11px, .78vw)/1 Atyp; }
.site-footer__legal { display: flex; gap: 2vw; }
.site-footer__legal .site-footer__link {
  margin-bottom: 0;
  color: rgba(169, 171, 181, .5);
  font-size: max(11px, .78vw);
}
.site-footer__legal .site-footer__link:hover { color: #fff; }

@media (max-width: 760px) {
  .site-footer { padding: 60px 20px 24px; }
  .site-footer__top { flex-direction: column; gap: 40px; padding-bottom: 40px; }
  .site-footer__brand { max-width: none; }
  .site-footer__logo { height: 24px; margin-bottom: 16px; }
  .site-footer__tagline { font-size: 14px; }
  .site-footer__nav { flex-wrap: wrap; gap: 32px; }
  .site-footer__col-title { font-size: 11px; margin-bottom: 14px; }
  .site-footer__link { font-size: 14px; margin-bottom: 12px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; }
  .site-footer__copyright { font-size: 11px; }
  .site-footer__legal { gap: 20px; }
  .site-footer__legal .site-footer__link { font-size: 11px; }
}


/* =====================================================================
   PROJECT DETAIL PAGES (projects-premises / -apartments / -industrial)
   ===================================================================== */
.pd-scroller { position: relative; }

.pd__hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #121d2e;
}
.pd__hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.12);
}
.pd__hero-ovr {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,29,46,.35) 0%, rgba(18,29,46,.55) 60%, rgba(18,29,46,.9) 100%);
}
.pd__hero-txt {
  position: absolute; inset: 0 auto auto 0; margin: 0;
  width: 100%; padding: 0 3.125vw; bottom: 3.125vw; top: auto;
  display: flex; flex-direction: column; gap: .5vw;
}
.pd__back {
  color: rgba(255,255,255,.7); font: max(12px, .938vw)/1 Atyp;
  margin-bottom: 2vw; width: fit-content;
  transition: color .3s ease;
}
.pd__back:hover { color: #fff; }
.pd__nbr { color: rgba(255,255,255,.5); font: max(12px, .99vw)/1 Atyp; }
.pd__eyebrow { display: block; color: rgba(255,255,255,.7); font: 2.083vw/1 SuisseIntl; margin-bottom: .5vw; }
.pd__title {
  color: #fff; font: 6.5vw/.95 Atyp; letter-spacing: -.2vw;
  text-transform: lowercase; margin: 0;
}
.pd__tagline { color: rgba(255,255,255,.7); font: max(14px, 1.1vw)/1.4 Atyp; margin-top: 1vw; }

.pd__body { position: relative; background: #121d2e; padding: 6vw 3.125vw 4vw; }
.pd__body-inner { max-width: 46vw; margin: 0 auto; }
.pd__lead {
  color: #a9abb5; font: max(16px, 1.35vw)/1.5 Atyp; letter-spacing: -.01vw;
  margin: 0 0 4vw;
}

.pd__features { border-top: 1px solid rgba(169,171,181,.15); margin-bottom: 4vw; }
.pd__feature {
  display: flex; align-items: baseline; gap: 1.5vw;
  padding: 1.5vw 0; border-bottom: 1px solid rgba(169,171,181,.15);
}
.pd__feature-nbr { color: rgba(169,171,181,.5); font: max(12px, .938vw)/1 Atyp; }
.pd__feature span:last-child { color: #fff; font: max(14px, 1.1vw)/1.3 Atyp; }

.pd__cta {
  display: inline-block; color: #a9abb5; font: max(12px, .938vw)/1 Atyp;
  border: 1px solid rgba(169,171,181,.2); border-radius: 50px;
  padding: max(14px, 1.1vw) max(22px, 2vw); transition: .5s cubic-bezier(.165,.84,.44,1);
}
.pd__cta:hover { color: #fff; border-color: rgba(255,255,255,.5); }

@media (max-width: 760px) {
  .pd__hero-txt { padding: 0 20px; bottom: 40px; }
  .pd__back { font-size: 12px; margin-bottom: 24px; }
  .pd__nbr { font-size: 12px; }
  .pd__eyebrow { font-size: 19px; margin-bottom: 8px; }
  .pd__title { font-size: 15vw; letter-spacing: -1.5px; }
  .pd__tagline { font-size: 14px; margin-top: 12px; }

  .pd__body { padding: 80px 20px 60px; }
  .pd__body-inner { max-width: none; }
  .pd__lead { font-size: 17px; margin-bottom: 40px; }
  .pd__features { margin-bottom: 40px; }
  .pd__feature { padding: 18px 0; gap: 16px; }
  .pd__feature-nbr { font-size: 12px; }
  .pd__feature span:last-child { font-size: 15px; }
  .pd__cta { font-size: 12px; padding: 16px 24px; }
}
