/* ============================
   D'ALLIANCE INTERIORS — STYLES
   ============================ */

/* --- CSS Variables --- */
:root {
  --beige: #ede7de;
  --off-black: #1a1a1a;
  --cream: #ede7de;
  --white: #ffffff;
  --lichen: #aaa798;
  --travertin: #b3a696;
  --travertin-light: #bdb3a7;
  --card: #beb4a7;
  --sienne: #dc633f;
  --sauge: #657b69;
  --curtain-color: rgb(202, 192, 179);
  --dark: #1a1a1a;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  /* Fluid base: floors at 16px on small phones, scales with viewport, caps at
     ~20px on ultra-wide screens so em-based sizes don't explode on 4K. */
  font-size: clamp(1rem, 0.55rem + 0.6vw, 1.25rem);
  scroll-behavior: initial;
  height: auto;
  scrollbar-width: none;
  overscroll-behavior: none;
}

body {
  font-family: 'Switzer Variable', Arial, sans-serif;
  background-color: var(--cream);
  color: var(--off-black);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
  -ms-overflow-style: none;
  overscroll-behavior: none;
}

p {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

h1 { margin: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(2.25rem, 7.8vw, 7.5rem); font-weight: 700; line-height: 1; }
h2 { margin: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(1.8rem, 5.2vw, 5rem); font-weight: 700; line-height: 1.05; }
h3 { margin: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(1.35rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1.1; }
h4 { margin: 10px 0; font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(1.15rem, 1.8vw, 1.75rem); font-weight: 600; line-height: 1.15; }
h5 { margin: 10px 0; font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 600; line-height: 1.2; }

body::-webkit-scrollbar,
body ::-webkit-scrollbar {
  display: none;
}

svg {
  max-width: none;
  height: auto;
  box-sizing: border-box;
  vertical-align: middle;
}

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

::selection {
  background-color: var(--off-black);
  color: var(--cream);
  text-shadow: none;
}

::-moz-selection {
  background-color: var(--off-black);
  color: var(--cream);
  text-shadow: none;
}

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

.hide { display: none !important; }

@media screen and (max-width: 991px) {
  .hide-tab { display: none !important; }
}

@media screen and (max-width: 767px) {
  .hide-mobile-landscape { display: none !important; }
}

@media screen and (max-width: 479px) {
  .hide-mob { display: none !important; }
}

@media screen and (min-width: 992px) {
  .hide-desk { display: none !important; }
}

/* --- Font Faces --- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer Variable';
  src: url('../fonts/Switzer-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Loader --- */
.container-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.container-loader.loader {
  display: flex;
}

.div-block-9 {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-black);
  opacity: 0.6;
}

.div-ms-loader {
  width: 18rem;
  max-width: 280px;
  position: relative;
}

.div-ms-loader .ms-fake,
.div-ms-loader .ms-real {
  width: 100%;
  height: 100%;
}

.ms-fake {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.ms-real {
  position: relative;
}

.div-block-10 {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-black);
  opacity: 0.6;
}

/* --- Grain Overlay --- */
.grain-bg {
  position: fixed;
  inset: 0;
  z-index: 997;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  background-repeat: repeat;
  transform: translateZ(0);
  will-change: transform;
}

/* --- Transition Curtains --- */
.transition-curtains {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  display: flex;
}

.curtain {
  width: 50%;
  height: 0%;
  background: var(--curtain-color);
  position: absolute;
}

.curtain-left {
  left: 0;
  bottom: 0;
}

.curtain-right {
  right: 0;
  top: 0;
}

/* --- Navbar ---
   Replaced the mix-blend-mode: difference trick with a frosted cream
   backdrop. Difference mode turns unreadable (muddy grey) on mid-tone
   images; a subtle blurred surface guarantees the logo + name stay legible
   on any backdrop — dark slider photos, cream sections, or anything between. */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  color: var(--off-black);
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none;
}

/* Background strip lives on a pseudo-element so it can slide up on scroll
   independently of the logo, which must stay static. */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Solid strip: the translucent blur softened the logo over bright photos */
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  transform: translateZ(0);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: -1;
  will-change: transform;
}

.navbar > * { pointer-events: auto; }

.navbar.is-hidden::before {
  transform: translateY(-100%);
}

.navbar.is-hidden .nav-r {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}

/* Navbar-scoped nav-link color override. The .nav-link base rule also
   applies inside the fullscreen mobile menu overlay (dark background), so
   scope the dark color to the top navbar only. */
.navbar .nav-link {
  color: var(--off-black);
}

.logo-nav {
  display: flex;
  align-items: center;
  z-index: 101;
  text-decoration: none;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.35s ease;
  will-change: transform, opacity;
}

.navbar.hide-logo .logo-nav {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}

/* Single combined icon+wordmark SVG (one-line lockup, ~9:1 aspect).
   Height-sized so the whole lockup scales together. */
.logo-nav img {
  height: 2.75rem;
  width: auto;
  display: block;
  transition: filter 0.35s ease;
}

.logo-nav.is-light img {
  filter: invert(1) brightness(1.15);
}

@media screen and (max-width: 991px) {
  .navbar { padding: 1rem 1.2rem; }
  .logo-nav img { height: 1.55rem; }
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.35s ease;
  will-change: transform, opacity;
}

.nav-link {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.line-nav {
  width: 1.2rem;
  height: 1px;
}

.line-nav svg {
  width: 100%;
  height: 100%;
}

.instagram-nav {
  display: flex;
  align-items: center;
}

.instagram-nav svg {
  width: 1rem;
  height: 1rem;
}

/* Menu button (mobile) */
.menu-btn {
  display: none;
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

@media screen and (max-width: 991px) {
  .menu-btn { display: block; }
  .nav-link.hide-mob { display: none !important; }
}

/* --- Hover Link Animation --- */
.hover-link-wrap,
.hover-link-line {
  overflow: hidden;
  position: relative;
}

.hover-link-top {
  display: flex;
}

.hover-link-bottom {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.hover-link-top span,
.hover-link-bottom span {
  display: inline-block;
}

.hover-link-wrap:hover .hover-link-top span,
.hover-link-wrap:hover .hover-link-bottom span,
.hover-link-line:hover .hover-link-top span,
.hover-link-line:hover .hover-link-bottom span {
  will-change: transform;
}

.hover-link-bottom span {
  transform: translate(0%, 100%);
}

/* --- Home Slider --- */
.page-wrapper {
  position: relative;
}

.home-slider_w {
  width: 100%;
  position: relative;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: row;
}

.home-slider_list_w {
  position: fixed;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.home-slider_list_w.left {
  left: 0;
  width: 50%;
}

.home-slider_list_w.right {
  right: 0;
  width: 50%;
}

.home-slider_list {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-slider_item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transform: translateZ(0);
  backface-visibility: hidden;
  clip-path: inset(100% 0% 0% 0%);
}

.home-slider_list > .home-slider_item:first-child {
  clip-path: inset(0% 0% 0% 0%);
}

.home-slider_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider bottom button bar */
.home-slider_btn_w {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%);
  z-index: 100;
  pointer-events: auto;
  /* Size to the content: a fixed box at left:50% would otherwise shrink-fit
     to half the viewport and wrap the title */
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.home-slider_btn_list_w {
  position: relative;
}

.home-slider_btn_list {
  position: relative;
  /* Stack every slide's button in the same grid cell so the bar is sized by
     the widest/tallest one, not just the first */
  display: grid;
}

.home-slider_btn_item {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: inset(100% 0% 0% 0%);
}

.home-slider_btn_item:first-child {
  clip-path: inset(0% 0% 0% 0%);
}

.home-slider-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-slider_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.6rem;
  gap: 1.5rem;
  min-width: 24rem;
  min-height: 5rem;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .home-slider_btn {
    justify-content: space-between;
    min-width: 90vw;
    padding: 1rem 1.2rem;
    gap: 0.5rem 1rem;
    min-height: auto;
    /* Title takes its own full-width row; location + tag sit beneath it */
    flex-wrap: wrap;
  }
  .info-project-left {
    flex: 1 1 100%;
  }
}

.info-project-left {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.info-project-left > div:last-child {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.h2-project-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  /* One word per .hover-link-line; lay them out on a single line and only
     wrap when the button runs out of room on narrow screens */
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.32em;
  white-space: nowrap;
}

.slider-btn-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  opacity: 0.15;
  pointer-events: none;
}

.slider-btn-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .h2-project-btn {
    font-size: 1.4rem;
  }
}

.info-project-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-project-arrow {
  width: 0.6rem;
  height: 0.6rem;
}

.info-tag {
  display: flex;
  gap: 0.6rem;
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.code-embed-9 {
  width: 6rem;
  opacity: 0.3;
}

@media screen and (max-width: 991px) {
  .code-embed-9 { width: 4rem; }
}

/* --- Slider Responsive --- */
@media screen and (max-width: 991px) {
  .home-slider_w {
    flex-direction: column;
  }
  .home-slider_list_w.left,
  .home-slider_list_w.right {
    width: 100%;
    height: 50svh;
    position: fixed;
    left: 0;
    right: 0;
  }
  .home-slider_list_w.left { top: 0; }
  .home-slider_list_w.right { top: 50svh; }
}

/* --- Content Sections --- */
.section {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.is--full {
  max-width: 100%;
  padding: 0;
}

/* --- Horizontal Scroll --- */
.horizontal_w {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  contain: layout paint;
}

.horizontal_track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  height: 100vh;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.horizontal_section {
  flex-shrink: 0;
  height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 4rem;
}

/* Showcase panels are links to the projects grid */
.showcase-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.showcase-link img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.showcase-link:hover img { transform: scale(1.04); }
.showcase-cta { display: inline-block; transition: opacity 0.3s ease; }
.showcase-link:hover .showcase-cta { opacity: 0.6; }

@media screen and (max-width: 991px) {
  .horizontal_w {
    height: auto;
    overflow: visible;
  }
  .horizontal_track {
    flex-direction: column;
    height: auto;
    will-change: auto;
  }
  .horizontal_section {
    flex-shrink: unset;
    height: auto;
    flex-direction: column;
    padding: 3rem 1.5rem;
    /* override inline width: 100vw / 80vw that break stacked mobile layout */
    width: 100% !important;
  }
  /* inner image / text panels inside horizontal sections stack full-width */
  .horizontal_section > div {
    width: 100% !important;
    padding: 0 !important;
  }
  .horizontal_section > div[style*="height"] {
    height: 40vh !important;
    margin-bottom: 1.5rem;
  }
}

/* --- Gallery Section --- */
.gallery_list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery_item {
  flex: 1 1 calc(50% - 0.5rem);
  overflow: hidden;
}

.gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

@media screen and (max-width: 991px) {
  .gallery_list > .gallery_item:first-child,
  .gallery_list > .gallery_item:last-child {
    padding-left: 0;
    padding-right: 0;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 2;
  background-color: var(--off-black);
  color: var(--cream);
  padding: 4rem 2rem 2rem;
}

.grid-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer a {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 1;
}

.contact-footer {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(237, 231, 222, 0.1);
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.7rem;
  opacity: 0.5;
}

@media screen and (max-width: 991px) {
  .grid-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Slider Left/Right Wrappers --- */
.slider-left,
.slider-right {
  width: 100%;
  height: 100%;
}

.slider-left img,
.slider-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Mobile Menu --- */
.menu_w {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--off-black);
  color: var(--cream);
  clip-path: inset(0% 0% 100% 0%);
  display: flex;
  flex-direction: column;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  padding: 1.4rem 2rem;
}

.nav-link.menu {
  cursor: pointer;
}

.menu_w_item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.nav-r.mob {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nav-link.mob {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link.mob:hover {
  opacity: 1;
  transform: translateX(0.4rem);
}

@media screen and (max-width: 479px) {
  .nav-link.mob { font-size: 2.2rem; }
}

.logo-landing-big.menu {
  width: 100%;
  max-width: 360px;
  opacity: 0.22;
  filter: invert(1);
  margin: 2rem auto;
}

.container-bottom-footer.is-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(237, 231, 222, 0.15);
}

.footer-link-left {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.5;
  color: var(--cream);
}

.footer-link.no-wrap {
  white-space: nowrap;
}

.footer-link-right {
  display: flex;
}

.footer-link-right a {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.5;
  color: var(--cream);
}

/* --- Voile (overlay) --- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 98;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  opacity: 0;
}

/* --- Trail Section --- */
.trail-section {
  display: flex;
  pointer-events: auto;
  position: relative;
  min-height: 40vh;
  overflow: hidden;
  contain: layout paint;
}

.trail-item {
  position: absolute;
  width: 15rem;
  height: 20rem;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.trail-cta {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 11;
  transition: opacity 0.3s ease;
}
.trail-cta:hover { opacity: 0.6; }
.trail-cta-sub {
  position: relative;
  z-index: 11;
  cursor: pointer;
}

.trail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile fallback: no cursor means the trail is empty, so render the images
   as a static 2-column grid with the heading stacked on top. Overrides the
   inline display:flex / min-height:40vh / padding:4rem from the markup. */
@media screen and (max-width: 991px) {
  .trail-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    min-height: auto !important;
    padding: 2rem 1rem !important;
    align-items: stretch !important;
  }
  /* Heading above the image grid, "View all projects" link below it */
  .trail-section > div:not(.trail-item) { display: contents; }
  .trail-section .trail-heading {
    grid-column: 1 / -1;
    order: -1;
    text-align: center;
    padding: 0.5rem 0 1.25rem;
  }
  .trail-section .trail-spacer { display: none; }
  .trail-section .trail-cta-sub-wrap {
    grid-column: 1 / -1;
    order: 1;
    text-align: center;
    padding: 1.5rem 0 0.5rem;
  }
  .trail-item {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
  }
  /* Only show four images — enough to fill two rows without feeling busy */
  .trail-item:nth-of-type(n+5) { display: none !important; }
}

/* --- Sticky Animation & About Section: see PROCESS/AGENCE PAGE sections below --- */

/* --- Card Contact: see PROCESS PAGE section below --- */

/* --- Newsletter Card --- */
.news-letter-card {
  padding: 2rem;
  background-color: var(--travertin-light);
}

/* --- Field Form: see CONTACT PAGE section below --- */

/* --- Typography --- */
/* Fluid sizes via clamp(): min for tiny phones, vw for mid-range scaling,
   max so ultra-wide screens don't blow up. */
.h1, .h1-style {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(2.25rem, 7.8vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
}

.h2, .h2-style {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.8rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
}

.h3, .h3-style {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.h4-style {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
}

.body-text, .paragraph {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
}

.label {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: clamp(0.65rem, 0.75vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Utility --- */
[line] {
  overflow: hidden;
  clip-path: inset(0);
}

[line]:not(.is-ready) > * {
  transform: translateY(100%);
}

[line]:not(.is-ready) {
  visibility: hidden;
}

[reveal-clip] {
  clip-path: inset(100% 0% 0% 0%);
}

[reveal-op] {
  opacity: 0;
}

.w-inline-block {
  display: inline-block;
}

/* --- Responsive Typography --- */
/* Headings now scale fluidly via clamp() in the base rules above —
   no per-breakpoint overrides needed. */

/* --- Cross-page responsive overrides ---
   These tame hero heights, inline padding, and section gaps on small screens
   where static values were tuned for desktop. !important is used only to
   beat inline styles coming from HTML; class rules stay unforced. */
@media screen and (max-width: 991px) {
  /* Hero sections: dial back from 80–90vh to something sensible on a phone */
  .about-hero { min-height: 55vh; }
  .about-hero[style*="80vh"] { height: 55vh !important; min-height: 55vh; }
  .projects-hero { padding: 7rem 1.25rem 2.5rem !important; }
  .shop-coming-soon { min-height: 65vh; }

  /* Generic .section blocks: cap large inline top/bottom padding so phones
     don't get 5–8rem of empty space above and below every section. */
  .section[style*="padding"] { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .section[style*="8rem"] { padding-top: 5rem !important; padding-bottom: 2rem !important; }

  /* Containers on phones get side padding so text doesn't hug the edge */
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media screen and (max-width: 479px) {
  /* Extra tightening on tiny phones */
  .about-hero { min-height: 45vh; }
  .projects-hero { padding: 6rem 1rem 2rem !important; }
}

/* --- Large-screen caps ---
   Prevent containers from looking stretched on ultra-wide monitors. */
@media screen and (min-width: 1800px) {
  .container { max-width: 1600px; margin-left: auto; margin-right: auto; }
}

/* --- Tiny-phone polish --- */
@media screen and (max-width: 767px) {
  /* Form fields: 16px font-size prevents iOS Safari from zooming in on focus */
  .field-form { font-size: 16px; padding: 0.85rem 0.9rem; }
  textarea.field-form { min-height: 110px; }

  /* Newsletter form stacks instead of side-by-side */
  .newsletter-form { flex-direction: column; }

  /* Footer bottom row stacks with small gap */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Footer padding: less side padding on phones */
  .footer { padding: 3rem 1.25rem 1.5rem; }

  /* Mobile menu inner padding doesn't crowd edges */
  .menu_w_item { padding: 1.5rem 1.25rem; }
}

@media screen and (max-width: 379px) {
  /* Very small phones (iPhone SE 1st gen etc.) */
  .footer a,
  .contact-footer,
  .footer-link,
  .footer-link-right a { font-size: 0.75rem; }
  .nav-link.mob { font-size: 1.9rem !important; }
}

/* ============================
   PROJETS PAGE
   ============================ */

/* Page Hero (shared across pages) */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
  background-color: var(--cream);
}

.page-hero .label {
  margin-bottom: 1rem;
}

.page-hero .h1 {
  margin-bottom: 1rem;
}

.page-hero .tagline {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 1rem;
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 2rem 3rem;
  position: relative;
  z-index: 2;
  background-color: var(--cream);
}

.filter-btn {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--off-black);
  background: transparent;
  color: var(--off-black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background-color: var(--off-black);
  color: var(--cream);
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background-color: var(--cream);
}

@media screen and (max-width: 767px) {
  .project-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem 3rem;
  }
}

/* Project Card */
.project-card {
  position: relative;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card a {
  display: block;
  position: relative;
}

.project-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card-img-wrap img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-card-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.project-card-category {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}

.project-card-logo {
  width: 2.5rem;
  opacity: 0.2;
}

/* ============================
   AGENCE PAGE
   ============================ */

.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

.about-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
}

.philosophy-section {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.team-section {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

@media screen and (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.team-member-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.team-member-title {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.team-member-bio {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* ============================
   PROCESS PAGE
   ============================ */

.process-intro {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sticky-anim {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
}

.step__w {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  clip-path: inset(100% 0% 0% 0%);
  transform: translateZ(0);
  backface-visibility: hidden;
  background: var(--cream);
}

.step__w:first-child {
  position: relative;
  clip-path: inset(0% 0% 0% 0%);
}

.step-img {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-info {
  flex: 1;
  padding: 4rem;
}

.step-info .label {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.step-info .h3 {
  margin-bottom: 1rem;
}

@media screen and (max-width: 991px) {
  .step__w {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .step-img {
    height: 40vh;
    width: 100%;
  }
  .step-info {
    padding: 2rem 1.5rem;
  }
}

/* Service Pathways Cards */
.pathways-section {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  padding: 6rem 2rem;
}

.pathways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media screen and (max-width: 991px) {
  .pathways-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.card-contact_project {
  padding: 2.5rem;
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card-contact_project h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.card-contact_project p {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.8;
}

.card-contact_project ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-contact_project ul li {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.7;
  padding-left: 1rem;
  position: relative;
}

.card-contact_project ul li::before {
  content: '—';
  position: absolute;
  left: 0;
}

/* ============================
   CONTACT PAGE
   ============================ */

.contact-section {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  padding: 4rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media screen and (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info a {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid currentColor;
  display: inline-block;
  padding-bottom: 0.1rem;
  width: fit-content;
}

.contact-info p {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-form {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: transparent;
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--off-black);
  transition: border-color 0.3s ease;
}

.field-form:focus {
  border-color: var(--off-black);
  outline: none;
}

textarea.field-form {
  resize: vertical;
  min-height: 120px;
}

select.field-form {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.submit-btn {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--off-black);
  background: var(--off-black);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background: transparent;
  color: var(--off-black);
}

/* ============================
   SHOP PAGE
   ============================ */

.shop-coming-soon {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.shop-coming-soon .h1 {
  margin-bottom: 0.5rem;
}

.shop-coming-soon .h3 {
  opacity: 0.5;
  margin-bottom: 2rem;
}

.back-link {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 1;
}

/* ============================
   CTA SECTION (shared)
   ============================ */

.cta-section {
  position: relative;
  z-index: 2;
  background-color: var(--cream);
  padding: 6rem 2rem;
  text-align: center;
}

.cta-link {
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  display: inline-block;
  margin: 0 1rem;
  transition: opacity 0.3s ease;
}

.cta-link:hover {
  opacity: 0.6;
}

/* ============================
   DECORATIVE LOGO
   ============================ */

.logo-landing-big {
  display: block;
  max-width: 100%;
}

/* ============================
   NEWSLETTER FORM (footer)
   ============================ */

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(237, 231, 222, 0.2);
  background: transparent;
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--cream);
}

.newsletter-form input::placeholder {
  color: rgba(237, 231, 222, 0.4);
}

.newsletter-form button {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(237, 231, 222, 0.2);
  background: transparent;
  color: var(--cream);
  font-family: 'Switzer Variable', Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--cream);
  color: var(--off-black);
}
