/* ════════════════════════════════════════════════════════════════
   S H CARPENTRY — LUXURY DARK THEME
   Newport, Wales
════════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Palette */
  --bg-void:        #09080600;
  --bg-primary:     #0D0B09;
  --bg-secondary:   #131109;
  --bg-card:        #1A1713;
  --bg-card-hover:  #211E18;
  --bg-form:        #161310;

  --gold:           #C9A55A;
  --gold-light:     #E2C27D;
  --gold-pale:      #F0DFB5;
  --gold-dark:      #9B7A3A;
  --gold-dim:       rgba(201, 165, 90, 0.15);
  --gold-border:    rgba(201, 165, 90, 0.25);
  --gold-border-lg: rgba(201, 165, 90, 0.5);

  --text-primary:   #F2E8D9;
  --text-secondary: #B8A890;
  --text-muted:     #7A6B5C;
  --text-faint:     #4A3D32;

  --white:          #FFFFFF;
  --error:          #D97045;
  --success:        #7CAF7A;

  /* Typography */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-accent:    'Cormorant Garamond', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;

  /* Sizing */
  --max-w:          1200px;
  --section-py:     clamp(5rem, 10vw, 9rem);
  --container-px:   clamp(1.25rem, 5vw, 3rem);

  /* Transitions */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:       180ms;
  --dur-med:        320ms;
  --dur-slow:       600ms;

  /* Borders */
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      12px;
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

/* ─── GRAIN OVERLAY ──────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-heading--center { text-align: center; }

.section-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  margin-top: 0.5rem;
}

.section-intro {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

/* Gold decorative rule */
.gold-rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  margin-bottom: 1.75rem;
  position: relative;
}

.gold-rule::before,
.gold-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.gold-rule::before { left: -8px; }
.gold-rule::after  { right: -8px; }

.gold-rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-secondary);
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-fast);
}

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

/* Gold / primary button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #0D0B09;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 2px 20px rgba(201, 165, 90, 0.25);
}

.btn-gold:hover {
  background-position: 100% 0%;
  box-shadow: 0 4px 32px rgba(201, 165, 90, 0.45);
  transform: translateY(-1px);
}

.btn-gold:active { transform: translateY(0); }

/* Ghost / secondary button */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gold-border);
}

.btn-ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold-border-lg);
  color: var(--gold-pale);
  transform: translateY(-1px);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur-med) var(--ease-in-out),
              border-color var(--dur-med) var(--ease-in-out),
              box-shadow var(--dur-med) var(--ease-in-out);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(13, 11, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--gold-border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

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

/* Logo */
.nav-logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--dur-fast);
}
.nav-logo:hover { opacity: 0.85; }

.logo-sh {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1;
}

.logo-divider {
  width: 1px;
  height: 1.6rem;
  background: var(--gold-border-lg);
  display: block;
}

.logo-carpentry {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-top: 0.05rem;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 1px;
  background: var(--gold);
  transition: transform var(--dur-med) var(--ease-out);
}

.nav-link:hover { color: var(--gold-pale); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-cta {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light) !important;
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem !important;
  transition: all var(--dur-med) var(--ease-out);
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0D0B09 !important;
}

.nav-cta::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.nav-toggle:hover { background: var(--gold-dim); }

.hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(9,7,5,0.88) 0%,
    rgba(9,7,5,0.72) 50%,
    rgba(9,7,5,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--container-px);
  max-width: 900px;
  animation: heroFadeUp 1.1s var(--ease-out) 0.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.eyebrow-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

.br-desk { display: none; }
@media (min-width: 768px) { .br-desk { display: inline; } }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity var(--dur-fast);
  animation: heroFadeUp 1s var(--ease-out) 1.4s both;
}
.hero-scroll-cue:hover { opacity: 1; }
.scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-scroll-cue i {
  font-size: 0.75rem;
  animation: bounce 2.4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  z-index: 0;
  transition: border-color var(--dur-med);
}
.about-image-wrap:hover .about-img-frame {
  border-color: var(--gold-border-lg);
}

.about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: brightness(0.88) contrast(1.05);
  transition: filter var(--dur-slow);
}
.about-image-wrap:hover .about-img {
  filter: brightness(0.95) contrast(1.05);
}

/* Floating badge */
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  z-index: 3;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-lg);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.badge-top {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.badge-year {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}
.badge-loc {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.about-text { padding-left: 0.5rem; }

.about-body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* Stats row */
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-plus, .stat-pct {
  font-size: 1.4rem;
  color: var(--gold-dark);
}

.stat-star { font-size: 1rem; color: var(--gold); }

.stat-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gold-border);
  flex-shrink: 0;
}

/* ─── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  transition: background var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dim), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med);
}

.service-card:hover { background: var(--bg-card-hover); }
.service-card:hover::after { opacity: 1; }

.service-card-top {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover .service-card-top { transform: scaleX(1); }

.service-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: transform var(--dur-med) var(--ease-out),
              color var(--dur-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.1) translateY(-2px);
  color: var(--gold-light);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── WHY CHOOSE US ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold-dim) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur-med);
}

.why-card:hover {
  border-color: var(--gold-border-lg);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
.why-card:hover::before { opacity: 1; }

.why-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--gold);
  transition: all var(--dur-med) var(--ease-out);
}

.why-card:hover .why-icon-wrap {
  background: var(--gold);
  color: #0D0B09;
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201, 165, 90, 0.35);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── REVIEWS ────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  transition: all var(--dur-med) var(--ease-out);
}

.review-card:hover {
  border-color: var(--gold-border-lg);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Featured centre card */
.review-card--featured {
  background: var(--bg-card-hover);
  border-color: var(--gold-border-lg);
  transform: translateY(-8px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.45);
}

.review-card--featured:hover {
  transform: translateY(-12px);
}

.review-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.2;
  margin-bottom: 1rem;
  user-select: none;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 0.85rem;
}

.review-text {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  quotes: none;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--gold-border);
  padding-top: 1.25rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0D0B09;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.review-source {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ─── GALLERY ────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color var(--dur-med);
  cursor: pointer;
  margin: 0;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item:hover {
  border-color: var(--gold-border);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform var(--dur-slow) var(--ease-out),
              filter var(--dur-slow);
  filter: brightness(0.85) saturate(0.9);
}

.gallery-item--tall .gallery-img { min-height: 460px; }
.gallery-item--wide .gallery-img { min-height: 250px; }

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  filter: brightness(0.7) saturate(1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.85rem;
  background: linear-gradient(0deg, rgba(9,7,5,0.9) 0%, transparent 100%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease-out);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contact-info { padding-top: 0.5rem; }

.contact-body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.contact-detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-detail-link {
  transition: color var(--dur-fast);
}
.contact-detail-link:hover { color: var(--gold-light); }

/* Form */
.contact-form-wrap {
  background: var(--bg-form);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

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

.required { color: var(--gold); }

.form-input {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--text-faint); }

.form-input:focus {
  border-color: var(--gold);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.12);
}

.form-input.input-error { border-color: var(--error); }
.form-input.input-error:focus { box-shadow: 0 0 0 3px rgba(217, 112, 69, 0.15); }

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

.field-error {
  font-size: 0.72rem;
  color: var(--error);
  display: block;
  min-height: 1em;
}

/* Form feedback */
.form-feedback {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  background: rgba(124, 175, 122, 0.1);
  border: 1px solid rgba(124, 175, 122, 0.3);
  color: var(--success);
}

.form-error {
  background: rgba(217, 112, 69, 0.1);
  border: 1px solid rgba(217, 112, 69, 0.3);
  color: var(--error);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 60px 6px rgba(201, 165, 90, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 3rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo { margin-bottom: 0.75rem; }
.footer-logo .logo-sh { font-size: 1.2rem; }
.footer-logo .logo-carpentry { font-size: 0.72rem; }

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.footer-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.footer-link:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-social { display: flex; gap: 0.75rem; }

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 1rem;
  transition: all var(--dur-med) var(--ease-out);
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0D0B09;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 165, 90, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem var(--container-px);
  text-align: center;
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

/* ─── SECTION DIVIDER DECORATION ────────────────────────────── */
section::before {
  content: none;
}

/* ─── AOS OVERRIDES ──────────────────────────────────────────── */
[data-aos] { backface-visibility: hidden; }

/* ─── FOCUS-VISIBLE (Accessibility) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 960px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .review-card--featured {
    transform: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-img { height: 380px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
  }

  .footer-social { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 640px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Show hamburger */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 7, 5, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-out);
    border-top: 1px solid var(--gold-border);
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    letter-spacing: 0.15em;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn { width: 100%; justify-content: center; }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5px;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--wide { grid-column: span 1; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-img { min-height: 240px !important; }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
  }

  /* About stats */
  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-divider {
    width: 48px;
    height: 1px;
  }

  /* Gallery caption always visible on mobile */
  .gallery-caption {
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════════════════════════════ */
@media print {
  #navbar, .hero-scroll-cue, .grain-overlay { display: none; }
  body { background: white; color: black; }
  a { text-decoration: underline; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-img { animation: none; }
}
