* {
  box-sizing: border-box;
}
:root {
  --bg: #f7f4ee;
  --paper: #fff;
  --ink: #141414;
  --navy: #1f2d44;
  --gold: #b7905a;
  --line: rgba(20, 20, 20, 0.12);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 22px;
  background: var(--bg);
  transition:
    opacity 0.75s ease,
    transform 1s var(--ease);
}
.loader.hide {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.loader span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 92px);
}
.loader div {
  width: min(300px, 70vw);
  height: 1px;
  background: rgba(20, 20, 20, 0.16);
  overflow: hidden;
}
.loader i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--ink);
  animation: loadMove 1.15s var(--ease) infinite;
}
@keyframes loadMove {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(260%);
  }
}

.sg-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(18px);
  transition:
    height 0.38s var(--ease),
    box-shadow 0.38s ease,
    background 0.38s ease;
}
.sg-navbar.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 35px rgba(20, 20, 20, 0.08);
}
.nav-logo {
  width: fit-content;
  font-size: clamp(23px, 2vw, 33px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-logo em {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-style: italic;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 56px);
}
.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(20, 20, 20, 0.78);
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.28s var(--ease);
}
.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}
.nav-cta {
  min-width: 112px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 999px;
}
.nav-cta:after {
  display: none;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 8px 0;
  background: var(--ink);
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s ease;
}

.zoom-hero {
  position: relative;
  height: 260vh;
  background: #111;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #101010;
  display: grid;
  place-items: center;
}
.hero-sticky:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0.22) 100%
  );
  opacity: calc(1 - var(--progress, 0) * 0.75);
}
.hero-intro {
  position: absolute;
  z-index: 6;
  width: min(900px, calc(100% - 40px));
  color: #fff;
  text-align: center;
  opacity: calc(1 - var(--progress, 0) * 2.25);
  transform: translateY(calc(var(--progress, 0) * -50px))
    scale(calc(1 - var(--progress, 0) * 0.05));
  pointer-events: none;
}
.hero-intro p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-intro h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero-intro span {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.zoom-stage {
  --progress: 0;
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100vw - 72px));
  height: min(820px, calc(100vh - 126px));
  padding: 0;
  transform: perspective(1200px) translateZ(calc(var(--progress) * 80px))
    scale(calc(1 + (1 - var(--progress)) * 0.18));
  transition: transform 0.08s linear;
}
.zoom-stage.gallery-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.18);
}
.zoom-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #d8d3cb;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  will-change: left, top, width, height, opacity, transform;
}
.zoom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: brightness(0.78);
  transition:
    filter 0.15s linear,
    transform 0.15s linear;
}
.zoom-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.zoom-card:hover::after {
  opacity: 1;
}
.zoom-card:hover img {
  filter: brightness(1.05);
  transform: scale(1.07);
}
@media (max-width: 900px) {
  .zoom-stage {
    width: min(92vw, 760px);
    height: min(82vh, 1120px);
  }
  .quick-links {
    grid-template-columns: 1fr;
  }
  .quick-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .sg-navbar {
    height: 66px;
    padding: 0 18px;
  }
  .nav-toggle {
    display: block;
    justify-self: end;
  }
  .nav-links {
    position: fixed;
    inset: 66px 14px auto 14px;
    z-index: 1002;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.28s ease,
      transform 0.28s var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    padding: 16px;
  }
  .nav-cta {
    width: 100%;
    border-radius: 14px;
  }
  .zoom-hero {
    height: 235vh;
  }
  .zoom-stage {
    width: calc(100vw - 34px);
    height: min(76vh, 980px);
    transform: perspective(1000px) translateZ(calc(var(--progress) * 55px))
      scale(calc(1 + (1 - var(--progress)) * 0.12));
  }
  .zoom-card {
    border-radius: 14px;
  }
  .hero-intro h1 {
    font-size: clamp(46px, 16vw, 72px);
  }
  .hero-intro p {
    font-size: 10px;
  }
  .after-hero {
    min-height: 620px;
    padding: 80px 20px;
  }
  .after-hero > p:last-child {
    font-size: 16px;
  }
  .quick-card {
    min-height: 230px;
    padding: 36px 24px;
  }
}

/* === V3 FIX: full-cover first frame + glass animated mobile sidebar === */

/* Stage must be full viewport so first image can cover the full hero frame */
.zoom-stage {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  transform: perspective(1200px) translateZ(calc(var(--progress) * 70px))
    scale(1) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.zoom-stage.gallery-active {
  background: transparent !important;
  box-shadow: none !important;
}

/* First image should visually cover whole frame at progress 0 */
.zoom-card-1 {
  border-radius: calc(0px + var(--progress) * 18px) !important;
}

/* Add a soft gallery frame only when cards become visible */
.zoom-hero .hero-sticky::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(1220px, calc(100vw - 72px));
  height: min(820px, calc(100vh - 126px));
  transform: translate(-50%, -50%) scale(calc(0.92 + var(--progress, 0) * 0.08));
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.18);
  opacity: clamp(0, (var(--progress, 0) - 0.35) * 2.8, 1);
  pointer-events: none;
}

/* Desktop/tablet final image spacing comes from JS; this keeps images clean */
.zoom-card {
  transition:
    box-shadow 0.25s ease,
    border-radius 0.08s linear;
}

/* Better glass sidebar on mobile */
@media (max-width: 560px) {
  .nav-toggle {
    position: relative;
    z-index: 1105;
  }

  .nav-toggle.active span:first-child {
    transform: translateY(9.5px) rotate(45deg);
  }

  .nav-toggle.active span:last-child {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .nav-links {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    z-index: 1100 !important;
    width: min(86vw, 360px) !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 90px 28px 42px !important;
    border-radius: 28px 0 0 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-right: 0 !important;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.42)
    ) !important;
    backdrop-filter: blur(26px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.25) !important;
    box-shadow: -28px 0 80px rgba(0, 0, 0, 0.22) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transform: translateX(108%) scale(0.98) !important;
    transition:
      transform 0.75s var(--ease),
      box-shadow 0.75s var(--ease) !important;
  }

  .nav-links::before {
    content: "";
    position: fixed;
    inset: 0 100% 0 auto;
    width: 100vw;
    background: rgba(12, 12, 12, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
  }

  .nav-links.open {
    pointer-events: auto !important;
    transform: translateX(0) scale(1) !important;
  }

  .nav-links.open::before {
    opacity: 1;
  }

  .nav-links a {
    padding: 16px 4px !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 10vw, 54px) !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    color: var(--ink) !important;
    opacity: 0;
    transform: translateX(36px);
    transition:
      opacity 0.5s ease,
      transform 0.65s var(--ease),
      color 0.25s ease !important;
  }

  .nav-links.open a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.open a:nth-child(1) {
    transition-delay: 0.08s !important;
  }
  .nav-links.open a:nth-child(2) {
    transition-delay: 0.14s !important;
  }
  .nav-links.open a:nth-child(3) {
    transition-delay: 0.2s !important;
  }
  .nav-links.open a:nth-child(4) {
    transition-delay: 0.26s !important;
  }
  .nav-links.open a:nth-child(5) {
    transition-delay: 0.32s !important;
  }

  .nav-links a::after {
    bottom: 8px !important;
  }

  .nav-cta {
    width: 100% !important;
    height: 58px !important;
    margin-top: 18px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(20, 20, 20, 0.22) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    background: rgba(255, 255, 255, 0.38) !important;
  }

  .zoom-hero {
    height: 235vh;
  }

  .zoom-hero .hero-sticky::before {
    width: calc(100vw - 34px);
    height: min(76vh, 980px);
    border-radius: 18px;
  }

  .hero-intro {
    width: calc(100% - 34px);
  }
}

/* === V4 FIX: navbar hide during hero animation + full-screen gallery === */

/* Navbar disappears while user is inside the scroll animation */
.sg-navbar {
  transition:
    height 0.38s var(--ease),
    box-shadow 0.38s ease,
    background 0.38s ease,
    transform 0.65s var(--ease),
    opacity 0.45s ease !important;
}

.sg-navbar.hero-hidden {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* When gallery opens, background becomes light so no black side gaps show */
.hero-sticky {
  background: #0f0f0f;
  transition: background 0.35s ease;
}

.hero-sticky.gallery-open {
  background: #f2f0eb !important;
}

/* Remove the centered white panel/frame from previous version */
.zoom-hero .hero-sticky::before {
  display: none !important;
}

/* Stage full screen */
.zoom-stage {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  transform: none !important;
}

/* Final grid cards should be clean, not inside a smaller centered box */
.zoom-card {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18) !important;
}

.zoom-card-1 {
  border-radius: calc(0px + var(--progress) * 16px) !important;
}

/* Keep hero text on top only in first frame */
.hero-intro {
  transition:
    opacity 0.18s linear,
    transform 0.18s linear;
}

@media (max-width: 560px) {
  .zoom-stage {
    width: 100vw !important;
    height: 100vh !important;
  }

  .hero-sticky.gallery-open {
    background: #f2f0eb !important;
  }
}

/* === V5 FIX: make hero text readable over bright images === */

/* Soft dark overlay only on the first/hero image.
   It fades away as the gallery animation progresses. */
.zoom-card-1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.48) 70%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0.42)
    );
  opacity: calc((1 - var(--progress, 0)) * 0.95);
  transition: opacity 0.12s linear;
}

/* Keep hover shine above dark overlay */
.zoom-card::after {
  z-index: 3;
}

/* Extra readable typography */
.hero-intro {
  text-shadow:
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.38);
}

.hero-intro p,
.hero-intro span {
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75);
}

.hero-intro p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hero-intro span {
  color: rgba(255, 255, 255, 0.94) !important;
}

/* Tiny glass layer behind the main text, very subtle */
.hero-intro::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(780px, 96%);
  height: 72%;
  transform: translate(-50%, -50%);
  border-radius: 42px;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0) 70%
  );
  opacity: calc(1 - var(--progress, 0) * 2);
  pointer-events: none;
}

@media (max-width: 560px) {
  .zoom-card-1::before {
    background:
      radial-gradient(
        circle at 50% 43%,
        rgba(0, 0, 0, 0.24),
        rgba(0, 0, 0, 0.54) 75%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.2) 46%,
        rgba(0, 0, 0, 0.48)
      );
    opacity: calc((1 - var(--progress, 0)) * 0.98);
  }

  .hero-intro {
    text-shadow:
      0 7px 24px rgba(0, 0, 0, 0.62),
      0 2px 8px rgba(0, 0, 0, 0.48);
  }

  .hero-intro::before {
    width: 100%;
    height: 82%;
    border-radius: 30px;
  }
}

/* === V6 FIX: premium modern mobile sidebar === */
@media (max-width: 560px) {
  .nav-toggle {
    position: relative;
    z-index: 1305;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle span {
    width: 23px;
    height: 2px;
    margin: 0;
    background: #111;
    grid-area: 1/1;
    transform: translateY(-5px);
  }

  .nav-toggle span:last-child {
    transform: translateY(5px);
  }

  .nav-toggle.active {
    background: rgba(17, 17, 17, 0.78);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .nav-toggle.active span {
    background: #fff;
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg) !important;
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) !important;
  }

  .nav-links {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    z-index: 1250 !important;
    width: min(88vw, 385px) !important;
    height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 108px 22px 26px !important;
    border-radius: 34px 0 0 34px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-right: 0 !important;
    overflow: hidden !important;
    background:
      radial-gradient(
        circle at 20% 8%,
        rgba(183, 144, 90, 0.42),
        transparent 30%
      ),
      radial-gradient(
        circle at 96% 92%,
        rgba(255, 255, 255, 0.14),
        transparent 34%
      ),
      linear-gradient(145deg, rgba(16, 16, 18, 0.9), rgba(34, 39, 46, 0.78)) !important;
    backdrop-filter: blur(30px) saturate(1.35) !important;
    -webkit-backdrop-filter: blur(30px) saturate(1.35) !important;
    box-shadow: -32px 0 90px rgba(0, 0, 0, 0.42) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transform: translateX(108%) !important;
    transition:
      transform 0.82s var(--ease),
      box-shadow 0.82s var(--ease) !important;
  }

  .nav-links::before {
    content: "";
    position: fixed;
    inset: 0 100% 0 auto;
    width: 100vw;
    background:
      radial-gradient(
        circle at 20% 20%,
        rgba(183, 144, 90, 0.18),
        transparent 30%
      ),
      rgba(0, 0, 0, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
  }

  .nav-links::after {
    content: "MENU";
    position: absolute;
    left: 28px;
    top: 34px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.32em;
  }

  .nav-links.open {
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  .nav-links.open::before {
    opacity: 1;
  }

  .nav-links a {
    position: relative !important;
    width: 100% !important;
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 8px 0 58px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(34px, 9vw, 49px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    opacity: 0 !important;
    transform: translateX(46px) scale(0.98) !important;
    transition:
      opacity 0.55s ease,
      transform 0.72s var(--ease),
      color 0.24s ease,
      padding 0.35s var(--ease) !important;
  }

  .nav-links a::before {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    opacity: 0.9;
  }

  .nav-links a:nth-child(1)::before {
    content: "01";
  }
  .nav-links a:nth-child(2)::before {
    content: "02";
  }
  .nav-links a:nth-child(3)::before {
    content: "03";
  }
  .nav-links a:nth-child(4)::before {
    content: "04";
  }
  .nav-links a:nth-child(5)::before {
    content: "05";
  }

  .nav-links a::after {
    content: "↗" !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 18px !important;
    transform: translateX(-8px) !important;
    opacity: 0 !important;
    transition:
      opacity 0.25s ease,
      transform 0.35s var(--ease),
      color 0.25s ease !important;
  }

  .nav-links.open a {
    opacity: 1 !important;
    transform: translateX(0) scale(1) !important;
  }

  .nav-links.open a:nth-child(1) {
    transition-delay: 0.08s !important;
  }
  .nav-links.open a:nth-child(2) {
    transition-delay: 0.15s !important;
  }
  .nav-links.open a:nth-child(3) {
    transition-delay: 0.22s !important;
  }
  .nav-links.open a:nth-child(4) {
    transition-delay: 0.29s !important;
  }
  .nav-links.open a:nth-child(5) {
    transition-delay: 0.36s !important;
  }

  .nav-links a:hover {
    color: #f6e7cf !important;
    padding-left: 66px !important;
  }

  .nav-links a:hover::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: var(--gold) !important;
  }

  .nav-cta {
    margin-top: 26px !important;
    min-height: 66px !important;
    height: 66px !important;
    padding: 0 24px !important;
    justify-content: center !important;
    border: 1px solid rgba(183, 144, 90, 0.55) !important;
    border-radius: 999px !important;
    background: linear-gradient(
      135deg,
      rgba(183, 144, 90, 0.95),
      rgba(238, 208, 162, 0.82)
    ) !important;
    color: #141414 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    box-shadow: 0 20px 42px rgba(183, 144, 90, 0.22) !important;
  }

  .nav-cta::before {
    content: "" !important;
  }

  .nav-cta::after {
    content: "Start" !important;
    opacity: 1 !important;
    color: #141414 !important;
    font-size: 12px !important;
    transform: none !important;
  }

  .nav-links.open + * {
    pointer-events: none;
  }

  .nav-logo {
    position: relative;
    z-index: 1200;
  }

  .nav-links.open ~ .nav-logo {
    opacity: 0.2;
  }
}

/* Make background behind menu darker so hero text never mixes with menu links */
body.menu-open .hero-intro {
  opacity: 0 !important;
}

/* === Main Section 1: image + wave looping background text === */
.connect-wave-section {
  position: relative;
  min-height: 920px;
  display: grid;
  place-items: center;
  padding: 120px clamp(20px, 5vw, 76px);
  background: #f8f5ef;
  overflow: hidden;
  isolation: isolate;
}

.wave-text-svg {
  position: absolute;
  left: -14vw;
  width: 128vw;
  height: 430px;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
  opacity: 0.98;
}

.wave-text-svg text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 118px;
  font-weight: 400;
  letter-spacing: 0.045em;
  fill: #0c0c0c;
  text-transform: uppercase;
}

.wave-text-svg-one {
  top: 72px;
  animation: waveDriftOne 18s linear infinite;
}

.wave-text-svg-two {
  top: 124px;
  opacity: 0.75;
  animation: waveDriftTwo 22s linear infinite;
}

@keyframes waveDriftOne {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-620px);
  }
}

@keyframes waveDriftTwo {
  from {
    transform: translateX(-320px);
  }
  to {
    transform: translateX(-980px);
  }
}

.connect-wave-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(280px, 520px);
  align-items: center;
  justify-content: center;
  gap: clamp(64px, 8vw, 140px);
}

.connect-wave-image {
  margin: 0;
  height: 720px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.12);
  background: #d9d1c5;
}

.connect-wave-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 1.2s var(--ease),
    filter 0.35s ease;
}

.connect-wave-image:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

.connect-wave-copy {
  align-self: center;
  max-width: 430px;
  padding-top: 120px;
}

.connect-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.connect-wave-copy h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.connect-wave-copy p:not(.connect-kicker) {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.32;
  color: #111;
}

.connect-wave-btn {
  width: 250px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-top: 78px;
  background: #b97f6c;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  transition:
    transform 0.35s var(--ease),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.connect-wave-btn:hover {
  transform: translateY(-6px);
  background: #a86f5e;
  box-shadow: 0 22px 45px rgba(185, 127, 108, 0.26);
}

@media (max-width: 950px) {
  .connect-wave-section {
    min-height: auto;
    padding: 96px 24px;
  }

  .wave-text-svg {
    left: -40vw;
    width: 190vw;
    height: 350px;
  }

  .wave-text-svg text {
    font-size: 82px;
  }

  .connect-wave-inner {
    grid-template-columns: 1fr;
    gap: 46px;
    width: min(560px, 100%);
  }

  .connect-wave-image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .connect-wave-copy {
    padding-top: 0;
    max-width: none;
  }

  .connect-wave-btn {
    margin-top: 42px;
  }
}

@media (max-width: 560px) {
  .connect-wave-section {
    padding: 80px 18px;
  }

  .wave-text-svg {
    left: -72vw;
    width: 270vw;
    height: 280px;
  }

  .wave-text-svg text {
    font-size: 58px;
    letter-spacing: 0.035em;
  }

  .wave-text-svg-one {
    top: 34px;
    animation-duration: 16s;
  }

  .wave-text-svg-two {
    top: 78px;
    animation-duration: 20s;
  }

  .connect-wave-image {
    border-radius: 24px;
  }

  .connect-wave-copy h2 {
    font-size: 44px;
  }

  .connect-wave-copy p:not(.connect-kicker) {
    font-size: 21px;
  }

  .connect-wave-btn {
    width: 100%;
    height: 64px;
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave-text-svg-one,
  .wave-text-svg-two {
    animation: none;
  }
}

/* === V8 FIX: clean right-to-left wave marquee, no oval SVG, no extra heading === */
.connect-wave-section {
  position: relative !important;
  min-height: 900px !important;
  display: grid !important;
  place-items: center !important;
  padding: 115px clamp(20px, 5vw, 76px) !important;
  background: #f8f5ef !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.connect-wave-section .wave-text-svg {
  display: none !important;
}

.connect-wave-bg {
  position: absolute;
  left: -8vw;
  right: -8vw;
  top: 120px;
  height: 210px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: rotate(-7deg);
}

.connect-wave-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: connectWaveMarquee 34s linear infinite;
  will-change: transform;
}

.connect-wave-track span {
  display: inline-block;
  margin-right: 44px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(72px, 7vw, 132px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.035em;
  color: rgba(10, 10, 10, 0.88);
  transform: translateY(var(--wave-y, 0px));
}

.connect-wave-track span:nth-child(6n + 1) {
  --wave-y: -24px;
}
.connect-wave-track span:nth-child(6n + 2) {
  --wave-y: 5px;
}
.connect-wave-track span:nth-child(6n + 3) {
  --wave-y: 28px;
}
.connect-wave-track span:nth-child(6n + 4) {
  --wave-y: 8px;
}
.connect-wave-track span:nth-child(6n + 5) {
  --wave-y: -22px;
}
.connect-wave-track span:nth-child(6n + 6) {
  --wave-y: -4px;
}

@keyframes connectWaveMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.connect-wave-inner {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, 100%) !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 520px) minmax(280px, 520px) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(64px, 8vw, 140px) !important;
}

.connect-wave-image {
  margin: 0 !important;
  height: 720px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.12) !important;
  background: #d9d1c5 !important;
}

.connect-wave-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition:
    transform 1.2s var(--ease),
    filter 0.35s ease !important;
}

.connect-wave-image:hover img {
  transform: scale(1.045) !important;
  filter: saturate(1.06) contrast(1.02) !important;
}

.connect-wave-copy {
  align-self: center !important;
  max-width: 440px !important;
  padding-top: 170px !important;
}

.connect-wave-copy h2,
.connect-wave-copy .connect-kicker {
  display: none !important;
}

.connect-wave-lead {
  margin: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(23px, 1.7vw, 30px) !important;
  line-height: 1.28 !important;
  letter-spacing: 0.01em !important;
  color: #111 !important;
}

.connect-wave-btn {
  width: 250px !important;
  height: 74px !important;
  display: grid !important;
  place-items: center !important;
  margin-top: 78px !important;
  background: #b97f6c !important;
  color: #fff !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 20px !important;
  letter-spacing: 0.03em !important;
  transition:
    transform 0.35s var(--ease),
    background 0.3s ease,
    box-shadow 0.3s ease !important;
}

.connect-wave-btn:hover {
  transform: translateY(-6px) !important;
  background: #a86f5e !important;
  box-shadow: 0 22px 45px rgba(185, 127, 108, 0.26) !important;
}

@media (max-width: 950px) {
  .connect-wave-section {
    min-height: auto !important;
    padding: 96px 24px !important;
  }

  .connect-wave-bg {
    left: -50vw;
    right: -50vw;
    top: 70px;
    height: 165px;
    transform: rotate(-7deg);
  }

  .connect-wave-track span {
    font-size: clamp(58px, 11vw, 92px);
    margin-right: 34px;
  }

  .connect-wave-inner {
    grid-template-columns: 1fr !important;
    gap: 46px !important;
    width: min(560px, 100%) !important;
  }

  .connect-wave-image {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }

  .connect-wave-copy {
    padding-top: 0 !important;
    max-width: none !important;
  }

  .connect-wave-btn {
    margin-top: 42px !important;
  }
}

@media (max-width: 560px) {
  .connect-wave-section {
    padding: 80px 18px !important;
  }

  .connect-wave-bg {
    top: 46px;
    left: -95vw;
    right: -95vw;
    height: 130px;
    transform: rotate(-8deg);
  }

  .connect-wave-track {
    animation-duration: 24s;
  }

  .connect-wave-track span {
    font-size: 54px;
    margin-right: 24px;
  }

  .connect-wave-track span:nth-child(6n + 1) {
    --wave-y: -11px;
  }
  .connect-wave-track span:nth-child(6n + 2) {
    --wave-y: 2px;
  }
  .connect-wave-track span:nth-child(6n + 3) {
    --wave-y: 12px;
  }
  .connect-wave-track span:nth-child(6n + 4) {
    --wave-y: 4px;
  }
  .connect-wave-track span:nth-child(6n + 5) {
    --wave-y: -10px;
  }
  .connect-wave-track span:nth-child(6n + 6) {
    --wave-y: -2px;
  }

  .connect-wave-image {
    border-radius: 24px !important;
  }

  .connect-wave-lead {
    font-size: 22px !important;
  }

  .connect-wave-btn {
    width: 100% !important;
    height: 64px !important;
    margin-top: 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .connect-wave-track {
    animation: none !important;
  }
}

/* === V9 FIX: original-style smooth wave, not oval, no paragraph overlap === */
.connect-wave-section {
  position: relative !important;
  min-height: 900px !important;
  display: grid !important;
  place-items: center !important;
  padding: 118px clamp(24px, 5vw, 82px) 125px !important;
  background: #f8f5ef !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

/* Hide previous wave systems completely */
.connect-wave-section .wave-text-svg,
.connect-wave-section .connect-wave-track {
  display: none !important;
}

/* Smooth wave sits high and decorative, away from body text */
.connect-wave-bg {
  position: absolute !important;
  left: -12vw !important;
  top: 74px !important;
  width: 124vw !important;
  height: 280px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: visible !important;
  transform: rotate(-6deg) !important;
  opacity: 1 !important;
}

.smooth-wave-marquee {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
}

.smooth-wave-text {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 88px !important;
  font-weight: 400 !important;
  letter-spacing: 0.035em !important;
  fill: rgba(8, 8, 8, 0.88) !important;
  text-transform: uppercase !important;
}

.smooth-wave-text-copy {
  opacity: 0.88 !important;
}

/* Layout is above background wave */
.connect-wave-inner {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, 100%) !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 520px) minmax(280px, 500px) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(76px, 8vw, 155px) !important;
}

.connect-wave-image {
  margin: 0 !important;
  height: 720px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.12) !important;
  background: #d9d1c5 !important;
}

.connect-wave-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition:
    transform 1.2s var(--ease),
    filter 0.35s ease !important;
}

.connect-wave-image:hover img {
  transform: scale(1.045) !important;
  filter: saturate(1.06) contrast(1.02) !important;
}

/* Paragraph starts lower than wave so nothing clashes */
.connect-wave-copy {
  align-self: center !important;
  max-width: 450px !important;
  padding-top: 190px !important;
  position: relative !important;
  z-index: 3 !important;
}

.connect-wave-copy h2,
.connect-wave-copy .connect-kicker {
  display: none !important;
}

.connect-wave-lead {
  margin: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(23px, 1.55vw, 28px) !important;
  line-height: 1.34 !important;
  letter-spacing: 0.005em !important;
  color: #101010 !important;
  max-width: 430px !important;
}

.connect-wave-btn {
  width: 250px !important;
  height: 74px !important;
  display: grid !important;
  place-items: center !important;
  margin-top: 78px !important;
  background: #b97f6c !important;
  color: #fff !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 20px !important;
  letter-spacing: 0.03em !important;
  transition:
    transform 0.35s var(--ease),
    background 0.3s ease,
    box-shadow 0.3s ease !important;
}

.connect-wave-btn:hover {
  transform: translateY(-6px) !important;
  background: #a86f5e !important;
  box-shadow: 0 22px 45px rgba(185, 127, 108, 0.26) !important;
}

@media (max-width: 950px) {
  .connect-wave-section {
    min-height: auto !important;
    padding: 96px 24px 105px !important;
  }

  .connect-wave-bg {
    left: -45vw !important;
    top: 60px !important;
    width: 190vw !important;
    height: 220px !important;
    transform: rotate(-7deg) !important;
  }

  .smooth-wave-text {
    font-size: 68px !important;
  }

  .connect-wave-inner {
    grid-template-columns: 1fr !important;
    gap: 52px !important;
    width: min(560px, 100%) !important;
  }

  .connect-wave-image {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }

  .connect-wave-copy {
    padding-top: 20px !important;
    max-width: none !important;
  }

  .connect-wave-lead {
    max-width: none !important;
  }

  .connect-wave-btn {
    margin-top: 42px !important;
  }
}

@media (max-width: 560px) {
  .connect-wave-section {
    padding: 82px 18px 88px !important;
  }

  .connect-wave-bg {
    top: 36px !important;
    left: -90vw !important;
    width: 280vw !important;
    height: 165px !important;
    transform: rotate(-7deg) !important;
  }

  .smooth-wave-text {
    font-size: 48px !important;
    letter-spacing: 0.03em !important;
  }

  .connect-wave-image {
    border-radius: 24px !important;
  }

  .connect-wave-copy {
    padding-top: 0 !important;
  }

  .connect-wave-lead {
    font-size: 22px !important;
  }

  .connect-wave-btn {
    width: 100% !important;
    height: 64px !important;
    margin-top: 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smooth-wave-text animate {
    display: none !important;
  }
}

/* === V10 FIX: wave text no-overlap === */
/* Fix overlapping/merged letters by using one textPath only and giving more tracking/phrase spacing. */
.connect-wave-bg {
  top: 82px !important;
  height: 260px !important;
  transform: rotate(-6deg) !important;
}

.smooth-wave-text {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 76px !important;
  font-weight: 400 !important;
  letter-spacing: 0.07em !important;
  word-spacing: 0.48em !important;
  fill: rgba(8, 8, 8, 0.86) !important;
  text-rendering: geometricPrecision !important;
  paint-order: stroke fill !important;
  stroke: transparent !important;
  stroke-width: 0 !important;
}

.smooth-wave-text-copy {
  display: none !important;
}

@media (max-width: 950px) {
  .connect-wave-bg {
    top: 62px !important;
    height: 205px !important;
  }

  .smooth-wave-text {
    font-size: 58px !important;
    letter-spacing: 0.055em !important;
    word-spacing: 0.44em !important;
  }
}

@media (max-width: 560px) {
  .connect-wave-bg {
    top: 40px !important;
    height: 150px !important;
  }

  .smooth-wave-text {
    font-size: 40px !important;
    letter-spacing: 0.045em !important;
    word-spacing: 0.38em !important;
  }
}

/* === V11 FIX: mobile connect-wave image smaller so background loop stays visible === */
@media (max-width: 560px) {
  .connect-wave-section {
    overflow: hidden !important;
  }

  .connect-wave-inner {
    width: 100% !important;
    gap: 28px !important;
    justify-items: center !important;
  }

  .connect-wave-bg {
    top: 28px !important;
    left: -86vw !important;
    width: 272vw !important;
    height: 182px !important;
    transform: rotate(-6.5deg) !important;
  }

  .smooth-wave-text {
    font-size: 46px !important;
    letter-spacing: 0.035em !important;
    word-spacing: 0.42em !important;
  }

  .connect-wave-image {
    width: min(76vw, 330px) !important;
    max-width: 330px !important;
    aspect-ratio: 0.82 / 1 !important;
    margin: 0 auto !important;
    border-radius: 26px !important;
  }

  .connect-wave-copy {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* === Section 2: featured project links with hover image swap === */
.featured-projects-section {
  position: relative;
  padding: clamp(96px, 9vw, 150px) 24px clamp(110px, 10vw, 170px);
  background: #fbfaf7;
  overflow: hidden;
}

.featured-projects-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.featured-projects-kicker {
  margin: 0 0 48px;
  max-width: 540px;
  color: var(--gold);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: minmax(280px, 540px) 1px minmax(280px, 470px);
  align-items: center;
  justify-content: center;
  gap: clamp(54px, 6vw, 94px);
}

.featured-projects-media {
  width: 100%;
}

.featured-image-link {
  display: block;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: #e8e2d8;
}

.featured-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition:
    opacity 0.38s ease,
    transform 0.9s var(--ease),
    filter 0.45s ease;
}

.featured-image-link:hover img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}

.featured-image-link.is-changing img {
  opacity: 0.18;
  transform: scale(1.035);
}

.featured-projects-divider {
  width: 1px;
  height: 720px;
  background: rgba(20, 20, 20, 0.68);
  transform-origin: center;
  animation: dividerReveal 1.1s var(--ease) both;
}

@keyframes dividerReveal {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.featured-projects-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.featured-project-link {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: baseline;
  width: fit-content;
  color: rgba(20, 20, 20, 0.46);
  transition:
    color 0.3s ease,
    transform 0.35s var(--ease);
}

.featured-project-link span {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(20, 20, 20, 0.58);
  transition: color 0.3s ease;
}

.featured-project-link strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3vw, 45px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.featured-project-link.active,
.featured-project-link:hover {
  color: #101010;
  transform: translateX(8px);
}

.featured-project-link.active span,
.featured-project-link:hover span {
  color: #101010;
}

.featured-project-link strong::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 8px;
  background: currentColor;
  transition: width 0.36s var(--ease);
}

.featured-project-link:hover strong::after,
.featured-project-link.active strong::after {
  width: 100%;
}

@media (max-width: 950px) {
  .featured-projects-section {
    padding: 92px 24px 108px;
  }

  .featured-projects-kicker {
    margin-inline: auto;
  }

  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .featured-image-link {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .featured-projects-divider {
    width: 100%;
    height: 1px;
  }

  .featured-projects-list {
    gap: 28px;
  }

  .featured-project-link {
    width: 100%;
    grid-template-columns: 44px 1fr;
  }
}

@media (max-width: 560px) {
  .featured-projects-section {
    padding: 78px 18px 86px;
  }

  .featured-projects-kicker {
    margin-bottom: 34px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .featured-image-link {
    aspect-ratio: 1 / 1.18;
  }

  .featured-projects-list {
    gap: 24px;
  }

  .featured-project-link {
    grid-template-columns: 36px 1fr;
  }

  .featured-project-link strong {
    font-size: 34px;
  }

  .featured-project-link span {
    font-size: 11px;
  }
}

/* === V13 FIX: Section 2 image size same as Section 1 === */
/* Section 1 image is max 520px wide and 720px tall, so Section 2 now matches it. */
.featured-projects-grid {
  grid-template-columns: minmax(280px, 520px) 1px minmax(280px, 500px) !important;
}

.featured-projects-media {
  width: min(100%, 520px) !important;
}

.featured-image-link {
  width: 100% !important;
  height: 720px !important;
  border-radius: 28px !important;
}

/* Tablet same as Section 1: 4/5 portrait ratio */
@media (max-width: 950px) {
  .featured-projects-media {
    width: min(560px, 100%) !important;
    margin: 0 auto !important;
  }

  .featured-image-link {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 28px !important;
  }
}

/* Mobile same as Section 1 latest size: smaller centered image */
@media (max-width: 560px) {
  .featured-projects-media {
    width: min(76vw, 330px) !important;
    max-width: 330px !important;
    margin: 0 auto !important;
  }

  .featured-image-link {
    height: auto !important;
    aspect-ratio: 0.82 / 1 !important;
    border-radius: 26px !important;
  }
}

/* === V14 FIX: Section 2 desktop alignment + mobile layout like reference === */

/* Desktop: align Section 2 content width with Section 1 so both images start on the same visual column */
.featured-projects-wrap {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
}

.featured-projects-kicker {
  width: 520px !important;
  max-width: 520px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: center !important;
}

.featured-projects-grid {
  width: 100% !important;
  grid-template-columns: minmax(280px, 520px) 1px minmax(280px, 500px) !important;
  justify-content: start !important;
  justify-items: start !important;
  align-items: center !important;
  gap: clamp(76px, 8vw, 155px) !important;
}

.featured-projects-media {
  width: 520px !important;
  max-width: 520px !important;
  justify-self: start !important;
}

.featured-image-link {
  width: 520px !important;
  max-width: 520px !important;
  height: 720px !important;
  border-radius: 28px !important;
}

.featured-projects-divider {
  height: 720px !important;
}

.featured-projects-list {
  justify-self: start !important;
}

/* Tablet/Mobile: match reference — title top, image centered, links below */
@media (max-width: 950px) {
  .featured-projects-section {
    padding: 88px 24px 104px !important;
  }

  .featured-projects-wrap {
    width: min(720px, 100%) !important;
  }

  .featured-projects-kicker {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto 44px !important;
    text-align: center !important;
  }

  .featured-projects-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: start !important;
    gap: 0 !important;
  }

  .featured-projects-media {
    width: min(620px, 100%) !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    justify-self: center !important;
  }

  .featured-image-link {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 0 !important;
  }

  .featured-projects-divider {
    display: none !important;
  }

  .featured-projects-list {
    width: min(620px, 100%) !important;
    margin: 70px auto 0 !important;
    gap: 36px !important;
    justify-self: center !important;
    align-items: flex-start !important;
  }

  .featured-project-link {
    width: auto !important;
    max-width: 100% !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    transform: none !important;
  }

  .featured-project-link:hover,
  .featured-project-link.active {
    transform: none !important;
  }

  .featured-project-link strong {
    font-size: clamp(46px, 8vw, 66px) !important;
    line-height: 0.98 !important;
  }

  .featured-project-link span {
    padding-top: 10px !important;
  }
}

@media (max-width: 560px) {
  .featured-projects-section {
    padding: 74px 0 94px !important;
  }

  .featured-projects-wrap {
    width: 100% !important;
  }

  .featured-projects-kicker {
    width: calc(100% - 34px) !important;
    max-width: 100% !important;
    margin: 0 auto 36px !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
    letter-spacing: 0.18em !important;
  }

  .featured-projects-media {
    width: calc(100% - 70px) !important;
    max-width: none !important;
  }

  .featured-image-link {
    width: 100% !important;
    aspect-ratio: 1 / 1.34 !important;
    border-radius: 0 !important;
  }

  .featured-projects-list {
    width: calc(100% - 70px) !important;
    margin-top: 66px !important;
    gap: 34px !important;
  }

  .featured-project-link {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .featured-project-link strong {
    font-size: clamp(46px, 13vw, 58px) !important;
    line-height: 1.02 !important;
    word-break: normal !important;
  }

  .featured-project-link span {
    font-size: 18px !important;
    padding-top: 12px !important;
    letter-spacing: 0.08em !important;
  }
}

/* === V15 FIX: reduce Section 2 project link font on mobile === */
@media (max-width: 560px) {
  .featured-projects-list {
    gap: 28px !important;
  }

  .featured-project-link {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  .featured-project-link strong {
    font-size: clamp(34px, 9.4vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }

  .featured-project-link span {
    font-size: 15px !important;
    padding-top: 8px !important;
    letter-spacing: 0.08em !important;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .featured-project-link strong {
    font-size: 34px !important;
  }

  .featured-project-link span {
    font-size: 14px !important;
  }
}

/* === Section 3: Commercial / Residential service project tabs === */
.sg-services-showcase {
  position: relative;
  padding: clamp(86px, 8vw, 138px) 24px clamp(110px, 10vw, 170px);
  background: #fbfaf7;
  overflow: hidden;
}

.sg-services-hero {
  width: min(1320px, 100%);
  min-height: 290px;
  margin: 0 auto 46px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background: #f1f3f7;
  text-align: center;
}

.sg-services-hero h2 {
  margin: 0;
  color: #1f2d44;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.sg-services-hero p {
  margin: 0;
  color: #99a2b2;
  font-size: 17px;
}

.sg-services-wrap {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.sg-service-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 38px;
  color: #1a1a1a;
}

.sg-service-tabs span {
  color: #1a1a1a;
  opacity: 0.55;
  font-size: 22px;
}

.sg-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #1a1a1a;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.22em;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.sg-tab.is-active {
  font-weight: 700;
}

.sg-tab:not(.is-active) {
  opacity: 0.72;
}

.sg-tab:hover {
  opacity: 1;
  color: var(--gold);
}

.sg-tab-line {
  width: 64px;
  height: 2px;
  margin-bottom: 42px;
  background: #171717;
  transform-origin: left;
  animation: sgLineIn 0.75s var(--ease) both;
}

@keyframes sgLineIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.sg-tab-panel {
  display: none;
}

.sg-tab-panel.is-active {
  display: block;
  animation: sgPanelIn 0.55s var(--ease) both;
}

@keyframes sgPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Commercial: 6 compact portfolio cards */
.sg-commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.75);
}

.sg-commercial-card {
  position: relative;
  display: block;
  height: 265px;
  overflow: hidden;
  background: #e7e2da;
}

.sg-commercial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition:
    transform 0.75s var(--ease),
    filter 0.35s ease,
    opacity 0.35s ease;
}

.sg-commercial-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.sg-commercial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.42));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sg-commercial-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.03);
}

.sg-commercial-card:hover::after,
.sg-commercial-card:hover span {
  opacity: 1;
}

.sg-commercial-card:hover span {
  transform: translateY(0);
}

/* Residential: big image + title + desc + button cards */
.sg-residential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 92px 86px;
  background: #eee9df;
  margin: 0 -24px;
  padding: 48px;
}

.sg-residential-card {
  min-width: 0;
}

.sg-residential-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: #ddd5c8;
}

.sg-residential-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 0.85s var(--ease),
    filter 0.35s ease;
}

.sg-residential-card:hover .sg-residential-image img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.02);
}

.sg-residential-copy {
  border-top: 1px solid rgba(20, 20, 20, 0.78);
  margin-top: 34px;
  padding-top: 34px;
}

.sg-residential-copy h3 {
  margin: 0 0 28px;
  color: #191919;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.sg-residential-copy p {
  margin: 0 0 44px;
  color: #202020;
  font-size: 20px;
  line-height: 1.45;
}

.sg-know-more {
  width: 176px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #151515;
  border-radius: 999px;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    transform 0.28s var(--ease);
}

.sg-know-more:hover {
  background: #151515;
  color: #fff;
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  .sg-services-hero {
    min-height: 240px;
    margin-bottom: 42px;
  }

  .sg-commercial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg-commercial-card {
    height: 250px;
  }

  .sg-residential-grid {
    grid-template-columns: 1fr;
    gap: 70px;
    margin: 0;
    padding: 34px;
  }
}

@media (max-width: 560px) {
  .sg-services-showcase {
    padding: 72px 18px 90px;
  }

  .sg-services-hero {
    min-height: 190px;
    padding: 38px 18px;
    margin-bottom: 36px;
  }

  .sg-services-hero h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .sg-services-hero p {
    font-size: 14px;
  }

  .sg-service-tabs {
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
  }

  .sg-tab {
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  .sg-service-tabs span {
    font-size: 16px;
  }

  .sg-tab-line {
    width: 54px;
    margin: 0 auto 34px;
  }

  .sg-commercial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    border-bottom: 1px solid rgba(20, 20, 20, 0.55);
  }

  .sg-commercial-card {
    height: auto;
    aspect-ratio: 1.28 / 1;
  }

  .sg-commercial-card span,
  .sg-commercial-card::after {
    opacity: 1;
  }

  .sg-commercial-card span {
    transform: none;
    font-size: 12px;
  }

  .sg-residential-grid {
    gap: 58px;
    padding: 26px 0;
    background: #eee9df;
    margin: 0 -18px;
  }

  .sg-residential-card {
    padding: 0 18px;
  }

  .sg-residential-image {
    aspect-ratio: 1.08 / 1;
  }

  .sg-residential-copy {
    margin-top: 26px;
    padding-top: 26px;
  }

  .sg-residential-copy h3 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .sg-residential-copy p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .sg-know-more {
    width: 150px;
    height: 44px;
    font-size: 13px;
  }
}

/* Simple separate pages for Section 3 project cards */
.sg-project-detail {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 70px);
  background: #fbfaf7;
  color: #111;
}

.sg-project-back {
  display: inline-block;
  margin-bottom: 70px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sg-project-detail > p {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sg-project-detail h1 {
  margin: 0 0 42px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(62px, 10vw, 148px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.sg-project-detail img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  margin-bottom: 52px;
}

.sg-project-detail-copy {
  width: min(760px, 100%);
  margin-left: auto;
}

.sg-project-detail-copy h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
}

.sg-project-detail-copy p {
  font-size: 19px;
  line-height: 1.75;
}

@media (max-width: 560px) {
  .sg-project-back {
    margin-bottom: 44px;
  }

  .sg-project-detail h1 {
    font-size: 58px;
  }

  .sg-project-detail-copy p {
    font-size: 16px;
  }
}

/* === V17 FIX: full animation polish + separated residential cards === */

/* Smooth premium motion on the whole page */
html {
  scroll-behavior: smooth;
}

body {
  background: #fbfaf7;
}

.sg-services-showcase {
  isolation: isolate;
}

.sg-services-showcase::before,
.sg-services-showcase::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.18;
  pointer-events: none;
  animation: sgAmbientFloat 9s ease-in-out infinite alternate;
}

.sg-services-showcase::before {
  left: -150px;
  top: 180px;
  background: #b98b51;
}

.sg-services-showcase::after {
  right: -160px;
  bottom: 220px;
  background: #809891;
  animation-delay: -2.8s;
}

@keyframes sgAmbientFloat {
  from {
    transform: translate3d(0, 0, 0) scale(0.92);
  }
  to {
    transform: translate3d(38px, -28px, 0) scale(1.08);
  }
}

.sg-services-wrap,
.sg-services-hero {
  position: relative;
  z-index: 2;
}

/* Hero title gets a soft breathing gradient */
.sg-services-hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.94),
      transparent 26%
    ),
    linear-gradient(135deg, #eef0f4, #f8f6f0, #edf1f4) !important;
  background-size: 180% 180% !important;
  animation: sgSoftPanel 7s ease-in-out infinite alternate;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.045);
}

@keyframes sgSoftPanel {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

/* Tabs feel more alive */
.sg-tab {
  position: relative;
}

.sg-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.sg-tab.is-active::after,
.sg-tab:hover::after {
  transform: scaleX(1);
}

/* Better panel entrance */
.sg-tab-panel.is-active {
  animation: sgPanelReveal 0.72s var(--ease) both !important;
}

@keyframes sgPanelReveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Commercial cards: more motion, cleaner depth */
.sg-commercial-card {
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    border-radius 0.45s var(--ease);
}

.sg-commercial-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

/* RESIDENTIAL: now each item is a separate card */
.sg-residential-grid {
  gap: 70px 56px !important;
  padding: 54px !important;
  align-items: stretch !important;
}

.sg-residential-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  padding: 26px !important;
  border: 1px solid rgba(20, 20, 20, 0.1) !important;
  border-radius: 28px !important;
  background: rgba(251, 250, 247, 0.78) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.07) !important;
  overflow: hidden !important;
  transform: translateY(0);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s ease,
    background 0.35s ease,
    border-color 0.35s ease !important;
}

.sg-residential-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 22% 0%,
      rgba(185, 139, 81, 0.14),
      transparent 35%
    ),
    radial-gradient(circle at 100% 92%, rgba(56, 70, 94, 0.1), transparent 36%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.sg-residential-card:hover {
  transform: translateY(-14px);
  background: #fffaf3 !important;
  border-color: rgba(185, 139, 81, 0.3) !important;
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.13) !important;
}

.sg-residential-card:hover::before {
  opacity: 1;
}

.sg-residential-image,
.sg-residential-copy {
  position: relative;
  z-index: 1;
}

.sg-residential-image {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.sg-residential-copy {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  border-top: 1px solid rgba(20, 20, 20, 0.72) !important;
}

.sg-residential-copy p {
  flex: 1 !important;
}

.sg-know-more {
  position: relative;
  overflow: hidden;
}

.sg-know-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.58s ease;
}

.sg-know-more:hover::before {
  left: 140%;
}

/* Scroll reveal feels stronger */
.reveal-up {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(8px);
  transition:
    opacity 0.8s ease,
    transform 0.9s var(--ease),
    filter 0.9s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger residential cards */
.sg-residential-card:nth-child(2n) {
  transition-delay: 0.08s;
}

.sg-residential-card:nth-child(3n) {
  transition-delay: 0.14s;
}

/* Stagger commercial cards */
.sg-commercial-card:nth-child(2) {
  transition-delay: 0.05s;
}
.sg-commercial-card:nth-child(3) {
  transition-delay: 0.1s;
}
.sg-commercial-card:nth-child(4) {
  transition-delay: 0.15s;
}
.sg-commercial-card:nth-child(5) {
  transition-delay: 0.2s;
}
.sg-commercial-card:nth-child(6) {
  transition-delay: 0.25s;
}

/* On mobile: cards get a clean gap and never merge */
@media (max-width: 980px) {
  .sg-residential-grid {
    gap: 42px !important;
    padding: 34px !important;
  }

  .sg-residential-card {
    padding: 22px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 560px) {
  .sg-services-showcase::before,
  .sg-services-showcase::after {
    width: 220px;
    height: 220px;
    filter: blur(54px);
  }

  .sg-residential-grid {
    gap: 34px !important;
    padding: 22px 18px !important;
    margin: 0 -18px !important;
  }

  .sg-residential-card {
    padding: 18px !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.09) !important;
  }

  .sg-residential-image {
    border-radius: 16px !important;
  }

  .sg-residential-copy {
    margin-top: 24px !important;
    padding-top: 24px !important;
  }

  .sg-commercial-card {
    border-radius: 16px;
  }

  .sg-commercial-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-radius: 22px;
  }

  .reveal-up {
    transform: translateY(28px);
    filter: blur(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sg-services-showcase::before,
  .sg-services-showcase::after,
  .sg-services-hero,
  .sg-tab-panel.is-active {
    animation: none !important;
  }

  .reveal-up {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* === V18 DETAIL PAGES: project gallery pages like design portfolio case study === */
.sg-project-detail-page {
  min-height: 100vh;
  background: #fbfaf7;
  color: #111;
}

.sg-detail-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 20px clamp(20px, 4vw, 58px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sg-detail-back {
  justify-self: start;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sg-detail-logo {
  justify-self: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.sg-detail-category {
  justify-self: end;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sg-detail-hero {
  display: grid;
  grid-template-columns: minmax(360px, 1.28fr) minmax(300px, 0.72fr);
  gap: clamp(48px, 7vw, 125px);
  align-items: center;
  padding: clamp(56px, 8vw, 120px) clamp(24px, 5vw, 78px) clamp(40px, 6vw, 80px);
}

.sg-detail-main-media {
  position: relative;
}

.sg-detail-main-media img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.sg-detail-arrow {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 96px;
  display: grid;
  place-items: center;
  color: rgba(20, 20, 20, 0.26);
  font-size: 84px;
  font-family: "Cormorant Garamond", Georgia, serif;
  transform: translateY(-50%);
  transition:
    color 0.25s ease,
    transform 0.35s var(--ease);
}

.sg-detail-arrow:hover {
  color: #111;
  transform: translateY(-50%) scale(1.08);
}

.sg-detail-arrow.prev {
  left: -88px;
}

.sg-detail-arrow.next {
  right: -88px;
}

.sg-detail-copy {
  max-width: 520px;
}

.sg-detail-copy h1 {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 5vw, 94px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.sg-detail-copy h2 {
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sg-detail-copy p {
  margin: 0 0 24px;
  color: #333;
  font-size: 17px;
  line-height: 1.8;
}

.sg-detail-photo-credit {
  margin-top: 48px !important;
  color: rgba(20, 20, 20, 0.48) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.34em !important;
  text-transform: uppercase;
}

.sg-detail-gallery {
  padding: clamp(46px, 6vw, 90px) clamp(24px, 5vw, 78px) clamp(80px, 8vw, 130px);
}

.sg-detail-gallery-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 32px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sg-detail-gallery-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(20, 20, 20, 0.18);
}

.sg-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sg-detail-gallery-item {
  display: block;
  overflow: hidden;
  background: #e8e2d7;
}

.sg-detail-gallery-item:nth-child(1),
.sg-detail-gallery-item:nth-child(4) {
  grid-row: span 2;
}

.sg-detail-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transform: scale(1.015);
  transition:
    transform 0.9s var(--ease),
    filter 0.35s ease;
}

.sg-detail-gallery-item:nth-child(1) img,
.sg-detail-gallery-item:nth-child(4) img {
  min-height: 680px;
}

.sg-detail-gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.02);
}

.sg-detail-bottom-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(20, 20, 20, 0.14);
  border-bottom: 1px solid rgba(20, 20, 20, 0.14);
}

.sg-detail-bottom-nav a {
  padding: 42px clamp(24px, 5vw, 72px);
  transition: background 0.3s ease;
}

.sg-detail-bottom-nav a:hover {
  background: #f1eadf;
}

.sg-detail-bottom-nav span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sg-detail-bottom-nav strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.sg-detail-bottom-nav .next {
  text-align: right;
  border-left: 1px solid rgba(20, 20, 20, 0.14);
}

@media (max-width: 1100px) {
  .sg-detail-hero {
    grid-template-columns: 1fr;
  }

  .sg-detail-copy {
    max-width: 820px;
  }

  .sg-detail-arrow.prev {
    left: 12px;
  }

  .sg-detail-arrow.next {
    right: 12px;
  }

  .sg-detail-arrow {
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 760px) {
  .sg-detail-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .sg-detail-logo {
    justify-self: end;
    font-size: 24px;
    letter-spacing: 0.16em;
  }

  .sg-detail-category {
    display: none;
  }

  .sg-detail-hero {
    padding: 42px 18px 30px;
    gap: 34px;
  }

  .sg-detail-main-media img {
    max-height: none;
    aspect-ratio: 1 / 1.08;
  }

  .sg-detail-copy h1 {
    font-size: 52px;
  }

  .sg-detail-copy p {
    font-size: 15px;
  }

  .sg-detail-photo-credit {
    letter-spacing: 0.22em !important;
  }

  .sg-detail-gallery {
    padding: 42px 18px 70px;
  }

  .sg-detail-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sg-detail-gallery-item:nth-child(1),
  .sg-detail-gallery-item:nth-child(4) {
    grid-row: auto;
  }

  .sg-detail-gallery-item img,
  .sg-detail-gallery-item:nth-child(1) img,
  .sg-detail-gallery-item:nth-child(4) img {
    min-height: auto;
    aspect-ratio: 1 / 0.86;
  }

  .sg-detail-bottom-nav {
    grid-template-columns: 1fr;
  }

  .sg-detail-bottom-nav .next {
    text-align: left;
    border-left: 0;
    border-top: 1px solid rgba(20, 20, 20, 0.14);
  }
}

/* === V21: Section 4 canvas reveal scroll section === */
.canvas-reveal-section {
  position: relative;
  height: 280vh;
  background: var(--bg);
}

.canvas-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  background: var(--bg);
}

.canvas-reveal-media {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--canvasW, min(1520px, 84vw));
  height: var(--canvasH, 34vh);
  margin: 0;
  overflow: hidden;
  border-radius: var(--canvasRadius, 30px);
  box-shadow: 0 24px 90px rgba(20, 20, 20, 0.18);
  transform: translate(-50%, calc(-50% + var(--canvasY, 42px)))
    scale(var(--canvasScale, 1));
  will-change: width, height, transform, border-radius;
}

.canvas-reveal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transform: scale(calc(1.02 + var(--canvasImageScale, 0)));
  transition: transform 0.1s linear;
}

.canvas-reveal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.16) 100%
  );
  pointer-events: none;
}

.canvas-reveal-stats {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 3vw, 28px);
  width: min(1360px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  background: rgba(247, 244, 238, 0.94);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.08);
  opacity: var(--canvasStatsOpacity, 0);
  transform: translateX(-50%) translateY(var(--canvasStatsY, 64px));
  backdrop-filter: blur(10px);
  will-change: transform, opacity;
}

.canvas-stat {
  padding: 22px clamp(12px, 1.5vw, 28px) 26px;
  border-right: 1px solid rgba(20, 20, 20, 0.08);
}
.canvas-stat:last-child {
  border-right: 0;
}
.canvas-stat strong {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(28px, 2.6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: #32433f;
}
.canvas-stat span {
  display: block;
  max-width: 18ch;
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.45;
  color: rgba(20, 20, 20, 0.72);
}

@media (max-width: 1100px) {
  .canvas-reveal-section {
    height: 250vh;
  }
  .canvas-reveal-stats {
    width: min(1120px, calc(100vw - 34px));
  }
  .canvas-stat {
    padding: 18px 16px 22px;
  }
}

@media (max-width: 760px) {
  .canvas-reveal-section {
    height: 235vh;
  }
  .canvas-reveal-media {
    box-shadow: 0 18px 48px rgba(20, 20, 20, 0.14);
  }
  .canvas-reveal-stats {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100vw - 26px);
    bottom: 14px;
  }
  .canvas-stat {
    border-right: 1px solid rgba(20, 20, 20, 0.08);
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    padding: 16px 14px 18px;
  }
  .canvas-stat:nth-child(2n) {
    border-right: 0;
  }
  .canvas-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .canvas-stat strong {
    font-size: clamp(24px, 9vw, 42px);
  }
  .canvas-stat span {
    font-size: 12px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .canvas-reveal-section {
    height: 225vh;
  }
  .canvas-reveal-media {
    border-radius: 22px;
  }
  .canvas-stat strong {
    font-size: clamp(20px, 8vw, 32px);
  }
}

/* === V22: Section 4 animated counters + Section 5 sticky process === */
.canvas-stat {
  opacity: calc(0.45 + (var(--canvasStatsOpacity, 0) * 0.55));
  transform: translateY(calc((1 - var(--canvasStatsOpacity, 0)) * 18px));
  transition:
    opacity 0.18s linear,
    transform 0.18s linear;
}
.canvas-stat:nth-child(2) {
  transition-delay: 0.05s;
}
.canvas-stat:nth-child(3) {
  transition-delay: 0.1s;
}
.canvas-stat:nth-child(4) {
  transition-delay: 0.15s;
}
.canvas-count {
  display: inline-block;
  min-width: 3ch;
  font-variant-numeric: tabular-nums;
}

.process-scroll-section {
  position: relative;
  height: 430vh;
  background: #f9faf1;
  color: #163a3c;
  border-top: 1px solid rgba(22, 58, 60, 0.08);
}
.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #f9faf1;
}
.process-shell {
  width: min(1390px, calc(100vw - 86px));
  margin: 0 auto;
  height: min(850px, calc(100vh - 82px));
  display: flex;
  flex-direction: column;
}
.process-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(22, 58, 60, 0.16);
}
.process-header h2 {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(44px, 4.8vw, 74px);
  font-weight: 300;
  letter-spacing: -0.055em;
  color: #173d3e;
}
.process-board {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(420px, 0.58fr);
  border-bottom: 1px solid rgba(22, 58, 60, 0.12);
  min-height: 0;
}
.process-number-col {
  position: relative;
  border-right: 1px solid rgba(22, 58, 60, 0.16);
  display: flex;
  align-items: flex-start;
  padding-top: clamp(30px, 5vw, 70px);
}
.process-big-number {
  display: block;
  color: #5d9893;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(128px, 15vw, 220px);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.09em;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity, filter;
  transform: translateY(var(--processNumberY, 0px))
    scale(var(--processNumberScale, 1));
  opacity: var(--processNumberOpacity, 1);
  filter: blur(var(--processNumberBlur, 0px));
}
.process-content-col {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.process-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 84px) 0 clamp(34px, 5vw, 76px)
    clamp(50px, 8vw, 118px);
  opacity: var(--stepOpacity, 0);
  transform: translateY(var(--stepY, 80px)) scale(var(--stepScale, 0.96));
  filter: none;
  pointer-events: none;
  will-change: transform, opacity;
}
.process-step.is-active {
  pointer-events: auto;
}
.process-step h3 {
  margin: 0 0 18px;
  color: #173d3e;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(42px, 4.5vw, 72px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.065em;
}
.process-step p {
  max-width: 930px;
  margin: 0 0 clamp(28px, 4vw, 48px);
  color: #579891;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.18;
  font-weight: 400;
}
.process-step img {
  width: min(900px, 100%);
  height: clamp(260px, 34vh, 430px);
  object-fit: cover;
  display: block;
  box-shadow: 0 22px 80px rgba(22, 58, 60, 0.1);
  transform: scale(var(--processImageScale, 1));
  transform-origin: center;
}

@media (max-width: 980px) {
  .process-scroll-section {
    height: 410vh;
  }
  .process-shell {
    width: calc(100vw - 42px);
    height: calc(100vh - 54px);
  }
  .process-board {
    grid-template-columns: 190px 1fr;
  }
  .process-step {
    padding-left: 42px;
  }
  .process-step::before {
    left: 42px;
  }
  .process-step img {
    height: 32vh;
  }
}
@media (max-width: 680px) {
  .process-scroll-section {
    height: 400vh;
  }
  .process-sticky {
    align-items: flex-start;
    padding-top: 78px;
  }
  .process-shell {
    width: calc(100vw - 30px);
    height: calc(100vh - 96px);
  }
  .process-header {
    padding-bottom: 16px;
  }
  .process-header h2 {
    font-size: 46px;
    letter-spacing: -0.055em;
  }
  .process-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    border-bottom: 0;
  }
  .process-number-col {
    border-right: 0;
    border-bottom: 1px solid rgba(22, 58, 60, 0.14);
    padding: 18px 0 16px;
    min-height: 118px;
    align-items: center;
  }
  .process-big-number {
    font-size: 104px;
    line-height: 0.85;
  }
  .process-step {
    padding: 30px 0 0;
    justify-content: flex-start;
  }
  .process-step::before {
    display: none;
  }
  .process-step h3 {
    font-size: 38px;
    line-height: 1.05;
    margin-bottom: 14px;
  }
  .process-step p {
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 22px;
  }
  .process-step img {
    width: 100%;
    height: 30vh;
    min-height: 220px;
  }
}

/* === V22: Final consultation CTA section === */
.final-consultation {
  position: relative;
  min-height: 96vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(92px, 10vw, 170px) 24px;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(184, 139, 75, 0.1),
      transparent 30%
    ),
    radial-gradient(circle at 84% 78%, rgba(30, 49, 46, 0.08), transparent 34%),
    #e9e2d7;
  color: #181817;
  isolation: isolate;
}

.final-consultation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(35, 35, 35, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 35, 35, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
}

.final-consultation::after {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border: 1px solid rgba(143, 105, 50, 0.1);
  border-radius: 38px;
  transform: scale(0.98);
  opacity: 0;
  transition:
    opacity 1.1s ease,
    transform 1.1s var(--ease);
}

.final-consultation.is-visible::after {
  opacity: 1;
  transform: scale(1);
}

.final-cta-orb {
  position: absolute;
  width: 42vw;
  max-width: 680px;
  aspect-ratio: 1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(56px);
  opacity: 0.22;
  z-index: -1;
  animation: finalOrbFloat 10s ease-in-out infinite alternate;
}

.final-cta-orb-one {
  left: -18vw;
  top: 5%;
  background: #b98b51;
}

.final-cta-orb-two {
  right: -20vw;
  bottom: -8%;
  background: #253d39;
  animation-delay: -4s;
}

@keyframes finalOrbFloat {
  from {
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  to {
    transform: translate3d(52px, -36px, 0) scale(1.08);
  }
}

.final-cta-inner {
  width: min(900px, 100%);
  text-align: center;
  position: relative;
}

.final-cta-eyebrow {
  display: flex;
  justify-content: center;
  gap: 0.54em;
  margin: 0 0 42px;
  color: #9d7a3f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.final-cta-eyebrow span {
  opacity: 0;
  transform: translateY(18px) rotateX(70deg);
  transform-origin: bottom;
  display: inline-block;
}

.final-consultation.is-visible .final-cta-eyebrow span {
  animation: finalLetterIn 0.62s var(--ease) forwards;
}

.final-consultation.is-visible .final-cta-eyebrow span:nth-child(1) {
  animation-delay: 0.02s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(2) {
  animation-delay: 0.06s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(3) {
  animation-delay: 0.1s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(4) {
  animation-delay: 0.14s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(5) {
  animation-delay: 0.18s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(6) {
  animation-delay: 0.22s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(7) {
  animation-delay: 0.26s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(8) {
  animation-delay: 0.3s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(9) {
  animation-delay: 0.34s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(10) {
  animation-delay: 0.38s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(11) {
  animation-delay: 0.42s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(12) {
  animation-delay: 0.46s;
}
.final-consultation.is-visible .final-cta-eyebrow span:nth-child(13) {
  animation-delay: 0.5s;
}

@keyframes finalLetterIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.final-cta-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(56px, 7.2vw, 112px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.final-line {
  display: block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(44px);
}

.final-consultation.is-visible .final-line-one {
  animation: finalTitleUp 0.95s var(--ease) 0.2s forwards;
}

.final-consultation.is-visible .final-line-two {
  animation: finalTitleUp 0.95s var(--ease) 0.38s forwards;
}

@keyframes finalTitleUp {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.final-cta-title em {
  position: relative;
  color: #9d7a3f;
  font-style: italic;
  font-weight: 400;
}

.final-cta-title em::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.08em;
  height: 0.08em;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(157, 122, 63, 0.38),
    transparent
  );
  transform: scaleX(0);
  transform-origin: left;
}

.final-consultation.is-visible .final-cta-title em::after {
  animation: finalVisionUnderline 0.9s var(--ease) 1.15s forwards;
}

@keyframes finalVisionUnderline {
  to {
    transform: scaleX(1);
  }
}

.final-cta-copy {
  margin: 42px auto 0;
  color: rgba(24, 24, 23, 0.62);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.52;
  opacity: 0;
  transform: translateY(28px);
}

.final-consultation.is-visible .final-cta-copy {
  animation: finalCopyIn 0.8s ease 0.76s forwards;
}

@keyframes finalCopyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 58px auto 0;
  opacity: 0;
  transform: translateY(36px) scale(0.98);
}

.final-consultation.is-visible .final-cta-actions {
  animation: finalActionsIn 0.82s var(--ease) 0.98s forwards;
}

@keyframes finalActionsIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.final-btn {
  position: relative;
  min-width: 276px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 34px;
  overflow: hidden;
  border: 1px solid #171717;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.24em;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.final-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.65s ease;
}

.final-btn:hover::before {
  left: 140%;
}

.final-btn:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
}

.final-btn-dark {
  color: #fff;
  background: #171717;
}

.final-btn-outline {
  color: #171717;
  background: transparent;
}

.final-btn-outline:hover {
  color: #fff;
  background: #171717;
}

.final-btn-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  animation: finalPulse 1.65s ease-in-out infinite;
}

@keyframes finalPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

.final-arrow {
  font-size: 22px;
  transition: transform 0.35s var(--ease);
}

.final-btn:hover .final-arrow {
  transform: translateX(8px);
}

.final-cta-call {
  margin: 42px 0 0;
  color: rgba(24, 24, 23, 0.48);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
  opacity: 0;
  transform: translateY(16px);
}

.final-consultation.is-visible .final-cta-call {
  animation: finalCopyIn 0.7s ease 1.25s forwards;
}

.final-cta-call a {
  color: #9d7a3f;
  border-bottom: 1px solid currentColor;
  transition:
    color 0.25s ease,
    letter-spacing 0.25s ease;
}

.final-cta-call a:hover {
  color: #171717;
  letter-spacing: 0.03em;
}

@media (max-width: 760px) {
  .final-consultation {
    min-height: 92vh;
    padding: 88px 20px;
  }

  .final-cta-eyebrow {
    gap: 0.35em;
    margin-bottom: 34px;
    font-size: 12px;
  }

  .final-cta-title {
    font-size: clamp(50px, 16vw, 78px);
  }

  .final-cta-copy {
    margin-top: 34px;
    font-size: 18px;
  }

  .final-cta-copy br {
    display: none;
  }

  .final-cta-actions {
    flex-direction: column;
    gap: 16px;
    margin-top: 44px;
  }

  .final-btn {
    width: 100%;
    min-width: 0;
    height: 66px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .final-cta-call {
    font-size: 18px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta-orb,
  .final-btn-icon,
  .final-consultation.is-visible .final-cta-eyebrow span,
  .final-consultation.is-visible .final-line-one,
  .final-consultation.is-visible .final-line-two,
  .final-consultation.is-visible .final-cta-copy,
  .final-consultation.is-visible .final-cta-actions,
  .final-consultation.is-visible .final-cta-call,
  .final-consultation.is-visible .final-cta-title em::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* === V23 fixes: remove plain sections, no process blur, hide navbar on scroll === */
.sg-navbar.scroll-hidden {
  transform: translateY(-120%) !important;
  pointer-events: none;
}

.sg-navbar {
  transition:
    transform 0.52s cubic-bezier(0.19, 1, 0.22, 1),
    height 0.38s var(--ease),
    box-shadow 0.38s ease,
    background 0.38s ease !important;
}

.process-big-number,
.process-step {
  filter: none !important;
}

.process-big-number {
  will-change: transform, opacity !important;
}

.process-step {
  will-change: transform, opacity !important;
}

/* Safety: even if any removed sections remain from browser cache, hide them */
.after-hero,
.quick-links {
  display: none !important;
}


/* =========================================================
   FINAL FIX: keep home navbar fixed on scroll
========================================================= */
.sg-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  z-index: 5000 !important;
}

.sg-navbar.scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 12px 34px rgba(20, 20, 20, 0.08) !important;
}


/* =========================================================
   HOME PROCESS REDESIGN — SpaceGlam warm theme
========================================================= */
.process-scroll-section {
  background:
    linear-gradient(rgba(185, 139, 83, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 139, 83, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(185, 139, 83, 0.12), transparent 28%),
    radial-gradient(circle at 92% 86%, rgba(48, 64, 91, 0.10), transparent 30%),
    #fbfaf7 !important;
  background-size: 76px 76px, 76px 76px, auto, auto, auto !important;
  color: #17233a !important;
  border-top: 1px solid rgba(185, 139, 83, 0.16) !important;
  height: 380vh !important;
}

.process-sticky {
  background: transparent !important;
  top: 0 !important;
  padding-top: 86px !important;
  align-items: center !important;
}

.process-shell {
  width: min(1240px, calc(100vw - 72px)) !important;
  height: min(760px, calc(100vh - 116px)) !important;
  justify-content: center !important;
}

.process-header {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 0.65fr 1fr !important;
  gap: clamp(20px, 4vw, 64px) !important;
  align-items: end !important;
  padding: 0 0 30px !important;
  border-bottom: 1px solid rgba(185, 139, 83, 0.18) !important;
}

.process-eyebrow {
  grid-column: 1 / -1 !important;
  margin: 0 0 -8px !important;
  color: #b98b53 !important;
  font: 800 12px/1.2 Inter, Arial, sans-serif !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.process-header h2 {
  margin: 0 !important;
  color: #111111 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(58px, 8vw, 116px) !important;
  font-weight: 400 !important;
  line-height: 0.84 !important;
  letter-spacing: -0.065em !important;
}

.process-intro {
  max-width: 620px !important;
  margin: 0 0 8px !important;
  color: rgba(17, 17, 17, 0.68) !important;
  font: 500 clamp(14px, 1.15vw, 17px)/1.78 Inter, Arial, sans-serif !important;
}

.process-board {
  margin-top: 26px !important;
  display: grid !important;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 0.65fr) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(185, 139, 83, 0.18) !important;
  border-radius: 34px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 36px 90px rgba(30, 35, 46, 0.10) !important;
  backdrop-filter: blur(18px) !important;
}

.process-number-col {
  position: relative !important;
  border-right: 1px solid rgba(185, 139, 83, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.56), rgba(246,239,229,0.74)),
    radial-gradient(circle at 50% 12%, rgba(185, 139, 83, 0.16), transparent 34%) !important;
  padding: 42px 24px !important;
  align-items: flex-start !important;
}

.process-number-col::after {
  content: "STEP";
  position: absolute;
  left: 28px;
  bottom: 34px;
  color: rgba(185, 139, 83, 0.82);
  font: 800 11px/1 Inter, Arial, sans-serif;
  letter-spacing: 0.26em;
}

.process-big-number {
  color: rgba(185, 139, 83, 0.95) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(122px, 12vw, 190px) !important;
  font-weight: 400 !important;
  line-height: 0.78 !important;
  letter-spacing: -0.08em !important;
  text-shadow: 0 18px 48px rgba(185, 139, 83, 0.16) !important;
}

.process-content-col {
  min-height: 460px !important;
  overflow: hidden !important;
}

.process-step {
  padding: clamp(36px, 5vw, 64px) clamp(34px, 5vw, 70px) !important;
  justify-content: center !important;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 28px 28px auto auto;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(185, 139, 83, 0.10);
  filter: blur(2px);
  pointer-events: none;
}

.process-step h3 {
  max-width: 760px !important;
  margin: 0 0 16px !important;
  color: #111111 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(44px, 5.2vw, 82px) !important;
  font-weight: 400 !important;
  line-height: 0.94 !important;
  letter-spacing: -0.06em !important;
}

.process-step p {
  max-width: 720px !important;
  margin: 0 0 30px !important;
  color: rgba(17, 17, 17, 0.66) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(14px, 1.3vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.76 !important;
}

.process-step img {
  width: min(720px, 100%) !important;
  height: clamp(210px, 29vh, 330px) !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  box-shadow: 0 22px 70px rgba(30, 35, 46, 0.16) !important;
}

@media (max-width: 980px) {
  .process-scroll-section {
    height: 360vh !important;
  }

  .process-sticky {
    padding-top: 78px !important;
  }

  .process-shell {
    width: calc(100vw - 42px) !important;
    height: calc(100vh - 100px) !important;
  }

  .process-header {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding-bottom: 20px !important;
  }

  .process-header h2 {
    font-size: clamp(52px, 10vw, 84px) !important;
  }

  .process-intro {
    max-width: 760px !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  .process-board {
    grid-template-columns: 150px 1fr !important;
    border-radius: 26px !important;
  }

  .process-number-col {
    padding: 32px 18px !important;
  }

  .process-big-number {
    font-size: 118px !important;
  }

  .process-step {
    padding: 34px 34px !important;
  }

  .process-step h3 {
    font-size: clamp(42px, 7.4vw, 62px) !important;
  }

  .process-step p {
    font-size: 14px !important;
    line-height: 1.58 !important;
    margin-bottom: 22px !important;
  }

  .process-step img {
    height: 240px !important;
  }
}

@media (max-width: 680px) {
  .process-scroll-section {
    height: auto !important;
    padding: 86px 16px 96px !important;
  }

  .process-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  .process-shell {
    width: 100% !important;
    height: auto !important;
  }

  .process-header {
    margin-bottom: 18px !important;
  }

  .process-header h2 {
    font-size: clamp(54px, 16vw, 76px) !important;
  }

  .process-board {
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 24px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .process-number-col {
    display: none !important;
  }

  .process-content-col {
    position: static !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: grid !important;
    gap: 18px !important;
  }

  .process-step {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 22px !important;
    border: 1px solid rgba(185, 139, 83, 0.18) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 18px 50px rgba(30, 35, 46, 0.10) !important;
  }

  .process-step::before {
    content: attr(data-step);
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 16px !important;
    border-radius: 999px !important;
    background: rgba(185, 139, 83, 0.14) !important;
    color: #b98b53 !important;
    filter: none !important;
    font: 800 0/1 Inter, Arial, sans-serif !important;
  }

  .process-step[data-step="0"]::before { content: "01"; font-size: 12px !important; letter-spacing: .12em !important; }
  .process-step[data-step="1"]::before { content: "02"; font-size: 12px !important; letter-spacing: .12em !important; }
  .process-step[data-step="2"]::before { content: "03"; font-size: 12px !important; letter-spacing: .12em !important; }
  .process-step[data-step="3"]::before { content: "04"; font-size: 12px !important; letter-spacing: .12em !important; }

  .process-step h3 {
    font-size: clamp(36px, 11vw, 52px) !important;
    margin-bottom: 12px !important;
  }

  .process-step p {
    font-size: 14px !important;
    line-height: 1.62 !important;
    margin-bottom: 18px !important;
  }

  .process-step img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }
}


/* =========================================================
   FINAL HOME PROCESS FIX — bigger image, balanced typography
========================================================= */
.process-scroll-section {
  height: 360vh !important;
  background:
    linear-gradient(rgba(185, 139, 83, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 139, 83, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgba(185, 139, 83, 0.10), transparent 30%),
    #fbfaf7 !important;
  background-size: 74px 74px, 74px 74px, auto, auto !important;
}

.process-sticky {
  padding-top: 92px !important;
}

.process-shell {
  width: min(1320px, calc(100vw - 72px)) !important;
  height: min(790px, calc(100vh - 120px)) !important;
  justify-content: center !important;
}

.process-header {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.46fr) minmax(420px, 0.54fr) !important;
  align-items: end !important;
  gap: clamp(28px, 5vw, 78px) !important;
  padding: 0 0 28px !important;
  margin-bottom: 28px !important;
  border-bottom: 1px solid rgba(185, 139, 83, 0.18) !important;
}

.process-eyebrow {
  grid-column: 1 / -1 !important;
  margin: 0 0 -12px !important;
  color: #b98b53 !important;
  font: 800 12px/1 Inter, Arial, sans-serif !important;
  letter-spacing: 0.24em !important;
}

.process-header h2 {
  margin: 0 !important;
  white-space: nowrap !important;
  color: #111111 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(54px, 6vw, 88px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.06em !important;
}

.process-intro {
  max-width: 640px !important;
  margin: 0 !important;
  color: rgba(17, 17, 17, 0.66) !important;
  font: 600 clamp(14px, 1.05vw, 17px)/1.68 Inter, Arial, sans-serif !important;
}

.process-board {
  flex: 1 !important;
  min-height: 520px !important;
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  overflow: hidden !important;
  border: 1px solid rgba(185, 139, 83, 0.20) !important;
  border-radius: 34px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 34px 85px rgba(30, 35, 46, 0.10) !important;
}

.process-number-col {
  min-width: 0 !important;
  padding: 34px 20px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  border-right: 1px solid rgba(185, 139, 83, 0.18) !important;
  background: linear-gradient(180deg, rgba(248,245,239,0.9), rgba(255,255,255,0.7)) !important;
}

.process-number-col::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 30px !important;
  letter-spacing: 0.18em !important;
}

.process-big-number {
  color: #b98b53 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(64px, 5.8vw, 92px) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.08em !important;
  text-align: center !important;
}

.process-content-col {
  position: relative !important;
  min-height: 520px !important;
  overflow: hidden !important;
}

.process-step {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 0.42fr) minmax(420px, 0.58fr) !important;
  grid-template-rows: auto auto 1fr !important;
  column-gap: clamp(28px, 4vw, 64px) !important;
  align-items: center !important;
  padding: clamp(34px, 4vw, 58px) !important;
  opacity: var(--stepOpacity, 0) !important;
  transform: translateY(var(--stepY, 80px)) scale(var(--stepScale, 0.96)) !important;
}

.process-step::before {
  content: "" !important;
  position: absolute !important;
  inset: auto auto 34px 34px !important;
  width: 58px !important;
  height: 3px !important;
  border-radius: 20px !important;
  background: #b98b53 !important;
  filter: none !important;
}

.process-step h3 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  max-width: 500px !important;
  margin: 0 0 16px !important;
  color: #151515 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(36px, 3.6vw, 56px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
}

.process-step p {
  grid-column: 1 !important;
  grid-row: 2 !important;
  max-width: 520px !important;
  margin: 0 !important;
  color: rgba(17, 17, 17, 0.68) !important;
  font: 500 clamp(13.5px, 1vw, 16px)/1.72 Inter, Arial, sans-serif !important;
}

.process-step img {
  grid-column: 2 !important;
  grid-row: 1 / 4 !important;
  width: 100% !important;
  height: min(100%, 430px) !important;
  min-height: 390px !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  box-shadow: 0 24px 70px rgba(30, 35, 46, 0.15) !important;
}

@media (max-width: 1100px) {
  .process-shell {
    width: calc(100vw - 42px) !important;
  }

  .process-header {
    grid-template-columns: minmax(260px, 0.42fr) minmax(360px, 0.58fr) !important;
    gap: 28px !important;
  }

  .process-header h2 {
    font-size: clamp(48px, 5.6vw, 70px) !important;
  }

  .process-board {
    grid-template-columns: 86px 1fr !important;
  }

  .process-step {
    grid-template-columns: minmax(230px, 0.42fr) minmax(340px, 0.58fr) !important;
    gap: 28px !important;
    padding: 32px !important;
  }

  .process-step h3 {
    font-size: clamp(34px, 4vw, 48px) !important;
  }

  .process-step img {
    min-height: 340px !important;
    height: 380px !important;
  }
}

@media (max-width: 760px) {
  .process-scroll-section {
    height: auto !important;
    padding: 84px 16px 90px !important;
  }

  .process-sticky {
    position: relative !important;
    height: auto !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  .process-shell {
    width: 100% !important;
    height: auto !important;
  }

  .process-header {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
    padding-bottom: 20px !important;
  }

  .process-header h2 {
    white-space: nowrap !important;
    font-size: clamp(46px, 15vw, 64px) !important;
  }

  .process-intro {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  .process-board {
    display: block !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .process-number-col {
    display: none !important;
  }

  .process-content-col {
    position: static !important;
    display: grid !important;
    gap: 18px !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .process-step {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(185, 139, 83, 0.20) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 16px 44px rgba(30, 35, 46, 0.10) !important;
  }

  .process-step::before {
    content: attr(data-step) !important;
    position: static !important;
    display: inline-flex !important;
    order: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 0 14px !important;
    border-radius: 50% !important;
    color: #b98b53 !important;
    background: rgba(185, 139, 83, 0.12) !important;
    font: 800 0/1 Inter, Arial, sans-serif !important;
  }

  .process-step[data-step="0"]::before { content: "01" !important; font-size: 12px !important; letter-spacing: .12em !important; }
  .process-step[data-step="1"]::before { content: "02" !important; font-size: 12px !important; letter-spacing: .12em !important; }
  .process-step[data-step="2"]::before { content: "03" !important; font-size: 12px !important; letter-spacing: .12em !important; }
  .process-step[data-step="3"]::before { content: "04" !important; font-size: 12px !important; letter-spacing: .12em !important; }

  .process-step img {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 0 18px !important;
    border-radius: 18px !important;
  }

  .process-step h3 {
    order: 3 !important;
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.02 !important;
    margin: 0 0 10px !important;
  }

  .process-step p {
    order: 4 !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
  }
}
