/* ===========================
   ALICIA TODD — STYLESHEET
   =========================== */

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

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

:root {
  --cream:      #F7F3EE;
  --white:      #FFFFFF;
  --charcoal:   #1A1A1A;
  --navy:       #0C1B2A;
  --gold:       #9E8056;
  --gold-lt:    #C4AA82;
  --gold-pale:  #EDE3D6;
  --sand:       #E8E1D9;
  --mid:        #6B6460;
  --light:      #D8D2CB;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2.5rem; }
.section    { padding: 6rem 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--white); }

.divider        { width: 36px; height: 1px; background: var(--gold); margin: 1.2rem 0 2rem; }
.divider--center{ margin-left: auto; margin-right: auto; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 200;
  padding: 1.6rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(247, 243, 238, 0.97);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 var(--light);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color 0.3s;
  position: relative;
  z-index: 201;
}
.nav__logo span { color: var(--gold-lt); }
.nav.scrolled .nav__logo { color: var(--charcoal); }

.nav__links {
  display: flex;
  gap: 3rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold-lt); }
.nav.scrolled .nav__links a { color: var(--mid); }
.nav.scrolled .nav__links a:hover,
.nav.scrolled .nav__links a.active { color: var(--gold); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  position: relative;
  z-index: 201;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.nav.scrolled .nav__toggle span { background: var(--charcoal); }
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile full-screen menu */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.nav__overlay.open { display: flex; }
.nav__overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav__overlay a:hover { color: var(--gold-lt); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(155deg, #0C1B2A 0%, #15324A 35%, #1A3830 65%, #162B24 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 7rem;
}

/* Subtle animated gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(158,128,86,0.12) 0%, transparent 70%);
}

/* Decorative lines */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(196,170,130,0.3), transparent);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__content h1 {
  color: var(--white);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero__content h1 em {
  font-style: normal;
  color: var(--gold-lt);
}
.hero__lead {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 2.8rem;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero__scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(196,170,130,0.6), transparent);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(196,170,130,0.6);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn:hover { background: rgba(158,128,86,0.2); border-color: var(--gold-lt); }
.btn--solid { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--solid:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn--dark { border-color: var(--charcoal); color: var(--charcoal); }
.btn--dark:hover { background: var(--charcoal); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ===========================
   STATS STRIP
   =========================== */
.stats-strip {
  background: var(--charcoal);
  padding: 0;
}
.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--gold-lt);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ===========================
   TWO-COL GRID
   =========================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.grid-2--flip { direction: rtl; }
.grid-2--flip > * { direction: ltr; }

/* ===========================
   PORTRAITS / IMAGE BLOCKS
   =========================== */
.portrait-wrap {
  position: relative;
}
.portrait-wrap::before {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 70%;
  height: 70%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: 0;
}
.portrait {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--sand);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portrait:hover img { transform: scale(1.03); }
.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #E8E0D5 0%, #D4CCBF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.portrait-placeholder__initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.portrait-placeholder__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ===========================
   BIO / TEXT BLOCKS
   =========================== */
.bio p {
  color: var(--mid);
  margin-bottom: 1.4rem;
  font-size: 1.01rem;
  line-height: 1.85;
}
.bio p:last-of-type { margin-bottom: 0; }

/* ===========================
   NEIGHBOURHOOD GRID
   =========================== */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light);
  border: 1px solid var(--light);
}
.area {
  background: var(--cream);
  padding: 2rem 1.5rem;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}
.area:hover {
  background: var(--charcoal);
}
.area:hover .area__name { color: var(--white); }
.area:hover .area__desc { color: rgba(255,255,255,0.5); }
.area__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.area__desc {
  font-size: 0.78rem;
  color: var(--mid);
  line-height: 1.6;
  transition: color 0.2s;
}

/* ===========================
   FEATURE CARDS
   =========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  padding: 2.8rem 2.2rem;
  background: var(--white);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.8rem; }
.card p { font-size: 0.92rem; color: var(--mid); line-height: 1.75; }

/* ===========================
   TESTIMONIAL / QUOTE
   =========================== */
.quote-section {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-section cite {
  display: block;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-top: 2rem;
  text-align: center;
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  padding: 12rem 0 6rem;
  background: linear-gradient(155deg, #0C1B2A 0%, #15324A 50%, #1A3830 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,170,130,0.3), transparent);
}
.page-hero h1 { color: var(--white); font-style: italic; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 500px; font-size: 1rem; }
.page-hero--center { text-align: center; }
.page-hero--center p { margin: 0 auto; }

/* ===========================
   LISTINGS
   =========================== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.listing-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.listing-card:hover { transform: translateY(-4px); }
.listing-card__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #E0D9D0, #CCC5BB);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card__img-placeholder {
  text-align: center;
  color: var(--mid);
}
.listing-card__img-placeholder span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  display: block;
  margin-bottom: 0.3rem;
}
.listing-card__img-placeholder small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}
.listing-card__body { padding: 1.8rem; }
.listing-card__tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.listing-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.listing-card__address { font-size: 0.88rem; color: var(--mid); margin-bottom: 0.8rem; }
.listing-card__details {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  padding-top: 0.8rem;
  border-top: 1px solid var(--sand);
}

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
.contact-detail { margin-bottom: 2rem; }
.contact-detail__label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-detail__value { font-size: 0.97rem; color: var(--charcoal); line-height: 1.6; }
.contact-detail__value a { color: var(--mid); transition: color 0.2s; }
.contact-detail__value a:hover { color: var(--gold); }

.form-group { margin-bottom: 1.6rem; }
.form-group label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--light);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  padding: 7rem 0;
  background: var(--charcoal);
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-style: italic; margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.5); margin-bottom: 2.5rem; max-width: 440px; margin-left: auto; margin-right: auto; }

/* ===========================
   TEAM DIVIDER
   =========================== */
.team-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.team-divider::before,
.team-divider::after { content: ''; flex: 1; height: 1px; background: var(--light); }
.team-divider span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--mid);
  white-space: nowrap;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.4);
  padding: 4rem 0 2.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.footer__logo span { color: var(--gold-lt); }
.footer__tagline { font-size: 0.82rem; line-height: 1.7; }

.footer__col-title {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.2rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold-lt); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}
.footer__bottom a { color: var(--gold-lt); }

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-2--flip { direction: ltr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .listings-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .stats-strip__inner { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .portrait-wrap::before { display: none; }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 640px) {
  .container { padding: 0 1.4rem; }
  .section { padding: 4rem 0; }

  /* Show hamburger, hide desktop links */
  .nav__toggle { display: flex; }
  .nav__links { display: none; }

  .hero { padding-bottom: 5rem; align-items: center; text-align: left; }
  .hero__scroll { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }

  .stats-strip__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 2rem 1.5rem; }
  .stat:last-child { border-bottom: none; }

  .areas { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero { padding: 9rem 0 4rem; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .quote-section { padding: 5rem 0; }
  .quote-section::before { font-size: 10rem; }

  h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
}

@media (max-width: 380px) {
  .areas { grid-template-columns: 1fr; }
}
