/* ============================================================
   FARZANA REALTY — Luxury Design System
   Premium editorial real estate · Warm neutrals · Refined gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Backgrounds */
  --white:        #FAF8F5;
  --off-white:    #F5F2ED;
  --cream:        #F0EBE3;
  --beige:        #E8E2D9;
  --beige-deep:   #DDD5C8;

  /* Text */
  --black:        #0A0A0A;
  --charcoal:     #2C2C2C;
  --charcoal-mid: #4A4A4A;
  --muted:        #7A7570;
  --muted-light:  #9C9690;

  /* Accent */
  --gold:         #B8956B;
  --gold-light:   #D4C4A8;
  --gold-dark:    #96754F;
  --champagne:    #E8DFD0;

  /* Surfaces */
  --surface:      #FFFFFF;
  --surface-alt:  var(--off-white);
  --line:         rgba(10, 10, 10, 0.08);
  --line-strong:  rgba(10, 10, 10, 0.14);

  /* Layout */
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --max:          1280px;
  --section-y:    clamp(100px, 10vw, 160px);
  --gap:          clamp(24px, 3vw, 40px);

  /* Motion */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --duration:     0.55s;

  /* Shadows */
  --shadow-sm:    0 2px 12px rgba(10, 10, 10, 0.04);
  --shadow-md:    0 8px 32px rgba(10, 10, 10, 0.07);
  --shadow-lg:    0 20px 60px rgba(10, 10, 10, 0.10);
  --shadow-hover: 0 24px 64px rgba(10, 10, 10, 0.14);

  /* Header */
  --header-h:     88px;
  --header-h-sm:  72px;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

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; }

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
}

/* -------- Typography -------- */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.12;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.eyebrow-light { color: var(--champagne); }
.eyebrow-light::before { background: var(--champagne); }

/* -------- Buttons --------
   Every variant defines its OWN default + hover background and text
   color, so a button is always readable no matter what section it
   sits in. Nothing here is inherited from page context. */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:16px 36px;
  border-radius:999px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.04em;
  text-transform:uppercase;
  text-decoration:none;
  border:1.5px solid currentColor;
  color:var(--black);
  background:transparent;
  transition:color .4s var(--ease-out), background-color .4s var(--ease-out),
             border-color .4s var(--ease-out), box-shadow .4s var(--ease-out),
             transform .4s var(--ease-out);
}

.btn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:var(--black);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .4s var(--ease-out);
}

.btn:hover{
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Solid black — default choice on light/cream sections */
.btn-solid {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-solid::before { display: none; }
.btn-solid:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* White — for use over photography / hero imagery */
.btn-white{
    background:#fff;
    color:var(--black);
    border-color:#fff;
}
.btn-white::before{
    background:var(--gold-light);
}
.btn-white:hover{
    color:var(--black);
}

/* Gold — accent button, safe on any background since it's opaque */
.btn-gold{
    background:var(--gold);
    color:var(--black);
    border-color:var(--gold);
}
.btn-gold::before{
    background:var(--gold-dark);
}
.btn-gold:hover{
    color:var(--white);
}

/* Light outline — transparent, for use ONLY on dark backgrounds
   (hero, cta-band, footer, page-header). Do not place on light sections. */
.btn-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-light::before { background: var(--white); }
.btn-light:hover { color: var(--black); border-color: var(--white); }

/* -------- Header -------- */
header.site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 0;
  background: transparent;
  transition: padding 0.5s var(--ease-out),
              background 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out),
              backdrop-filter 0.5s var(--ease-out);
}

header.site.scrolled {
  padding: 16px 0;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

header.site.scrolled .brand-text,
header.site.scrolled .brand-sub,
header.site.scrolled nav.main-nav a,
header.site.scrolled .header-phone { color: inherit; }

header.site.scrolled nav.main-nav a { color: var(--charcoal-mid); }
header.site.scrolled nav.main-nav a:hover,
header.site.scrolled nav.main-nav a.active { color: var(--black); }

/* Hero & page-header: light text header when over imagery */
body:has(.hero) header.site:not(.scrolled) .brand-text,
body:has(.page-header) header.site:not(.scrolled) .brand-text { color: var(--white); }
body:has(.hero) header.site:not(.scrolled) .brand-text span,
body:has(.page-header) header.site:not(.scrolled) .brand-text span { color: var(--champagne); }
body:has(.hero) header.site:not(.scrolled) .brand-sub,
body:has(.page-header) header.site:not(.scrolled) .brand-sub { color: rgba(255,255,255,0.65); }
body:has(.hero) header.site:not(.scrolled) nav.main-nav a,
body:has(.page-header) header.site:not(.scrolled) nav.main-nav a { color: rgba(255,255,255,0.75); }
body:has(.hero) header.site:not(.scrolled) nav.main-nav a:hover,
body:has(.hero) header.site:not(.scrolled) nav.main-nav a.active,
body:has(.page-header) header.site:not(.scrolled) nav.main-nav a:hover,
body:has(.page-header) header.site:not(.scrolled) nav.main-nav a.active { color: var(--white); }
body:has(.hero) header.site:not(.scrolled) .header-phone,
body:has(.page-header) header.site:not(.scrolled) .header-phone { color: rgba(255,255,255,0.65); }
body:has(.hero) header.site:not(.scrolled) .header-phone strong,
body:has(.page-header) header.site:not(.scrolled) .header-phone strong { color: var(--white); }
body:has(.hero) header.site:not(.scrolled) .btn,
body:has(.page-header) header.site:not(.scrolled) .btn { border-color: rgba(255,255,255,0.45); color: var(--white); }
body:has(.hero) header.site:not(.scrolled) .btn::before,
body:has(.page-header) header.site:not(.scrolled) .btn::before { background: var(--white); }
body:has(.hero) header.site:not(.scrolled) .btn:hover,
body:has(.page-header) header.site:not(.scrolled) .btn:hover { color: var(--black); border-color: var(--white); }
body:has(.hero) header.site:not(.scrolled) .nav-toggle span,
body:has(.page-header) header.site:not(.scrolled) .nav-toggle span { background: var(--white); }
body:has(.hero) header.site:not(.scrolled) .brand-mark path,
body:has(.hero) header.site:not(.scrolled) .brand-mark g path,
body:has(.page-header) header.site:not(.scrolled) .brand-mark path,
body:has(.page-header) header.site:not(.scrolled) .brand-mark g path { stroke: var(--champagne); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-mark path,
.brand-mark g path { stroke: var(--gold); }

.brand-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--black);
  line-height: 1.2;
}

.brand-text span { color: var(--gold-dark); font-weight: 600; }

.brand-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

nav.main-nav ul {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

nav.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal-mid);
  transition: color 0.3s var(--ease-out);
  position: relative;
  padding: 6px 0;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--black); }

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-shrink: 0;
}

.header-phone {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}

.header-phone strong {
  display: block;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--black);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 80px) 0 clamp(80px, 10vh, 120px);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.08) 35%,
    rgba(10, 10, 10, 0.55) 75%,
    rgba(10, 10, 10, 0.82) 100%
  );
  z-index: 1;
}

.hero-frame {
  position: absolute;
  inset: clamp(16px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 2;
}

.hero .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 860px;
}

.hero .eyebrow {
  color: var(--champagne);
  margin-bottom: 28px;
}

.hero .eyebrow::before { background: var(--gold-light); }

.hero h1 {
  font-size: clamp(40px, 6.5vw, 82px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 32px;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .word {
  display: inline-block;
}

.hero p {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: clamp(32px, 5vh, 56px);
  right: clamp(24px, 4vw, 48px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* -------- Marquee -------- */
.marquee-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding: 0 32px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 32px;
}

.marquee-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- Sections -------- */
section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-alt {
  background: var(--off-white);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-head p {
  color: var(--charcoal-mid);
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.75;
  max-width: 560px;
}

.section-cta {
  text-align: center;
  margin-top: clamp(48px, 6vw, 72px);
}

/* -------- Reveal animations (GSAP sets initial state) -------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.img-reveal {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-reveal img,
.img-reveal-inner {
  transform: scale(1.12);
}

/* -------- Why grid -------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.why-item {
  padding: clamp(36px, 4vw, 52px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-mark {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
}

.why-mark path { stroke: var(--gold); }

.why-item h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.why-item p {
  color: var(--charcoal-mid);
  font-size: 16px;
  line-height: 1.75;
}

.why-item a:hover h3 { color: var(--gold-dark); }

/* -------- Property cards -------- */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.prop-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.prop-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.prop-media {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
}

.prop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.prop-card:hover .prop-media img { transform: scale(1.06); }

.prop-tags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  color: var(--charcoal);
  border: 1px solid var(--line);
}

.prop-body {
  padding: clamp(24px, 3vw, 32px);
}

.prop-loc {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.prop-body h4 {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.prop-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.prop-meta span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.prop-meta span:first-child::before { display: none; }

.prop-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-top: 4px;
  letter-spacing: -0.01em;
}

/* -------- Split layout -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.split img,
.split .img-reveal {
  width: 100%;
  height: clamp(400px, 50vw, 620px);
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}

.split p {
  color: var(--charcoal-mid);
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.75;
}

.split p:last-of-type { margin-bottom: 36px; }

/* -------- Feature list -------- */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.feature-item {
  background: var(--surface);
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow var(--duration) var(--ease-out);
}

.feature-item:hover { box-shadow: var(--shadow-md); }

.feature-item .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  flex: none;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-item p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

/* -------- Blog cards -------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.blog-card {
  display: block;
  transition: transform var(--duration) var(--ease-out);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-media {
  height: clamp(200px, 22vw, 260px);
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  position: relative;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.blog-card:hover .blog-media img { transform: scale(1.05); }

.blog-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: var(--radius-lg);
}

.blog-card:hover .blog-media::after { opacity: 1; }

.blog-cats {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.blog-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card h3 {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.blog-card:hover h3 { color: var(--gold-dark); }

/* -------- CTA band -------- */
.cta-band {
  text-align: center;
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,149,107,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band .wrap { position: relative; z-index: 1; }

.cta-band .eyebrow {
  justify-content: center;
  color: var(--gold-light);
}

.cta-band .eyebrow::before { background: var(--gold-light); }

.cta-band h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: -0.04em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}



/* -------- Developer strip -------- */
.dev-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.dev-strip div {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 20px 32px;
  border-radius: var(--radius);
  flex: 1;
  text-align: center;
  min-width: 160px;
  transition: border-color 0.3s, color 0.3s;
}

.dev-strip div:hover {
  border-color: var(--gold);
  color: var(--charcoal);
}

/* -------- Footer -------- */
footer.site {
  background: var(--black);
  padding: clamp(80px, 10vw, 120px) 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand .brand-text {
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.12em;
}

.footer-brand .brand-text span { color: var(--gold-light); }

.footer-brand .brand-mark path,
.footer-brand .brand-mark g path { stroke: var(--gold-light); }

.footer-tag {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  margin-top: 24px;
  max-width: 300px;
  line-height: 1.75;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  margin-bottom: 14px;
  transition: color 0.3s;
  line-height: 1.6;
}

.footer-col a:hover { color: var(--white); }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s var(--ease-out);
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(184, 149, 107, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-bottom a:hover { color: var(--gold-light); }

/* -------- Page header (inner pages) -------- */
.page-header {
  padding: calc(var(--header-h) + 80px) 0 clamp(64px, 8vw, 100px);
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.72) 100%
  );
  z-index: -1;
}

.page-header .wrap { position: relative; z-index: 1; }

.page-header .eyebrow {
  color: var(--champagne);
  margin-bottom: 20px;
}

.page-header .eyebrow::before { background: var(--gold-light); }

.page-header h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
}

.breadcrumb {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--white); }

/* -------- Filter bar -------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.filter-pill {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--charcoal-mid);
  background: transparent;
  transition: all 0.35s var(--ease-out);
}

.filter-pill.active,
.filter-pill:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--cream);
}

/* -------- Team -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.team-media {
  aspect-ratio: 3 / 4;
  height: auto;
  overflow: hidden;
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}

.team-card:hover .team-media img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-body {
  padding: clamp(24px, 3vw, 32px);
}

.team-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.team-body p.bio {
  color: var(--charcoal-mid);
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.7;
}

/* -------- About page -------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: clamp(48px, 6vw, 80px) 0;
}

.stat-item {
  padding: clamp(32px, 4vw, 44px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
}

.stat-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.value-item {
  background: var(--surface);
  padding: clamp(36px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: box-shadow var(--duration) var(--ease-out);
}

.value-item:hover { box-shadow: var(--shadow-md); }

.value-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.value-item p {
  color: var(--charcoal-mid);
  font-size: 16px;
  line-height: 1.75;
}

/* -------- Contact page -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
}

.contact-info-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-item:first-child { padding-top: 0; }

.contact-info-item h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--charcoal-mid);
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s;
}

.contact-info-item a:hover { color: var(--black); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--black);
  padding: 15px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 107, 0.12);
}

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

.map-embed {
  height: 100%;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  width: 100%;
  overflow: hidden;
}

/* -------- Blog listing -------- */
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px);
}

.blog-listing-grid .blog-media {
  height: clamp(220px, 24vw, 280px);
}

/* -------- Responsive -------- */
@media (max-width: 1100px) {
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split img, .split .img-reveal { height: clamp(280px, 60vw, 420px); }
  .feature-list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100dvh;
    width: min(85%, 340px);
    background: var(--white);
    padding: calc(var(--header-h) + 40px) 40px 40px;
    transition: right 0.5s var(--ease-out);
    border-left: 1px solid var(--line);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  nav.main-nav.open { right: 0; }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  nav.main-nav a { font-size: 15px; }

  .nav-toggle { display: flex; z-index: 1001; }

  .header-phone { display: none; }

  .header-cta .btn { display: none; }

  .prop-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .blog-listing-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(36px, 9vw, 52px); }

  .dev-strip div { min-width: 120px; padding: 16px 20px; }

  .footer-bottom { flex-direction: column; gap: 8px; }

  .hero-scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track { animation: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}