/* ─────────────────────────────────────────────────────────────────
   AURAIA — LUXURY REAL ESTATE
   Design System & Global Styles
   ────────────────────────────────────────────────────────────────── */

/* ─── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  /* Colors */
  --ink:          #0A0A0A;
  --paper:        #FAFAFA;
  --surface:      #F3F2F0;
  --accent:       #8B7355;
  --accent-hover: #A08A6C;
  --accent-light: rgba(139, 115, 85, 0.12);
  --muted:        #6B6B6B;
  --border:       rgba(10, 10, 10, 0.1);
  --dark-bg:      #0D0D0D;
  --dark-surface: #161616;
  --dark-text:    #E8E4DD;
  --dark-muted:   rgba(232, 228, 221, 0.55);

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py:     clamp(5rem, 10vw, 9rem);
  --container-max:  1380px;
  --container-px:   clamp(1.5rem, 5vw, 4rem);
  --nav-h:          72px;

  /* Radius */
  --radius-card:    12px;
  --radius-pill:    999px;
  --radius-sm:      6px;

  /* Shadows */
  --shadow-card:    0 2px 32px rgba(10, 10, 10, 0.08), 0 1px 4px rgba(10, 10, 10, 0.04);
  --shadow-hover:   0 8px 48px rgba(10, 10, 10, 0.14), 0 2px 8px rgba(10, 10, 10, 0.06);

  /* Easing */
  --ease-smooth:    cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET & BASE ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }
blockquote { font-style: normal; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── LAYOUT UTILITIES ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  position: relative;
  padding-block: var(--section-py);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
.section-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: var(--accent);
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn--lg {
  padding: 0.9rem 2.2rem;
  font-size: 0.9rem;
}

.btn--sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.8rem;
}

.btn--bronze {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn--bronze:hover, .btn--bronze:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.35);
}
.btn--bronze:active { transform: translateY(0) scale(0.98); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--paper);
}
.btn--light:hover, .btn--light:focus-visible {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn__arrow {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-smooth);
}
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

/* ─── SECTION HEADERS ────────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header--left { text-align: left; }
.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────────── */
/* Elements are visible by default; JS applies hide-then-reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(32px);
}
.js-loaded .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .js-loaded .reveal, .js-loaded .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ─── NAVIGATION ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--container-px);
  transition: background 0.5s var(--ease-smooth), backdrop-filter 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--container-max);
  margin-inline: auto;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem 0.75rem 1.75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 24px rgba(0,0,0,0.18);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover, .nav-links a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-cta { flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s var(--ease-smooth), opacity 0.3s;
  transform-origin: center;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  color: var(--dark-text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
  display: block;
  padding: 0.3rem 1rem;
}
.mobile-link:hover { color: var(--accent); }
.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

.mobile-menu__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger-line--x1 { transform: rotate(45deg) translateY(4px); }
.hamburger-line--x2 { transform: rotate(-45deg) translateY(-4px); }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  transform-origin: center;
  will-change: transform;
  animation: heroDrift 25s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.08) translate(-1%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes heroDrift {
    from, to { transform: scale(1); }
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-px) clamp(4rem, 8vw, 7rem);
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
  animation: heroFadeUp 1.2s var(--ease-out) 0.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; }
}

.hero__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 12ch;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 32px rgba(0,0,0,0.3);
}

.hero__sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero__cta { }

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: var(--container-px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: heroFadeUp 1.2s var(--ease-out) 1s both;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero__scroll-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ─── FEATURED PROPERTIES ────────────────────────────────────────── */
.properties {
  background: var(--paper);
}

.properties__grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 1.25rem;
}

.property-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
  cursor: pointer;
}
.property-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.property-card__media {
  position: relative;
  overflow: hidden;
}

.property-card--large .property-card__media { height: clamp(380px, 50vw, 580px); }
.property-card--small .property-card__media  { height: clamp(180px, 20vw, 250px); }

.property-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.property-card:hover .property-card__img { transform: scale(1.05); }

.property-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}
.property-card:hover .property-card__overlay { opacity: 1; }

.property-card__view-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
}

.property-card__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
}

.property-card__name {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.property-card__price {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  text-align: right;
  margin-bottom: 0.25rem;
}

.property-card__meta {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.properties__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.properties__side .property-card--small {
  flex: 1;
}

.properties__footer {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  justify-content: center;
}

/* ─── SEARCH SECTION ─────────────────────────────────────────────── */
.search {
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}

.search__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/search-cityscape.jpg');
  background-size: cover;
  background-position: center 40%;
}

.search__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.72) 100%
  );
}

.search__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.search__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.search__headline em {
  font-style: italic;
  color: var(--accent);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.25);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  max-width: 900px;
  margin-inline: auto;
  flex-wrap: nowrap;
}

.search-bar__field {
  flex: 1;
  padding: 0.5rem 0;
  min-width: 0;
}

.search-bar__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.2rem;
}

.search-bar__input,
.search-bar__select {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 300;
  width: 100%;
  -webkit-appearance: none;
}
.search-bar__input::placeholder { color: rgba(255,255,255,0.5); }
.search-bar__select option { background: var(--dark-bg); color: var(--dark-text); }

.search-bar__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin: 0 1rem;
}

.search-bar__submit {
  flex-shrink: 0;
  padding: 0.8rem 1.8rem;
}

.search__popular {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.search__popular-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.search__popular-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.search__tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.search__tag:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* ─── COLLECTIONS ────────────────────────────────────────────────── */
.collections {
  background: var(--dark-bg);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.collections__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-top: var(--section-py);
}

.collections__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark-text);
}

.collections__controls {
  display: flex;
  gap: 0.75rem;
}

.collections__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.collections__nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139, 115, 85, 0.08);
}

.collections__track-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-inline: var(--container-px);
  max-width: var(--container-max);
  margin-inline: auto;
  cursor: grab;
}
.collections__track-wrapper::-webkit-scrollbar { display: none; }
.collections__track-wrapper:active { cursor: grabbing; }

.collections__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-bottom: 0.5rem;
}

.collection-card {
  width: clamp(200px, 20vw, 280px);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.5s var(--ease-smooth);
}
.collection-card:hover { transform: scale(1.02) translateY(-4px); }

.collection-card__img {
  height: clamp(320px, 40vw, 480px);
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.collection-card:hover .collection-card__img { transform: scale(1.04); }

.collection-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.collection-card__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.collection-card__count {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* ─── EXPERIENCE ─────────────────────────────────────────────────── */
.experience {
  background: var(--surface);
}

.experience__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.experience__left {
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
}

.experience__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.experience__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.75;
}

.experience__right {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 4rem);
}

.experience-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.experience-item__num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.25rem;
}

.experience-item__img {
  height: 200px;
  border-radius: var(--radius-card);
  background-size: cover;
  background-position: center;
  margin-bottom: 1.25rem;
  transition: transform 0.6s var(--ease-smooth);
}
.experience-item:hover .experience-item__img { transform: scale(1.02); }

.experience-item__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.experience-item__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 55ch;
}

/* ─── STATISTICS ─────────────────────────────────────────────────── */
.stats {
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/stats-night-city.jpg');
  background-size: cover;
  background-position: center;
}

.stats__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.87);
}

.stats__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.stat {
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat:last-child { border-right: none; }

.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  color: var(--dark-text);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────── */
.testimonials {
  background: var(--paper);
  overflow: hidden;
}

.testimonials__inner {
  max-width: 1000px;
}

.testimonials__carousel { position: relative; }

.testimonial-slide {
  display: none;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.testimonial-slide.active { display: grid; }

.testimonial__quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  font-weight: 300;
  margin-bottom: -0.5rem;
}

.testimonial__text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.testimonial__cite {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.testimonial__portrait {
  position: relative;
}
.testimonial__portrait::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  opacity: 0.3;
}
.testimonial__portrait-img {
  height: clamp(280px, 35vw, 420px);
  border-radius: var(--radius-card);
  background-size: cover;
  background-position: center top;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.testimonials__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.testimonials__arrows {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
.testimonials__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}
.testimonials__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── INSIGHTS ───────────────────────────────────────────────────── */
.insights {
  background: var(--surface);
}

.insights__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
}

.insight-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.insight-card__link { display: block; }

.insight-card__media { overflow: hidden; }
.insight-card--large .insight-card__media { height: clamp(250px, 30vw, 380px); }
.insight-card--small .insight-card__media  { height: clamp(140px, 18vw, 200px); }

.insight-card__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.insight-card:hover .insight-card__img { transform: scale(1.05); }

.insight-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.insight-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

.insight-card__read {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}

.insight-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.3s;
}
.insight-card:hover .insight-card__title { color: var(--accent); }

.insights__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.insights__side .insight-card--small { flex: 1; }

/* ─── CTA SECTION ────────────────────────────────────────────────── */
.cta-section {
  padding-block: clamp(6rem, 12vw, 10rem);
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/cta-architecture.jpg');
  background-size: cover;
  background-position: center;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
}

.cta-section__sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding-top: clamp(4rem, 7vw, 6rem);
}

.footer__top-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent) 70%, transparent 100%);
  opacity: 0.35;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dark-text);
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.footer__logo:hover { color: var(--accent); }

.footer__tagline {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--dark-muted);
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.footer__desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--dark-muted);
  line-height: 1.75;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-muted);
  transition: border-color 0.3s, color 0.3s;
}
.footer__social:hover { border-color: var(--accent); color: var(--accent); }

.footer__nav-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(232, 228, 221, 0.7);
  padding: 0.3rem 0;
  transition: color 0.3s, padding-left 0.3s;
}
.footer__link:hover { color: var(--dark-text); padding-left: 0.4rem; }

.footer__newsletter-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--dark-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.3s;
}
.footer__input::placeholder { color: var(--dark-muted); }
.footer__input:focus { border-color: var(--accent); }

.footer__subscribe-btn { align-self: flex-start; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 1.5rem;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--dark-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal-link {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--dark-muted);
  transition: color 0.3s;
}
.footer__legal-link:hover { color: var(--dark-text); }

/* ─── FOCUS STYLES (Accessibility) ──────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }

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

  .experience__inner {
    grid-template-columns: 1fr;
  }
  .experience__left {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: clamp(3.5rem, 8vw, 6rem);
  }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0.6rem 1rem 0.6rem 1.25rem; }

  /* Hero */
  .hero__headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero__scroll-hint { display: none; }

  /* Properties */
  .properties__grid {
    grid-template-columns: 1fr;
  }
  .properties__side { flex-direction: row; }
  .properties__side .property-card--small { flex: 1; min-width: 0; }

  /* Search */
  .search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 1rem;
    gap: 0.75rem;
    align-items: stretch;
  }
  .search-bar__divider { display: none; }
  .search-bar__field { padding: 0; }
  .search-bar__submit { width: 100%; justify-content: center; border-radius: 10px; }

  /* Testimonials */
  .testimonial-slide {
    grid-template-columns: 1fr;
  }
  .testimonial__portrait { display: none; }

  /* Insights */
  .insights__grid {
    grid-template-columns: 1fr;
  }
  .insights__side { flex-direction: row; }
  .insights__side .insight-card--small { flex: 1; min-width: 0; }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Section header split */
  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .properties__side {
    flex-direction: column;
  }

  .insights__side {
    flex-direction: column;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .hero__headline { font-size: clamp(2.2rem, 11vw, 3rem); }
}
