/* Global Brand Creater — premium real estate marketing site */
:root {
  --navy: #0b1c33;
  --navy-deep: #071426;
  --navy-mid: #14304f;
  --gold: #c9a227;
  --gold-soft: #e0c56a;
  --gold-dark: #9a7a1a;
  --white: #ffffff;
  --off-white: #f7f4ef;
  --sand: #e8dfd2;
  --earth: #b08968;
  --warm-gray: #6b6560;
  --text: #1a2332;
  --muted: #5c6570;
  --border: rgba(11, 28, 51, 0.12);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(7, 20, 38, 0.12);
  --header-h: 76px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 20, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ead48a, var(--gold-soft));
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.btn-sm {
  padding: 0.65rem 1.05rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 20, 38, 0.88) 0%, rgba(7, 20, 38, 0.55) 48%, rgba(7, 20, 38, 0.35) 100%),
    linear-gradient(to top, rgba(7, 20, 38, 0.75), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  max-width: 760px;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2.5rem))) / 2), 1.25rem);
  margin-right: auto;
  width: min(760px, calc(100% - 2.5rem));
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-tagline {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-weight: 500;
  font-size: 1.05rem;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  font-weight: 300;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section-head h2,
.about-copy h2,
.contact-intro h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-lead.callout {
  padding: 0.9rem 1rem;
  background: rgba(201, 162, 39, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  color: var(--navy-mid);
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-photo figcaption,
.gallery-item figcaption em,
.moment-card figcaption,
.team-card figcaption {
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.about-photo figcaption {
  padding: 0.7rem 1rem 0.9rem;
  background: var(--off-white);
}

.about-copy p {
  color: var(--muted);
}

.proof-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.proof-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--navy-mid);
  font-weight: 500;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Locations */
.locations {
  background:
    linear-gradient(180deg, var(--off-white), #efe8dc);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: 0 8px 24px rgba(7, 20, 38, 0.04);
}

.location-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy);
}

.location-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.location-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
}

.location-card.featured h3,
.location-card.featured p {
  color: var(--white);
}

.location-card.featured p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 52rem;
}

.loc-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Gallery */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.gallery-item,
.moment-card,
.team-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  position: relative;
}

.gallery-item img,
.moment-card img,
.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.moment-card:hover img,
.team-card:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.8rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}

.gallery-item figcaption span {
  font-weight: 500;
}

.gallery-item figcaption em {
  font-style: normal;
  color: var(--gold-soft);
  font-size: 0.75rem;
}

/* Moments & Team */
.moments {
  background: #f3eee6;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.moment-card figcaption,
.team-card figcaption {
  padding: 0.85rem 1rem 1rem;
  background: var(--white);
  color: var(--warm-gray);
}

.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.15rem;
}

.team-card.wide img {
  aspect-ratio: 16 / 10;
}

/* Contact */
.contact {
  background:
    radial-gradient(circle at top right, rgba(201, 162, 39, 0.16), transparent 40%),
    var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro p {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin: 1.5rem 0 1rem;
}

.contact-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 180px;
}

.pill-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 600;
}

.pill-value {
  color: var(--navy);
  font-weight: 600;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: var(--off-white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
  background: var(--white);
}

.field-error {
  margin: 0;
  color: #9b2c2c;
  font-size: 0.82rem;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #c53030;
}

.form-success {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(20, 48, 79, 0.08);
  color: var(--navy);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2.25rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0.15rem 0;
}

.footer-city {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-soft);
}

.footer-copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 20, 38, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 40rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--gold);
  color: var(--navy);
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav .header-cta {
    display: inline-flex;
    margin-top: 0.75rem;
    width: fit-content;
  }

  .location-grid,
  .gallery-grid,
  .moments-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .section {
    padding: 3.75rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .gallery-item img,
  .moment-card img,
  .team-card img {
    transition: none;
  }
}
