:root {
  --navy-dark: #101a2e;
  --navy: #1c2d4d;
  --navy-light: #2c4570;
  --gold: #c9a55c;
  --gold-light: #e3c98a;
  --cream: #f7f4ee;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-word {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

a { text-decoration: none; color: inherit; }

.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;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-light));
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.brand-lockup {
  height: 42px;
  width: auto;
  display: block;
}

.footer-brand .brand-lockup {
  height: 36px;
}

.hero-lockup {
  height: 130px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  margin: 5px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(201,165,92,0.10), transparent 45%),
                     radial-gradient(circle at 80% 70%, rgba(201,165,92,0.08), transparent 40%);
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-lockup { animation: heroFadeUp 0.9s ease both; }
  .hero .tagline { animation: heroFadeUp 0.9s ease both 0.15s; }
  .hero p.lead { animation: heroFadeUp 0.9s ease both 0.3s; }
  .hero-actions { animation: heroFadeUp 0.9s ease both 0.45s; }
  .hero-photo-note { animation: heroFadeUp 0.9s ease both 0.6s; }
}


.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.05em;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero .tagline {
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-top: 14px;
}

.hero p.lead {
  color: #d8dde6;
  max-width: 620px;
  margin: 28px auto 0;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-photo-note {
  margin-top: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #8b93a6;
  border: 1px dashed rgba(201,165,92,0.35);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid var(--gold);
}

.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--gold-light);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(201,165,92,0.12);
}

/* Sections */
section {
  padding: 96px 0;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-heading .eyebrow {
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-dark);
}

.section-heading p {
  color: var(--muted);
  margin-top: 16px;
}

.section-alt {
  background: #fff;
  border-top: 1px solid #ece6d8;
  border-bottom: 1px solid #ece6d8;
}

/* Property cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  border: 1px solid #eae3d3;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(16,26,46,0.12);
}

.card-image .placeholder-photo,
.gallery-grid .placeholder-photo,
.card-image .real-photo img,
.gallery-grid .real-photo img {
  transition: transform 0.5s ease;
}

.card:hover .card-image .placeholder-photo,
.gallery-grid .placeholder-photo:hover,
.card:hover .card-image .real-photo img,
.gallery-grid .real-photo:hover img {
  transform: scale(1.05);
}

.card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: 600;
}

.card-image svg {
  width: 46px;
  height: 46px;
  opacity: 0.35;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.card-body .price {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  font-family: "Jost", sans-serif;
}

.card-body .meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid #eee;
  padding-top: 14px;
  margin-top: 14px;
}

/* Features / About */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature {
  text-align: center;
  padding: 8px;
}

.feature .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy-dark);
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split h2 {
  color: var(--navy-dark);
  font-size: 2.1rem;
  margin-bottom: 20px;
}

.about-split p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  text-align: center;
  padding: 80px 24px;
}

.cta-band h2 {
  color: var(--cream);
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-band p {
  color: #c9cfdb;
  margin-bottom: 32px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 480px;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info .icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info .icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-light);
}

.contact-info h4 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
  font-family: "Jost", sans-serif;
  font-weight: 600;
}

.contact-info p {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-info .item a {
  color: var(--gold);
  text-underline-offset: 3px;
}

.contact-info .item a:hover {
  text-decoration: underline;
}

form.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d2c0;
  border-radius: 2px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 4px;
  min-height: 1.2em;
}

.form-status.success { color: #2f7d4f; }
.form-status.error { color: #b04141; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c9cfdb;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--gold-light);
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-brand p {
  color: #9aa4b8;
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #7c869b;
}

/* Page header (interior pages) */
.page-header {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-light));
  padding: 72px 24px 56px;
  text-align: center;
}

.page-header .eyebrow {
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.page-header h1 {
  color: var(--cream);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-top: 14px;
}

/* Scroll reveal (classes added by js/main.js; content is fully visible without JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  transition: transform 0.4s ease 0.15s;
  transform: scale(0);
}

.timeline-item.in-view::before {
  transform: scale(1);
}

/* Placeholder photography */
.placeholder-photo {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 1px dashed rgba(201,165,92,0.45);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.placeholder-photo svg {
  width: 30px;
  height: 30px;
  opacity: 0.55;
}

.placeholder-photo .ph-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.placeholder-photo .ph-desc {
  font-size: 0.8rem;
  color: #c3cadb;
  max-width: 240px;
}

.ph-sm { height: 200px; }
.ph-md { height: 320px; }
.ph-lg { height: 460px; }
.ph-xl { height: 560px; }

/* Real photography (same size classes as placeholders) */
.real-photo {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Cards/galleries are short and wide, so cropping reads better there than letterboxing */
.card-image .real-photo img,
.gallery-grid .real-photo img {
  object-fit: cover;
}

/* Status pill */
.status-pill {
  display: inline-block;
  background: rgba(201,165,92,0.12);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #c9cfdb;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.project-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-grid.on-dark .stat-item .num { color: var(--gold-light); }
.stat-grid.on-dark .stat-item .label { color: #c9cfdb; }

.stat-item { text-align: center; }

.stat-item .num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--navy-dark);
  display: block;
}

.stat-item .label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
  display: block;
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--gold);
  margin-left: 12px;
}

.timeline-item {
  position: relative;
  padding: 0 0 44px 36px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
}

.timeline-item .phase-label {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.timeline-item h4 {
  color: var(--navy-dark);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
}

/* Quote block */
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.5;
}

.quote-block cite {
  display: block;
  margin-top: 22px;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.quote-block.on-dark blockquote { color: var(--cream); }

/* Checklist */
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
  flex: none;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Two-up gallery for wide shots */
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Project index cards */
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #eae3d3;
}

.project-card:last-child { border-bottom: none; }

.project-card:nth-child(even) .project-card-media { order: 2; }

.project-card-body .status-pill {
  background: rgba(201,165,92,0.1);
  color: var(--gold);
  border-color: var(--gold);
}

.project-card-body h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.project-card-body .location {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.project-card-body p.desc {
  color: var(--muted);
  margin-bottom: 20px;
}

/* Journal / news list */
.journal-list {
  display: grid;
  gap: 32px;
}

.journal-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid #eae3d3;
}

.journal-item:last-child { border-bottom: none; }

.journal-item .date {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.journal-item h3 {
  color: var(--navy-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.journal-item p { color: var(--muted); font-size: 0.92rem; }

/* Value/services list */
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid #eae3d3;
}

.service-row:last-child { border-bottom: none; }

.service-row .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.service-row h3 {
  color: var(--navy-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.service-row p { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-card, .project-card:nth-child(even) .project-card-media {
    grid-template-columns: 1fr;
    order: 0;
  }
  .project-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-item { grid-template-columns: 1fr; }
  .journal-item .placeholder-photo { height: 180px; }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 500px; overflow-y: auto; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px; font-size: 0.85rem; }
  .nav-toggle { display: block; }
}

@media (max-width: 680px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .checklist { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .timeline-columns { grid-template-columns: 1fr !important; }
}
