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

/* ── Custom Properties ── */
:root {
  --dark:        #0e0c0a;
  --dark-alt:    #1a1714;
  --dark-card:   #221e1a;
  --stone:       #f2ede3;
  --linen:       #e8e1d4;
  --brass:       #9e7c3c;
  --brass-light: #c09a58;
  --on-dark:     #cdc5b5;
  --muted-dark:  #7a7060;
  --on-light:    #1e1a14;
  --muted-light: #6a6254;
  --border-dark: #2e2924;
  --border-light:#d4ccbe;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Lato', system-ui, sans-serif;
  --max:         1280px;
  --ease:        cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--dark); color: var(--on-dark); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
}
.label-light { color: var(--brass-light); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 80px;
  background: rgba(14,12,10,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.4); }

.nav-brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--stone);
  white-space: nowrap;
}
.nav-brand span { color: var(--brass-light); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  transition: color .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--stone); }
.nav-links .nav-cta {
  padding: .55rem 1.4rem;
  border: 1px solid var(--brass);
  color: var(--brass-light);
  border-radius: 2px;
  transition: background .3s, color .3s;
}
.nav-links .nav-cta:hover { background: var(--brass); color: var(--dark); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--on-dark);
  transition: all .3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--stone);
  letter-spacing: .04em;
}
.nav-mobile a:hover { color: var(--brass-light); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 2.5rem 7rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,.92) 0%, rgba(10,8,6,.5) 50%, rgba(10,8,6,.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-content .label { margin-bottom: 1.6rem; }
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.1;
  margin-bottom: 1.6rem;
}
.hero h1 em { font-style: italic; color: var(--brass-light); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--on-dark);
  max-width: 560px;
  margin-bottom: 2.8rem;
  font-weight: 300;
  line-height: 1.85;
}
.btn {
  display: inline-block;
  padding: .85rem 2.4rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--brass);
  color: var(--dark);
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background .3s, transform .2s;
}
.btn:hover { background: var(--brass-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--muted-dark);
}
.btn-outline:hover { border-color: var(--stone); color: var(--stone); background: transparent; transform: translateY(-1px); }

/* ── Sections ── */
section { padding: 7rem 2.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-dark  { background: var(--dark); }
.section-dark2 { background: var(--dark-alt); }
.section-light { background: var(--stone); color: var(--on-light); }
.section-linen { background: var(--linen); color: var(--on-light); }

/* ── Section Headers ── */
.section-header { margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  margin-top: .8rem;
}
.section-header p {
  margin-top: 1.2rem;
  max-width: 600px;
  font-size: .97rem;
  line-height: 1.9;
}
.section-light .section-header p,
.section-linen .section-header p { color: var(--muted-light); }
.section-dark .section-header p,
.section-dark2 .section-header p { color: var(--muted-dark); }

/* ── Promise / Editorial ── */
.editorial { max-width: 760px; }
.editorial p {
  font-size: 1.08rem;
  line-height: 2.0;
  margin-bottom: 1.6rem;
  color: var(--muted-light);
}
.editorial p.lead {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--on-light);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}
.service-card {
  background: var(--dark-alt);
  padding: 2.8rem 2.4rem;
  transition: background .3s;
  cursor: default;
}
.service-card:hover { background: var(--dark-card); }
.service-icon {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--brass);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: .8rem;
  color: var(--stone);
}
.service-card p {
  font-size: .9rem;
  line-height: 1.85;
  color: var(--muted-dark);
}

/* ── Services Full (services page) ── */
.services-category {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.section-light .services-category { border-color: var(--border-light); }
.services-category:last-child { border-bottom: none; }
.services-category h3 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 2rem;
}
.section-light .services-category h3 { color: var(--on-light); }
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.service-item h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: .5rem;
}
.section-light .service-item h4 { color: var(--on-light); }
.section-light .service-item p { color: var(--muted-light); }
.service-item h4::before {
  content: '—';
  color: var(--brass);
  margin-right: .6rem;
}
.service-item p { font-size: .9rem; line-height: 1.85; color: var(--muted-dark); }

/* ── Portfolio Grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.property-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.property-card.tall { aspect-ratio: 3/4; }
.property-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .4s;
}
.property-card:hover img { transform: scale(1.06); filter: brightness(.7); }
.property-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transform: translateY(0);
  transition: background .4s;
}
.property-card:hover .property-card-overlay { background: linear-gradient(to top, rgba(10,8,6,.95) 0%, rgba(10,8,6,.4) 100%); }
.property-card-body { transform: translateY(8px); transition: transform .4s var(--ease); }
.property-card:hover .property-card-body { transform: translateY(0); }
.property-card h3 { font-size: 1.2rem; color: var(--stone); margin-bottom: .3rem; }
.property-card .prop-meta { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-light); margin-bottom: .7rem; }
.property-card .prop-desc {
  font-size: .87rem;
  color: var(--on-dark);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.property-card:hover .prop-desc { max-height: 120px; }

/* ── Portfolio full page cards ── */
.portfolio-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.portfolio-full-card { background: var(--dark-card); border: 1px solid var(--border-dark); overflow: hidden; }
.portfolio-full-card img { width: 100%; height: 280px; object-fit: cover; filter: brightness(.9); transition: filter .4s; }
.portfolio-full-card:hover img { filter: brightness(1); }
.portfolio-full-body { padding: 2rem 2.2rem 2.4rem; }
.portfolio-full-body .prop-meta { margin-bottom: .7rem; }
.portfolio-full-body h3 { font-size: 1.5rem; color: var(--stone); margin-bottom: 1rem; }
.portfolio-full-body p { font-size: .9rem; line-height: 1.85; color: var(--muted-dark); }
.portfolio-full-body .services-tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.services-tags span {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--border-dark);
  padding: .3rem .8rem;
  border-radius: 2px;
}

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial {
  background: var(--dark-alt);
  padding: 3rem 2.6rem;
  border-left: none;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--on-dark);
  margin-bottom: 1.8rem;
}
.testimonial-text::before { content: '\201C'; color: var(--brass); font-size: 2rem; line-height: 0; vertical-align: -.4rem; margin-right: .3rem; }
.testimonial-attr { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.testimonial-attr strong { color: var(--brass-light); display: block; margin-bottom: .2rem; font-weight: 400; }

/* ── About / Team ── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-member img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(.3); margin-bottom: 1.2rem; }
.team-member h4 { font-size: 1.1rem; color: var(--stone); margin-bottom: .2rem; }
.team-member .role { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .8rem; }
.team-member p { font-size: .87rem; line-height: 1.8; color: var(--muted-dark); }

/* ── Stats Row ── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); margin: 4rem 0; }
.stat-item { background: var(--dark-alt); padding: 2.5rem 2rem; text-align: center; }
.stat-item .stat-num { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: var(--stone); line-height: 1; }
.stat-item .stat-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-top: .6rem; }

/* ── CTA Banner ── */
.cta-banner { text-align: center; padding: 7rem 2.5rem; background: var(--dark-alt); }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: var(--stone); max-width: 620px; margin: 0 auto 1.2rem; }
.cta-banner p { color: var(--muted-dark); max-width: 500px; margin: 0 auto 2.5rem; font-size: .95rem; line-height: 1.85; }
.cta-btn-row { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 10rem 2.5rem 6rem;
  background: var(--dark-alt);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border-dark);
}
.page-hero .label { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 300; color: var(--stone); max-width: 700px; line-height: 1.12; }
.page-hero p { margin-top: 1.4rem; color: var(--muted-dark); max-width: 600px; font-size: 1rem; line-height: 1.85; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info h3 { font-size: 1.6rem; color: var(--stone); margin-bottom: 1.2rem; }
.contact-info p { font-size: .93rem; line-height: 1.9; color: var(--muted-dark); margin-bottom: 2rem; }
.contact-detail { margin-bottom: 1.2rem; }
.contact-detail .cd-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: .3rem; }
.contact-detail a, .contact-detail p { font-size: .95rem; color: var(--on-dark); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group label {
  display: block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: .5rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--dark-alt);
  border: 1px solid var(--border-dark);
  color: var(--on-dark);
  padding: .9rem 1.1rem;
  font-family: var(--sans);
  font-size: .9rem;
  border-radius: 2px;
  transition: border-color .3s;
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--muted-dark); line-height: 1.7; margin-top: .5rem; }
.form-success { display: none; background: rgba(158,124,60,.15); border: 1px solid var(--brass); padding: 1.2rem 1.6rem; font-size: .9rem; color: var(--brass-light); border-radius: 2px; }

/* ── Footer ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 2.5rem 2.5rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand p { font-size: .88rem; line-height: 1.85; color: var(--muted-dark); margin-top: .9rem; max-width: 280px; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2rem;
}
.footer-col li { margin-bottom: .65rem; }
.footer-col a { font-size: .87rem; color: var(--muted-dark); transition: color .3s; }
.footer-col a:hover { color: var(--stone); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: var(--muted-dark); }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border-dark); margin: 0; }
.divider-light { border-color: var(--border-light); }

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Two-col layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: .8rem; }
.breadcrumb a { color: var(--brass); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col img { max-height: 400px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 0 1.5rem 5rem; }
  section { padding: 5rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 4.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-btn-row { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
