:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --ink: #0b0b0b;
  --ink-soft: #1f1f1f;
  --muted: #2f343a;
  --gold: #c7a038;
  --gold-strong: #946414;
  --gold-bright: #f2d388;
  --gold-deep: #6b4b10;
  --silver: #b7bbc1;
  --silver-bright: #f4f6f8;
  --black: #090909;
  --card: #f9fafb;
  --shadow: 0 26px 60px rgba(9, 9, 9, 0.16);
  --shadow-soft: 0 18px 38px rgba(9, 9, 9, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --layout-max: 1320px;
  --layout-gutter: clamp(18px, 3.6vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: transparent;
  line-height: 1.6;
  font-weight: 500;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

input,
select,
textarea {
  border: 1px solid rgba(9, 9, 9, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f9fafb;
  color: var(--ink);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(1em + 2px), calc(100% - 11px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Improvement 5: gold glow focus state for all form inputs */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: none;
  border-color: rgba(199, 160, 56, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(199, 160, 56, 0.2), 0 0 12px rgba(199, 160, 56, 0.12) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-strong), var(--gold-bright));
  z-index: 20;
  box-shadow: 0 2px 10px rgba(148, 100, 20, 0.35);
}

.page-transition {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(199, 160, 56, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(9, 9, 9, 0.4), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 0.16s ease-out;
  will-change: opacity;
  z-index: 15;
}

body.page-exit {
  opacity: 0;
  transform: none;
  transition: opacity 0.16s ease-out;
  will-change: opacity;
}

body.page-exit .page-transition {
  opacity: 1;
  transform: none;
}

body.page-enter {
  animation: pageEnter 0.22s ease-out;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 211, 136, 0.55), transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(148, 100, 20, 0.35), transparent 46%),
    radial-gradient(circle at 30% 80%, rgba(9, 9, 9, 0.35), transparent 45%),
    radial-gradient(circle at 70% 95%, rgba(199, 160, 56, 0.28), transparent 48%),
    linear-gradient(140deg, #e6d1a3 0%, #c7a038 45%, #cbb78a 100%);
}

.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
  z-index: 0;
}

.glitterfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: screen;
  z-index: 0;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(9, 9, 9, 0.2), transparent 60%);
  opacity: 0.45;
  pointer-events: none;
}

.plane {
  position: absolute;
  width: min(640px, 70vw);
  left: -4%;
  top: 22%;
  opacity: 0.45;
  filter: drop-shadow(0 24px 50px rgba(148, 100, 20, 0.25));
  transform: rotate(-6deg);
  animation: planeFloat 18s ease-in-out infinite;
  pointer-events: none;
}

.plane svg {
  width: 100%;
  height: auto;
  display: block;
}

.beam {
  position: absolute;
  border-radius: 999px;
  opacity: 0.75;
  filter: blur(0px);
}

.beam-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(199, 160, 56, 0.32), transparent 70%);
  top: -200px;
  left: -180px;
}

.beam-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 20% 20%, rgba(183, 187, 193, 0.4), transparent 70%);
  right: -160px;
  top: 120px;
  display: none;
}

.beam-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(9, 9, 9, 0.08), transparent 70%);
  bottom: -240px;
  left: 15%;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(9, 9, 9, 0.05) 1px, transparent 0);
  background-size: 12px 12px;
  opacity: 0.16;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  padding: 12px max(var(--layout-gutter), calc((100vw - var(--layout-max)) / 2));
  min-height: 144px;
  overflow: hidden;
  position: relative;
  background: #000;
  backdrop-filter: blur(14px);
  z-index: 10;
  border-bottom: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 144px;
  height: 144px;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: none !important;
  border: none !important;
}

.logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent !important;
  -webkit-clip-path: inset(0 3px 0 0);
  clip-path: inset(0 3px 0 0);
  border: none !important;
  box-shadow: none !important;
}

.firefly-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.firefly {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

.firefly::before,
.firefly::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform-origin: -10vw;
}

.firefly::before {
  background: rgba(9, 9, 9, 0.6);
  filter: blur(0.4px);
  animation: drift ease alternate infinite;
}

.firefly::after {
  background: rgba(242, 211, 136, 1);
  opacity: 0.2;
  box-shadow: 0 0 12px 6px rgba(199, 160, 56, 0.95);
  animation: drift ease alternate infinite, flash ease infinite;
}

.firefly:nth-child(1) {
  animation-name: move1;
  animation-duration: 14s;
}
.firefly:nth-child(1)::before {
  animation-duration: 10s;
}
.firefly:nth-child(1)::after {
  animation-duration: 10s, 9s;
  animation-delay: 0ms, 1800ms;
}

.firefly:nth-child(2) {
  animation-name: move2;
  animation-duration: 16s;
}
.firefly:nth-child(2)::before {
  animation-duration: 12s;
}
.firefly:nth-child(2)::after {
  animation-duration: 12s, 10s;
  animation-delay: 0ms, 2400ms;
}

.firefly:nth-child(3) {
  animation-name: move3;
  animation-duration: 18s;
}
.firefly:nth-child(3)::before {
  animation-duration: 11s;
}
.firefly:nth-child(3)::after {
  animation-duration: 11s, 12s;
  animation-delay: 0ms, 1400ms;
}

.firefly:nth-child(4) {
  animation-name: move4;
  animation-duration: 17s;
}
.firefly:nth-child(4)::before {
  animation-duration: 9s;
}
.firefly:nth-child(4)::after {
  animation-duration: 9s, 11s;
  animation-delay: 0ms, 2200ms;
}

.firefly:nth-child(5) {
  animation-name: move5;
  animation-duration: 19s;
}
.firefly:nth-child(5)::before {
  animation-duration: 13s;
}
.firefly:nth-child(5)::after {
  animation-duration: 13s, 13s;
  animation-delay: 0ms, 900ms;
}

.firefly:nth-child(6) {
  animation-name: move6;
  animation-duration: 15s;
}
.firefly:nth-child(6)::before {
  animation-duration: 10s;
}
.firefly:nth-child(6)::after {
  animation-duration: 10s, 8s;
  animation-delay: 0ms, 2000ms;
}

.firefly:nth-child(7) {
  animation-name: move7;
  animation-duration: 21s;
}
.firefly:nth-child(7)::before {
  animation-duration: 14s;
}
.firefly:nth-child(7)::after {
  animation-duration: 14s, 12s;
  animation-delay: 0ms, 2500ms;
}

.firefly:nth-child(8) {
  animation-name: move8;
  animation-duration: 20s;
}
.firefly:nth-child(8)::before {
  animation-duration: 12s;
}
.firefly:nth-child(8)::after {
  animation-duration: 12s, 14s;
  animation-delay: 0ms, 1600ms;
}

.firefly:nth-child(9) {
  animation-name: move9;
  animation-duration: 18s;
}
.firefly:nth-child(9)::before {
  animation-duration: 11s;
}
.firefly:nth-child(9)::after {
  animation-duration: 11s, 9s;
  animation-delay: 0ms, 1900ms;
}

.firefly:nth-child(10) {
  animation-name: move10;
  animation-duration: 22s;
}
.firefly:nth-child(10)::before {
  animation-duration: 15s;
}
.firefly:nth-child(10)::after {
  animation-duration: 15s, 11s;
  animation-delay: 0ms, 2100ms;
}

.firefly:nth-child(11) {
  animation-name: move11;
  animation-duration: 16s;
}
.firefly:nth-child(11)::before {
  animation-duration: 10s;
}
.firefly:nth-child(11)::after {
  animation-duration: 10s, 10s;
  animation-delay: 0ms, 1700ms;
}

.firefly:nth-child(12) {
  animation-name: move12;
  animation-duration: 19s;
}
.firefly:nth-child(12)::before {
  animation-duration: 13s;
}
.firefly:nth-child(12)::after {
  animation-duration: 13s, 12s;
  animation-delay: 0ms, 2600ms;
}

.firefly:nth-child(13) {
  animation-name: move13;
  animation-duration: 20s;
}
.firefly:nth-child(13)::before {
  animation-duration: 12s;
}
.firefly:nth-child(13)::after {
  animation-duration: 12s, 9s;
  animation-delay: 0ms, 2300ms;
}

.firefly:nth-child(14) {
  animation-name: move14;
  animation-duration: 17s;
}
.firefly:nth-child(14)::before {
  animation-duration: 11s;
}
.firefly:nth-child(14)::after {
  animation-duration: 11s, 13s;
  animation-delay: 0ms, 1500ms;
}

.firefly:nth-child(15) {
  animation-name: move15;
  animation-duration: 21s;
}
.firefly:nth-child(15)::before {
  animation-duration: 14s;
}
.firefly:nth-child(15)::after {
  animation-duration: 14s, 12s;
  animation-delay: 0ms, 2000ms;
}

.firefly:nth-child(16) {
  animation-name: move2;
  animation-duration: 17s;
}
.firefly:nth-child(16)::before {
  animation-duration: 11s;
}
.firefly:nth-child(16)::after {
  animation-duration: 11s, 10s;
  animation-delay: 0ms, 1900ms;
}

.firefly:nth-child(17) {
  animation-name: move4;
  animation-duration: 19s;
}
.firefly:nth-child(17)::before {
  animation-duration: 13s;
}
.firefly:nth-child(17)::after {
  animation-duration: 13s, 12s;
  animation-delay: 0ms, 2300ms;
}

.firefly:nth-child(18) {
  animation-name: move6;
  animation-duration: 16s;
}
.firefly:nth-child(18)::before {
  animation-duration: 10s;
}
.firefly:nth-child(18)::after {
  animation-duration: 10s, 9s;
  animation-delay: 0ms, 2100ms;
}

.firefly:nth-child(19) {
  animation-name: move8;
  animation-duration: 20s;
}
.firefly:nth-child(19)::before {
  animation-duration: 12s;
}
.firefly:nth-child(19)::after {
  animation-duration: 12s, 13s;
  animation-delay: 0ms, 1700ms;
}

.firefly:nth-child(20) {
  animation-name: move10;
  animation-duration: 22s;
}
.firefly:nth-child(20)::before {
  animation-duration: 14s;
}
.firefly:nth-child(20)::after {
  animation-duration: 14s, 11s;
  animation-delay: 0ms, 2000ms;
}

.firefly:nth-child(21) {
  animation-name: move12;
  animation-duration: 18s;
}
.firefly:nth-child(21)::before {
  animation-duration: 11s;
}
.firefly:nth-child(21)::after {
  animation-duration: 11s, 10s;
  animation-delay: 0ms, 1600ms;
}

.firefly:nth-child(22) {
  animation-name: move14;
  animation-duration: 21s;
}
.firefly:nth-child(22)::before {
  animation-duration: 13s;
}
.firefly:nth-child(22)::after {
  animation-duration: 13s, 12s;
  animation-delay: 0ms, 2400ms;
}

.firefly:nth-child(23) {
  animation-name: move3;
  animation-duration: 17s;
}
.firefly:nth-child(23)::before {
  animation-duration: 10s;
}
.firefly:nth-child(23)::after {
  animation-duration: 10s, 9s;
  animation-delay: 0ms, 1800ms;
}

.firefly:nth-child(24) {
  animation-name: move5;
  animation-duration: 20s;
}
.firefly:nth-child(24)::before {
  animation-duration: 12s;
}
.firefly:nth-child(24)::after {
  animation-duration: 12s, 12s;
  animation-delay: 0ms, 2100ms;
}

.firefly:nth-child(25) {
  animation-name: move7;
  animation-duration: 19s;
}
.firefly:nth-child(25)::before {
  animation-duration: 11s;
}
.firefly:nth-child(25)::after {
  animation-duration: 11s, 10s;
  animation-delay: 0ms, 1700ms;
}

.firefly:nth-child(26) {
  animation-name: move9;
  animation-duration: 18s;
}
.firefly:nth-child(26)::before {
  animation-duration: 12s;
}
.firefly:nth-child(26)::after {
  animation-duration: 12s, 11s;
  animation-delay: 0ms, 2000ms;
}

.firefly:nth-child(27) {
  animation-name: move11;
  animation-duration: 21s;
}
.firefly:nth-child(27)::before {
  animation-duration: 13s;
}
.firefly:nth-child(27)::after {
  animation-duration: 13s, 12s;
  animation-delay: 0ms, 2200ms;
}

.firefly:nth-child(28) {
  animation-name: move13;
  animation-duration: 20s;
}
.firefly:nth-child(28)::before {
  animation-duration: 12s;
}
.firefly:nth-child(28)::after {
  animation-duration: 12s, 11s;
  animation-delay: 0ms, 1900ms;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes planeFloat {
  0% {
    transform: translate(0, 0) rotate(-6deg);
  }
  50% {
    transform: translate(30px, -18px) rotate(-4deg);
  }
  100% {
    transform: translate(0, 0) rotate(-6deg);
  }
}

@keyframes move1 {
  0% { transform: translateX(-20vw) translateY(-18vh) scale(0.7); }
  25% { transform: translateX(10vw) translateY(-5vh) scale(0.9); }
  50% { transform: translateX(30vw) translateY(20vh) scale(0.6); }
  75% { transform: translateX(-15vw) translateY(30vh) scale(0.85); }
  100% { transform: translateX(-20vw) translateY(-18vh) scale(0.7); }
}

@keyframes move2 {
  0% { transform: translateX(25vw) translateY(15vh) scale(0.8); }
  20% { transform: translateX(5vw) translateY(30vh) scale(0.6); }
  50% { transform: translateX(-25vw) translateY(5vh) scale(0.9); }
  80% { transform: translateX(0vw) translateY(-20vh) scale(0.7); }
  100% { transform: translateX(25vw) translateY(15vh) scale(0.8); }
}

@keyframes move3 {
  0% { transform: translateX(-30vw) translateY(10vh) scale(0.75); }
  30% { transform: translateX(-10vw) translateY(-25vh) scale(0.55); }
  60% { transform: translateX(20vw) translateY(-10vh) scale(0.95); }
  100% { transform: translateX(-30vw) translateY(10vh) scale(0.75); }
}

@keyframes move4 {
  0% { transform: translateX(10vw) translateY(-30vh) scale(0.65); }
  25% { transform: translateX(35vw) translateY(-5vh) scale(0.9); }
  55% { transform: translateX(5vw) translateY(20vh) scale(0.7); }
  100% { transform: translateX(10vw) translateY(-30vh) scale(0.65); }
}

@keyframes move5 {
  0% { transform: translateX(-15vw) translateY(25vh) scale(0.8); }
  30% { transform: translateX(20vw) translateY(5vh) scale(0.6); }
  70% { transform: translateX(-5vw) translateY(-20vh) scale(0.9); }
  100% { transform: translateX(-15vw) translateY(25vh) scale(0.8); }
}

@keyframes move6 {
  0% { transform: translateX(30vw) translateY(-10vh) scale(0.7); }
  25% { transform: translateX(10vw) translateY(15vh) scale(0.9); }
  60% { transform: translateX(-20vw) translateY(25vh) scale(0.6); }
  100% { transform: translateX(30vw) translateY(-10vh) scale(0.7); }
}

@keyframes move7 {
  0% { transform: translateX(-25vw) translateY(-25vh) scale(0.85); }
  40% { transform: translateX(5vw) translateY(-5vh) scale(0.6); }
  80% { transform: translateX(25vw) translateY(20vh) scale(0.9); }
  100% { transform: translateX(-25vw) translateY(-25vh) scale(0.85); }
}

@keyframes move8 {
  0% { transform: translateX(0vw) translateY(30vh) scale(0.6); }
  35% { transform: translateX(-20vw) translateY(5vh) scale(0.9); }
  70% { transform: translateX(15vw) translateY(-20vh) scale(0.7); }
  100% { transform: translateX(0vw) translateY(30vh) scale(0.6); }
}

@keyframes move9 {
  0% { transform: translateX(20vw) translateY(-20vh) scale(0.75); }
  30% { transform: translateX(-10vw) translateY(-5vh) scale(0.9); }
  70% { transform: translateX(-30vw) translateY(15vh) scale(0.6); }
  100% { transform: translateX(20vw) translateY(-20vh) scale(0.75); }
}

@keyframes move10 {
  0% { transform: translateX(-5vw) translateY(-10vh) scale(0.8); }
  25% { transform: translateX(20vw) translateY(20vh) scale(0.6); }
  60% { transform: translateX(35vw) translateY(-15vh) scale(0.95); }
  100% { transform: translateX(-5vw) translateY(-10vh) scale(0.8); }
}

@keyframes move11 {
  0% { transform: translateX(-35vw) translateY(5vh) scale(0.7); }
  40% { transform: translateX(-10vw) translateY(25vh) scale(0.9); }
  80% { transform: translateX(10vw) translateY(-10vh) scale(0.6); }
  100% { transform: translateX(-35vw) translateY(5vh) scale(0.7); }
}

@keyframes move12 {
  0% { transform: translateX(15vw) translateY(30vh) scale(0.85); }
  30% { transform: translateX(-5vw) translateY(10vh) scale(0.65); }
  65% { transform: translateX(-25vw) translateY(-10vh) scale(0.9); }
  100% { transform: translateX(15vw) translateY(30vh) scale(0.85); }
}

@keyframes move13 {
  0% { transform: translateX(30vw) translateY(20vh) scale(0.8); }
  35% { transform: translateX(5vw) translateY(-5vh) scale(0.6); }
  70% { transform: translateX(-15vw) translateY(-25vh) scale(0.95); }
  100% { transform: translateX(30vw) translateY(20vh) scale(0.8); }
}

@keyframes move14 {
  0% { transform: translateX(-10vw) translateY(-30vh) scale(0.7); }
  25% { transform: translateX(20vw) translateY(-15vh) scale(0.9); }
  60% { transform: translateX(35vw) translateY(5vh) scale(0.6); }
  100% { transform: translateX(-10vw) translateY(-30vh) scale(0.7); }
}

@keyframes move15 {
  0% { transform: translateX(5vw) translateY(10vh) scale(0.75); }
  35% { transform: translateX(-20vw) translateY(30vh) scale(0.6); }
  70% { transform: translateX(-30vw) translateY(-15vh) scale(0.95); }
  100% { transform: translateX(5vw) translateY(10vh) scale(0.75); }
}

@keyframes drift {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes flash {
  0%,
  30%,
  100% {
    opacity: 0;
    box-shadow: 0 0 0vw 0vw rgba(199, 160, 56, 0.8);
  }
  5% {
    opacity: 1;
    box-shadow: 0 0 28px 14px rgba(199, 160, 56, 0.95);
  }
}

.logo-sub {
  font-size: 0.74rem;
  color: var(--silver);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--silver);
  justify-content: center;
  align-self: center;
  flex-wrap: wrap;
  row-gap: 8px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 0;
  color: var(--silver);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(199, 160, 56, 0.18), rgba(183, 187, 193, 0.2));
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: -1;
}

.nav-links a:hover {
  color: var(--silver-bright);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scale(1);
}

.nav-links a.is-active {
  color: var(--silver-bright);
  font-weight: 700;
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: scale(1);
}

/* Bug Fix 2: Mobile hamburger nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: rgba(199, 160, 56, 0.12);
}

.nav-hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* X state when nav is open */
.nav-hamburger[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding: 24px max(var(--layout-gutter), calc((100vw - var(--layout-max)) / 2)) 96px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero {
  min-height: min(760px, calc(100vh - 176px));
}

.hero-copy,
.page-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Improvement 10: consistent eyebrow spacing and typography */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--ink);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.75rem, 4.3vw, 5rem);
  line-height: 1.05;
  max-width: 12ch;
}

.hero-copy p,
.page-hero p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 580px;
}

.hero-copy .hero-sub {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  max-width: 670px;
}

.hero-copy .hero-slogan {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink-soft);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.hero-proof-bar > div {
  min-height: 96px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(249, 250, 251, 0.72);
  border: 1px solid rgba(9, 9, 9, 0.08);
  box-shadow: 0 16px 34px rgba(9, 9, 9, 0.09);
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.hero-proof-bar strong {
  display: block;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  color: var(--black);
}

.hero-proof-bar span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-service-area {
  max-width: 620px;
  font-size: 0.96rem !important;
  color: var(--muted) !important;
  border-left: 3px solid var(--gold-strong);
  padding-left: 14px;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(148, 100, 20, 0.18);
}

.button {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: var(--black);
  box-shadow: 0 12px 26px rgba(148, 100, 20, 0.3);
  background-size: 140% 140%;
  background-position: left center;
}

.site-header .button.primary {
  white-space: nowrap;
}

.header-cta {
  justify-self: end;
  align-self: center;
  width: fit-content;
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(148, 100, 20, 0.35);
  background-position: right center;
}

.button.outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
  box-shadow: 0 4px 14px rgba(9, 9, 9, 0.1);
}

.button.outline:hover {
  background: rgba(9, 9, 9, 0.06);
  color: var(--black);
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(9, 9, 9, 0.14);
}

a.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 160, 56, 0.35), 0 0 14px rgba(199, 160, 56, 0.15);
}

.link-button {
  border: none;
  background: none;
  color: var(--gold-deep);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--gold-strong);
}

.hero-panel,
.page-hero-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-visual-card {
  margin: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(9, 9, 9, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.panel-card,
.media-card,
.section-slab,
.cta-strip,
.map-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
}

/* Improvement 4: gold top-border accent on panel cards */
.panel-card {
  border-top: 2px solid var(--gold);
}

.panel-card.highlight {
  background: linear-gradient(135deg, rgba(199, 160, 56, 0.12), rgba(183, 187, 193, 0.25));
}

.panel-card,
.service-card,
.process-card,
.gallery-card,
.contact-card,
.contact-form,
.media-card,
.section-slab,
.map-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.panel-card:hover,
.service-card:hover,
.process-card:hover,
.gallery-card:hover,
.media-card:hover,
.section-slab:hover,
.map-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(199, 160, 56, 0.22);
}

.contact-card:hover,
.contact-form:hover {
  box-shadow: var(--shadow);
  border-color: rgba(199, 160, 56, 0.22);
}

.media-card img,
.gallery-photo img,
.map-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.media-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}

.panel-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
}

.panel-body {
  display: grid;
  gap: 12px;
}

.inspection-steps {
  display: grid;
  gap: 12px;
}

.inspection-steps > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(9, 9, 9, 0.035);
  border: 1px solid rgba(9, 9, 9, 0.06);
}

.inspection-steps span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(199, 160, 56, 0.14);
  color: var(--gold-deep);
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 800;
  line-height: 1;
}

.inspection-steps strong {
  color: var(--ink);
  line-height: 1.25;
}

.inspection-steps p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.emergency-card p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-row strong {
  color: var(--ink);
}

.panel-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.signal-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 10px rgba(199, 160, 56, 0.4);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.storm-response {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.response-card {
  min-height: 210px;
  background: rgba(249, 250, 251, 0.82);
  border: 1px solid rgba(9, 9, 9, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.response-card.featured {
  background: linear-gradient(135deg, rgba(9, 9, 9, 0.92), rgba(51, 39, 15, 0.92));
  color: var(--silver-bright);
  border-color: rgba(242, 211, 136, 0.28);
}

.response-card span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(199, 160, 56, 0.14);
  color: var(--gold-deep);
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 800;
}

.response-card.featured span {
  background: rgba(242, 211, 136, 0.16);
  color: var(--gold-bright);
}

.response-card h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.1;
}

.response-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.response-card.featured p {
  color: rgba(244, 246, 248, 0.78);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.about-grid .section-header {
  display: block;
}

.about-grid .section-header p + p {
  margin-top: 14px;
}

.about-proof {
  display: grid;
  gap: 12px;
}

.about-proof > div {
  background: var(--card);
  border: 1px solid rgba(9, 9, 9, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 5px;
}

.about-proof strong {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.about-proof span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-header .eyebrow {
  color: var(--ink);
}

.section-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.section-header h2 {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  line-height: 1.1;
}

.section-header p {
  color: var(--ink);
  max-width: 620px;
}

.section-slab {
  display: grid;
  gap: 18px;
  background: linear-gradient(135deg, rgba(199, 160, 56, 0.15), rgba(183, 187, 193, 0.25));
}

.slab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.slab-item {
  background: rgba(244, 246, 248, 0.7);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid rgba(9, 9, 9, 0.08);
}

.slab-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.slab-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.info-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
  display: grid;
  gap: 10px;
}

.info-card h3 {
  font-size: 1.05rem;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
  border-left: 3px solid transparent;
  display: grid;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, border-left-color 0.25s ease;
}

.service-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Improvement 3: gold left-border accent on service card hover */
.service-card:hover {
  border-left-color: var(--gold);
}

/* Improvement 3: prominent gold service icon numbers */
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(199, 160, 56, 0.12);
  border: 1.5px solid rgba(199, 160, 56, 0.32);
  box-shadow: 0 0 12px rgba(199, 160, 56, 0.18);
  font-size: 1.12rem;
  font-weight: 800;
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
  text-shadow: 0 1px 6px rgba(148, 100, 20, 0.22);
}

.damage-toggle {
  display: flex;
  gap: 10px;
  background: rgba(9, 9, 9, 0.12);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: inset 0 1px 3px rgba(9, 9, 9, 0.08);
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.toggle-btn:hover:not(.active) {
  background: rgba(9, 9, 9, 0.08);
  color: var(--ink);
}

.toggle-btn.active {
  background: var(--black);
  color: var(--gold-bright);
  box-shadow: 0 10px 22px rgba(9, 9, 9, 0.2);
}

.damage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(9, 9, 9, 0.06);
}

.damage-content {
  display: grid;
  gap: 14px;
}

.damage-content p {
  color: var(--muted);
}

.damage-list,
.damage-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.damage-list li,
.damage-checklist li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(199, 160, 56, 0.1);
  color: var(--ink-soft);
  font-weight: 500;
}

.damage-checklist {
  background: rgba(9, 9, 9, 0.04);
  border-radius: var(--radius-md);
  padding: 18px;
}

.checklist-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
  display: grid;
  gap: 14px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-title {
  font-weight: 700;
}

.gallery-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
}

.gallery-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gallery-photo {
  border-radius: 14px;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 10px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #f4f6f8;
}

/* Improvement 8: smooth gallery image transitions */
.gallery-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-photo:hover img {
  transform: scale(1.04);
}

.gallery-photo span {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.45);
  font-size: 0.75rem;
}

.gallery-photo.after span {
  background: rgba(244, 246, 248, 0.75);
  color: var(--ink);
}

.gallery-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.video-empty {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(9, 9, 9, 0.06);
  padding: 20px;
  color: var(--muted);
}

.video-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
  display: grid;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(199, 160, 56, 0.22);
}

.gallery-video-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(9, 9, 9, 0.08);
  background: var(--black);
}

.gallery-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.video-manager {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
  display: grid;
  gap: 16px;
}

.video-manager-head p {
  color: var(--muted);
  max-width: 640px;
}

.video-manager-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.video-span {
  grid-column: 1 / -1;
}

.video-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.process-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 9, 9, 0.06);
  border-top: 2px solid transparent;
  display: grid;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, border-top-color 0.25s ease;
}

.process-card:hover {
  border-top-color: var(--gold);
}

.process-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.process-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Improvement 7: larger, bolder, more premium process step numbers */
.process-step {
  font-size: 2rem;
  font-weight: 800;
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: -0.04em;

  line-height: 1;
  color: var(--gold-deep);
  text-shadow: 0 2px 10px rgba(148, 100, 20, 0.2);
}

.contact-wrap,
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(9, 9, 9, 0.08);
  display: grid;
  gap: 14px;
}

.contact-card h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  line-height: 1.12;
  max-width: 18ch;
}

.contact-card p {
  color: var(--muted);
  max-width: 44ch;
}

.contact-info {
  display: grid;
  gap: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  align-items: center;
  background: rgba(244, 246, 248, 0.72);
  border: 1px solid rgba(9, 9, 9, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.info-row strong {
  color: var(--ink);
}

.info-row .contact-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(9, 9, 9, 0.16);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.info-row .contact-link:hover,
.info-row .contact-link:focus-visible {
  color: var(--gold-strong);
  border-color: rgba(199, 160, 56, 0.56);
  outline: none;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.contact-form .button[type="submit"] {
  width: 100%;
  padding: 14px 22px;
  font-size: 1rem;
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(9, 9, 9, 0.08);
  display: grid;
  gap: 18px;
}

.contact-form .form-row > input,
.contact-form .form-row > select,
.contact-form .form-row > textarea,
.contact-form .form-row.split > div > input,
.contact-form .form-row.split > div > select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(9, 9, 9, 0.16);
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.96), rgba(244, 246, 248, 0.98));
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-header {
  display: grid;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(9, 9, 9, 0.08);
}

.contact-form-header h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.contact-form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form .form-row > textarea {
  min-height: 120px;
}

.contact-form .form-row > select,
.contact-form .form-row.split > div > select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-strong) 50%),
    linear-gradient(135deg, var(--gold-strong) 50%, transparent 50%),
    linear-gradient(to right, rgba(9, 9, 9, 0.12), rgba(9, 9, 9, 0.12));
  background-position:
    calc(100% - 18px) calc(1em + 3px),
    calc(100% - 12px) calc(1em + 3px),
    calc(100% - 42px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 58%;
  background-repeat: no-repeat;
  padding-right: 48px;
}

.contact-form .form-row > input::placeholder,
.contact-form .form-row > textarea::placeholder {
  color: rgba(47, 52, 58, 0.7);
}

.contact-form .form-row > input:focus-visible,
.contact-form .form-row > select:focus-visible,
.contact-form .form-row > textarea:focus-visible,
.contact-form .form-row.split > div > input:focus-visible,
.contact-form .form-row.split > div > select:focus-visible {
  outline: none;
  border-color: rgba(199, 160, 56, 0.8);
  box-shadow: 0 0 0 3px rgba(199, 160, 56, 0.16);
  background: #f9fafb;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row.split > div {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-message {
  min-height: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.no-contact-consent {
  margin-top: -4px;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(120deg, rgba(199, 160, 56, 0.13), rgba(183, 187, 193, 0.18));
  border: 1px solid rgba(199, 160, 56, 0.35);
  border-radius: 12px;
  padding: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-strong);
}

#contactMessage {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#contactMessage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#contactMessage.is-success {
  background: linear-gradient(120deg, rgba(199, 160, 56, 0.2), rgba(183, 187, 193, 0.24));
  color: var(--ink);
  border: 1px solid rgba(199, 160, 56, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 20px rgba(148, 100, 20, 0.14);
  animation: contactConfirm 0.5s ease;
}

#contactMessage.is-error {
  background: rgba(150, 35, 35, 0.08);
  color: #7d2020;
  border: 1px solid rgba(150, 35, 35, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
}

@keyframes contactConfirm {
  0% {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Improvement 5: form submit loading state */
@keyframes btnSpinner {
  to {
    transform: rotate(360deg);
  }
}

.button.is-loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.button.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(9, 9, 9, 0.25);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: btnSpinner 0.65s linear infinite;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(120deg, rgba(199, 160, 56, 0.2), rgba(183, 187, 193, 0.25));
}

.cta-strip p {
  color: var(--ink-soft);
  max-width: 520px;
}

.landing-cta {
  text-align: center;
}

.landing-cta .eyebrow {
  text-align: center;
}

.landing-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 760px;
  margin: 0 auto 16px;
}

.landing-cta p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}

.landing-cta .hero-actions {
  justify-content: center;
}

/* Improvement 6: gold top border, improved footer spacing */
.site-footer {
  padding: 40px max(var(--layout-gutter), calc((100vw - var(--layout-max)) / 2)) 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border-top: 2px solid var(--gold);
  background: rgba(244, 246, 248, 0.75);
}

.site-footer > div:first-child p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 8px;
  max-width: 320px;
  line-height: 1.5;
}

.site-footer .logo-image {
  width: 240px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-meta a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(9, 9, 9, 0.18);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--gold-strong);
  border-color: rgba(199, 160, 56, 0.56);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

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

body.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 30;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.7);
  backdrop-filter: blur(8px);
}

.lightbox-panel {
  position: relative;
  width: min(920px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(244, 246, 248, 0.96), rgba(244, 246, 248, 0.92));
  border: 1px solid rgba(244, 246, 248, 0.25);
  box-shadow: 0 34px 90px rgba(9, 9, 9, 0.35);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.lightbox-close {
  justify-self: end;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(9, 9, 9, 0.08);
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(9, 9, 9, 0.16);
}

.lightbox-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  max-height: 66vh;
  object-fit: contain;
  background: rgba(9, 9, 9, 0.04);
}

.lightbox-caption {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Bug Fix 2: Mobile hamburger nav – active below 768px */
@media (max-width: 1100px) {
  .hero,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: unset;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: 14ch;
  }

  .damage-panel {
    grid-template-columns: 1fr;
  }

  .contact-wrap,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .storm-response,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 132px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .brand-mark {
    width: 112px;
    height: 112px;
    border-radius: 0;
  }

  .header-cta {
    justify-self: start;
  }
}

@media (max-width: 1320px) and (min-width: 1101px) {
  .site-header {
    min-height: 136px;
  }

  .brand-mark {
    width: 122px;
    height: 122px;
    border-radius: 0;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
  }

  .site-header .button.primary {
    padding: 11px 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .video-manager-form {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  main {
    padding: 20px max(clamp(14px, 4vw, 24px), calc((100vw - var(--layout-max)) / 2)) 72px;
    gap: 72px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    max-width: 100%;
  }

  .hero-proof-bar {
    grid-template-columns: 1fr;
  }

  .hero-proof-bar > div {
    min-height: auto;
  }

  .hero-visual-card figcaption {
    padding: 12px 14px 16px;
  }

  .inspection-steps > div {
    grid-template-columns: 1fr;
  }

  .inspection-steps span {
    grid-row: auto;
  }

  .storm-response {
    gap: 14px;
  }

  .response-card {
    min-height: auto;
  }

  .hero-copy .hero-slogan {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  }

  .section-header h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .contact-card h2 {
    font-size: clamp(1.5rem, 4.8vw, 1.9rem);
  }

  .brand-mark {
    width: 96px;
    height: 96px;
    border-radius: 0;
  }

  .site-footer .logo-image {
    width: 200px;
  }

  .panel-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-row.split {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Bug Fix 2: Mobile hamburger nav – active below 768px.
   Placed last so cascade order guarantees these override the wider-breakpoint header rules. */
@media (max-width: 767px) {
  .nav-hamburger {
    display: flex;
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: unset !important;
    gap: 0;
    row-gap: 0;
  }

  /* Brand stays left, hamburger goes right */
  .brand {
    flex: 0 0 auto;
  }

  /* Desktop CTA is hidden; a Request Inspection link appears in the mobile nav */
  .header-cta {
    display: none;
  }

  .nav-links {
    /* Collapsed by default on mobile */
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(199, 160, 56, 0.18);
    margin-top: 8px;
    justify-content: flex-start;
  }

  /* Revealed by JS when hamburger is toggled open */
  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 10px;
    white-space: normal;
    font-size: 1rem;
    width: 100%;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
    border-radius: 0;
  }
}

body.performance-mode .starfield,
body.performance-mode .glitterfield,
body.performance-mode .firefly-layer {
  display: none !important;
}

body.performance-mode .plane {
  animation: none;
  filter: none;
  opacity: 0.24;
}

body.performance-mode .grain {
  opacity: 0.08;
}

body.performance-mode .reveal {
  transition-duration: 0.16s;
}

body.performance-mode .button,
body.performance-mode .panel-card,
body.performance-mode .service-card,
body.performance-mode .process-card,
body.performance-mode .gallery-card,
body.performance-mode .video-card,
body.performance-mode .contact-card,
body.performance-mode .contact-form,
body.performance-mode .media-card,
body.performance-mode .section-slab,
body.performance-mode .map-card {
  transition-duration: 0.16s;
}

body.performance-mode .panel-card:hover,
body.performance-mode .service-card:hover,
body.performance-mode .process-card:hover,
body.performance-mode .gallery-card:hover,
body.performance-mode .video-card:hover,
body.performance-mode .media-card:hover,
body.performance-mode .section-slab:hover,
body.performance-mode .map-card:hover {
  transform: translateY(-2px);
}

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

  .button,
  .reveal,
  .metallic,
  body.page-enter,
  body.page-exit,
  .page-transition,
  .lightbox {
    transition: none;
    animation: none;
  }

  /* Keep the spinner visible but static — still communicates loading state */
  .button.is-loading::after {
    animation: none;
    border-top-color: var(--black);
    opacity: 0.7;
  }

  .gallery-photo img {
    transition: none;
  }

  .nav-hamburger .bar {
    transition: none;
  }
}
