/* ============================================================
   Paul Anthony Design & Build
   Brand: Navy + Gold | Boutique Design-Build | Tampa Bay
   WordPress-ready theme stylesheet
   ============================================================ */

:root {
  --navy: #0d2240;
  --navy-deep: #08162b;
  --navy-mid: #16305a;
  --gold: #c4a35a;
  --gold-light: #d4bc7a;
  --gold-dark: #a8893f;
  --cream: #f7f4ef;
  --cream-dark: #ebe6dc;
  --white: #ffffff;
  --text: #2a2a2a;
  --text-muted: #5a5a5a;
  --border: rgba(13, 34, 64, 0.12);
  --shadow: 0 12px 40px rgba(8, 22, 43, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 22, 43, 0.14);
  --radius: 4px;
  --max: 1180px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --header-h: 180px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 38rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  border-color: var(--gold-light);
}

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

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: 0 4px 24px rgba(8,22,43,0.08); }

.header-top {
  background: var(--navy);
  color: var(--cream);
  font-size: 0.9rem;
  padding: 0.55rem 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-top a { color: var(--cream); }
.header-top a:hover { color: var(--gold); }
.header-top a[href^="tel:"] {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.header-top a[href^="tel:"]:hover { color: var(--gold-light); }
.header-top-right { display: flex; gap: 1.25rem; align-items: center; }
.license-badge { color: var(--gold-light); font-weight: 500; font-size: 0.95rem; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.75rem 0;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img {
  height: 160px;
  width: auto;
  max-width: min(720px, 70vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: var(--radius);
}

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

.main-nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.65rem 1.1rem;
}
.main-nav .nav-cta:hover { background: var(--navy-mid); color: var(--white) !important; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a .caret { font-size: 0.65em; margin-left: 0.2rem; opacity: 0.7; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem;
  color: var(--text);
}
.dropdown a:hover { background: var(--cream); color: var(--navy); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: clamp(480px, 72vh, 680px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8,22,43,0.92) 0%, rgba(13,34,64,0.82) 55%, rgba(13,34,64,0.7) 100%),
    linear-gradient(160deg, #0d2240 0%, #1a3a66 50%, #0d2240 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(196,163,90,0.18), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(196,163,90,0.1), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 2;
}

.hero .container { position: relative; z-index: 2; padding: 4.5rem 0; }

/* Homepage hero video background */
.hero-video {
  min-height: clamp(520px, 78vh, 760px);
  background: #08162b;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8,22,43,0.88) 0%, rgba(13,34,64,0.72) 48%, rgba(13,34,64,0.55) 100%),
    linear-gradient(to top, rgba(8,22,43,0.55) 0%, transparent 42%);
  pointer-events: none;
}
.hero-video::before {
  background:
    radial-gradient(ellipse 55% 45% at 80% 25%, rgba(196,163,90,0.16), transparent 60%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-el { display: none; }
}

.hero h1 {
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(247,244,239,0.88);
  max-width: 34rem;
}

.hero .eyebrow { color: var(--gold); }

.page-hero {
  min-height: 320px;
  padding: 4rem 0 3.5rem;
  background:
    linear-gradient(135deg, rgba(8,22,43,0.94), rgba(13,34,64,0.88)),
    linear-gradient(160deg, #0d2240, #16305a);
  color: var(--white);
  position: relative;
}
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lead { color: rgba(247,244,239,0.85); }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(247,244,239,0.65);
}
.page-hero .breadcrumb a { color: var(--gold-light); }
.page-hero .breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-cream { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy .lead { color: rgba(247,244,239,0.8); }

.section-header {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}
.section-header.center {
  text-align: center;
  margin-inline: auto;
}
.section-header.center .lead { margin-inline: auto; }

.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.25rem;
}
.section-header.center .gold-rule { margin-inline: auto; }

/* ---- Cards / Grid ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem 1.65rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid rgba(196,163,90,0.35);
  border-radius: 50%;
  margin-bottom: 1.1rem;
  color: var(--navy);
  font-size: 1.25rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

.feature-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

/* ---- Boutique / Differentiator ---- */
.diff-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.diff-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
}
.diff-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.diff-item h4 { margin-bottom: 0.25rem; }
.diff-item p { color: var(--text-muted); font-size: 0.98rem; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.compare-col {
  padding: 1.75rem;
  border-radius: var(--radius);
}
.compare-col.bad {
  background: #f4f0eb;
  border: 1px solid var(--border);
}
.compare-col.good {
  background: var(--navy);
  color: var(--cream);
}
.compare-col.good h3 { color: var(--gold); }
.compare-col ul { margin-top: 1rem; }
.compare-col li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  font-size: 0.98rem;
}
.compare-col li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.compare-col.bad li::before { content: "×"; color: #9a5a5a; }
.compare-col.good li::before { content: "✓"; color: var(--gold); }

/* ---- About / Bio ---- */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
}
.bio-panel {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.bio-monogram {
  width: 100px;
  height: 100px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  margin-bottom: 1.25rem;
}

.bio-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.25rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--cream-dark);
}
.bio-panel h3 { margin-bottom: 0.25rem; }
.bio-panel .role {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bio-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.bio-meta li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
}
.bio-meta strong { color: var(--navy); min-width: 5.5rem; }

.bio-content p { margin-bottom: 1.15rem; color: var(--text-muted); }
.bio-content p:first-of-type { font-size: 1.1rem; color: var(--text); }

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0;
}
.credential {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 999px;
}

/* ---- Services ---- */
.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

/* ---- Areas ---- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  transition: all var(--transition);
}
.area-link:hover {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.area-link span { color: var(--gold); font-size: 1.1rem; }

.area-local {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.area-local h3 { margin-bottom: 0.75rem; }
.area-local p { color: var(--text-muted); margin-bottom: 0.75rem; }
.area-local p:last-child { margin-bottom: 0; }

.local-life {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}
.local-life .card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.local-life .card ul {
  margin-top: 0.5rem;
}
.local-life .card li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.local-life .card li:last-child { border-bottom: none; }
.local-life .card li strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}
.local-life .local-contact {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.local-life .local-contact a {
  color: var(--navy-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.local-life .local-contact a:hover { color: var(--gold-dark); }
.local-life > p.lead-local {
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
  max-width: 40rem;
}

/* Area town photos */
.area-photos {
  margin: 0 0 2rem;
}
.area-photos-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.85rem;
}
.area-photos-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--navy-deep);
  min-height: 280px;
}
.area-photos-grid figure:first-child {
  min-height: 320px;
}
.area-photos-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.area-photos-grid figure:hover img {
  transform: scale(1.04);
}
.area-photos-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(8,22,43,0.88), transparent);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.area-photos-credit {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .area-photos-grid {
    grid-template-columns: 1fr;
  }
  .area-photos-grid figure:first-child {
    grid-row: auto;
    min-height: 220px;
  }
}

.area-photos-single .area-photos-grid {
  grid-template-columns: 1fr;
}
.area-photos-single .area-photos-grid figure {
  min-height: 320px;
  max-height: 420px;
}
.area-photos-single .area-photos-grid img {
  min-height: 320px;
  max-height: 420px;
}

/* Area local map */
.area-map-wrap {
  margin-top: 2.25rem;
}
.area-map-wrap h3 {
  margin-bottom: 0.5rem;
}
.area-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.area-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.area-map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.area-map-legend .dot-beach { background: #2a7ab0; }
.area-map-legend .dot-restaurant { background: #c4a35a; }
.area-map-legend .dot-attraction { background: #0d2240; }
.area-map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1;
  background: var(--cream-dark);
}
.area-map .leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0.6rem 0.75rem;
}
.area-map .leaflet-popup-content strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
}
.area-map .popup-type {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.area-map-actions {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}
.area-map-actions a {
  font-weight: 600;
}
@media (max-width: 768px) {
  .area-map { height: 340px; }
}

/* ---- CTA Banner ---- */
.cta-banner {
  background:
    linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(196,163,90,0.15), transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p {
  color: rgba(247,244,239,0.85);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}
.cta-banner .phone-lg {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

/* Contact / footer phone emphasis */
.contact-detail a[href^="tel:"],
.footer-col a[href^="tel:"] {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: var(--cream);
  padding: 2.25rem;
  border-radius: var(--radius);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1rem; }
.contact-info-card p { color: rgba(247,244,239,0.8); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-detail a {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-detail a:hover { color: var(--gold); }
.contact-detail .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.55);
  display: block;
  margin-bottom: 0.2rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
  border-radius: var(--radius);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247,244,239,0.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
/* Logo is dark on transparent - for dark footer use light treatment */
.footer-brand .logo-light {
  filter: none;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  height: 56px;
  object-fit: contain;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28ch;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(247,244,239,0.7);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--gold-light); }

/* ---- Stats strip ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.7);
  margin-top: 0.35rem;
}

/* ---- Process steps ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 0.5rem;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}
.process-step h3 { font-size: 1.25rem; }
.process-step p { color: var(--text-muted); font-size: 0.96rem; }

/* ---- Quote ---- */
.quote-block {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .grid-4, .process, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-grid, .contact-grid { grid-template-columns: 1fr; }
  .bio-panel { position: static; }
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
  }
  .main-nav a { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--border); }
  .main-nav .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 0.75rem;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .grid-2, .grid-3, .form-row { grid-template-columns: 1fr; }
  .header-top { display: none; }
  .logo-link img { height: 110px; max-width: 88vw; }
  :root { --header-h: 130px; }
  .section { padding: 3.5rem 0; }
  .service-block { grid-template-columns: 50px 1fr; }
}

@media (max-width: 520px) {
  .grid-4, .process, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Portfolio / Projects ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card .portfolio-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.15rem 1.15rem;
  background: linear-gradient(to top, rgba(8,22,43,0.92) 0%, rgba(8,22,43,0.55) 55%, transparent 100%);
  color: var(--cream);
  transform: translateY(0);
}

.portfolio-card .portfolio-meta .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.portfolio-card .portfolio-meta h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}

.portfolio-card .portfolio-meta p {
  font-size: 0.9rem;
  color: rgba(247,244,239,0.8);
  margin: 0;
}

.portfolio-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.portfolio-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.35rem;
}

.portfolio-featured .portfolio-card:first-child {
  aspect-ratio: auto;
  min-height: 360px;
  grid-row: span 2;
}

@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-featured {
    grid-template-columns: 1fr;
  }
  .portfolio-featured .portfolio-card:first-child {
    grid-row: auto;
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ---- Ambient music control ---- */
.music-toggle {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(196, 163, 90, 0.45);
  border-radius: 999px;
  background: rgba(8, 22, 43, 0.92);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(8, 22, 43, 0.28);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.music-toggle:hover {
  background: var(--navy);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.music-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.music-toggle .music-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.music-toggle .music-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.music-toggle.is-playing {
  border-color: var(--gold);
}
.music-toggle .music-label::before {
  content: "Music";
}
.music-toggle.is-playing .music-label::before {
  content: "Mute";
}
@media (max-width: 520px) {
  .music-toggle {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.65rem 0.8rem;
  }
  .music-toggle .music-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
