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

/* ─── DESIGN SYSTEM ─────────────────────────────────────────── */
:root {
  --green:      #2C4A3E;
  --green-dark: #223b31;
  --white:      #F5F0E8;
  --navy:       #1E2B3A;
  --navy-light: #253445;
  --sand:       #C8B89A;
  --charcoal:   #4A5568;
  --brass:      #A8956A;
  --brass-line: rgba(168,149,106,0.35);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --section-desktop: 140px;
  --section-mobile:  88px;
  --text-max: 660px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 88px;
  background: rgba(22, 32, 44, 0.97);
  border-bottom: 0.5px solid rgba(168,149,106,0.12);
  backdrop-filter: blur(16px);
  transition: border-color 0.4s var(--ease);
}
.nav.scrolled { border-bottom-color: rgba(168,149,106,0.22); }
.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.nav-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  margin-top: 3px;
}
.nav-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.85);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 0.5px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-contact {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border: 0.5px solid rgba(168,149,106,0.6);
  padding: 11px 26px;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-contact:hover {
  background: rgba(168,149,106,0.12);
  border-color: var(--brass);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 0.5px;
  background: var(--white);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 88px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: rgba(44,74,62,0.06); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(245,240,232,0.5);
}
.btn-outline-white:hover { background: rgba(245,240,232,0.08); border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--white);
}
.display-dark { color: var(--navy); }
h1.display { font-size: clamp(48px, 7vw, 80px); }
h2.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--navy);
}
h2.section-title-light { color: var(--white); }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow-light { color: var(--sand); }
.body-copy {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
}
.body-copy-light { color: rgba(245,240,232,0.75); }
.brass-rule {
  width: 40px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-narrow {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 0 48px;
}
section { padding: var(--section-desktop) 0; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #0a0c0a;
  background-size: cover;
  background-position: center top;
}
.hero-bg-img { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,10,8,0.3) 0%,
    rgba(8,10,8,0.52) 50%,
    rgba(8,10,8,0.68) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
}
.hero-location {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  font-weight: 400;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 0.5px;
  height: 48px;
  background: var(--brass);
  opacity: 0.5;
}

/* ─── BRAND STATEMENT ────────────────────────────────────────── */
.brand-statement {
  background: var(--green);
  text-align: center;
  padding: 72px 0;
}
.brand-statement .container-narrow { text-align: center; }
.statement-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--white);
  letter-spacing: 0.005em;
}
.statement-text em {
  font-style: italic;
  color: var(--sand);
}
.statement-dividers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.statement-dividers p { max-width: 520px; }

/* ─── BUILD / LAND ───────────────────────────────────────────── */
.build-section { background: var(--white); padding: 64px 0 72px; }
.build-header {
  padding: 0 0 32px;
}
.build-status {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

/* Candyroot-style horizontal scroll strip */
.photo-scroll-track {
  overflow: hidden;
  width: 100%;
  margin: 0;
}
.photo-scroll-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 80px;
  padding: 0;
  animation: scrollTrack 160s linear infinite;
  width: max-content;
  will-change: transform;
}
.photo-card {
  width: 330px !important;
  height: 510px !important;
  min-width: 330px;
  min-height: 510px;
  border-radius: 2px;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  background: linear-gradient(160deg, #3a5a4e 0%, #2a3a4a 100%);
  border: none;
  display: block !important;
}
@keyframes scrollTrack {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.photo-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  height: 480px;
}
.photo-frame {
  position: relative;
  overflow: hidden;
  background: #3a4a3e;
  border-radius: 2px;
}
.photo-frame:first-child { grid-row: span 1; }
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2C4A3E 0%, #1E2B3A 100%);
}
.photo-placeholder-icon {
  width: 32px;
  height: 32px;
  opacity: 0.25;
}
.photo-placeholder span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  font-weight: 400;
}
.build-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 32px;
  border-top: 0.5px solid var(--brass-line);
  margin-top: 24px;
}
.build-cta-text {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 400;
}

/* ─── HIGH SIDE DEFINITION ───────────────────────────────────── */
.definition-section {
  background: var(--navy);
  padding: 88px 0;
}
.definition-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.definition-inner {
  max-width: 520px;
}
.definition-logo {
  flex-shrink: 0;
  opacity: 0.12;
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.definition-word {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.definition-pos {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--sand);
  text-transform: uppercase;
  margin-top: 6px;
}
.definition-body {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: rgba(245,240,232,0.82);
  letter-spacing: 0.005em;
}
.definition-close {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,240,232,0.58);
}
@media (max-width: 768px) {
  .definition-layout { flex-direction: column; }
  .definition-logo { width: 140px; height: 140px; opacity: 0.08; }
}

/* ─── THREE BOXES ────────────────────────────────────────────── */
.three-boxes {
  background: var(--white);
  padding: 88px 0;
}
.boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--brass-line);
  border: 0.5px solid var(--brass-line);
  border-radius: 2px;
  overflow: hidden;
}
.box-card {
  background: var(--white);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.box-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 44px; right: 44px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.box-card:hover { background: #f0ebe0; }
.box-card:hover::after { transform: scaleX(1); }
.box-number {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
}
.box-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.box-desc {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
}
.box-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 400;
  padding-top: 12px;
}
.box-arrow {
  width: 20px;
  height: 0.5px;
  background: var(--green);
  position: relative;
  transition: width 0.25s var(--ease);
}
.box-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 0.5px solid var(--green);
  border-top: 0.5px solid var(--green);
  transform: rotate(45deg);
}
.box-card:hover .box-arrow { width: 32px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 40px 0 28px;
  border-top: 0.5px solid rgba(168,149,106,0.15);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 28px;
}

/* Left — logo + wordmark */
.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.footer-brand .footer-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
}

/* Center — social links */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-social-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-social-link:hover { color: var(--white); }

/* Right — page links */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-nav-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-link:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom {
  border-top: 0.5px solid rgba(168,149,106,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(245,240,232,0.25);
  font-weight: 300;
  letter-spacing: 0.06em;
}
.footer-bottom a {
  color: rgba(245,240,232,0.25);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(245,240,232,0.5); }

/* ─── PLACEHOLDER PAGES ──────────────────────────────────────── */
.placeholder-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--navy) 100%);
  text-align: center;
  padding: 48px;
}
.placeholder-content { max-width: 540px; }
.placeholder-coming {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 24px;
}
.placeholder-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.placeholder-body {
  font-size: 15px;
  font-weight: 300;
  color: rgba(245,240,232,0.6);
  line-height: 1.65;
  margin-bottom: 40px;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 24px; }
  .container-narrow { padding: 0 24px; }
  .hero-content { padding: 0 24px; }
  section { padding: var(--section-mobile) 0; }
  .build-header { padding: var(--section-mobile) 0 40px; }
  .photo-gallery { grid-template-columns: 1fr; height: auto; gap: 8px; }
  .photo-frame { height: 220px; }
  .boxes-grid { grid-template-columns: 1fr; }
  .box-card { padding: 40px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-center { justify-content: center; }
  .footer-links { align-items: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .build-cta { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
  .photo-gallery { gap: 6px; }
}
