/* ============================================================
   Sonshine Glass & Mirror — Vanguard-inspired dark theme
   ============================================================ */

/* Brand wordmark font. Drop your licensed Gotham webfont files into
   assets/fonts/ using the names below. Until they're present, the
   wordmark falls back to Montserrat (loaded from Google Fonts). */
@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/Gotham-Bold.woff2') format('woff2'),
       url('../assets/fonts/Gotham-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/Gotham-Medium.woff2') format('woff2'),
       url('../assets/fonts/Gotham-Medium.woff')  format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette (Vanguard-inspired) */
  --c-dark:        #131a25;
  --c-dark-2:      #192434;
  --c-dark-3:      #1d2431;
  --c-dark-4:      #1c2636;
  --c-dark-blue:   #002957;
  --c-light:       #ffffff;
  --c-light-blue:  #79c0dc;
  --c-accent:      #c8e2e8;
  --c-line:        rgba(255,255,255,0.12);
  --c-line-strong: rgba(255,255,255,0.24);
  --c-muted:       rgba(255,255,255,0.6);
  --c-muted-2:     rgba(255,255,255,0.8);

  /* Type scale */
  --ff-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-brand:   'Gotham', 'Montserrat', 'Inter', system-ui, sans-serif;

  /* Brand accent */
  --c-orange:   #F5A524;

  --fs-h1: clamp(2.5rem, 5.5vw, 5rem);
  --fs-h2: clamp(2rem, 4.2vw, 4rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2rem);
  --fs-h4: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing & layout */
  --container: 90rem;
  --container-md: 77rem;
  --container-sm: 61.625rem;
  --pad-mobile: 1.5rem;
  --pad-tablet: 3rem;
  --pad-desktop: 5rem;

  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.625;
  color: var(--c-light);
  background: var(--c-dark);
  overflow-x: hidden;
  word-wrap: break-word;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); line-height: 1.25; }

p { margin: 0 0 1rem; color: var(--c-muted-2); line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-mobile);
  padding-right: var(--pad-mobile);
}
@media (min-width: 768px) {
  .container { padding-left: var(--pad-tablet); padding-right: var(--pad-tablet); }
}
@media (min-width: 1200px) {
  .container { padding-left: var(--pad-desktop); padding-right: var(--pad-desktop); }
}

.container-md { max-width: var(--container-md); margin: 0 auto; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; }

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--c-dark-2); }
@media (max-width: 768px) { .section { padding: 64px 0; } .section-tight { padding: 40px 0; } }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 24px 0;
  background: transparent;
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(19, 26, 37, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand-link { display: inline-flex; align-items: center; gap: 0.6rem; }
.wordmark {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-light);
  line-height: 1;
  white-space: nowrap;
}
.wordmark .wm-o { color: var(--c-light); }
@media (max-width: 768px) {
  .wordmark { font-size: 0.75rem; letter-spacing: 0.18em; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 0.6875rem; letter-spacing: 0.14em; }
}

.nav-links { list-style: none; display: flex; gap: 2.25rem; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--c-light);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--c-muted-2);
}
.nav-phone svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; color: var(--c-light);
  padding: 8px; cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block; content: ''; width: 24px; height: 1.5px;
  background: var(--c-light); margin: 5px 0; transition: 0.3s;
}
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Literal fallback first so background still applies if --c-dark fails to resolve on any device */
  background: #131a25;
  background: var(--c-dark, #131a25);
  padding: 2rem var(--pad-mobile);
  flex-direction: column;
  gap: 1.25rem;
  z-index: 100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.btn) {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-light);
}
.mobile-menu .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  padding: 12px 22px;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .nav-actions .btn { display: none; }
  .nav-actions { gap: 0.5rem; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  padding: 14px 28px;
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-dark);
}
.btn-primary:hover {
  background: var(--c-light);
  color: var(--c-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--c-light);
  border-color: var(--c-line-strong);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn-ghost {
  background: transparent;
  color: var(--c-light);
  border-color: transparent;
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--c-accent); }

.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  letter-spacing: 0;
  transition: transform 0.25s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 0 80px;
  overflow: hidden;
  background-color: var(--c-dark);
  background-image:
    linear-gradient(rgba(19,26,37,0.45), rgba(19,26,37,0.45)),
    url('../assets/hero-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(19,26,37,0.40) 0%,
    rgba(19,26,37,0.20) 40%,
    rgba(19,26,37,0.65) 95%,
    rgba(19,26,37,1) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero-inner {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}
.hero h1 { margin-top: 1.5rem; }
.hero h1 .accent { color: var(--c-accent); font-style: italic; }
.hero p.lead {
  font-size: 1.125rem;
  color: var(--c-muted-2);
  margin: 1.5rem auto 2.25rem;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { min-width: 220px; }

.hero-trust {
  margin-top: 3.5rem;
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  color: var(--c-muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-trust .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--c-accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ============================================================
   QUOTE FORM (Vanguard booking form analog)
   ============================================================ */
.quote-form-wrap {
  position: relative;
  margin-top: -100px;
  z-index: 5;
}
.quote-form {
  background: var(--c-dark-2);
  border: 1px solid var(--c-line);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}
.quote-form .field { display: flex; flex-direction: column; gap: 0.5rem; }
.quote-form label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.quote-form select,
.quote-form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  color: var(--c-light);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  padding: 8px 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.quote-form select option { background: var(--c-dark-2); color: var(--c-light); }
.quote-form .field-select { position: relative; }
.quote-form .field-select::after {
  content: '';
  position: absolute; right: 4px; bottom: 14px;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--c-accent);
  border-bottom: 1.5px solid var(--c-accent);
  transform: rotate(45deg);
  pointer-events: none;
}
.quote-form select:focus,
.quote-form input:focus { border-bottom-color: var(--c-accent); }
.quote-form .btn { padding: 14px 32px; }

@media (max-width: 1024px) {
  .quote-form { grid-template-columns: repeat(2, 1fr); }
  .quote-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .quote-form { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .quote-form-wrap { margin-top: -60px; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { max-width: 760px; margin: 0 0 4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; font-size: 1.0625rem; }

/* ============================================================
   PROJECT / PROPERTY GRID
   ============================================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  display: block;
  background: var(--c-dark-2);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}
.project-card .thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-dark-3);
}
.project-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .thumb img { transform: scale(1.06); }
.project-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,26,37,0) 50%, rgba(19,26,37,0.85) 100%);
}
.project-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem;
  z-index: 2;
}
.project-card .meta .place {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.project-card .meta h3 {
  font-size: 1.5rem;
  margin-top: 0.4rem;
  color: var(--c-light);
}

/* Pagination dots */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 3.5rem;
}
.pagination .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-line-strong);
  border: 0; padding: 0; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pagination .dot.is-active { background: var(--c-accent); transform: scale(1.4); }

/* ============================================================
   SERVICES (Cards row)
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  padding: 2.5rem 2rem;
  background: var(--c-dark-2);
  border: 1px solid var(--c-line);
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.svc-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
}
.svc-card .icon {
  width: 48px; height: 48px;
  color: var(--c-accent);
  margin-bottom: 1.75rem;
}
.svc-card h3 { font-size: 1.5rem; }
.svc-card p { margin-top: 0.75rem; font-size: 0.9375rem; flex: 1; }
.svc-card .more {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.svc-card .more::after { content: '→'; transition: transform 0.2s ease; }
.svc-card:hover .more::after { transform: translateX(4px); }

/* ============================================================
   SPLIT (Why us / About)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 3rem; } }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  color: var(--c-muted-2);
  border-bottom: 1px solid var(--c-line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 1rem;
  width: 14px; height: 7px;
  border-left: 1.5px solid var(--c-accent);
  border-bottom: 1.5px solid var(--c-accent);
  transform: rotate(-45deg);
}

.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tile {
  padding: 1.75rem;
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,0.02);
}
.tile .num {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--c-accent);
  display: block;
  margin-bottom: 0.5rem;
}
.tile h4 { font-size: 1.125rem; margin: 0.25rem 0; font-family: var(--ff-body); font-weight: 500; }
.tile p { font-size: 0.875rem; margin: 0.5rem 0 0; color: var(--c-muted); }
.tile-qualifier { font-size: 0.875rem; font-style: italic; font-weight: 400; color: var(--c-muted); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 3rem 0;
  text-align: center;
}
@media (max-width: 768px) { .stats { grid-template-columns: 1fr; gap: 2.5rem; } }
.stats .num {
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--c-accent);
  line-height: 1;
}
.stats .lbl {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 0.75rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 1024px) { .quote-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

.quote-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
}
.quote-card .stars { color: var(--c-accent); letter-spacing: 0.2em; font-size: 0.875rem; margin-bottom: 1rem; }
.quote-card blockquote {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  color: var(--c-light);
  flex: 1;
}
.quote-card .who { display: flex; align-items: center; gap: 0.75rem; }
.quote-card .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600;
}
.quote-card .name { font-size: 0.9375rem; color: var(--c-light); }
.quote-card .meta { font-size: 0.75rem; color: var(--c-muted); }

/* ============================================================
   PROCESS (Steps)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 3rem; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--ff-display);
  font-size: 2.25rem;
  color: var(--c-accent);
}
.step h3 { font-size: 1.25rem; font-family: var(--ff-body); font-weight: 500; margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--c-muted-2); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  text-align: center;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 4.5rem 0;
}
.newsletter h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); max-width: 540px; margin: 0 auto; }
.newsletter form {
  margin: 2rem auto 0;
  max-width: 480px;
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-line-strong);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--c-light);
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 4px;
  outline: none;
}
.newsletter input::placeholder { color: var(--c-muted); }
.newsletter button {
  background: transparent;
  border: 0;
  color: var(--c-accent);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 16px;
  cursor: pointer;
}

/* ============================================================
   AWARDS / TRUST BAND
   ============================================================ */
.trust-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid var(--c-line);
}
.trust-band .item {
  font-family: var(--ff-display);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: flex; align-items: center; gap: 0.6rem;
}
.trust-band .item svg { width: 22px; height: 22px; color: var(--c-accent); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--c-dark-blue);
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 3rem;
}
.cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.cta-band p { margin-top: 0.75rem; color: var(--c-muted-2); }
.cta-band .actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }
.cta-band .actions .btn { min-width: 240px; }
@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .cta-band .actions { justify-content: flex-start; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-dark-3);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-light);
  z-index: 2;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,26,37,0) 60%, rgba(19,26,37,0.7) 100%);
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  padding: calc(var(--header-h) + 120px) 0 80px;
  background: var(--c-dark);
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-header p { margin-top: 1.5rem; max-width: 640px; font-size: 1.0625rem; }
.page-header .breadcrumbs {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
}
.page-header .breadcrumbs a { color: var(--c-muted); }
.page-header .breadcrumbs a:hover { color: var(--c-accent); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.75rem; }
.form-field label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  color: var(--c-light);
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 10px 0;
  outline: none;
  appearance: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-bottom-color: var(--c-accent); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Photo upload */
.form-field .optional {
  margin-left: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--c-muted);
}
.photo-upload {
  border: 1px dashed var(--c-line-strong);
  padding: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.photo-upload.is-dragover {
  border-color: var(--c-accent);
  background: rgba(200, 226, 232, 0.04);
}
.photo-upload.is-error {
  border-color: #e23d65;
  border-style: solid;
}
.photo-upload.is-full .photo-dropzone { display: none; }
.photo-dropzone {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  color: var(--c-muted-2);
  transition: color 0.2s ease;
}
.photo-dropzone:hover { color: var(--c-light); }
.photo-dropzone .upload-icon {
  width: 28px;
  height: 28px;
  color: var(--c-accent);
  flex-shrink: 0;
}
.dropzone-text strong {
  color: var(--c-light);
  font-weight: 500;
}
.dropzone-hint {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--c-muted);
}
.photo-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.photo-upload:not(.has-files) .photo-previews { display: none; }
.photo-upload.has-files .photo-previews { margin-top: 1rem; }
.photo-preview {
  position: relative;
  aspect-ratio: 1;
  background: var(--c-dark-3);
  overflow: hidden;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview .remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  background: rgba(19, 26, 37, 0.85);
  border: 0;
  color: var(--c-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s ease;
  padding: 0;
}
.photo-preview .remove:hover { background: #e23d65; }
@media (max-width: 480px) {
  .photo-dropzone { flex-direction: column; text-align: center; gap: 0.5rem; }
}

.contact-info { padding: 2.5rem; background: var(--c-dark-2); border: 1px solid var(--c-line); }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 1.5rem;
}
.contact-info dd { margin: 0.4rem 0 0; font-size: 1rem; color: var(--c-light); }
.contact-info dl > div:first-child dt { margin-top: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-dark);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--c-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-line);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1rem;
  letter-spacing: 0.26em;
  white-space: nowrap;
}
.footer-brand .wordmark .wm-sub {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  color: var(--c-muted);
}
.footer-brand p { font-size: 0.875rem; color: var(--c-muted); margin-top: 1.5rem; max-width: 360px; }
.footer-areas { margin-top: 1.5rem; max-width: 360px; }
.footer-areas h5 {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 0.6rem;
}
.footer-areas p {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.85;
  margin: 0;
  max-width: none;
}
.footer-areas a,
.footer-areas span[aria-current] {
  white-space: nowrap;
}

.footer-grid h4 {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.75rem; }
.footer-list a { font-size: 0.9375rem; color: var(--c-muted-2); }
.footer-list a:hover { color: var(--c-accent); }

.footer-social { display: flex; gap: 0.875rem; margin-top: 1.5rem; }
/* Hidden until social channels are ready to launch. Remove this rule to re-enable. */
.footer-social { display: none; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--c-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--c-accent); color: var(--c-light); }
.footer-social svg { width: 14px; height: 14px; }

.footer-bottom {
  padding-top: 2rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.75rem;
  color: var(--c-muted);
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--c-muted); }
.footer-bottom a:hover { color: var(--c-accent); }
