/* El Paso Custom Woodworking — clean, uniform craft brand */
:root {
  --wood-950: #12100e;
  --wood-900: #1c1814;
  --wood-800: #2b241e;
  --wood-700: #3d342c;
  --wood-600: #5a4a3c;
  --wood-500: #7a6552;
  --wood-400: #a08a72;
  --wood-300: #c4b09a;
  --wood-200: #e0d4c6;
  --wood-100: #f0e9e0;
  --cream: #f6f3ef;
  --cream-dark: #ebe5dc;
  --ink: #1a1714;
  --ink-soft: #4a433c;
  --muted: #6f665c;
  --ember: #b85a2a;
  --ember-soft: #d47842;
  --gold: #b8962e;
  --gold-soft: #d4b65a;
  --white: #ffffff;
  --surface: #ffffff;
  --border: rgba(28, 24, 20, 0.1);
  --border-strong: rgba(28, 24, 20, 0.16);
  --shadow: 0 12px 32px rgba(18, 16, 14, 0.1);
  --shadow-sm: 0 4px 14px rgba(18, 16, 14, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space-section: 5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}

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

a {
  color: var(--wood-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ember);
}

/* Ambient grain */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Custom cursor */
.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  mix-blend-mode: difference;
}

body.has-custom-cursor .cursor {
  display: block;
}

.cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--gold-soft);
  transition: transform 0.12s var(--ease);
}

.cursor-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(255, 253, 248, 0.85);
  border-radius: 50%;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s var(--ease);
}

body.cursor-hover .cursor-ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: rgba(201, 162, 39, 0.12);
}

body.cursor-click .cursor-dot {
  transform: scale(0.5);
}

/* Laser burn progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 80;
  background: linear-gradient(90deg, var(--ember), var(--gold), var(--wood-300));
  box-shadow: 0 0 12px rgba(196, 92, 38, 0.55);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wood-800);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head h2,
.about-copy h2,
.contact-copy h2,
.cta-band h2,
.hero h1,
.form-head h3,
.card h3,
.steps h3,
.idea-card strong,
.footer-brand strong,
.logo-name,
.panel-burn,
.about-panel h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-head h2,
.about-copy h2,
.contact-copy h2,
.cta-band h2,
.hero h1 {
  line-height: 1.15;
  color: var(--wood-900);
  margin: 0 0 0.9rem;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
}

.section-intro,
.hero-lead,
.about-copy p,
.contact-copy > p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 0.7rem;
}

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

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo-badge {
  color: var(--wood-800);
  display: grid;
  place-items: center;
  transition: color 0.2s ease, transform 0.3s var(--ease);
}

.logo:hover .logo-badge {
  color: var(--ember);
  transform: rotate(-6deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--wood-900);
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-500);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--wood-800);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
}

.nav-cta:hover {
  background: var(--ember);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(92, 58, 36, 0.2);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--wood-800);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.btn.magnetic span {
  display: inline-block;
  transition: transform 0.2s var(--ease);
  pointer-events: none;
}

.btn-primary {
  background: var(--wood-800);
  color: var(--white);
  border-color: var(--wood-800);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--wood-800);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--ember);
  color: var(--wood-900);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stamp {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--wood-800);
  color: var(--white);
}

.stamp-outline {
  background: var(--white);
  color: var(--wood-700);
  border: 1px solid var(--border-strong);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  max-width: 14ch;
  font-weight: 700;
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  color: var(--ember);
  font-weight: 700;
  font-style: normal;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-chips span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-pill);
}

/* Photo stack */
.hero-stage {
  position: relative;
}

.photo-stack {
  position: relative;
  height: min(52vw, 420px);
  max-height: 440px;
  min-height: 300px;
  perspective: 1000px;
  outline: none;
}

.stack-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--wood-800);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform-origin: center bottom;
  transition: transform 0.55s var(--ease), opacity 0.45s ease, z-index 0s;
  opacity: 0;
  pointer-events: none;
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-card figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.55rem 0.8rem;
  background: rgba(15, 9, 6, 0.72);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.stack-card.is-active {
  opacity: 1;
  z-index: 4;
  transform: rotate(0deg) translateY(0) scale(1);
  pointer-events: auto;
  cursor: pointer;
}

.stack-card.is-active figcaption {
  opacity: 1;
  transform: none;
}

.stack-card.is-next {
  opacity: 0.9;
  z-index: 3;
  transform: translate(12px, 8px) scale(0.97);
}

.stack-card.is-prev {
  opacity: 0.65;
  z-index: 2;
  transform: translate(-10px, 10px) scale(0.95);
}

.stack-card.is-back {
  opacity: 0.35;
  z-index: 1;
  transform: translate(4px, 16px) scale(0.93);
}

.stack-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.stack-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(92, 58, 36, 0.25);
  background: var(--white);
  color: var(--wood-800);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.stack-btn:hover {
  background: var(--wood-800);
  color: var(--white);
  transform: scale(1.05);
}

.stack-dots {
  display: flex;
  gap: 0.4rem;
}

.stack-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(92, 58, 36, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.stack-dots button.is-active {
  background: var(--ember);
  transform: scale(1.3);
}

.stack-hint {
  text-align: center;
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--wood-900);
  color: var(--wood-200);
  border-block: 1px solid transparent;
  padding: 0.75rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: var(--wood-400);
  opacity: 1;
}

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

/* Services */
.services {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.card-glow {
  display: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  position: relative;
}

.card-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wood-400);
  line-height: 1;
  letter-spacing: -0.02em;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(184, 90, 42, 0.1);
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--wood-900);
  position: relative;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  position: relative;
}

/* About */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ember);
}

.about-panel {
  background: var(--wood-900);
  color: var(--wood-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  position: sticky;
  top: 5.5rem;
}

.panel-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.panel-burn {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--wood-300);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.about-panel h3 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hours {
  margin: 0;
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245, 230, 211, 0.12);
  font-size: 0.95rem;
}

.hours dt {
  font-weight: 600;
  color: var(--wood-100);
}

.hours dd {
  margin: 0;
  color: var(--wood-200);
}

.panel-divider {
  height: 1px;
  background: rgba(245, 230, 211, 0.15);
  margin: 1.25rem 0;
}

.panel-contact {
  margin: 0;
  line-height: 1.85;
}

.panel-contact a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.panel-contact a:hover {
  color: var(--gold-soft);
}

/* Gallery — homepage swipe slideshow */
.gallery {
  background: var(--white);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: none;
}

.section-head-row .section-intro {
  margin-bottom: 0;
  max-width: 36rem;
}

.work-slider {
  max-width: 720px;
  margin-inline: auto;
}

.work-slider-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--wood-900);
  touch-action: pan-y;
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.work-slider-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.work-slider-track.is-dragging {
  transition: none;
}

.work-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--wood-900);
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.work-slider-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.work-slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--wood-800);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.work-slider-btn:hover {
  background: var(--wood-800);
  border-color: var(--wood-800);
  color: var(--white);
}

.work-slider-count {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.work-slider-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.work-slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 24, 20, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.work-slider-dots button.is-active {
  background: var(--ember);
  transform: scale(1.25);
}

/* Full gallery page grid */
.page-gallery {
  padding-top: 1rem;
}

.page-gallery .section-head {
  margin-bottom: 1.75rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.photo-cell {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--wood-800);
  cursor: zoom-in;
  aspect-ratio: 1;
  position: relative;
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.photo-cell:hover img,
.photo-cell:focus-visible img {
  transform: scale(1.05);
}

.photo-cell:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.gallery-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Lightbox (full gallery page) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 6, 4, 0.94);
  display: grid;
  place-items: center;
  padding: 3.5rem 4rem 4rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 253, 248, 0.08);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--wood-200);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 90vw;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 253, 249, 0.22);
}

body.lightbox-open {
  overflow: hidden;
}

/* Idea picker */
.idea {
  background: var(--cream);
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.idea-card {
  text-align: left;
  font: inherit;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  cursor: pointer;
  display: grid;
  gap: 0.3rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.idea-card:hover,
.idea-card.is-selected {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--ember);
  background: var(--white);
}

.idea-card.is-selected {
  outline: 2px solid rgba(184, 90, 42, 0.25);
  outline-offset: 0;
}

.idea-icon {
  font-size: 1.05rem;
  color: var(--ember);
  margin-bottom: 0.2rem;
}

.idea-card strong {
  font-size: 1.05rem;
  color: var(--wood-900);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.idea-card span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

/* Process */
.process {
  background: var(--white);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border-strong);
  pointer-events: none;
}

.steps li {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem 1.4rem;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--wood-800);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.steps h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--wood-900);
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  background: var(--wood-900);
  color: var(--wood-100);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.cta-band p {
  margin: 0;
  color: var(--wood-300);
  font-size: 0.98rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--wood-900);
  border-color: var(--white);
}

.cta-band .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--wood-900);
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  color: var(--wood-800);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-list a:hover {
  color: var(--ember);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.social-links a {
  font-size: 1rem !important;
}

.contact-form {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 0.95rem;
  box-shadow: none;
}

.form-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: var(--wood-900);
  font-weight: 600;
}

.form-spark {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-spark.is-filled {
  color: var(--ember);
  font-weight: 600;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--wood-800);
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(184, 90, 42, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  color: #166534;
  background: #dcfce7;
}

.form-status.is-error {
  color: #991b1b;
  background: #fee2e2;
}

/* Formspree honeypot — must stay off-screen */
.botcheck {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#quote-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Footer */
.site-footer {
  background: var(--wood-950);
  color: var(--wood-200);
  padding: 2.1rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-badge {
  color: var(--gold-soft);
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--wood-300);
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  max-width: 28rem;
  text-align: right;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
  .scan-line { animation: none !important; }
  .pulse { animation: none; }
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }
  .cursor { display: none !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    max-width: 34rem;
    margin-inline: auto;
    width: 100%;
  }

  .photo-stack {
    height: 340px;
  }

  .card-grid,
  .idea-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .work-slider {
    max-width: 100%;
  }

  .steps::before {
    display: none;
  }

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

  .about-panel {
    position: static;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(246, 243, 239, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .hero {
    padding: 2.75rem 0 2.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .card-grid,
  .idea-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .section-head-row {
    align-items: flex-start;
  }

  .section-head-row .btn {
    width: 100%;
  }

  .work-slide {
    aspect-ratio: 5 / 4;
  }

  .section {
    padding: 3.5rem 0;
  }

  :root {
    --space-section: 3.5rem;
  }

  .lightbox {
    padding: 3.5rem 1rem 3.5rem;
  }

  .lightbox-nav {
    display: none;
  }

  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none !important;
  }
}
