@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

/* ===== Tokens ===== */
:root {
  --cream: #ece8dd;
  --paper: #f7f5ef;
  --sage:  #cdcfc6;
  --olive: #555c49;
  --khaki: #9a9a81;
  --ink:   #33352c;
  --line:  rgba(85,92,73,0.14);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* ===== Layout ===== */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
section { padding: 68px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; border-color: var(--olive); color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: var(--cream); }

/* ===== Nav ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}
.site-nav.scrolled .nav-logo { color: var(--olive); }
.site-nav.scrolled .nav-links a { color: var(--ink); }
.site-nav.scrolled .nav-links a:hover { color: var(--olive); }
.site-nav.scrolled .btn-nav { background: var(--olive); color: var(--cream); border-color: var(--olive); }

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.site-nav.scrolled .nav-logo-img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(12%) saturate(600%) hue-rotate(60deg);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
  margin-top: 2px;
}
.site-nav.scrolled .nav-logo { color: var(--olive); }
.site-nav.scrolled .nav-logo-text em { color: var(--khaki); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.btn-nav {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nav:hover { background: rgba(255,255,255,0.12); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.2s;
}
.site-nav.scrolled .nav-toggle span { background: var(--ink); }

/* Mobile menu open state - dark background, light text */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 82px;
  left: 0; right: 0;
  background: var(--ink) !important;
  padding: 28px 32px 36px;
  gap: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 99;
}
.nav-links.mobile-open a {
  color: var(--cream) !important;
  font-size: 16px !important;
  font-weight: 500;
}
.nav-links.mobile-open a:hover { color: var(--sage) !important; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 60vh;
  min-height: 460px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51,53,44,0.1) 0%, rgba(51,53,44,0) 30%, rgba(51,53,44,0.72) 100%);
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  padding: 0 32px 52px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(44px, 7.5vw, 92px);
  color: #fff;
  max-width: 13ch;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  max-width: 40ch;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Topo divider ===== */
.topo {
  display: block;
  width: 100%;
  height: 44px;
}
.topo path { fill: none; stroke-width: 1; opacity: 0.4; }

/* ===== Section headers ===== */
.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--khaki);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); color: var(--olive); }
.section-head p { margin-top: 14px; color: #6b6f5e; font-size: 15px; max-width: 48ch; }
.section-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ===== About section ===== */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
}
.about-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--olive);
  color: var(--cream);
  padding: 18px 24px;
  border-radius: 2px;
  line-height: 1.3;
}
.about-badge strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
}
.about-badge span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}
.about-copy h2 { font-size: clamp(28px, 3.5vw, 42px); color: var(--olive); margin-bottom: 22px; }
.about-copy p { color: #5e6253; font-size: 16px; margin-bottom: 16px; line-height: 1.72; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.about-tag {
  border: 1px solid var(--khaki);
  color: var(--olive);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
}

/* ===== Areas ===== */
.areas { background: var(--cream); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.area-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: default;
  display: block;
  text-decoration: none;
}
.area-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.area-card:hover img { transform: scale(1.04); }
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(51,53,44,0.82) 100%);
}
.area-label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
  color: #fff;
}
.area-label .eyebrow { font-size: 10px; letter-spacing: 0.2em; opacity: 0.65; display: block; margin-bottom: 5px; }
.area-label h3 { font-family: 'Fraunces', serif; font-size: 20px; color: #fff; font-weight: 400; }

/* ===== Search section ===== */
.search-section { background: var(--paper); }
.idx-placeholder {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 80px 40px;
  text-align: center;
  color: var(--khaki);
}
.idx-placeholder h3 { font-family: 'Fraunces', serif; font-size: 28px; color: var(--olive); margin-bottom: 12px; }

/* ===== CTA strip ===== */
.cta-strip { background: var(--olive); text-align: center; }
.cta-strip h2 { font-size: clamp(32px, 4.5vw, 54px); color: var(--cream); margin-bottom: 16px; }
.cta-strip p { color: var(--sage); max-width: 46ch; margin: 0 auto 36px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--khaki); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(205,207,198,0.12);
  margin-bottom: 28px;
}
.footer-brand { font-family: 'Fraunces', serif; font-size: 22px; color: var(--cream); margin-bottom: 12px; }
.footer-grid > div > p { font-size: 14px; color: var(--khaki); max-width: 30ch; line-height: 1.65; }
.footer-col h4 {
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--khaki);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5e6050;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: 140px 0 72px;
  background: var(--olive);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); color: var(--cream); margin-bottom: 14px; }
.page-hero p { color: var(--sage); font-size: 17px; max-width: 46ch; }

/* ===== Contact form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.contact-info h3 { font-family: 'Fraunces', serif; font-size: 28px; color: var(--olive); margin-bottom: 18px; }
.contact-info p { color: #5e6253; font-size: 16px; margin-bottom: 14px; line-height: 1.7; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.contact-detail strong { color: var(--olive); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--khaki); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--olive);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-badge { position: static; display: inline-block; margin-top: 18px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid .area-card:nth-child(5) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section-split { flex-direction: column; align-items: flex-start; }
}

/* ===== Process sections ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.process-step {
  background: var(--cream);
  padding: 32px 28px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.process-step-light {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
.process-num {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  color: var(--sage);
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1;
}
.process-num-light {
  color: rgba(205,207,198,0.5);
}
.process-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 15px;
  color: #5e6253;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}
