/* Messias Construções — Premium Design System */

:root {
  --navy: #0a1f3f;
  --navy-soft: #122b54;
  --navy-deep: #05132b;
  --ink: #0c0c0c;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e7e7e7;
  --line-soft: #f0f0f0;
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-2: #f5f5f3;
  --accent: #b08d57;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 44px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.77, 0, .18, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--navy); color: #fff; }

html { -webkit-text-size-adjust: 100%; }
html.no-scroll, body.no-scroll { overflow: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11", "cv08";
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 { font-size: clamp(3rem, 8.2vw, 7.4rem); font-weight: 500; letter-spacing: -0.055em; }
h2 { font-size: clamp(2.1rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -0.045em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.025em; }
h1 em, h2 em, h3 em {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

p { color: var(--text); }
a { color: inherit; text-decoration: none; transition: opacity .3s var(--ease); }
img { max-width: 100%; display: block; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============ Custom cursor (desktop only) ============ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
}
.cursor {
  width: 10px; height: 10px;
  background: var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-out-expo), height .35s var(--ease-out-expo), background .2s var(--ease), opacity .2s;
  will-change: transform;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 2px 10px rgba(10,31,63,.35);
}
.cursor-dot { display: none; }
.cursor.is-hover {
  width: 44px; height: 44px;
  background: rgba(10,31,63,.12);
  box-shadow: 0 0 0 1.5px var(--navy), 0 4px 22px rgba(10,31,63,.22);
}
.cursor.is-dark { background: var(--navy); }
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* ============ Preloader ============ */
/* ============ Preloader (cinematic) ============ */
.preloader {
  position: fixed; inset: 0;
  z-index: 9998;
  pointer-events: none;
  isolation: isolate;
}
.preloader__mask {
  position: absolute; left: 0; right: 0;
  background: #050f24;
  height: 51%;
  z-index: 1;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.preloader__mask--top { top: 0; }
.preloader__mask--bottom { bottom: 0; }
.preloader__glow {
  position: absolute; inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(176, 141, 87, 0.08) 0%, transparent 55%);
  opacity: 0;
  animation: preloaderGlow 2.4s 0.2s ease-out forwards;
}
@keyframes preloaderGlow {
  0% { opacity: 0; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.85; transform: scale(1.02); }
}
.preloader__inner {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.5s ease-out;
}
.preloader__logo-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  line-height: 0;
}
.preloader__logo {
  display: block;
  width: min(520px, 72vw);
  height: auto;
  transform: translateY(110%);
  opacity: 0;
  animation: preloaderLogoRise 1.3s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}
@keyframes preloaderLogoRise {
  0% { transform: translateY(110%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.preloader__line {
  margin-top: 34px;
  height: 1px;
  background: var(--accent);
  width: min(260px, 50vw);
  transform: scaleX(0);
  transform-origin: center;
  animation: preloaderLine 0.85s 1.15s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes preloaderLine {
  to { transform: scaleX(1); }
}
.preloader__meta {
  margin-top: 26px;
  display: flex; align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(6px);
  animation: preloaderMeta 0.7s 1.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.preloader__dot {
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes preloaderMeta {
  to { opacity: 1; transform: translateY(0); }
}

/* Exit */
.preloader.hide .preloader__inner { opacity: 0; transition-delay: 0s; }
.preloader.hide .preloader__mask--top { transform: translateY(-100%); }
.preloader.hide .preloader__mask--bottom { transform: translateY(100%); }
.preloader.hide .preloader__glow { opacity: 0; transition: opacity 0.5s; }

/* ============ Navbar (fluid.glass-style floating glass) ============ */
.nav {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 100;
  transition: inset .6s var(--ease-out-expo);
  pointer-events: none;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-radius: 999px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(10, 31, 63, 0);
  transition:
    background .6s var(--ease-out-expo),
    backdrop-filter .6s var(--ease-out-expo),
    border-color .6s var(--ease-out-expo),
    box-shadow .6s var(--ease-out-expo),
    padding .5s var(--ease-out-expo),
    max-width .6s var(--ease-out-expo);
  pointer-events: auto;
  max-width: 100%;
}
.nav.scrolled .nav__inner,
.nav.solid .nav__inner {
  padding: 12px 22px;
  background: rgba(255, 255, 255, .66);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-color: rgba(255, 255, 255, .85);
  box-shadow:
    0 1px 2px rgba(10, 31, 63, .04),
    0 8px 32px rgba(10, 31, 63, .08),
    inset 0 1px 0 rgba(255, 255, 255, .85);
}
.nav.scrolled {
  inset: 14px 0 auto 0;
}
.nav__logo {
  display: block;
  line-height: 0;
  position: relative;
}
.nav__logo-img {
  display: block;
  height: 106px;
  width: auto;
  transition: height .5s var(--ease-out-expo);
}
.nav__logo-img--light { display: none; }
.nav--light:not(.scrolled):not(.solid) .nav__logo-img--dark { display: none; }
.nav--light:not(.scrolled):not(.solid) .nav__logo-img--light { display: block; }
.nav.scrolled .nav__logo-img { height: 78px; }
@media (max-width: 900px) {
  .nav__logo-img { height: 82px; }
  .nav.scrolled .nav__logo-img { height: 66px; }
}
@media (max-width: 640px) {
  .nav__logo-img { height: 70px; }
  .nav.scrolled .nav__logo-img { height: 58px; }
}

.nav__links {
  display: flex; gap: clamp(18px, 3vw, 40px);
  list-style: none;
}
/* The 'Contactos' item in the mobile dropdown. Hidden on desktop
   (desktop uses the separate .nav__cta button). Shown only when the mobile
   menu is open, below, inside the @media (max-width: 960px) block. */
.nav__links-contact { display: none; }
.nav__links a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav--light .nav__links a { color: rgba(255,255,255,.92); }
.nav.scrolled.nav--light .nav__links a,
.nav.solid .nav__links a { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out-expo);
}
.nav__links a.active::after,
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  position: relative;
  isolation: isolate;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 12px 22px;
  margin-left: 18px;
  border: 1px solid currentColor;
  color: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.nav--light .nav__cta { color: #fff; }
.nav.scrolled.nav--light .nav__cta,
.nav.solid .nav__cta { color: var(--navy); }
.nav__cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--navy);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out-expo);
  z-index: -1;
}
.nav__cta:hover { color: #fff; border-color: var(--navy); opacity: 1; }
.nav.scrolled.nav--light .nav__cta:hover,
.nav.scrolled.nav--light .nav__cta:focus-visible,
.nav.solid .nav__cta:hover,
.nav.solid .nav__cta:focus-visible { color: #fff; border-color: var(--navy); }
.nav__cta:hover::before { transform: translateY(0); }

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}

/* ===== Language switcher (dropdown · nav + footer) ===== */
.lang-switch {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

.lang-switch {
  display: none;
}

/* Trigger (visible button — shows current lang + chevron) */
.lang-switch__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 14px;
  border: 1px solid rgba(10, 31, 63, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: inherit;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.lang-switch__trigger:hover { border-color: rgba(10, 31, 63, .32); }
.lang-switch__chevron {
  width: 9px; height: 9px;
  transition: transform .3s var(--ease);
  stroke-width: 1.8;
}
.lang-switch.is-open .lang-switch__chevron { transform: rotate(180deg); }

.nav--light:not(.scrolled):not(.solid) .lang-switch__trigger {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .95);
}

/* Dropdown menu */
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  margin: 0; padding: 6px;
  list-style: none;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(10, 31, 63, .08);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(10, 31, 63, .06),
    0 18px 40px rgba(10, 31, 63, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .22s var(--ease), visibility .22s var(--ease), transform .22s var(--ease);
  z-index: 200;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch__menu li { margin: 0; }
.lang-switch__btn {
  appearance: none;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: left;
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-switch__btn::after {
  content: attr(data-lang);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 12px;
}
.lang-switch__btn:hover { background: rgba(10, 31, 63, .05); }
.lang-switch__btn.is-active {
  background: var(--navy);
  color: #fff;
}
.lang-switch__btn.is-active::after { color: rgba(255, 255, 255, .7); }

/* Footer variant (opens upward, dark theme) */
.lang-switch--footer { margin-left: 0; margin-top: 16px; order: -1; }
.lang-switch--footer .lang-switch__trigger {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .88);
}
.lang-switch--footer .lang-switch__trigger:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
}
.lang-switch--footer .lang-switch__menu {
  top: auto;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(14, 28, 56, .98);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, .32);
}
.lang-switch--footer .lang-switch__btn {
  color: rgba(255, 255, 255, .85);
}
.lang-switch--footer .lang-switch__btn::after { color: rgba(255, 255, 255, .4); }
.lang-switch--footer .lang-switch__btn:hover { background: rgba(255, 255, 255, .08); }
.lang-switch--footer .lang-switch__btn.is-active {
  background: #fff;
  color: var(--navy);
}
.lang-switch--footer .lang-switch__btn.is-active::after { color: rgba(10, 31, 63, .55); }
.nav__toggle span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: all .3s var(--ease); }
.nav--light .nav__toggle span { background: #fff; }
.nav.scrolled.nav--light .nav__toggle span,
.nav.solid .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { top: 16px; }
.nav.open .nav__toggle span:nth-child(1) { top: 9px; transform: rotate(45deg); background: var(--ink); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { top: 9px; transform: rotate(-45deg); background: var(--ink); }

.nav .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.nav {
  padding: 0 clamp(14px, 3vw, 30px);
}
.nav__links {
  flex: 1;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 34px);
}
.nav__inner-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-block; }
  .nav .lang-switch {
    margin-left: auto;
    margin-right: 10px;
  }
  .nav .lang-switch__trigger {
    padding: 6px 10px 6px 12px;
    font-size: .64rem;
    letter-spacing: .12em;
  }
  .nav .lang-switch__chevron { width: 8px; height: 8px; }
  .nav.open .nav__inner {
    background: #ffffff;
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-color: rgba(10, 31, 63, .08);
    box-shadow:
      0 1px 2px rgba(10,31,63,.08),
      0 20px 60px rgba(10,31,63,.18);
  }
  /* When the mobile menu is open the nav pill is white, so switch to the
     dark logo + ink-colored hamburger/lang-switch so they are visible.
     Specificity deliberately matches the existing .nav--light:not(.scrolled):not(.solid)
     selectors so these rules win via source order. */
  .nav--light.open:not(.scrolled) .nav__logo-img--light { display: none; }
  .nav--light.open:not(.scrolled) .nav__logo-img--dark  { display: block; }
  .nav--light.open:not(.scrolled) .lang-switch__trigger {
    color: var(--ink) !important;
    background: rgba(10, 31, 63, .04) !important;
    border-color: rgba(10, 31, 63, .14) !important;
  }
  .nav--light.open:not(.scrolled) .nav__toggle span { background: var(--ink); }
  /* Transparent click-catcher behind the dropdown so tapping outside the menu
     closes it, but the hero stays visible (no dim/blur). */
  .nav.open::before {
    content: "";
    position: fixed; inset: 0;
    background: transparent;
    z-index: -1;
    pointer-events: auto;
  }
  .nav.open .nav__links {
    display: flex; flex-direction: column;
    position: fixed; inset: 92px 16px auto 16px;
    background: #ffffff;
    padding: 28px 32px;
    gap: 20px;
    border-radius: 28px;
    box-shadow:
      0 1px 2px rgba(10,31,63,.08),
      0 30px 80px rgba(10,31,63,.28),
      inset 0 1px 0 rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.7);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open .nav__links a {
    font-size: 1.1rem; font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: -0.02em; text-transform: none; color: var(--ink); font-weight: 500;
  }
  /* Reveal the 'Contactos' item inside the mobile dropdown.
     Visually separated with a thin top divider so it reads as the action link. */
  .nav.open .nav__links-contact {
    display: block;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(10, 31, 63, .08);
  }
  .nav.open .nav__links-contact a {
    font-weight: 600;
    color: var(--navy);
  }
  /* Lock body scroll while the mobile nav is open */
  body.no-scroll { overflow: hidden; touch-action: none; }
}

/* Footer lang switch responsive */
@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .lang-switch--footer { margin-top: 4px; }
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 19, 43, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9997;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: none;
}
.lightbox.open { display: flex; animation: lbFade .4s var(--ease-out-expo); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig {
  max-width: min(1400px, 94vw);
  max-height: 86vh;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox__fig img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}
.lightbox__fig figcaption {
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease-out-expo);
  display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255,255,255,.18); transform: scale(1.08); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox button { width: 44px; height: 44px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
}

/* ============ Hero (cinematic) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding: 0 0 80px 0;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
  background: #05132b;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  animation: kenBurns 28s var(--ease) infinite alternate;
  will-change: transform;
}
.hero__media img.loaded { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,19,43,.78) 0%, rgba(5,19,43,.18) 45%, rgba(5,19,43,.55) 100%),
    radial-gradient(at 20% 80%, rgba(0,0,0,.3) 0%, transparent 60%);
}
@keyframes kenBurns {
  0%   { transform: scale(1.06) translate(0,0); }
  100% { transform: scale(1.18) translate(-1.5%,-1.2%); }
}

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow {
  font-size: .76rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  opacity: 0;
  margin-bottom: 28px;
  animation: fadeUp .9s var(--ease-out-expo) .2s forwards;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before {
  content: ""; width: 40px; height: 1px; background: currentColor; display: inline-block; opacity: .6;
}

.hero h1 {
  color: #fff;
  max-width: 1100px;
  margin-bottom: 36px;
  overflow: hidden;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .char {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out-expo);
}
.hero.in h1 .char { transform: translateY(0); }
/* stagger handled by inline style from JS */

.hero__sub {
  max-width: 580px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  margin-bottom: 42px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.1s forwards;
}
.hero__ctas {
  display: flex; gap: 18px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.25s forwards;
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px;
  font-size: .7rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 1s var(--ease-out-expo) 1.4s forwards;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 60px; background: currentColor;
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ============ Buttons (magnetic premium) ============ */
.btn {
  position: relative;
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 18px 38px;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out-expo);
}
.btn:hover { color: #fff; opacity: 1; }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary::before { background: var(--navy-deep); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.9); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--navy); }
.btn--dark { color: var(--navy); border-color: var(--navy); }
.btn--dark::before { background: var(--navy); }

.btn__arrow { display: inline-block; transition: transform .4s var(--ease); margin-left: 8px; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============ Marquee ticker ============ */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  font-style: italic;
}
.marquee__track span { flex-shrink: 0; }
.marquee__track span::before { content: "✦"; margin-right: 56px; color: var(--accent); font-size: .7em; font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor; opacity: .5;
}
.section--dark .eyebrow { color: rgba(255,255,255,.6); }
.section__title { max-width: 920px; margin-bottom: 24px; }
.section__lead { max-width: 700px; color: var(--muted); font-size: 1.1rem; margin-bottom: 70px; line-height: 1.7; }
.section--dark .section__lead { color: rgba(255,255,255,.72); }

/* ============ Stats (counter) ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 80px 0;
}
.stat { position: relative; padding-left: 28px; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  border: 1px solid var(--navy);
  transform: rotate(45deg);
  opacity: .2;
  transition: opacity .6s, transform .6s var(--ease-out-expo);
}
.stat.in::before { opacity: 1; transform: rotate(225deg); }
.stat__num {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.055em;
  font-feature-settings: "tnum";
}
.stat__num sup { font-size: .5em; vertical-align: super; color: var(--accent); }
.stat__label {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 48px 20px; padding: 56px 0; }
}

/* ============ Project grid ============ */
.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 40px);
}
.project {
  position: relative;
  display: block;
  color: inherit;
  isolation: isolate;
}
.project--lg { grid-column: span 7; }
.project--md { grid-column: span 5; }
.project--full { grid-column: span 12; }
.project--half { grid-column: span 6; }
.project--third { grid-column: span 4; }
@media (max-width: 900px) {
  .project--lg, .project--md, .project--half, .project--third { grid-column: span 12; }
}

.project__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.project--lg .project__media { aspect-ratio: 16 / 11; }
.project--half .project__media { aspect-ratio: 4 / 3; }
.project__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,31,63,.35), transparent 40%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.project:hover .project__media::after { opacity: 1; }
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo), filter .8s;
  filter: saturate(.94);
  will-change: transform;
}
.project:hover .project__media img { transform: scale(1.06); filter: saturate(1.1); }
.project__meta { padding: 24px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.project__title {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .4s var(--ease);
}
.project:hover .project__title { color: var(--navy); }
.project__date { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.project__desc { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.project__index {
  position: absolute; top: 16px; left: 16px;
  font-size: .7rem; letter-spacing: .22em;
  color: #fff; z-index: 2;
  background: rgba(10,31,63,.6);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  font-family: 'Inter', sans-serif;
}

/* ============ Split ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.split--mixed { grid-template-columns: 5fr 6fr; }
.split--reverse > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--mixed { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
}
.split__media { position: relative; overflow: hidden; }
.split__media img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ============ Quote ============ */
.quote {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.01em;
}
.quote::before { content: "“"; color: var(--accent); font-size: 1.6em; line-height: .3; display: block; margin-bottom: 18px; }
.quote__cite { display: block; margin-top: 36px; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-style: normal; font-family: 'Inter', sans-serif; }

/* ============ Timeline ============ */
.timeline {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 52px);
  display: flex; flex-direction: column;
  gap: 56px;
  position: relative;
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(24px, 4vw, 52px));
  top: 10px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy);
  transform: translateX(-4px);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line);
}
.section--alt .timeline__item::before { box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--line); }
.timeline__year { font-family: 'Inter', -apple-system, sans-serif; font-size: 1.6rem; color: var(--navy); line-height: 1; margin-bottom: 14px; font-weight: 500; letter-spacing: -0.04em; }
.timeline__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); letter-spacing: .02em; }
.timeline__text { color: var(--muted); font-size: .98rem; }
.timeline__with-logo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(112px, 14vw, 168px);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}
.timeline__company {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.45;
}
.timeline__old-logo {
  display: block;
  width: 100%;
  aspect-ratio: 1876 / 1208;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(13, 31, 58, .14);
  box-shadow: 0 12px 30px rgba(13, 31, 58, .08);
}

@media (max-width: 640px) {
  .timeline__with-logo {
    grid-template-columns: 1fr;
  }

  .timeline__old-logo {
    width: min(176px, 72vw);
  }
}

/* ============ Page head ============ */
.page-head {
  padding-top: 150px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(to right, transparent, var(--navy) 20%, var(--navy) 80%, transparent);
  transform: scaleX(0); transform-origin: left;
  animation: scaleX 1.4s var(--ease-out-expo) .3s forwards;
}
@keyframes scaleX { to { transform: scaleX(1); } }
.page-head h1 { max-width: 960px; margin-bottom: 22px; font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -0.045em; line-height: 1.02; }
.page-head__lead { color: var(--muted); max-width: 720px; font-size: 1.14rem; line-height: 1.7; }

/* ============ Contact / Form ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 40px; }
.info-block__label { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.info-block__value { font-size: 1.1rem; color: var(--ink); }
.info-block__value a { color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.info-block__value a:hover { border-color: var(--navy); opacity: 1; }

.form__row { margin-bottom: 26px; position: relative; }
.form label {
  display: block;
  font-size: .68rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.form input, .form textarea, .form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-family: inherit;
  font-size: 1.02rem;
  background: transparent;
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--navy);
}
.form textarea { resize: vertical; min-height: 130px; }

.form__row--captcha {
  margin-top: 8px;
  margin-bottom: 18px;
}
.form__row--captcha .cf-turnstile {
  display: flex;
  justify-content: flex-start;
}

.form__status {
  min-height: 0;
  font-size: .82rem;
  letter-spacing: .04em;
  margin: 4px 0 0;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.form__status:empty { margin: 0; }
.form__status--info { color: var(--muted); }
.form__status--success { color: #1f8a4c; }
.form__status--error { color: #b3261e; }

.map {
  aspect-ratio: 16 / 7;
  width: 100%;
  border: 0;
  filter: grayscale(100%) contrast(.95);
  transition: filter .5s var(--ease);
}
.map:hover { filter: none; }

/* ============ Footer ============ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.82);
  padding: 100px 0 34px;
  font-size: .92rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .4;
}
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 22px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 80px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px 24px; } }
.footer__brand { display: block; margin-bottom: 24px; line-height: 0; }
.footer__brand-img {
  display: block;
  height: 64px;
  width: auto;
}
.footer__text { max-width: 360px; color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.8; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: rgba(255,255,255,.68); transition: color .3s, padding-left .3s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 6px; opacity: 1; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: rgba(255,255,255,.48);
  letter-spacing: .08em;
}
.footer__giant {
  display: flex;
  justify-content: center;
  margin-top: -24px;
  margin-bottom: 48px;
  user-select: none;
  pointer-events: none;
}
.footer__giant img {
  display: block;
  width: min(82vw, 980px);
  height: auto;
  opacity: .14;
}
@media (max-width: 640px) { .footer__bottom { flex-direction: column; gap: 10px; text-align: center; } }

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-inout);
  will-change: clip-path;
}
.reveal-img.in { clip-path: inset(0% 0 0 0); }

.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__media img { animation: none; }
  .reveal, .reveal-img, .reveal-stagger > * { opacity: 1; transform: none; clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ============ CTA Strip ============ */
.cta-strip {
  background: var(--navy);
  color: #fff;
  padding: clamp(70px, 9vw, 120px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .5;
}
.cta-strip h2 { color: #fff; max-width: 820px; margin: 0 auto 26px; font-weight: 400; }
.cta-strip p { color: rgba(255,255,255,.72); max-width: 620px; margin: 0 auto 40px; font-size: 1.05rem; }

/* ============ Utilities ============ */
.text-navy { color: var(--navy); }
.text-muted { color: var(--muted); }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 60px; }
.center { text-align: center; }

/* ============ Hero meta strip ============ */
.hero__meta {
  margin-top: clamp(40px, 6vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 820px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__meta-label {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.hero__meta-value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.02rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.015em;
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ Featured section ============ */
.featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.featured__index {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .28em;
  line-height: 1;
  text-transform: uppercase;
  font-feature-settings: "tnum";
}
.featured__hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border-radius: 2px;
}
.featured__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.featured__hero:hover img { transform: scale(1.03); }

/* Property specs */
.property-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.property-spec {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.property-spec__label {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.property-spec__value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ink);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
@media (max-width: 720px) {
  .property-specs { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* ============ Gallery grid ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  background: var(--surface);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 1; }
}

/* ============ Pillars (three areas) ============ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .4s var(--ease);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar:hover { background: rgba(176, 141, 87, .02); }
.pillar__num {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: .76rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: .24em;
  font-weight: 500;
  text-transform: uppercase;
}
.pillar__title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pillar__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 340px;
}
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
  }
  .pillar:last-child { border-bottom: none; }
}

/* ============ Table (portfolio list) ============ */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 50px;
  font-size: 1rem;
}
.tbl th {
  text-align: left; padding: 20px 0;
  font-size: .7rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.tbl th:last-child, .tbl td:last-child { text-align: right; }
.tbl td {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .3s;
}
.tbl tr:hover td { color: var(--navy); }
.tbl tr.total { font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif; color: var(--navy); }
.tbl tr.total td { padding: 26px 0; font-size: 1.3rem; border: none; }

/* ============ Video showcase (mosaic with size variants) ============ */
.video-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(160px, 17vw, 240px);
  gap: clamp(14px, 2vw, 24px);
}
.video-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 2px;
  cursor: pointer;
  isolation: isolate;
  /* default: span 2 cols × 1 row (thirds) */
  grid-column: span 2;
  grid-row: span 1;
}
/* Size variants (6-col base grid) */
.video-card--feature { grid-column: span 4; grid-row: span 2; }
.video-card--side    { grid-column: span 2; grid-row: span 2; }
.video-card--third   { grid-column: span 2; grid-row: span 1; }
.video-card--half    { grid-column: span 3; grid-row: span 1; }
.video-card--full    { grid-column: span 6; grid-row: span 1; }
.video-card__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: transform .9s var(--ease-out-expo);
}
.video-card:hover .video-card__poster { transform: scale(1.06); }

/* Graceful fallback when Drive thumbnail is unavailable */
.video-card--no-poster {
  background:
    radial-gradient(circle at 20% 10%, rgba(176,141,87,.18), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(10,31,63,.9), transparent 60%),
    linear-gradient(160deg, #0a1f3f 0%, #05132b 100%);
}
.video-card--no-poster::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255,255,255,.05) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,.05) 95%);
  background-size: 24px 24px, 24px 24px;
  opacity: .5;
  pointer-events: none;
}
.video-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,19,43,.72) 0%, rgba(5,19,43,.12) 45%, rgba(5,19,43,0) 65%);
  z-index: 1;
  pointer-events: none;
  transition: background .5s var(--ease-out-expo);
}
.video-card:hover .video-card__overlay {
  background: linear-gradient(to top, rgba(5,19,43,.82) 0%, rgba(5,19,43,.32) 55%, rgba(5,19,43,.15) 100%);
}
.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .45s var(--ease-out-expo), transform .55s var(--ease-out-expo);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.video-card__play svg { width: 28px; height: 28px; margin-left: 3px; }
.video-card:hover .video-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-card__meta {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
  display: flex; flex-direction: column; gap: 6px;
}
.video-card__tag {
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.video-card__name {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.video-card__name em {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
/* Caption label (bottom-left, readable on poster) */
.video-card__label {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  max-width: calc(100% - 36px);
}
@media (max-width: 900px) {
  .video-showcase {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(150px, 35vw, 220px);
  }
  .video-card,
  .video-card--third,
  .video-card--side { grid-column: span 1; grid-row: span 1; }
  .video-card--feature,
  .video-card--half,
  .video-card--full { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .video-showcase { grid-template-columns: 1fr; }
  .video-card,
  .video-card--feature,
  .video-card--side,
  .video-card--third,
  .video-card--half,
  .video-card--full { grid-column: span 1; grid-row: span 1; }
}

/* ============ Project gallery block (per urbanização) ============ */
.urb {
  border-top: 1px solid var(--line);
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: clamp(60px, 8vw, 90px);
}
.urb__head {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.6fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 56px;
}
.urb__title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  color: var(--ink);
  line-height: 1.02;
  margin-bottom: 18px;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.urb__sub {
  color: var(--muted);
  font-size: .98rem;
  max-width: 480px;
  line-height: 1.7;
}
.urb__stats {
  display: flex; flex-direction: column; gap: 14px;
}
.urb__stat {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
}
.urb__stat-key { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: .66rem; }
.urb__stat-val { color: var(--ink); font-family: 'Inter', -apple-system, sans-serif; font-size: .98rem; font-weight: 500; letter-spacing: -0.02em; font-feature-settings: "tnum"; }
.urb__index {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--muted);
  font-size: .78rem;
  text-align: right;
  line-height: 1;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-feature-settings: "tnum";
}
@media (max-width: 900px) {
  .urb__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }
  .urb__index { text-align: left; }
}

.urb__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(160px, 18vw, 240px);
  gap: 10px;
}
.urb__cell {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  display: block;
}
.urb__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo), filter .6s;
  filter: saturate(.96);
}
.urb__cell:hover img { transform: scale(1.05); filter: saturate(1.1); }
.urb__cell--3x2 { grid-column: span 3; grid-row: span 2; }
.urb__cell--2x2 { grid-column: span 2; grid-row: span 2; }
.urb__cell--2x1 { grid-column: span 2; grid-row: span 1; }
.urb__cell--3x1 { grid-column: span 3; grid-row: span 1; }
.urb__cell--4x1 { grid-column: span 4; grid-row: span 1; }
.urb__cell--4x2 { grid-column: span 4; grid-row: span 2; }
.urb__cell--6x1 { grid-column: span 6; grid-row: span 1; }
@media (max-width: 900px) {
  .urb__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
  }
  .urb__cell--3x2, .urb__cell--2x2, .urb__cell--4x2 { grid-row: span 2; }
  .urb__cell--6x1 { grid-column: span 4; }
  .urb__cell--4x1, .urb__cell--4x2 { grid-column: span 4; }
  .urb__cell--3x2, .urb__cell--3x1 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .urb__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .urb__cell,
  .urb__cell--2x2, .urb__cell--2x1, .urb__cell--3x2, .urb__cell--3x1,
  .urb__cell--4x2, .urb__cell--4x1, .urb__cell--6x1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ============ Feature block (split with big image) ============ */
.feature-bleed {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  min-height: 70vh;
  overflow: hidden;
}
.feature-bleed__media { position: relative; overflow: hidden; }
.feature-bleed__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out-expo);
}
.feature-bleed__content {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}
@media (max-width: 900px) {
  .feature-bleed { grid-template-columns: 1fr; }
  .feature-bleed__media { aspect-ratio: 4/3; }
}

/* ============ Marquee accent (clients/awards) ============ */
.marquee--accent {
  background: var(--navy);
  border: none;
}
.marquee--accent .marquee__track {
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: .12em;
}
.marquee--accent .marquee__track span::before { color: var(--accent); }

/* ============ Tag row (pill tags) ============ */
.tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.tag {
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: all .3s var(--ease);
}
.tag:hover { border-color: var(--navy); color: var(--navy); }

/* ============ Featured video hero (homepage) ============ */
.hero--video {
  padding-bottom: 0;
  min-height: 100vh;
}
.hero--video .hero__media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;
}
.hero--video .hero__media::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(5,19,43,.2), rgba(5,19,43,.72) 75%);
}

/* ============ Section heading variant ============ */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 60px;
}
.section-head p {
  color: var(--muted);
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  text-align: right;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { text-align: left; }
}

/* ============ MODERN HERO (fluid.glass + findrealestate) ============ */
.hero--modern {
  min-height: 100vh;
  padding: 140px 0 120px;
  align-items: flex-start;
}
.hero--modern .hero__media::after {
  background:
    linear-gradient(180deg, rgba(5,19,43,.55) 0%, rgba(5,19,43,.15) 30%, rgba(5,19,43,.35) 65%, rgba(5,19,43,.88) 100%),
    radial-gradient(at 75% 100%, rgba(0,0,0,.4) 0%, transparent 55%);
}
.hero--modern .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  min-height: calc(100vh - 260px);
  grid-template-rows: auto 1fr auto;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  width: fit-content;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out-expo) .15s forwards;
}
.hero__badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6fcf97;
  box-shadow: 0 0 0 3px rgba(111,207,151,.22);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(111,207,151,.22); }
  50% { box-shadow: 0 0 0 7px rgba(111,207,151,0); }
}

.hero__display {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: .94;
  color: #fff;
  max-width: 1200px;
  margin: 0;
}
.hero__display em {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #fff;
  padding-right: .04em;
}
.hero__display-line { display: block; overflow: hidden; }
.hero__display-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseUp 1.1s var(--ease-out-expo) forwards;
}
.hero__display-line:nth-child(2) span { animation-delay: .18s; }
.hero__display-line:nth-child(3) span { animation-delay: .32s; }
@keyframes riseUp { to { transform: translateY(0); } }

.hero__bottom {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: flex-end;
}
.hero__lede {
  max-width: 520px;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1s forwards;
}
.hero__lede strong { color: #fff; font-weight: 500; }

.glass-card {
  position: relative;
  padding: 26px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out-expo) 1.15s forwards;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 20px 60px rgba(0,0,0,.24);
}
.glass-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%;
  width: 70%; height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.glass-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.glass-card__label {
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
  display: inline-flex; align-items: center; gap: 8px;
}
.glass-card__label::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px rgba(176,141,87,.7);
}
.glass-card__nav {
  display: flex; gap: 6px;
}
.glass-card__nav button {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: rgba(255,255,255,.82);
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s var(--ease);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .92rem;
  font-family: inherit;
}
.glass-card__nav button:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.42);
  transform: translateY(-1px);
}
.glass-card__nav button:active { transform: translateY(0); }

.glass-card__counter {
  font-feature-settings: "tnum";
  color: rgba(255,255,255,.78);
  letter-spacing: .2em;
}

.glass-card__body {
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  will-change: opacity, transform;
}
.glass-card__body.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}
.glass-card__body.is-entering {
  opacity: 0;
  transform: translateY(-6px);
}

.glass-card__title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 6px;
}
.glass-card__title em {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #fff;
}
.glass-card__desc {
  color: rgba(255,255,255,.64);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: 24px;
}
.glass-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.glass-card__stat-num {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  font-feature-settings: "tnum";
  margin-bottom: 6px;
}
.glass-card__stat-lbl {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.56);
}
.glass-card__cta {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.glass-card__cta:hover { background: var(--ink); color: #fff; opacity: 1; }
.glass-card__cta svg { transition: transform .4s var(--ease-out-expo); }
.glass-card__cta:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero--modern { padding: 120px 0 80px; }
  .hero__display { font-size: clamp(3rem, 13vw, 5rem); }
}

/* ============ Property Spotlight (findrealestate style) ============ */
.spotlight {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--bg);
}
.spotlight__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.spotlight__head h2 {
  max-width: 680px;
  margin: 14px 0 0;
}
.spotlight__card {
  position: relative;
  background: var(--surface-2);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 560px;
}
.spotlight__media {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.spotlight__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out-expo);
}
.spotlight__card:hover .spotlight__media img { transform: scale(1.04); }
.spotlight__media::after {
  content: ""; position: absolute; left: 22px; top: 22px;
  display: inline-block;
  padding: 8px 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: .64rem; letter-spacing: .24em; text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  content: "Entregue · 2015";
}
.spotlight__body {
  padding: clamp(36px, 4vw, 60px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
}
.spotlight__location {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.spotlight__location::before {
  content: ""; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
}
.spotlight__name {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1.02;
  margin-bottom: 18px;
}
.spotlight__name em {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.spotlight__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 440px;
  margin-bottom: 28px;
}
.spotlight__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spotlight__stat-num {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.spotlight__stat-lbl {
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.spotlight__cta {
  margin-top: 30px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .04em;
  font-weight: 500;
  width: fit-content;
  transition: background .3s var(--ease), transform .3s var(--ease-out-expo);
}
.spotlight__cta:hover { background: var(--navy); opacity: 1; transform: translateX(4px); }
.spotlight__cta svg { transition: transform .4s var(--ease-out-expo); }

.spotlight__thumbs {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.spotlight__thumb {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.spotlight__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out-expo); }
.spotlight__thumb:hover img { transform: scale(1.07); }
.spotlight__thumb--more {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  font-size: .78rem; letter-spacing: .06em; font-weight: 500;
  transition: background .3s;
}
.spotlight__thumb--more:hover { background: var(--navy); opacity: 1; }

@media (max-width: 900px) {
  .spotlight__card { grid-template-columns: 1fr; }
  .spotlight__media { min-height: 380px; }
  .spotlight__thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Findrealestate-style property row (secondary) ============ */
.props-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: 60px;
}
.prop-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
  display: block;
  transition: transform .5s var(--ease-out-expo);
}
.prop-card:hover { transform: translateY(-6px); }
.prop-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out-expo); }
.prop-card:hover .prop-card__media img { transform: scale(1.05); }
.prop-card__tag {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.prop-card__body { padding: 22px 24px 26px; }
.prop-card__loc { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.prop-card__title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.24rem; font-weight: 500; letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.prop-card__title em { font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif; font-style: italic; font-weight: 400; }
.prop-card__meta {
  display: flex; gap: 20px;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.prop-card__meta span strong { color: var(--ink); font-weight: 500; margin-right: 4px; font-feature-settings: "tnum"; }
@media (max-width: 800px) {
  .props-row { grid-template-columns: 1fr; }
}

/* ============ Modern button (pill) ============ */
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .02em;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-pill:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-pill--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-pill--dark:hover { background: transparent; color: var(--ink); }
.btn-pill--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-pill--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============ Projetos futuros — modal ============ */
.future-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease-out-expo), visibility 0s .5s;
  pointer-events: none;
}
.future-modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity .5s var(--ease-out-expo);
  pointer-events: auto;
}
.future-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5,19,43,.62);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  cursor: pointer;
}
.future-modal__panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  transition: transform .7s var(--ease-out-expo);
  width: calc(100% - 32px);
  max-width: 560px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 60px 160px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.5);
}
.future-modal.open .future-modal__panel {
  transform: translate(-50%, -50%) scale(1);
}
.future-modal__visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1f3f, #122b54);
}
.future-modal__visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(at 20% 20%, rgba(176,141,87,.28), transparent 50%),
    radial-gradient(at 80% 80%, rgba(111,207,151,.18), transparent 55%);
}
.future-modal__visual-label {
  position: absolute; bottom: 18px; left: 22px;
  font-size: .64rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
  display: inline-flex; align-items: center; gap: 10px;
}
.future-modal__visual-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #6fcf97;
  box-shadow: 0 0 12px rgba(111,207,151,.8);
  animation: pulse 2s ease-in-out infinite;
}
.future-modal__visual-city {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4rem);
  color: rgba(255,255,255,.92);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.future-modal__close {
  position: absolute; top: 14px; right: 18px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background .3s, transform .3s var(--ease);
  z-index: 2;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit;
}
.future-modal__close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
.future-modal__body { padding: 38px 44px 42px; }
.future-modal__label {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: inline-block;
}
.future-modal__title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 16px;
}
.future-modal__title em {
  font-family: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.future-modal__text {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.future-modal__form {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 14px;
  transition: border-color .3s;
}
.future-modal__form:focus-within { border-color: var(--ink); }
.future-modal__form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 13px 18px;
  font-size: .94rem;
  color: var(--ink);
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.future-modal__form input::placeholder { color: var(--muted); }
.future-modal__form button {
  padding: 13px 26px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .04em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.future-modal__form button:hover { background: var(--navy); transform: translateX(-1px); }
.future-modal__note {
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.future-modal__success {
  display: none;
  text-align: center;
  padding: 10px 0 4px;
}
.future-modal__success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #e8f5ec;
  color: #3ea86a;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  animation: pop .5s var(--ease-out-expo);
}
@keyframes pop {
  from { transform: scale(.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.future-modal__success-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}
.future-modal__success-text {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}
.future-modal.success .future-modal__success { display: block; }
.future-modal.success .future-modal__form,
.future-modal.success .future-modal__note,
.future-modal.success .future-modal__text,
.future-modal.success .future-modal__title,
.future-modal.success .future-modal__label { display: none; }

@media (max-width: 600px) {
  .future-modal__body { padding: 32px 26px 28px; }
  .future-modal__form { flex-direction: column; gap: 6px; padding: 6px; background: transparent; border: 0; }
  .future-modal__form input {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
  }
  .future-modal__form button {
    border-radius: 12px;
    padding: 15px 26px;
  }
  .future-modal__visual { height: 150px; }
  .future-modal__visual-city { font-size: 2.4rem; }
}

/* ============ Nav refinements (centered pill) ============ */
.nav__links {
  padding-left: 10px;
  padding-right: 10px;
}

/* ============ REELS STAGE — creative vertical reels at top ============ */
.reels-stage {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #f7f6f3 0%, #ecebe6 60%, #e4e2da 100%);
  overflow: hidden;
}
.reels-stage::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 18% 30%, rgba(10,31,63,.08), transparent 60%),
    radial-gradient(55% 40% at 82% 70%, rgba(178,144,87,.10), transparent 60%);
  pointer-events: none;
}
.reels-stage__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.reels-stage__head h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--navy);
  margin: 0;
}
.reels-stage__head h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.reels-stage__head h2.brand-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: .18em;
  row-gap: .12em;
  letter-spacing: 0;
}
.reels-stage__head h2.brand-title em { letter-spacing: 0; }
.brand-title-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transform: translateY(.08em);
}
.brand-title-logo img {
  display: block;
  height: .98em;
  width: auto;
}
.reels-stage__head p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.7;
  font-size: .98rem;
  margin: 0;
}
.reels-stage__counter {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Inter', monospace;
}

.reels-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  position: relative;
  z-index: 2;
  perspective: 1600px;
}
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0a1f3f;
  box-shadow: 0 20px 60px rgba(10,31,63,.22), 0 4px 12px rgba(10,31,63,.1);
  transition: transform .7s var(--ease-out-expo), box-shadow .7s var(--ease-out-expo);
  transform-style: preserve-3d;
  will-change: transform;
}
.reel iframe,
.reel video,
.reel__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: transform .9s var(--ease-out-expo);
}
.reel:hover .reel__poster { transform: scale(1.06); }
.reel__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,63,0) 35%, rgba(10,31,63,.5) 78%, rgba(10,31,63,.82) 100%);
  pointer-events: none;
}
.reel__label {
  position: absolute;
  left: 14px; bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  z-index: 2;
}
.reel__label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}
.reel__label-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 3px rgba(255,59,59,.2);
  animation: reelPulse 1.6s ease-in-out infinite;
}
@keyframes reelPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.reel__label-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.reel__label-name em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.reel__badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 100px;
  color: #fff;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
}
.reel__badge svg {
  width: 10px; height: 10px;
}

/* Creative tilt layout — center reel largest and upright, edges tilt outward */
.reel:nth-child(1) {
  transform: translateY(48px) rotate(-6deg);
}
.reel:nth-child(2) {
  transform: translateY(18px) rotate(-2.5deg);
}
.reel:nth-child(3) {
  transform: translateY(-14px) rotate(0deg) scale(1.08);
  z-index: 3;
  box-shadow: 0 32px 80px rgba(10,31,63,.32), 0 6px 14px rgba(10,31,63,.14);
}
.reel:nth-child(4) {
  transform: translateY(18px) rotate(2.5deg);
}
.reel:nth-child(5) {
  transform: translateY(48px) rotate(6deg);
}
.reel:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.04);
  z-index: 4;
  box-shadow: 0 40px 90px rgba(10,31,63,.38), 0 8px 18px rgba(10,31,63,.18);
}

.reels-stage__footer {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
  padding-top: 28px;
  border-top: 1px solid rgba(10,31,63,.1);
}
.reels-stage__footer-stats {
  display: flex;
  gap: 48px;
}
.reels-stage__stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.reels-stage__stat-lbl {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.reels-stage__footer-note {
  max-width: 280px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 1100px) {
  .reels-row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .reel:nth-child(4), .reel:nth-child(5) { display: none; }
  .reel:nth-child(1) { transform: translateY(28px) rotate(-4deg); }
  .reel:nth-child(2) { transform: translateY(-8px) rotate(0deg) scale(1.06); z-index: 3; }
  .reel:nth-child(3) { transform: translateY(28px) rotate(4deg) scale(1); z-index: 2; box-shadow: 0 20px 60px rgba(10,31,63,.22); }
}
@media (max-width: 720px) {
  .reels-stage { padding: 70px 0 90px; }
  .reels-stage__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
  .reels-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reel:nth-child(3) { display: none; }
  .reel:nth-child(1) { transform: translateY(14px) rotate(-3deg); }
  .reel:nth-child(2) { transform: translateY(0) rotate(3deg); }
  .reels-stage__footer { flex-direction: column; align-items: flex-start; }
  .reels-stage__footer-stats { gap: 32px; }
  .reels-stage__footer-note { text-align: left; }
}

/* ============================================================
   REEL CLICKABLE + PLAY BUTTON
============================================================ */
.reel { cursor: pointer; }
.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.9);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(10,31,63,.32), 0 4px 10px rgba(10,31,63,.18);
  z-index: 3;
  opacity: 0;
  transition: opacity .5s var(--ease-out-expo), transform .6s var(--ease-out-expo);
  pointer-events: none;
}
.reel__play svg { width: 24px; height: 24px; margin-left: 3px; }
.reel:hover .reel__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.reel__play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  animation: reelRing 2.4s ease-out infinite;
}
@keyframes reelRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   REEL MODAL (LIGHTBOX VIDEO PLAYER)
============================================================ */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease-out-expo);
}
.reel-modal.is-open { opacity: 1; pointer-events: auto; }
.reel-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5,10,18,.88);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  cursor: pointer;
}
.reel-modal__stage {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.94);
  width: min(420px, 92vw);
  aspect-ratio: 9 / 16;
  max-height: 88vh;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 60px 140px rgba(0,0,0,.6);
  transition: transform .7s var(--ease-out-expo);
}
.reel-modal.is-open .reel-modal__stage { transform: translate(-50%, -50%) scale(1); }
.reel-modal__stage iframe,
.reel-modal__stage video {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  background: #000;
  object-fit: contain;
}
.reel-modal__close {
  position: absolute;
  top: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .3s, transform .3s;
}
.reel-modal__close:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }
.reel-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .3s, transform .3s;
}
.reel-modal__nav--prev { left: 28px; }
.reel-modal__nav--next { right: 28px; }
.reel-modal__nav:hover { background: rgba(255,255,255,.22); transform: translateY(-50%) scale(1.08); }
.reel-modal__caption {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  z-index: 3;
}
@media (max-width: 720px) {
  .reel-modal__close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .reel-modal__nav { width: 44px; height: 44px; }
  .reel-modal__nav--prev { left: 10px; }
  .reel-modal__nav--next { right: 10px; }
}

/* ============================================================
   PAGE HEAD CENTERED (portefolio / sobre-nos / contactos)
============================================================ */
.page-head .container { text-align: center; }
.page-head h1 { margin-left: auto; margin-right: auto; }
.page-head .eyebrow { display: inline-block; }
.page-head .eyebrow::before { left: 50%; transform: translateX(-50%); }
.page-head__lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   NEWSLETTER SECTION
============================================================ */
.newsletter {
  padding: clamp(90px, 12vw, 160px) 0;
  background: radial-gradient(1200px 600px at 70% 30%, rgba(10,31,63,.06), transparent 60%),
              radial-gradient(900px 500px at 20% 80%, rgba(184,149,93,.08), transparent 55%),
              linear-gradient(180deg, #faf8f5 0%, #f5f1ea 100%);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(10,31,63,.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.newsletter__side .eyebrow { color: var(--navy); }
.newsletter__title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 22px 0 24px;
}
.newsletter__title em {
  font-style: italic;
  color: var(--accent);
}
.newsletter__text {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 30px;
}
.newsletter__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .86rem;
  color: var(--muted);
  letter-spacing: .01em;
}
.newsletter__trust span { display: inline-flex; align-items: center; gap: 8px; }

.newsletter__form { position: relative; min-height: 320px; }
.newsletter__form-card {
  background: #fff;
  border: 1px solid rgba(10,31,63,.08);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(10,31,63,.1), 0 6px 18px rgba(10,31,63,.04);
  position: relative;
  transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo);
}
.newsletter__form.is-success .newsletter__form-card {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.newsletter__label {
  display: block;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.newsletter__form-card input[type="email"] {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid rgba(10,31,63,.14);
  padding: 14px 0 16px;
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  margin-bottom: 28px;
  transition: border-color .4s;
}
.newsletter__form-card input[type="email"]:focus {
  outline: none;
  border-bottom-color: var(--navy);
}
.newsletter__btn {
  width: 100%;
  padding: 18px 56px 18px 28px;
  border: 0;
  background-color: var(--navy);
  color: #fff;
  border-radius: 100px;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 28px center;
  transition: transform .4s var(--ease-out-expo), box-shadow .4s, background-color .3s, background-position .4s var(--ease-out-expo);
  box-shadow: 0 10px 30px rgba(10,31,63,.2);
}
.newsletter__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(10,31,63,.3);
  background-position: right 24px center;
}
.newsletter__note {
  margin-top: 18px;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}
.newsletter__status {
  min-height: 1.2em;
  margin-top: 12px;
  color: #b3261e;
  font-size: .82rem;
  text-align: center;
}
.newsletter__success {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid rgba(10,31,63,.08);
  border-radius: 28px;
  padding: 50px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .6s var(--ease-out-expo) .2s, transform .6s var(--ease-out-expo) .2s;
  box-shadow: 0 30px 80px rgba(10,31,63,.1);
}
.newsletter__form.is-success .newsletter__success {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.newsletter__success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter__success-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  color: var(--navy);
}
.newsletter__success-text { color: var(--muted); font-size: .95rem; max-width: 300px; line-height: 1.6; }

@media (max-width: 900px) {
  .newsletter__grid { grid-template-columns: 1fr; gap: 50px; }
  .newsletter__form-card { padding: 32px 24px; }
}

/* ============================================================
   PORTFOLIO CTA BLOCK (home → portefolio)
============================================================ */
.portfolio-cta {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(30px, 5vw, 60px) 0;
}
.portfolio-cta .eyebrow::before { left: 50%; transform: translateX(-50%); }
.portfolio-cta__title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 22px 0 28px;
}
.portfolio-cta__title em {
  font-style: italic;
  color: var(--accent);
}
.portfolio-cta__text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ============================================================
   ENHANCED ANIMATIONS & SMOOTHNESS
   (matches the existing .in class convention used by the JS observer)
============================================================ */

/* Subtle image scale on urb cells & prop cards */
.urb__cell img, .prop-card__media img, .spotlight__media img {
  transition: transform 1.4s var(--ease-out-expo), filter .8s;
}
.urb__cell:hover img, .prop-card:hover .prop-card__media img, .spotlight__card:hover .spotlight__media img {
  transform: scale(1.04);
}

/* Smoother link transitions */
a { transition: opacity .35s ease, color .35s ease; }

/* Gentle image zoom-in on reveal-img (works alongside existing clip-path) */
.reveal-img img {
  transform: scale(1.08);
  transition: transform 2.2s var(--ease-out-expo);
}
.reveal-img.in img { transform: scale(1); }

/* Reduced-motion fallback for reels */
@media (prefers-reduced-motion: reduce) {
  .reel, .reel:nth-child(1), .reel:nth-child(2), .reel:nth-child(3), .reel:nth-child(4), .reel:nth-child(5) {
    transform: none !important;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 300;
  pointer-events: none;
  background: transparent;
}
.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
  transform-origin: left center;
  transition: width .08s linear;
  box-shadow: 0 0 14px rgba(184,149,93,.45);
}

/* ============================================================
   TEXT CHAR SPLIT (section titles)
============================================================ */
.split-text { display: inline-block; overflow: hidden; }
.split-text .word {
  display: inline-block;
  white-space: pre;
  overflow: hidden;
  vertical-align: top;
}
.split-text .char {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1s var(--ease-out-expo);
  will-change: transform;
}
.split-text.in .char { transform: translate3d(0, 0, 0); }

/* ============================================================
   PROP CARD & URB CELL TILT ON HOVER
============================================================ */
.prop-card, .spotlight__card {
  transition: transform .8s var(--ease-out-expo), box-shadow .6s var(--ease-out-expo);
  will-change: transform;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(10,31,63,.18);
}

.urb__cell {
  position: relative;
  overflow: hidden;
}
.urb__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,31,63,0) 40%, rgba(10,31,63,.45) 100%);
  opacity: 0;
  transition: opacity .6s var(--ease-out-expo);
  pointer-events: none;
}
.urb__cell:hover::after { opacity: 1; }

/* ============================================================
   CINEMATIC DIVIDER (SVG city skyline line)
============================================================ */
.cinema-divider {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cinema-divider::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,149,93,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cinema-divider::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cinema-divider .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.cinema-divider__year {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(5rem, 12vw, 11rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  position: relative;
}
.cinema-divider__year::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px; right: -20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateY(-50%);
}
.cinema-divider__label {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.cinema-divider__text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.25;
  color: rgba(255,255,255,.88);
  max-width: 500px;
}
.cinema-divider__text:last-child { text-align: right; margin-left: auto; }
.cinema-divider__skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  opacity: .18;
  pointer-events: none;
}
.cinema-divider__skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 900px) {
  .cinema-divider .container { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .cinema-divider__text:last-child { text-align: center; margin: 0 auto; }
}

/* ============================================================
   EDITORIAL ERA MARKERS (numbered timeline decoration)
============================================================ */
.era-marker {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.era-marker__num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-transform: none;
}

/* ============================================================
   VIDEO CARD PLAY INDICATOR — handled inline in .video-showcase above
============================================================ */

/* ============================================================
   IMAGE BLUR-UP
============================================================ */
.reveal-img img { filter: blur(16px); }
.reveal-img.in img { filter: blur(0); transition: transform 2.2s var(--ease-out-expo), filter 1.4s ease-out; }

/* ============================================================
   CURSOR INTERACTION STATES
============================================================ */
.cursor.is-reel {
  width: 80px; height: 80px;
  background: rgba(10,31,63,.92);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 30px rgba(10,31,63,.4);
}
.cursor.is-reel::before {
  content: "VER";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: .25em;
  color: #fff;
  font-weight: 500;
}

/* ============================================================
   SECTION EDGE FADE (smooth scroll transitions)
============================================================ */
.section--alt {
  position: relative;
}
.section--alt::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(10,31,63,.08) 50%, transparent 95%);
  pointer-events: none;
}

/* ============================================================
   ENHANCED PROP-CARD: badge stamp
============================================================ */
.prop-card__tag {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ============================================================
   EDITORIAL PULL QUOTE (decorative)
============================================================ */
.quote {
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -50px; left: -60px;
  font-family: 'Instrument Serif', serif;
  font-size: 10rem;
  color: var(--accent);
  opacity: .18;
  line-height: 1;
  font-style: italic;
}
@media (max-width: 720px) {
  .quote::before { top: -20px; left: -10px; font-size: 5rem; }
}

/* ============================================================
   STAT NUMBER ANIMATED UNDERLINE
============================================================ */
.stat {
  position: relative;
  transition: transform .6s var(--ease-out-expo);
}
.stat__num {
  position: relative;
  display: inline-block;
}
.stat__num::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out-expo) .3s;
}
.stat.in .stat__num::after { transform: scaleX(1); }

/* ============================================================
   BETTER REEL CURSOR POINTER + HOVER
============================================================ */
.reel:focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.reel {
  transition: transform .8s var(--ease-out-expo), box-shadow .8s var(--ease-out-expo);
}
.reel:hover {
  box-shadow: 0 40px 90px rgba(10,31,63,.35), 0 14px 30px rgba(10,31,63,.2);
}

/* (Hero display reveal is driven by the original keyframe animation earlier in the file.) */

/* ============================================================
   NAV LINK ANIMATED UNDERLINE
============================================================ */
.nav__links a {
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease-out-expo);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ============================================================
   SMOOTH TRANSITIONS ON PAGE LOAD (hero fade refinement only)
============================================================ */

/* ============================================================
   FLOATING INDEX (scroll section badge) — home only
============================================================ */
.scroll-badge {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 90;
  background: rgba(10,31,63,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo);
  pointer-events: none;
  box-shadow: 0 14px 40px rgba(10,31,63,.3);
}
.scroll-badge.is-visible { opacity: 1; transform: translateY(0); }
.scroll-badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: scrollBadgePulse 1.6s ease-in-out infinite;
}
@keyframes scrollBadgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
@media (max-width: 720px) {
  .scroll-badge { bottom: 16px; left: 16px; padding: 8px 14px; font-size: .66rem; }
}


/* ============ Legal pages (Privacy / Terms) ============ */
.container--narrow {
  max-width: 820px;
}
.legal {
  padding-top: clamp(50px, 6vw, 90px);
}
.legal__updated {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 36px 0;
}
.legal h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  margin: 56px 0 14px 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p,
.legal ul,
.legal ol {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 18px 0;
}
.legal ul,
.legal ol {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(10, 31, 63, .25);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s ease;
}
.legal a:hover {
  text-decoration-color: var(--accent);
}
.legal strong {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 720px) {
  .legal h2 { margin-top: 44px; font-size: 1.18rem; }
  .legal p, .legal ul, .legal ol { font-size: .96rem; line-height: 1.78; }
}
