/* ============ MS PAU & Associates ============ */
:root {
  --ink: #16130e;
  --ink-soft: #4a443a;
  --bone: #efeae1;
  --bone-deep: #e5dfd3;
  --brass: #a5804a;
  --brass-soft: #c4a06a;
  --white: #f7f4ee;
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

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

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { text-align: center; color: var(--white); overflow: hidden; }
.preloader-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: .04em;
  transform: translateY(110%);
}
.preloader-sub {
  display: block;
  font-size: .75rem;
  letter-spacing: .55em;
  margin-top: .75rem;
  color: var(--brass-soft);
  opacity: 0;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 99;
  width: 12px; height: 12px;
  background: var(--brass);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s ease, height .3s ease, opacity .3s ease, background .3s ease;
  mix-blend-mode: difference;
}
.cursor.is-hover { width: 44px; height: 44px; background: var(--white); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad);
  color: var(--white);
  mix-blend-mode: normal;
  transition: transform .5s ease;
}
.header.is-hidden { transform: translateY(-110%); }
.logo { display: flex; flex-direction: column; line-height: 1.05; }
.logo-main {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: .05em;
}
.logo-sub { font-size: .62rem; letter-spacing: .38em; text-transform: uppercase; opacity: .8; }
.header-right { display: flex; align-items: center; gap: 1.1rem; }
.btn-talk {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(247,244,238,.55);
  padding: .62rem 1.35rem;
  border-radius: 100px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  backdrop-filter: blur(6px);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn-talk:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-arrow { font-size: .9em; }
.burger {
  width: 44px; height: 44px;
  border: 1px solid rgba(247,244,238,.55);
  border-radius: 50%;
  background: transparent; cursor: pointer;
  display: grid; place-items: center; gap: 0;
  transition: background .35s ease;
}
.burger span {
  display: block; width: 17px; height: 1.6px;
  background: var(--white);
  margin: 2.4px 0;
  transition: transform .4s ease, background .35s ease;
}
.burger:hover { background: rgba(247,244,238,.12); }
body.menu-open .burger span:first-child { transform: translateY(3.2px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* Header over light sections */
.header.on-light { color: var(--ink); }
.header.on-light .btn-talk { border-color: rgba(22,19,14,.4); }
.header.on-light .btn-talk:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.header.on-light .burger { border-color: rgba(22,19,14,.4); }
.header.on-light .burger span { background: var(--ink); }
.header.on-light .burger:hover { background: rgba(22,19,14,.07); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40;
  visibility: hidden; pointer-events: none;
}
body.menu-open .menu { visibility: visible; pointer-events: auto; }
.menu-bg {
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(-100%);
}
.menu-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(6rem, 14vh, 9rem) var(--pad) 3rem;
  color: var(--white);
}
.menu-links { display: flex; flex-direction: column; gap: .2rem; }
.menu-link { overflow: hidden; width: fit-content; }
.menu-link span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  line-height: 1.12;
  transform: translateY(110%);
  transition: color .35s ease;
}
.menu-link:hover span { color: var(--brass-soft); font-style: italic; }
.menu-foot {
  display: flex; gap: clamp(2rem, 8vw, 7rem); flex-wrap: wrap;
  opacity: 0;
}
.menu-foot-col { display: flex; flex-direction: column; gap: .3rem; font-size: .92rem; }
.menu-foot-label { font-size: .68rem; letter-spacing: .3em; color: var(--brass-soft); text-transform: uppercase; margin-bottom: .4rem; }
.menu-foot-col a:hover { color: var(--brass-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { transform: scale(1.08); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,19,14,.42) 0%, rgba(22,19,14,.08) 40%, rgba(22,19,14,.55) 100%);
}
.hero-content {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(4rem, 11vh, 7rem);
  color: var(--white);
}
.hero-tag {
  font-size: clamp(.68rem, 1.1vw, .8rem);
  letter-spacing: .5em;
  margin-bottom: 1.4rem;
  opacity: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.hero-scroll {
  position: absolute; right: var(--pad); bottom: clamp(4rem, 11vh, 7rem);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: var(--white); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  opacity: 0;
}
.hero-scroll-line { width: 1px; height: 56px; background: rgba(247,244,238,.5); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--white);
  animation: scrollDrip 2s ease-in-out infinite;
}
@keyframes scrollDrip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ---------- Shared section bits ---------- */
section { position: relative; }
.section-kicker, .intro-kicker, .footer-kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .42em;
  color: var(--brass);
  margin-bottom: 1.6rem;
}
.section-kicker-light { color: var(--brass-soft); }
.section-title, .intro-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.section-title-light { color: var(--white); }
[data-lines] .line { display: block; overflow: hidden; }
[data-lines] .line > span { display: inline-block; transform: translateY(110%); }
[data-reveal] { opacity: 0; transform: translateY(34px); }

/* ---------- Intro ---------- */
.intro {
  padding: clamp(6rem, 14vw, 11rem) var(--pad) clamp(4rem, 9vw, 7rem);
  max-width: 1200px;
}
.intro-text {
  max-width: 34rem;
  margin-top: 2.4rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(22,19,14,.14);
  border-bottom: 1px solid rgba(22,19,14,.14);
  padding: 1.1rem 0;
  background: var(--bone-deep);
}
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--ink);
  padding-right: .5rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Properties ---------- */
.properties { padding: clamp(5rem, 11vw, 9rem) var(--pad); }
.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.prop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}
.prop-card { display: block; }
.prop-wide { grid-column: 1 / -1; }
.prop-img {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  clip-path: inset(0 0 100% 0);
}
.prop-wide .prop-img { aspect-ratio: 21 / 10; }
.prop-img img {
  transform: scale(1.15);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.prop-card:hover .prop-img img { transform: scale(1.05); }
.prop-meta {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-top: 1.1rem;
}
.prop-meta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  transition: color .3s ease;
}
.prop-card:hover .prop-meta h3 { color: var(--brass); }
.prop-meta p { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }
.prop-arrow {
  font-size: 1.3rem; line-height: 1;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.prop-card:hover .prop-arrow { transform: translate(4px, -4px); }

/* ---------- Services ---------- */
.services {
  background: var(--ink);
  color: var(--white);
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
}
.service-list { border-top: 1px solid rgba(247,244,238,.16); }
.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1.2fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: clamp(1.6rem, 3.4vw, 2.6rem) 0;
  border-bottom: 1px solid rgba(247,244,238,.16);
  opacity: 0; transform: translateY(34px);
  transition: padding-left .45s cubic-bezier(.22,1,.36,1);
}
.service-row:hover { padding-left: 1.2rem; }
.service-num {
  font-size: .8rem; letter-spacing: .2em;
  color: var(--brass-soft);
}
.service-row h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  transition: color .35s ease, font-style .35s ease;
}
.service-row:hover h3 { color: var(--brass-soft); font-style: italic; }
.service-row p { color: rgba(247,244,238,.65); max-width: 30rem; font-size: .97rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad);
  background: var(--bone);
}
.stat { text-align: center; opacity: 0; transform: translateY(34px); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1;
  color: var(--ink);
}
.stat-label {
  display: block;
  margin-top: .8rem;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass);
}

/* ---------- Reel ---------- */
.reel { position: relative; height: 92svh; overflow: hidden; }
.reel-media { position: absolute; inset: -12% 0; }
.reel::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(22,19,14,.45);
}
.reel-quote {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
}
.reel-quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.25;
  color: var(--white);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
}
.about-img {
  aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: 4px;
}
.img-reveal { clip-path: inset(0 0 100% 0); }
.img-reveal img { transform: scale(1.18); }
.about-body p:not(.section-kicker) {
  color: var(--ink-soft);
  max-width: 32rem;
  margin-top: 1.4rem;
}
.about-body .section-title { margin-bottom: .6rem; }
.btn-line {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 2.2rem;
  font-weight: 600; font-size: .95rem;
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: .3rem;
  transition: gap .3s ease, color .3s ease;
}
.btn-line:hover { gap: 1rem; color: var(--brass); }

/* ---------- Quotes ---------- */
.quotes {
  background: var(--bone-deep);
  padding: clamp(5rem, 11vw, 8rem) var(--pad);
  text-align: center;
}
.quotes .section-kicker { margin-bottom: 3rem; }
.quote-stage { position: relative; max-width: 56rem; margin: 0 auto; min-height: 14rem; }
.quote {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.3;
}
.quote em { color: var(--brass); }
.quote cite {
  display: block; margin-top: 1.6rem;
  font-style: normal; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
}
.quote-dots { display: flex; justify-content: center; gap: .7rem; margin-top: 2.5rem; }
.quote-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent;
  cursor: pointer; padding: 0;
  transition: background .3s ease, transform .3s ease;
}
.quote-dots button.is-active { background: var(--brass); border-color: var(--brass); transform: scale(1.25); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(6rem, 13vw, 10rem) var(--pad) 2rem;
}
.footer-kicker { color: var(--brass-soft); }
.footer-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 11vw, 9rem);
  line-height: 1;
  letter-spacing: -.01em;
}
.footer-title .line { display: block; overflow: hidden; }
.footer-title .line > span { display: inline-block; transform: translateY(110%); }
.footer-mail {
  display: inline-block;
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  border-bottom: 1px solid var(--brass-soft);
  padding-bottom: .35rem;
  transition: color .3s ease;
}
.footer-mail:hover { color: var(--brass-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 3rem;
  border-top: 1px solid rgba(247,244,238,.16);
  font-size: .95rem;
}
.footer-label {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass-soft); margin-bottom: .7rem;
}
.footer-grid a { display: block; width: fit-content; margin-bottom: .3rem; transition: color .3s ease; }
.footer-grid a:hover { color: var(--brass-soft); }
.footer-bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  margin-top: 4.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(247,244,238,.16);
  font-size: .74rem; letter-spacing: .1em;
  color: rgba(247,244,238,.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .prop-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 3rem 1fr; }
  .service-row p { grid-column: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 3rem 1rem; }
  .about { grid-template-columns: 1fr; }
  .about-img { max-width: 30rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-scroll-line::after { animation: none; }
}
