/* ============================================================
   WEST ALABAMA FENCE — Design System v2
   Light Editorial Direction
   ============================================================ */

/* === TOKENS === */
:root {
  --cream:        #F7F3ED;
  --cream-dark:   #EDE7DC;
  --ink:          #1A1209;
  --ink-muted:    #5C5040;
  --ink-faint:    #A09080;
  --rust:         #9B3922;
  --rust-dark:    #6B2616;
  --rust-light:   #F5EBE6;
  --gold:         #C4952A;
  --white:        #FFFFFF;
  --border:       rgba(26,18,9,0.1);
  --border-cream: rgba(26,18,9,0.07);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --header-h: 72px;
}

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

html {
  scroll-behavior: auto; /* lenis handles this */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
em { font-style: italic; }

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h3 { font-weight: 600; }

p { line-height: 1.75; }

/* === GLOBAL UTILITY === */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

.eyebrow-cream { color: rgba(247,243,237,0.55); }

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.section-sub { color: var(--ink-muted); font-size: 1.05rem; }

/* === BUTTONS === */
.btn-rust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  background: var(--rust);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-rust:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155,57,34,0.25);
}

.btn-large { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--r-md); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* === HEADER === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

#header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--header-h);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--ink); }

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

/* === MOBILE OVERLAY === */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.mobile-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--rust); }
.mobile-overlay.open .mobile-link { opacity: 1; transform: translateY(0); }

.mobile-cta-link {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rust);
  margin-top: 16px;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 2px;
}

/* === HERO === */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding-top: var(--header-h);
}

.hero-left {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 10%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  opacity: 0; /* GSAP animates in */
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.line-wrap {
  display: block;
  overflow: hidden;
}

.hero-line {
  display: block;
  transform: translateY(110%); /* GSAP animates to 0 */
}

.hero-title em {
  font-style: italic;
  color: var(--rust);
  font-weight: 600;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 440px;
  opacity: 0; /* GSAP */
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0; /* GSAP */
}

.hero-right {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0; /* GSAP */
}

.hero-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Hero bottom strip */
.hero-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 10%;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  opacity: 0; /* GSAP */
  position: relative;
  z-index: 2;
}

.hero-strip .dot { color: var(--border); }

/* === TRUST RIBBON === */
.trust-ribbon {
  background: var(--ink);
  overflow: hidden;
  padding: 14px 0;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbonScroll 28s linear infinite;
}

.ribbon-set {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,237,0.6);
}

.rsep { color: rgba(247,243,237,0.2); font-size: 0.8em; }

@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === SERVICES === */
.services-section {
  padding: 120px 10%;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 280px 280px 280px;
  gap: 12px;
}

/* Explicit placement for alternating portrait/landscape rhythm */
.svc-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; } /* Wood: portrait */
.svc-card:nth-child(2) { grid-column: 2; grid-row: 1; }     /* Iron: landscape */
.svc-card:nth-child(3) { grid-column: 2; grid-row: 2; }     /* Farm: landscape */
.svc-card:nth-child(4) { grid-column: 1; grid-row: 3; }     /* Chain: landscape */
.svc-card:nth-child(5) { grid-column: 2; grid-row: 3 / 5; } /* Vinyl: portrait */
.svc-card:nth-child(6) { grid-column: 1; grid-row: 4; }     /* Gates: landscape */

.svc-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
}

.svc-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-card:hover .svc-photo { transform: scale(1.04); }

.svc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(155, 57, 34, 0.92);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-overlay-dark {
  background: rgba(26, 18, 9, 0.85);
}

.svc-card:hover .svc-overlay { opacity: 1; }

.svc-overlay h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.svc-overlay p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.svc-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color 0.2s;
}
.svc-cta:hover { border-color: var(--white); }
.svc-cta-dark { color: var(--ink); border-bottom-color: rgba(26,18,9,0.3); }
.svc-cta-dark:hover { border-color: var(--ink); }

.svc-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: var(--white);
  transition: opacity 0.3s;
}

.svc-card:hover .svc-label { opacity: 0; }

.svc-label-dark {
  background: linear-gradient(to top, rgba(26,18,9,0.5) 0%, transparent 100%);
  color: var(--ink);
}

.svc-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.svc-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === NUMBERS === */
.numbers-section {
  background: var(--ink);
  padding: 100px 10%;
}

.numbers-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 40px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 9vw, 9rem);
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 100px;
  background: rgba(247,243,237,0.08);
  flex-shrink: 0;
}

/* === GALLERY === */
.gallery-section {
  background: var(--cream);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 80px;
}

.gallery-header {
  padding: 0 10% 40px;
  flex-shrink: 0;
}

.gallery-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-top: 8px;
}

.gallery-overflow {
  flex: 1;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 0 10%;
  height: 100%;
  align-items: stretch;
  will-change: transform;
}

.gallery-card {
  flex-shrink: 0;
  width: 380px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}

.gallery-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .gallery-img { transform: scale(1.03); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
}

.gallery-caption-ink {
  background: linear-gradient(to top, rgba(26,18,9,0.5) 0%, transparent 100%);
  color: var(--ink);
}

.gcap-type {
  font-size: 0.82rem;
  font-weight: 600;
}
.gcap-loc {
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}

.gallery-scroll-hint {
  flex-shrink: 0;
  padding: 16px 10%;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

/* Mobile gallery: horizontal scroll */
@media (max-width: 768px) {
  .gallery-section {
    height: auto;
    padding-top: 80px;
  }
  .gallery-overflow {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-overflow::-webkit-scrollbar { display: none; }
  .gallery-track {
    height: 260px;
    padding-bottom: 0;
  }
  .gallery-card { width: 280px; }
}

/* === PROCESS === */
.process-section {
  background: var(--cream-dark);
  padding: 120px 10%;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 16px;
}

.process-step {
  flex: 1;
  padding: 0 40px 0 0;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 300px;
}

.process-connector {
  flex-shrink: 0;
  height: 1px;
  width: 80px;
  background: var(--rust);
  margin-top: calc(clamp(2.5rem, 4vw, 4rem) / 2 + 4px); /* align with center of step-num */
  transform: scaleX(0);
  transform-origin: left center;
}

/* === REVIEWS === */
.reviews-section {
  background: var(--white);
  padding: 120px 0;
  overflow: hidden;
}

.featured-review {
  text-align: center;
  padding: 0 10%;
  margin-bottom: 72px;
}

.quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  line-height: 0.6;
  color: var(--rust);
  opacity: 0.15;
  margin-bottom: 24px;
  display: block;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 24px;
}

.quote-attr {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* Marquee */
.marquee-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.marquee-row { overflow: hidden; }

.marquee-inner {
  display: flex;
  gap: 16px;
  width: max-content;
}

.scroll-left  { animation: scrollLeft  35s linear infinite; }
.scroll-right { animation: scrollRight 35s linear infinite; }

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.review-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stars {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}

.rname {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* === ABOUT === */
.about-section {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about-photo {
  position: relative;
  overflow: hidden;
}

.about-photo-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.about-content {
  padding: 100px 10% 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.1;
}

.about-body {
  font-size: 1rem;
  color: rgba(247,243,237,0.65);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 28px;
}

.about-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rust);
  border-left: 2px solid var(--rust);
  padding-left: 20px;
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 400px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid rgba(247,243,237,0.12);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(247,243,237,0.7);
}

/* === CTA === */
.cta-section {
  background: var(--cream);
  padding: 160px 10%;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-section .eyebrow { justify-content: center; display: flex; margin-bottom: 16px; }

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-sub {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 52px;
}

.magnetic-wrap {
  display: inline-flex;
  padding: 40px;
  margin: -40px;
}

.magnetic-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1.1rem 2.4rem;
  background: var(--rust);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background 0.2s, box-shadow 0.2s;
  will-change: transform;
}

.magnetic-btn:hover {
  background: var(--rust-dark);
  box-shadow: 0 12px 40px rgba(155,57,34,0.3);
}

/* === CONTACT === */
.contact-section {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 120px 10%;
}

.contact-info h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
  margin-top: 12px;
}

.contact-info > p {
  color: var(--ink-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cdetail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.cdetail:last-child { border-bottom: none; padding-bottom: 0; }

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

.cdetail-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

/* Form */
.contact-form-wrap { align-self: center; }

form { display: flex; flex-direction: column; gap: 8px; }

/* Floating label field */
.ff {
  position: relative;
  padding-top: 16px;
  margin-bottom: 8px;
}

.ff input,
.ff textarea,
.ff select {
  width: 100%;
  padding: 12px 0 10px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  resize: none;
}

.ff input:focus,
.ff textarea:focus,
.ff select:focus { border-color: var(--rust); }

.ff label {
  position: absolute;
  left: 0;
  top: 28px;
  font-size: 0.9rem;
  color: var(--ink-faint);
  pointer-events: none;
  transition: all 0.2s;
}

.ff input:focus + label,
.ff input:not(:placeholder-shown) + label,
.ff textarea:focus + label,
.ff textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Select hack: show label raised when has value */
.ff-select select:valid + label,
.ff-select.filled label {
  top: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ff-select .select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-faint);
}

.form-submit {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.form-submit:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155,57,34,0.25);
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  padding: 80px 10% 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247,243,237,0.06);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.footer-tag {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer-nav, .footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer-nav a, .footer-contact-col a, .footer-contact-col span {
  font-size: 0.85rem;
  color: rgba(247,243,237,0.45);
  transition: color 0.2s;
}

.footer-nav a:hover, .footer-contact-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.72rem;
  color: rgba(247,243,237,0.25);
  gap: 20px;
  flex-wrap: wrap;
}

/* === SCROLL REVEAL === */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-left { flex: 0 0 58%; padding: 60px 40px 60px 6%; }
  .hero-right { flex: 0 0 42%; }
  .about-section { grid-template-columns: 1fr 1.2fr; }
  .about-content { padding: 80px 6% 80px 60px; }
  .contact-section { gap: 60px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .desktop-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero: stack vertically */
  .hero-body { flex-direction: column; }

  .hero-left {
    flex: none;
    padding: 48px 6% 40px;
    order: 1;
  }

  .hero-right {
    flex: none;
    order: 2;
    height: 280px;
  }

  .hero-photo-frame {
    position: absolute;
    inset: 0;
    clip-path: none;
    border-radius: 0;
  }

  .hero-strip {
    order: 3;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 6%;
    font-size: 0.72rem;
  }

  .hero-strip .dot { display: none; }

  /* Services */
  .services-section { padding: 80px 6%; }
  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .svc-card:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    height: 260px;
  }
  .svc-card:nth-child(1),
  .svc-card:nth-child(5) { height: 320px; }

  /* Numbers */
  .numbers-section { padding: 80px 6%; }
  .numbers-grid { flex-direction: column; gap: 0; }
  .stat-item { padding: 40px 20px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat-num { font-size: clamp(4rem, 18vw, 6rem); }

  /* Process */
  .process-section { padding: 80px 6%; }
  .process-steps { flex-direction: column; gap: 40px; }
  .process-step { padding: 0; }
  .process-step p { max-width: 100%; }
  .process-connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    transform: scaleY(0);
    transform-origin: top;
  }

  /* Reviews */
  .reviews-section { padding: 80px 0; }
  .featured-review { padding: 0 6%; margin-bottom: 48px; }

  /* About */
  .about-section { grid-template-columns: 1fr; }
  .about-photo { height: 300px; }
  .about-content { padding: 60px 6%; }

  /* CTA */
  .cta-section { padding: 100px 6%; }

  /* Contact */
  .contact-section { grid-template-columns: 1fr; gap: 60px; padding: 80px 6%; }

  /* Footer */
  .footer { padding: 60px 6% 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Gallery */
  .gallery-section { padding-top: 60px; }
  .gallery-header { padding: 0 6% 32px; }
  .gallery-scroll-hint { padding: 12px 6%; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-actions .btn-ghost { border-bottom: none; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ribbon-track, .marquee-inner { animation: none; }
  .hero-line { transform: none; }
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-strip, .hero-photo-frame { opacity: 1; }
  .reveal-up { opacity: 1; transform: none; }
}
