/* =============================================
   AURUM — Residences of Distinction
   styles.css  ·  Green Pastel Edition
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

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

:root {
  /* Pastel green palette */
  --sage: #C8D5B9;
  /* soft sage — primary accent */
  --sage-light: #DDE8D0;
  /* pale mint for hover/glow */
  --sage-deep: #8FAF78;
  /* deeper sage for emphasis */
  --parchment: #F2F4EE;
  /* warm off-white background */
  --moss: #2D3B2A;
  /* deep forest green — replaces charcoal */
  --moss-mid: #3E5239;
  /* mid green for panels */
  --earth: #4A5240;
  /* muted green-grey text */
  --pale-text: #7A8C73;
  /* muted body copy */
  --dark-bg: #1A2118;
  /* near-black forest */
  --border: rgba(143, 175, 120, 0.28);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html {
  scroll-behavior: smooth;
  /* Hide scrollbar — Chrome/Safari/Edge */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge legacy */
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--parchment);
  color: var(--moss);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: default;
}

/* ── NAVIGATION ────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  transition: background .5s, padding .4s, border-color .5s;
}

nav.scrolled {
  background: rgba(242, 244, 238, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 60px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--parchment);
  text-decoration: none;
  transition: color .4s;
}

nav.scrolled .nav-logo {
  color: var(--moss);
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 244, 238, 0.78);
  text-decoration: none;
  transition: color .3s;
}

nav.scrolled .nav-links a {
  color: var(--pale-text);
}

.nav-links a:hover {
  color: var(--sage);
}

.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1.5px solid var(--sage);
  padding: 10px 24px;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.nav-cta:hover {
  background: var(--sage);
  color: var(--moss);
}

/* ── HERO ──────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(13, 20, 11, 0.88) 0%,
      rgba(13, 20, 11, 0.60) 50%,
      rgba(13, 20, 11, 0.25) 100%);
}

/* Full-width row container */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  gap: 40px;
}

/* LEFT */
.hero-content {
  flex: 1;
  max-width: 600px;
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 1.2s 0.4s forwards;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--parchment);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--sage-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(242, 244, 238, 0.68);
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 52px;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 220, 180, 0.4);
  padding-bottom: 6px;
  transition: color .3s, border-color .3s, gap .3s;
}

.hero-cta:hover {
  color: var(--sage);
  border-color: var(--sage);
  gap: 22px;
}

/* RIGHT */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s 0.75s forwards;
}

/* Glassmorphism residence card */
.hero-card {
  background: rgba(22, 32, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(143, 175, 120, 0.22);
  padding: 32px 36px;
  min-width: 300px;
  max-width: 340px;
}

.hero-card-label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.hero-card-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-card-loc {
  font-size: 0.72rem;
  color: var(--pale-text);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-card-divider {
  width: 100%;
  height: 1px;
  background: rgba(143, 175, 120, 0.2);
  margin-bottom: 24px;
}

.hero-card-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-card-stat {
  flex: 1;
}

.hero-card-val {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--sage-light);
  line-height: 1.2;
}

.hero-card-val span {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--pale-text);
  margin-left: 3px;
}

.hero-card-key {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pale-text);
  margin-top: 4px;
}

.hero-card-cta {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: color .3s, letter-spacing .3s;
}

.hero-card-cta:hover {
  color: var(--sage-light);
  letter-spacing: 0.28em;
}

/* Round badge */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(22, 32, 20, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(143, 175, 120, 0.2);
  padding: 16px 24px;
  align-self: flex-end;
}

.hero-badge-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--sage);
  line-height: 1;
}

.hero-badge-text {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pale-text);
  line-height: 1.6;
}

.hero-scroll {
  position: absolute;
  left: 60px;
  bottom: 44px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 220, 180, 0.38);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 64px;
  background: rgba(143, 175, 120, 0.35);
  animation: scrollLine 2.4s infinite;
}

/* ── SHARED UTILITIES ───────────────────────── */
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--sage-deep);
  flex-shrink: 0;
}

.gold-line {
  width: 1px;
  height: 80px;
  background: var(--sage);
  margin: 0 auto 40px;
  opacity: 0.45;
}

/* ── PHILOSOPHY ─────────────────────────────── */
#philosophy {
  padding: 140px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.phil-heading {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 3.8vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 32px;
  color: var(--moss);
}

.phil-heading em {
  font-style: italic;
  color: var(--sage-deep);
}

.phil-body {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--earth);
  max-width: 430px;
}

.phil-body p+p {
  margin-top: 20px;
}

.phil-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--sage-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pale-text);
  margin-top: 6px;
}

.phil-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.phil-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
  display: block;
}

.phil-image:hover img {
  transform: scale(1.04);
}

.phil-image-accent {
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 80px;
  height: 80px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  pointer-events: none;
}

/* ── FEATURED PROJECTS ──────────────────────── */
#projects {
  padding: 100px 0;
}

.projects-header {
  padding: 0 60px;
  margin-bottom: 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.projects-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 400;
  color: var(--moss);
}

.projects-link {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pale-text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}

.projects-link:hover {
  color: var(--sage-deep);
  border-color: var(--sage-deep);
}

.featured-project {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: 4px;
}

.featured-project.reverse {
  grid-template-columns: 40% 60%;
}

.featured-project.reverse .proj-img {
  order: 2;
}

.featured-project.reverse .proj-info {
  order: 1;
}

.proj-img {
  position: relative;
  overflow: hidden;
}

.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
  display: block;
}

.featured-project:hover .proj-img img {
  transform: scale(1.05);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 20, 11, 0.2), transparent);
  opacity: 0;
  transition: opacity .5s;
}

.featured-project.reverse .proj-overlay {
  background: linear-gradient(to left, rgba(13, 20, 11, 0.2), transparent);
}

.featured-project:hover .proj-overlay {
  opacity: 1;
}

.proj-info {
  background: var(--moss);
  padding: 68px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proj-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.proj-name {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.15;
  margin-bottom: 12px;
}

.proj-location {
  font-size: 0.78rem;
  color: var(--pale-text);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.proj-location::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--pale-text);
  flex-shrink: 0;
}

.proj-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(242, 244, 238, 0.55);
  margin-bottom: 40px;
}

.proj-details {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(143, 175, 120, 0.18);
}

.proj-detail-val {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--sage-light);
}

.proj-detail-key {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pale-text);
  margin-top: 4px;
}

.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: gap .3s;
}

.proj-cta:hover {
  gap: 18px;
}

/* ── BROWSE / FILTER ────────────────────────── */
#browse {
  padding: 120px 60px;
  background: var(--moss);
}

.browse-header {
  margin-bottom: 52px;
}

.browse-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 10px;
}

.browse-sub {
  font-size: 0.92rem;
  color: var(--pale-text);
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1.5px solid rgba(143, 175, 120, 0.22);
  background: transparent;
  color: var(--pale-text);
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--sage);
  color: var(--sage);
  background: rgba(143, 175, 120, 0.08);
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.browse-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}

.browse-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  display: block;
}

.browse-card:hover img {
  transform: scale(1.07);
}

.browse-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 20, 11, 0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background .4s;
}

.browse-card:hover .browse-card-overlay {
  background: linear-gradient(to top, rgba(13, 20, 11, 0.95) 0%, rgba(13, 20, 11, 0.22) 70%);
}

.bc-tag {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.bc-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--parchment);
}

.bc-loc {
  font-size: 0.72rem;
  color: rgba(242, 244, 238, 0.48);
  margin-top: 4px;
}

.bc-price {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--sage-light);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s .05s, transform .3s .05s;
}

.browse-card:hover .bc-price {
  opacity: 1;
  transform: translateY(0);
}

/* ── LIFESTYLE ───────────────────────────────── */
#lifestyle {
  padding: 140px 0;
}

.lifestyle-intro {
  padding: 0 60px;
  margin-bottom: 72px;
}

.lifestyle-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--moss);
}

.lifestyle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  margin-bottom: 3px;
}

.lifestyle-row.text-left .ls-text {
  order: 1;
}

.lifestyle-row.text-left .ls-img {
  order: 2;
}

.ls-img {
  position: relative;
  overflow: hidden;
}

.ls-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
  display: block;
}

.ls-img:hover img {
  transform: scale(1.04);
}

.ls-text {
  padding: 80px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--parchment);
}

.ls-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 24px;
  color: var(--moss);
}

.ls-heading em {
  font-style: italic;
  color: var(--sage-deep);
}

.ls-body {
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--earth);
  max-width: 390px;
}

/* ── TESTIMONIALS ───────────────────────────── */
#testimonials {
  padding: 140px 60px;
  text-align: center;
  background-color: var(--moss-mid);
  position: relative;
  overflow: hidden;
}

/* subtle leaf texture via pseudo radial */
#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(143, 175, 120, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-inner {
  position: relative;
  z-index: 1;
}

.testi-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--parchment);
  max-width: 800px;
  margin: 0 auto 36px;
  transition: opacity .4s;
}

.testi-author {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  transition: opacity .4s;
}

.testi-role {
  font-size: 0.78rem;
  color: var(--pale-text);
  margin-top: 6px;
  transition: opacity .4s;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--sage);
  cursor: pointer;
  transition: background .3s;
}

.testi-dot.active {
  background: var(--sage);
}

/* ── GALLERY ────────────────────────────────── */
#gallery {
  padding: 100px 60px;
  background: var(--parchment);
}

.gallery-header {
  margin-bottom: 56px;
}

.gallery-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  color: var(--moss);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.gal-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  display: block;
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-item:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: 1;
  aspect-ratio: 16 / 9;
}

.gal-item:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1;
  aspect-ratio: 4 / 3;
}

.gal-item:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 2;
  aspect-ratio: 4 / 5;
}

.gal-item:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2;
  aspect-ratio: 4 / 5;
}

.gal-item:nth-child(5) {
  grid-column: 9 / 13;
  grid-row: 2;
  aspect-ratio: 4 / 5;
}

/* ── CTA ────────────────────────────────────── */
#cta {
  padding: 140px 60px;
  background: var(--dark-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 88px;
}

.cta-heading {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.08;
}

.cta-heading em {
  font-style: italic;
  color: var(--sage);
}

.cta-body {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(242, 244, 238, 0.52);
  margin-top: 24px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta-input {
  background: rgba(200, 213, 185, 0.06);
  border: 1px solid rgba(143, 175, 120, 0.22);
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--parchment);
  width: 100%;
  outline: none;
  transition: border-color .3s;
}

.cta-input::placeholder {
  color: rgba(242, 244, 238, 0.28);
}

.cta-input:focus {
  border-color: var(--sage);
}

.cta-select {
  background: rgba(200, 213, 185, 0.06);
  border: 1px solid rgba(143, 175, 120, 0.22);
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(242, 244, 238, 0.45);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .3s;
}

.cta-select:focus {
  border-color: var(--sage);
}

.cta-select option {
  background: var(--moss);
  color: var(--parchment);
}

.cta-btn {
  background: var(--sage-deep);
  border: none;
  padding: 18px 40px;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment);
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
  transition: background .3s, transform .2s;
}

.cta-btn:hover {
  background: var(--sage);
  color: var(--moss);
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--dark-bg);
  padding: 80px 60px 40px;
  border-top: 1px solid rgba(143, 175, 120, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--parchment);
  display: block;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.86rem;
  line-height: 1.88;
  color: var(--pale-text);
  max-width: 290px;
}

.footer-col-title {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--pale-text);
  text-decoration: none;
  transition: color .3s;
}

.footer-links a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(143, 175, 120, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.74rem;
  color: rgba(122, 140, 115, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.74rem;
  color: rgba(122, 140, 115, 0.5);
  text-decoration: none;
  transition: color .3s;
}

.footer-legal a:hover {
  color: var(--sage);
}

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  49% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.30s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* =============================================
   RESPONSIVE — Mobile & Tablet
   ============================================= */

.nav-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(242, 244, 238, 0.55);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
}

.nav-drawer-close:hover {
  color: var(--sage);
}

/* ── HAMBURGER BUTTON ───────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--parchment);
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.4s;
}

nav.scrolled .nav-hamburger span {
  background: var(--moss);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE DRAWER ──────────────────────────── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--dark-bg);
  border-left: 1px solid var(--border);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 100px 40px 60px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer .nav-links {
  flex-direction: column;
  gap: 0;
}

.nav-drawer .nav-links li {
  border-bottom: 1px solid rgba(143, 175, 120, 0.12);
}

.nav-drawer .nav-links a {
  display: block;
  padding: 18px 0;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(242, 244, 238, 0.65);
}

.nav-drawer .nav-links a:hover {
  color: var(--sage);
}

.nav-drawer .nav-cta {
  margin-top: 40px;
  text-align: center;
  padding: 14px 24px;
  color: var(--sage);
  border: 1.5px solid var(--sage);
}

/* Scrim behind drawer */
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 20, 11, 0.55);
  z-index: 140;
  backdrop-filter: blur(2px);
}

.nav-scrim.open {
  display: block;
}

/* ── TABLET  (≤ 1024px) ─────────────────────── */
@media (max-width: 1024px) {
  nav {
    padding: 22px 40px;
  }

  nav.scrolled {
    padding: 14px 40px;
  }

  .hero-inner {
    padding: 0 40px;
    gap: 28px;
  }

  .hero-card {
    min-width: 260px;
    max-width: 290px;
    padding: 24px 28px;
  }

  #philosophy {
    padding: 100px 40px;
    gap: 56px;
  }

  .proj-info {
    padding: 52px 40px;
  }

  #browse {
    padding: 100px 40px;
  }

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

  #lifestyle {
    padding: 100px 0;
  }

  .lifestyle-intro {
    padding: 0 40px;
  }

  .ls-text {
    padding: 60px 48px;
  }

  #testimonials {
    padding: 100px 40px;
  }

  #gallery {
    padding: 80px 40px;
  }

  #cta {
    padding: 100px 40px;
    gap: 56px;
  }

  footer {
    padding: 72px 40px 36px;
  }
}

/* ── MOBILE (≤ 768px) ───────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  nav {
    padding: 20px 24px;
  }

  nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links,
  nav>.nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero: stack vertically, clear fixed nav */
  #hero {
    align-items: flex-start;
    height: auto;
    min-height: 100svh;
    padding-bottom: 56px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    gap: 32px;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 36px;
    max-width: 100%;
  }

  .hero-right {
    width: 100%;
    align-items: flex-start;
  }

  .hero-card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 24px;
  }

  .hero-badge {
    align-self: flex-start;
  }

  .hero-scroll {
    display: none;
  }

  /* Philosophy */
  #philosophy {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 48px;
  }

  .phil-image {
    aspect-ratio: 4 / 3;
    order: -1;
  }

  .phil-body {
    max-width: 100%;
  }

  .phil-stats {
    gap: 28px;
    justify-content: center;
    text-align: center;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  /* Projects */
  #projects {
    padding: 72px 0;
  }

  .projects-header {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
  }

  .featured-project,
  .featured-project.reverse {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .featured-project .proj-img,
  .featured-project.reverse .proj-img {
    order: 1;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .featured-project .proj-info,
  .featured-project.reverse .proj-info {
    order: 2;
    padding: 40px 24px;
  }

  .proj-name {
    font-size: 2rem;
  }

  .proj-details {
    gap: 20px;
    flex-wrap: wrap;
  }

  /* Browse */
  #browse {
    padding: 80px 24px;
  }

  .browse-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }

  /* Lifestyle */
  #lifestyle {
    padding: 80px 0;
  }

  .lifestyle-intro {
    padding: 0 24px;
    margin-bottom: 48px;
  }

  .lifestyle-row,
  .lifestyle-row.text-left {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .lifestyle-row .ls-img,
  .lifestyle-row.text-left .ls-img {
    order: 1;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .lifestyle-row .ls-text,
  .lifestyle-row.text-left .ls-text {
    order: 2;
    padding: 48px 24px;
  }

  .ls-body {
    max-width: 100%;
  }

  /* Testimonials */
  #testimonials {
    padding: 80px 24px;
  }

  .testi-quote {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  /* Gallery: single column */
  #gallery {
    padding: 72px 24px;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .gal-item {
    grid-column: unset !important;
    grid-row: unset !important;
    aspect-ratio: 16 / 9;
  }

  /* CTA */
  #cta {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 48px;
  }

  .cta-btn {
    align-self: stretch;
    text-align: center;
  }

  /* Footer */
  footer {
    padding: 60px 24px 32px;
    text-align: center;
  }

  .footer-tagline {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-links {
    align-items: center;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ── SMALL MOBILE (≤ 480px) ─────────────────── */
@media (max-width: 480px) {
  .hero-card-stats {
    gap: 12px;
  }

  .browse-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .phil-stats {
    flex-direction: column;
    gap: 20px;
  }
}