/* =========================================================
   PANDŌ — luxury property development
   Single shared stylesheet for all pages.
   ========================================================= */

:root {
  --ink:        #0e1116;        /* near-black, slightly cool */
  --ink-soft:   #2a2f38;
  --muted:      #6b6f78;
  --line:       #d9d4cb;
  --paper:      #f6f3ec;        /* warm ivory */
  --paper-2:    #efeae0;
  --white:      #ffffff;
  --accent:     #e89289;        /* coral from logo */

  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --sans:  "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1400px;
  --pad:  clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 12vw, 160px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

/* Lenis owns scrolling; native smooth-behaviour is removed to avoid conflict */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ------- type ------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 0 0 0.4em; }
h4 { font-size: 1.1rem; margin: 0 0 0.2em; }

p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4em;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
}

.link {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
}
.link:hover { color: var(--accent); border-color: var(--accent); }
.link:hover::after { transform: scaleX(1); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 18px 36px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

/* ------- nav ------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  background: rgba(246, 243, 236, 0);
  transition: background .55s var(--ease), padding .55s var(--ease), box-shadow .55s var(--ease), backdrop-filter .55s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 243, 236, 0.82);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(14,17,22,0.06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav--over-hero { background: rgba(246, 243, 236, 0); }
.nav--over-hero:not(.is-scrolled) .nav__links a { color: var(--paper); }
.nav--over-hero:not(.is-scrolled) .nav__toggle span { background: var(--paper); }
.nav__links a { transition: color .55s var(--ease); }

.nav__inner {
  width: 100%;
  margin: 0;
  padding: 0 clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 44px;
  width: auto;
  transition: opacity .55s var(--ease);
}
.nav--over-hero.is-scrolled .nav__logo { content: url("assets/images/logo-dark.png"); height: 28px; }
.page-home .nav--over-hero:not(.is-scrolled) .nav__logo { opacity: 0; pointer-events: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav__links a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

/* ------- nav: dropdown ------- */

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 180px;
  padding: 14px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(14,17,22,0.10);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  z-index: 60;
}
.nav__submenu::before {
  /* invisible bridge so cursor crossing the gap doesn't drop the hover */
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav__submenu a {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink) !important;
  padding: 10px 26px;
  white-space: nowrap;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__submenu a::after { display: none; }
.nav__submenu a:hover {
  color: var(--accent) !important;
  background: rgba(232,146,137,0.08);
}
.nav__item--menu:hover .nav__submenu,
.nav__item--menu:focus-within .nav__submenu,
.nav__item--menu.is-open .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .nav__links a { color: var(--ink) !important; font-size: 1rem; }
  .nav__item--menu { flex-direction: column; gap: 14px; }
  .nav__submenu {
    position: static;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    gap: 10px;
    min-width: 0;
  }
  .nav__submenu::before { display: none; }
  .nav__submenu a {
    padding: 4px 0;
    font-size: 0.82rem;
    opacity: 0.7;
  }
  body.menu-open .nav__links { transform: translateY(0); }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open .nav__toggle span { background: var(--ink) !important; }
}

/* ------- hero (home only) ------- */

.hero {
  position: relative;
  height: 115vh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
  background: #0a0d12;
}
.hero__video {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Cinematic 4-stop vignette: subtle top, transparent middle, deep bottom for legibility & drama */
  background:
    linear-gradient(180deg,
      rgba(10,13,18,0.32) 0%,
      rgba(10,13,18,0.08) 32%,
      rgba(10,13,18,0.16) 68%,
      rgba(10,13,18,0.78) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--pad);
}
.hero__logo {
  width: clamp(280px, 36vw, 520px);
  height: auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.45));
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 1.4s var(--ease) .3s forwards;
}
.hero__tagline {
  margin-top: 28px;
  color: rgba(255,255,255,0.92);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  letter-spacing: 0.04em;
  font-style: italic;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 1.4s var(--ease) .7s forwards;
}
.hero__scroll {
  position: absolute;
  top: calc(100vh - 96px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  width: 1px;
  height: 60px;
  overflow: hidden;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.6);
  animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ------- generic section / page header ------- */

.section { padding: var(--section-y) 0; }
.section + .section { padding-top: 0; }

.section__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__lede { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-soft); }

.page-header {
  padding: calc(var(--section-y) + 10px) 0 clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}
.page-header + .section { padding-top: clamp(50px, 6vw, 90px); }
.page-header h1 { margin-bottom: 0.2em; }
.page-header__lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}

/* ------- home: intro grid ------- */

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* signature + attribution under intro paragraph */
.intro__sign {
  margin: clamp(28px, 3vw, 40px) 0 clamp(20px, 2.4vw, 32px);
}
.intro__signature {
  display: block;
  height: clamp(110px, 11vw, 150px);
  width: auto;
  margin-bottom: 10px;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transition: clip-path 2.4s cubic-bezier(.55,.06,.32,.99) .35s,
              -webkit-clip-path 2.4s cubic-bezier(.55,.06,.32,.99) .35s;
}
.is-in .intro__signature {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}
.intro__attribution {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft, var(--muted));
  margin: 0;
}

/* oversized intro headline */
.display--hero {
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
}

/* word-by-word stagger reveal — overrides the default .reveal opacity
   so the parent stays visible and each word handles its own entrance */
.display--hero.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.display--hero .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.display--hero.is-in .word {
  opacity: 1;
  transform: none;
}

/* coral highlighter swipe — synced to the parent .reveal trigger */
.mark-accent {
  background-image: linear-gradient(120deg, rgba(232,146,137,0.38) 0%, rgba(232,146,137,0.45) 100%);
  background-repeat: no-repeat;
  background-size: 0% 70%;
  background-position: 0 88%;
  transition: background-size 1.4s var(--ease) .55s;
  padding: 0 0.06em;
  margin: 0 -0.06em;
}
.reveal.is-in .mark-accent { background-size: 100% 70%; }

/* ------- home: featured grid ------- */

.featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 820px) { .featured__grid { grid-template-columns: 1fr; } }

.featured {
  display: block;
  position: relative;
  overflow: hidden;
}
.featured__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.featured__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 243, 236, 0);
  transition: background .5s var(--ease);
  z-index: 1;
}
.featured__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 24px rgba(246,243,236,0.55);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.featured:hover .featured__image img { transform: scale(1.05); }
.featured:hover .featured__image::after { background: rgba(246,243,236,0.55); }
.featured:hover .featured__name { opacity: 1; transform: translateY(0); }
.featured__caption {
  padding: 22px 4px 0;
}
.featured__caption span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.featured__caption h3 {
  font-size: 1.6rem;
  margin: 0;
}

/* ------- about: alternating section bands ------- */

.page-about .page-header { border-bottom: 0; }

.page-about .section--story,
.page-about .section--principles,
.page-about .section--team {
  padding-top: clamp(70px, 8vw, 120px);
  padding-bottom: clamp(70px, 8vw, 120px);
}
.page-about .section--story { background: var(--paper-2); }
.page-about .section--team  { background: var(--paper-2); }

/* ------- about: story grid ------- */

.story__image {
  margin: clamp(40px, 5vw, 70px) 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__image figcaption {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
}

.story__body {
  font-size: clamp(1.02rem, 1.15vw, 1.15rem);
  line-height: 1.75;
}
.story__body p { margin-bottom: 1.35em; }
.story__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
}
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; } }

.story__word {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 0.1em;
}
.story__pronounce {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.4em;
}
.story__pronounce .ipa { letter-spacing: 0.04em; }
.story__defs {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
  padding-left: 1.2em;
  margin: 0;
}
.story__defs li { margin-bottom: 0.4em; }
.story__close {
  margin-top: 2.4em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* ------- about: principles ------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 70px);
}
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }
.principle__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.principle h3 { font-size: 1.6rem; margin-bottom: 0.4em; }
.principle p { color: var(--ink-soft); }

/* ------- team ------- */

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 4vw, 64px) clamp(30px, 4vw, 56px);
}
@media (max-width: 980px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team__grid { grid-template-columns: 1fr; } }

.member { margin: 0; }
.member__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 22px;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(100%);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.03); }

/* Subtle warm-up for B&W-only photos (no convincing fake-colour, just a hint) */
.member--tinted:hover .member__photo img {
  filter: grayscale(75%) sepia(18%) saturate(115%) brightness(1.04);
}

/* member with two-photo swap (e.g. Eric: bw → colour on hover) */
.member--swap .member__photo { position: relative; }
.member--swap .member__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: none !important;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.member--swap .member__img--hover { opacity: 0; }
.member--swap:hover .member__img--default { opacity: 0; }
.member--swap:hover .member__img--hover { opacity: 1; }
.member--swap:hover .member__img { transform: scale(1.03); }
.member h4 { font-size: 1.4rem; margin: 0 0 4px; }
.member figcaption span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.member figcaption p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ------- projects (projects.html) ------- */

.project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 120px);
}
.project--reverse { direction: rtl; }
.project--reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .project, .project--reverse { grid-template-columns: 1fr; direction: ltr; }
}

.project__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.project__image img { width: 100%; height: 100%; object-fit: cover; }
.project__tag {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}
.project__name { margin: 0 0 0.4em; }
.project__copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.6em; }
.project__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.project__meta li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.project__meta span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.project__meta strong { font-weight: 400; color: var(--ink); }

.project__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(60px, 8vw, 120px);
}
.project__gallery figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.project__gallery img,
.project__gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.project__gallery figure:hover img { transform: scale(1.04); }
.project__gallery--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9 !important; }
@media (max-width: 600px) { .project__gallery--wide { aspect-ratio: 4 / 3 !important; } }

/* ------- mosaic gallery layouts ------- */
.project__gallery--mosaic-7,
.project__gallery--mosaic-6 {
  gap: 1rem;
}
.project__gallery--mosaic-7 figure,
.project__gallery--mosaic-6 figure {
  aspect-ratio: auto;           /* override the default 4:3 — grid handles sizing */
}

/* 7-image mosaic: hero (left 2 cols, top 3 rows) + 3 right + 3 bottom */
.project__gallery--mosaic-7 {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
}
.project__gallery--mosaic-7 figure:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
}

/* 6-image mosaic: hero (left 2 cols, top 2 rows) + 2 right + 3 bottom */
.project__gallery--mosaic-6 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}
.project__gallery--mosaic-6 figure:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* Mosaic responsive: stack on small screens */
@media (max-width: 600px) {
  .project__gallery--mosaic-7,
  .project__gallery--mosaic-6 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: none;
    gap: clamp(8px, 1.5vw, 14px);
  }
  .project__gallery--mosaic-7 figure,
  .project__gallery--mosaic-6 figure {
    aspect-ratio: 4 / 3;
  }
  .project__gallery--mosaic-7 figure:first-child,
  .project__gallery--mosaic-6 figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ------- location gallery: video + 5 images, no orphans ------- */
.project__gallery--location {
  grid-template-columns: repeat(6, 1fr);
}
.project__gallery--location .project__gallery--wide {
  grid-column: 1 / -1;
}
.project__gallery--location figure:nth-child(2),
.project__gallery--location figure:nth-child(3),
.project__gallery--location figure:nth-child(4) {
  grid-column: span 2;
}
.project__gallery--location figure:nth-child(5),
.project__gallery--location figure:nth-child(6) {
  grid-column: span 3;
}
@media (max-width: 600px) {
  .project__gallery--location { grid-template-columns: 1fr 1fr; }
  .project__gallery--location .project__gallery--wide { grid-column: 1 / -1; }
  .project__gallery--location figure:nth-child(n+2) { grid-column: span 1; }
  .project__gallery--location figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ------- coming-soon / status badge ------- */

.badge {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 1.4em 14px;
  padding: 5px 12px 4px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(232,146,137,0.08);
}

/* ------- project pages: tighter vertical rhythm ------- */

.page-projects .page-header {
  padding-top: calc(var(--section-y) + 40px);
  padding-bottom: clamp(20px, 2.5vw, 32px);
}
.page-projects .page-header + .section { padding-top: clamp(28px, 3.5vw, 50px); }
.page-projects .section--projects { padding-bottom: clamp(40px, 5vw, 70px); }
.page-projects .project { margin-bottom: clamp(32px, 4.5vw, 60px); }
.page-projects .project__gallery { margin-bottom: 0; }
.page-projects .section--cta { padding-top: clamp(50px, 6vw, 90px); padding-bottom: clamp(60px, 7vw, 100px); }

/* ------- lunara: project hero (full-bleed) ------- */

.project-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: var(--paper);
}
.project-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 16s var(--ease) forwards;
}
@keyframes heroDrift {
  to { transform: scale(1); }
}
.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,0.35) 0%, rgba(14,17,22,0.55) 60%, rgba(14,17,22,0.78) 100%);
}
.project-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 clamp(24px, 6vw, 96px) clamp(80px, 12vh, 140px);
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.4s var(--ease) .5s forwards;
}
.project-hero__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.75);
  margin-bottom: 1.4em;
}
.project-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 0.3em;
  color: var(--paper);
}
.project-hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(246,243,236,0.85);
  max-width: 640px;
  margin: 0;
}
.project-hero .hero__scroll { top: auto; bottom: 32px; }

/* ------- lunara: design intro ------- */

.section--lunara-intro { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(60px, 8vw, 110px); }

.lunara-intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .lunara-intro { grid-template-columns: 1fr; gap: 48px; }
}
.lunara-intro__copy .display { margin-bottom: 0.5em; }
.lunara-intro__copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 520px;
}
.lunara-intro__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.lunara-features {
  list-style: none;
  padding: 0;
  margin: 2.4em 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.lunara-features li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.lunara-features li:nth-child(odd) { padding-right: 24px; }
.lunara-features li:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.lunara-features h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0 0 4px;
  color: var(--ink);
}
.lunara-features p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ------- lunara: section heads (residences / location / team) ------- */

.lunara-section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.lunara-section-head .display { margin-bottom: 0.4em; }
.lunara-section-head .display--residences {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #a08a6e;
}
.lunara-section-head .section__lede { margin: 0 auto; max-width: 600px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); }

/* ------- lunara: residences ------- */

.section--lunara-residences { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); background: var(--paper-2); }

.residence { margin-bottom: clamp(60px, 8vw, 110px); }
.residence:last-child { margin-bottom: 0; }
.residence__head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  text-align: center;
}
.residence__head .eyebrow { margin-bottom: 1em; }
.residence__head p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.residence-divider {
  width: 60px;
  height: 1px;
  background: var(--line);
  margin: clamp(60px, 8vw, 110px) auto;
}

/* ------- lunara: location ------- */

.section--lunara-location { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); }

.lunara-location__body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.lunara-location__body p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.2em;
}

.lunara-location__address {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.4em 0 0;
}

/* ------- lunara: map ------- */

.lunara-map {
  max-width: 1000px;
  height: 420px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.lunara-map .leaflet-popup-content-wrapper {
  font-family: var(--sans);
  font-size: 0.8rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.lunara-map .leaflet-popup-content {
  margin: 10px 14px;
  line-height: 1.5;
}
@media (max-width: 680px) {
  .lunara-map {
    height: 320px;
  }
}

.section--lunara-location .project__gallery figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s var(--ease);
}
.section--lunara-location .project__gallery figure:hover video { transform: scale(1.04); }

/* ------- lunara: team / partners ------- */

.section--lunara-team { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 130px); background: var(--paper-2); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .partners-grid { grid-template-columns: 1fr; } }

.partner { display: block; }
.partner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  height: 100%;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.partner__inner:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(14,17,22,0.08);
}
.partner__logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.partner__inner:hover .partner__logo {
  filter: grayscale(0%);
  opacity: 1;
}
.partner__logo--sm { height: 32px; }
.partner__logo--lg { height: 56px; }
.partner__logo--cropped { height: 38px; }
.partner__role {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.partner__desc {
  font-family: var(--serif);
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ------- lunara: intro heading ------- */

.display--lunara-intro {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #a08a6e;
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ------- lunara: enquiry section ------- */

.section--lunara-enquiry {
  position: relative;
  background: url('assets/projects/lunara-facade-day.jpg') center center / cover no-repeat fixed;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  text-align: center;
}
.section--lunara-enquiry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(246, 243, 236, 0.92);
  z-index: 0;
}
.section--lunara-enquiry > * {
  position: relative;
  z-index: 1;
}
.section--lunara-enquiry .display {
  margin-bottom: 0.3em;
}
.section--lunara-enquiry .section__lede {
  margin: 0 auto 2.4em;
  max-width: 520px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}

/* ------- lunara: enquiry form ------- */

.lunara-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.lunara-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.lunara-form__group {
  display: flex;
  flex-direction: column;
}
.lunara-form__group--full {
  grid-column: 1 / -1;
}
.lunara-form__group label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.lunara-form__group input,
.lunara-form__group textarea {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  padding: 0.8rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .3s var(--ease);
}
.lunara-form__group input:focus,
.lunara-form__group textarea:focus {
  border-color: #a08a6e;
}
.lunara-form__group textarea {
  resize: vertical;
  min-height: 100px;
}
.lunara-form__submit {
  text-align: center;
  margin-top: 2.4rem;
}
@media (max-width: 600px) {
  .lunara-form__row {
    grid-template-columns: 1fr;
  }
}

/* lunara page: undo .page-projects page-header padding (lunara uses project-hero instead) */
.page-lunara .section { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); }
.page-lunara .section + .section { padding-top: 0; }
.page-lunara .section--cta { padding-top: clamp(70px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 140px); text-align: center; }

/* wavertree: intro image is a landscape shot, let it breathe at its natural aspect */
.page-wavertree .lunara-intro {
  grid-template-columns: 0.85fr 1.5fr;
  gap: clamp(32px, 4vw, 72px);
}
@media (max-width: 900px) {
  .page-wavertree .lunara-intro { grid-template-columns: 1fr; }
}
.page-wavertree .lunara-intro__image img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

/* wavertree: wide image figure under the intro */
.wavertree-wide {
  margin: clamp(60px, 7vw, 110px) 0 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.wavertree-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s var(--ease);
}
.wavertree-wide:hover img { transform: scale(1.03); }
@media (max-width: 700px) {
  .wavertree-wide { aspect-ratio: 4 / 3; }
}

/* ------- cta block ------- */

.section--cta { text-align: center; padding-bottom: var(--section-y); }
.section--cta .display { margin-bottom: 0.4em; }
.section--cta p { color: var(--ink-soft); margin-bottom: 2em; }

/* ------- contact ------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(50px, 6vw, 100px);
}
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact__block:first-child { border-top: 1px solid var(--line); }
.contact__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0;
}
a.contact__value:hover { color: var(--accent); }

.contact__form { display: flex; flex-direction: column; gap: 22px; }

/* Standalone (no contact-details column): centred, readable max-width */
.contact__form--standalone {
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

/* Visually-hidden honeypot — bots fill it, humans never see it */
.contact__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); }
.contact__form .btn { align-self: flex-start; margin-top: 10px; }
.form__note { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ------- footer ------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 40px;
  margin-top: 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer__logo {
  height: 30px;
  filter: invert(1) brightness(2) hue-rotate(180deg) saturate(1.8);
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  margin: 0;
  color: rgba(246,243,236,0.7);
}
.footer__nav {
  display: flex;
  gap: 32px;
  margin: 18px 0 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.85);
  transition: color .3s var(--ease);
}
.footer__nav a:hover { color: var(--accent); }
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 4px 0 14px;
  font-family: var(--sans);
}
.footer__address {
  font-size: 0.78rem;
  color: rgba(246,243,236,0.6);
  margin: 0;
  letter-spacing: 0.04em;
}
.footer__email {
  font-size: 0.78rem;
  color: rgba(246,243,236,0.85);
  letter-spacing: 0.04em;
  transition: color .3s var(--ease);
}
.footer__email:hover { color: var(--accent); }
.footer__copy {
  font-size: 0.75rem;
  color: rgba(246,243,236,0.5);
  margin: 0;
  letter-spacing: 0.06em;
}

/* ------- lightbox ------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.94);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  margin: 0;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox__cap {
  margin-top: 16px;
  color: rgba(246,243,236,0.7);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  max-width: 80vw;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: rgba(246,243,236,0.85);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { color: var(--accent); }
.lightbox__close { top: 24px; right: 24px; font-size: 2.2rem; }
.lightbox__nav { font-size: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 600px) {
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ------- reveal-on-scroll ------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   HOME PAGE — aspen interlude, principles teaser, closing CTA
   ============================================================ */

/* ------- 1. Aspen interlude (full-bleed, dark, parallax bg) ------- */
.section--aspen {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  overflow: hidden;
  padding: clamp(120px, 14vw, 200px) 0;
  margin: 0;
}
.aspen__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  height: 130%;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0) scale(1.04);
  will-change: transform;
  backface-visibility: hidden;
}
.aspen__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.55) 0%, rgba(20,18,15,0.72) 100%);
}
.aspen__content {
  position: relative;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}
.aspen__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
  margin-bottom: 20px;
}
.aspen__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  color: var(--paper);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}
.aspen__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: rgba(246, 243, 236, 0.82);
  margin: 0 0 2em;
}
.aspen__link {
  display: inline-block;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(246, 243, 236, 0.45);
  padding-bottom: 6px;
  transition: border-color .4s ease, color .4s ease;
}
.aspen__link:hover {
  border-bottom-color: rgba(246, 243, 236, 1);
}
@media (prefers-reduced-motion: reduce) {
  .aspen__bg { top: 0; height: 100%; transform: scale(1.04); }
}

/* ------- 2. Principles teaser (tinted paper-2 band) ------- */
.page-home .section--principles-teaser {
  background: var(--paper-2);
  padding-top: clamp(90px, 11vw, 160px);
  padding-bottom: clamp(90px, 11vw, 160px);
}
.principles-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  border-top: 1px solid rgba(20, 18, 15, 0.12);
  padding-top: clamp(40px, 5vw, 70px);
}
@media (max-width: 820px) {
  .principles-teaser { grid-template-columns: 1fr; gap: 40px; }
}
.principle-mini__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.principle-mini h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  margin: 0 0 0.45em;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.principle-mini p {
  color: rgba(20, 18, 15, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  line-height: 1.55;
  margin: 0;
}
.principles-teaser__link {
  text-align: center;
  margin-top: clamp(44px, 5vw, 70px);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.principles-teaser__link a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 18, 15, 0.25);
  padding-bottom: 3px;
}
.principles-teaser__link a:hover { border-bottom-color: var(--ink); }

/* ------- 3. Closing CTA (daytime Lunara facade as soft background) ------- */
.section--home-cta {
  position: relative;
  text-align: center;
  padding: clamp(140px, 16vw, 220px) 0 clamp(160px, 17vw, 240px);
  margin: 0;
  overflow: hidden;
}
.home-cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/projects/lunara-facade-day.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.home-cta__veil {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(246, 243, 236, 0.84) 0%, rgba(246, 243, 236, 0.76) 50%, rgba(246, 243, 236, 0.88) 100%);
}
.section--home-cta .container {
  position: relative;
  z-index: 1;
}
.section--home-cta .display {
  margin: 0 0 0.45em;
}
.section--home-cta p {
  color: rgba(20, 18, 15, 0.72);
  margin-bottom: 2em;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
}
