/* ===========================================================
   WDC Design Center — Design Tokens
   Dark, high-contrast theme built around the DC logo: charcoal
   3D-block surfaces, neon lime green + construction-orange
   accents, glow effects for a modern, energetic feel.
   Background: #0E1110   Surface: #171A18   Green: #6FE821
   Orange: #FF8A1E   Dark: #08090A   Ink: #F2F5F1
   Display: Fraunces   Body: Inter   Mono: IBM Plex Mono
=========================================================== */

:root {
  --bg: #0E1110;
  --surface: #171B19;
  --surface-2: #1E2320;
  --line: #2C332D;
  --line-soft: #232823;
  --ink: #F2F5F1;
  --muted: #ACB5AE;
  --muted-2: #78827C;

  --gold: #6FE821;
  --gold-bright: #9CFF4D;
  --gold-dim: #4FA818;
  --blue: #FF8A1E;
  --blue-bright: #FFB25C;
  --blue-dim: #E06E0A;

  --dark: #070807;
  --dark-surface: #121513;
  --dark-line: #262B26;
  --cream-on-dark: #F2F5F1;
  --muted-on-dark: #9FA9A2;

  --glow-green: 0 0 22px rgba(111,232,33,0.45), 0 0 60px rgba(111,232,33,0.12);
  --glow-orange: 0 0 22px rgba(255,138,30,0.45), 0 0 60px rgba(255,138,30,0.12);

  --radius: 10px;
  --radius-lg: 18px;
  --container: 1180px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,0.65);
  --shadow-sm: 0 10px 26px -14px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(111,232,33,0.06), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(255,138,30,0.055), transparent 45%),
    var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.dim-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  fill: var(--muted-2);
  letter-spacing: 0.05em;
}
.dim-text.small { font-size: 10px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0A0F09;
  box-shadow: var(--glow-green);
}
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 0 30px rgba(111,232,33,0.65), 0 0 70px rgba(111,232,33,0.18); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-bright, var(--blue)); box-shadow: 0 0 0 1px rgba(255,138,30,0.3); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: var(--gold-bright);
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: 'IBM Plex Mono', monospace;
  border-bottom: 1px solid var(--dark-line);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,17,16,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,0.6); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.footer-brand .brand { margin-bottom: 14px; }

/* ---------- Animated image logo ---------- */
.brand-mark {
  height: 48px;
  width: 48px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.8) rotate(-8deg);
  animation: logoPop 0.7s cubic-bezier(.34,1.56,.64,1) forwards 0.15s;
  box-shadow: 0 0 0 1px rgba(111,232,33,0.35), var(--glow-green);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(6px);
  animation: logoFade 0.6s ease forwards 0.55s;
}
.brand-word .word-main {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-word .word-main span { color: var(--gold-bright); }
.brand-word .word-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--blue);
}
.brand:hover .brand-mark { animation: logoPulse 0.6s ease; box-shadow: 0 0 0 1px rgba(111,232,33,0.5), 0 0 32px rgba(111,232,33,0.65); }
@keyframes logoPop { to { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes logoFade { to { opacity: 1; transform: translateY(0); } }
@keyframes logoPulse { 50% { transform: scale(1.06) rotate(-2deg); } }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(111,232,33,0.35), 0 0 18px rgba(111,232,33,0.35), 0 0 46px rgba(111,232,33,0.1); }
  50% { box-shadow: 0 0 0 1px rgba(111,232,33,0.5), 0 0 30px rgba(111,232,33,0.55), 0 0 70px rgba(111,232,33,0.18); }
}
.brand-mark { animation: logoPop 0.7s cubic-bezier(.34,1.56,.64,1) forwards 0.15s, glowPulse 3.2s ease-in-out infinite 0.9s; }
.footer-brand .brand-word .word-main { color: var(--cream-on-dark); }
.footer-brand .brand-word .word-sub { color: var(--muted-on-dark); }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.phone-link svg { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111,232,33,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,232,33,0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  opacity: 0.8;
  animation: gridDrift 22s linear infinite;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60%;
  background:
    radial-gradient(circle at 30% 20%, rgba(111,232,33,0.16), transparent 55%),
    radial-gradient(circle at 75% 10%, rgba(255,138,30,0.13), transparent 50%);
  filter: blur(10px);
  animation: heroGlowDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroGlowDrift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(2%, 3%) scale(1.06); }
}
@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 48px 48px, 48px 48px; }
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
  display: block;
}
.eyebrow.center { text-align: center; }

.hero-title {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.8s ease forwards 0.2s;
}
.accent-green { color: var(--gold-bright); font-style: italic; text-shadow: 0 0 24px rgba(111,232,33,0.45); }
.accent-orange { color: var(--blue); font-style: italic; text-shadow: 0 0 24px rgba(255,138,30,0.4); }

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.8s ease forwards 0.38s;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.8s ease forwards 0.52s;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--ink);
}
.stat-label {
  font-size: 12.5px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero photo panel */
.hero-visual { display: flex; justify-content: center; position: relative; width: 100%; }
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: photoRevealIn 0.9s cubic-bezier(.22,1,.36,1) forwards 0.15s, frameGlow 4.5s ease-in-out infinite 1.2s;
  will-change: transform, opacity;
}
@keyframes frameGlow {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 1px rgba(111,232,33,0.18), 0 0 26px rgba(111,232,33,0.14); }
  50% { box-shadow: var(--shadow), 0 0 0 1px rgba(255,138,30,0.22), 0 0 34px rgba(255,138,30,0.18); }
}
@keyframes photoRevealIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.06);
  animation: photoSettle 1.4s ease forwards 0.2s;
}
@keyframes photoSettle { to { transform: scale(1); } }
.hero-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(33,31,27,0.82);
  color: var(--cream-on-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: logoFade 0.6s ease forwards 1.1s;
}
.hero-photo-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); flex-shrink: 0; }
.hero-corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: logoFade 0.5s ease forwards 0.9s;
}
.hero-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; border-top-left-radius: var(--radius-lg); }
.hero-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; border-bottom-right-radius: var(--radius-lg); }

/* Big animated WDC mark — shown instead of the photo on mobile/tablet
   (see responsive section), since a small photo doesn't carry a phone
   screen the way it does on a wide desktop layout. */
.hero-wdc-mark {
  display: none;
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--dark-surface);
  aspect-ratio: 4 / 5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.hero-wdc-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 25%, rgba(111,232,33,0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(255,138,30,0.3), transparent 50%);
  filter: blur(20px);
  animation: wdcGlowDrift 6s ease-in-out infinite alternate;
}
@keyframes wdcGlowDrift {
  0% { transform: translate(-3%, -3%) scale(1); opacity: 0.85; }
  100% { transform: translate(3%, 3%) scale(1.15); opacity: 1; }
}
.hero-wdc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111,232,33,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,232,33,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  animation: gridDrift 14s linear infinite;
}
.hero-wdc-letters {
  position: relative;
  display: flex;
  gap: clamp(6px, 2.5vw, 14px);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 20vw, 6.5rem);
  line-height: 1;
}
.hero-wdc-letter {
  opacity: 0;
  transform: translateY(30px) scale(0.7) rotate(-6deg);
  animation:
    wdcLetterIn 0.7s cubic-bezier(.34,1.56,.64,1) forwards calc(0.15s + var(--i) * 0.12s),
    wdcLetterFloat 3.6s ease-in-out infinite calc(1.1s + var(--i) * 0.15s);
  background: linear-gradient(160deg, var(--gold-bright) 0%, var(--gold-bright) 40%, var(--blue) 65%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(111,232,33,0.35)) drop-shadow(0 0 30px rgba(255,138,30,0.2));
}
@keyframes wdcLetterIn { to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); } }
@keyframes wdcLetterFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-wdc-sub {
  position: relative;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(10px, 2.6vw, 13px);
  letter-spacing: 0.32em;
  color: var(--muted);
  opacity: 0;
  animation: logoFade 0.6s ease forwards 0.75s;
}

/* ---------- Section titles ---------- */
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.section-title.center { text-align: center; margin-bottom: 52px; }

/* ---------- Style Showcases (Windows / Doors / Cabinets) ---------- */
.style-section { padding: 88px 0; border-bottom: 1px solid var(--line-soft); }
.style-section.alt { background: var(--surface); }
.style-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.style-section-head .heading-block { max-width: 640px; }
.style-section-head p.lead { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.style-count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.14em; color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.style-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.style-section.alt .style-card { background: var(--surface-2); }
.style-card:hover { transform: translateY(-4px); }
.style-card.tone-green:hover { border-color: var(--gold); box-shadow: var(--shadow-sm), var(--glow-green); }
.style-card.tone-orange:hover { border-color: var(--blue); box-shadow: var(--shadow-sm), var(--glow-orange); }
.style-card-icon {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  border-radius: 10px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.style-card-icon svg { width: 100%; height: 100%; }
.style-card.tone-green .style-card-icon svg { color: var(--gold-bright); }
.style-card.tone-orange .style-card-icon svg { color: var(--blue-bright); }
.style-card h4 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; }
.style-card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 980px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .style-grid { grid-template-columns: 1fr; }
}

/* ---------- Showroom Brand Strip ---------- */
.brand-strip { padding: 56px 0; border-bottom: 1px solid var(--line-soft); background: var(--dark-surface); }
.brand-strip-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center; }
.brand-strip img { height: 92px; width: auto; filter: drop-shadow(0 0 26px rgba(111,232,33,0.18)); }
.brand-strip p { max-width: 480px; color: var(--muted); font-size: 14.5px; margin: 0 auto; }
.brand-strip .brand-strip-copy .eyebrow { margin-bottom: 6px; }
@media (max-width: 640px) { .brand-strip img { height: 64px; } }

/* ---------- Services ---------- */
.services { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--glow-green); }
.service-icon { width: 56px; height: 56px; margin-bottom: 20px; transition: transform 0.35s ease; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.35rem; margin-bottom: 12px; }
.service-card > p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.service-list { display: flex; flex-direction: column; gap: 9px; }
.service-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 2px;
  background: var(--blue-dim);
}

/* ---------- Process ---------- */
.process { padding: 96px 0; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 6px, transparent 6px, transparent 12px);
}
.process-step {
  position: relative;
  padding: 0 18px;
  text-align: left;
}
.step-num {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0A0F09;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: var(--glow-green);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.process-step:hover .step-num { transform: scale(1.1); box-shadow: 0 0 0 1px rgba(111,232,33,0.5), 0 0 30px rgba(111,232,33,0.6); }
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Fraunces', serif; font-weight: 600; }
.process-step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Why ---------- */
.why { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
.why-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.why-lead { color: var(--muted); font-size: 16.5px; margin: 18px 0 34px; max-width: 460px; }
.why-points { display: flex; flex-direction: column; gap: 24px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.point-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.why-point h4 { font-size: 15.5px; margin-bottom: 4px; font-family: 'Fraunces', serif; font-weight: 600; }
.why-point p { font-size: 14px; color: var(--muted); }

.why-visual { position: relative; }
.why-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--surface);
  outline: 1px solid var(--line);
}
.why-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  filter: saturate(1.02);
  transition: transform 0.6s ease;
}
.why-photo-frame:hover img { transform: scale(1.04); }
.why-tick {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--gold-bright);
}
.why-tick.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.why-tick.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.why-caption {
  margin-top: 16px;
  text-align: center;
}

/* ---------- Gallery ---------- */
.work { padding: 96px 0; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 18px;
}
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; grid-column: span 1; grid-row: span 1; margin: 0; box-shadow: var(--shadow-sm); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-media {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.gallery-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-media img { transform: scale(1.07); }
.gallery-media .media-icon { width: 40%; height: 40%; }
.gallery-hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  margin: -28px 0 32px;
}
.gallery-hint code {
  font-family: 'IBM Plex Mono', monospace;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line-soft);
}
.grad-1 { background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim)); }
.grad-2 { background: linear-gradient(135deg, var(--blue), var(--blue-dim)); }
.grad-3 { background: linear-gradient(135deg, var(--gold), var(--gold-dim)); }
.grad-4 { background: linear-gradient(135deg, var(--blue-dim), var(--gold-dim)); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(33,31,27,0.82), transparent);
  font-size: 12.5px;
  color: #fff;
}
.gallery-item figcaption span { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 2px; font-family: 'Fraunces', serif; }

/* ---------- Video section ---------- */
.video-section { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
.video-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.video-copy code {
  font-family: 'IBM Plex Mono', monospace;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line-soft);
  font-size: 13px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}
.video-frame.has-video video { display: block; }
.video-frame.has-video .video-placeholder { display: none; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 13.5px;
}
.video-placeholder svg { width: 52px; height: 52px; }

/* ---------- Reviews ---------- */
/* ---------- FAQ ---------- */
.faq { padding: 96px 0; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; max-width: 980px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 24px; background: var(--surface-2); }
.faq-item h4 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

.reviews { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--glow-orange); border-color: var(--blue-dim); }
.review-card p { font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.review-card footer { font-size: 13px; color: var(--muted-2); font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: var(--dark);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(111,232,33,0.16), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(255,138,30,0.14), transparent 55%);
  animation: ctaGlowDrift 10s ease-in-out infinite alternate;
}
@keyframes ctaGlowDrift {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}
.cta-inner { position: relative; text-align: center; max-width: 620px; }
.cta-inner h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; color: var(--cream-on-dark); }
.cta-inner p { color: var(--muted-on-dark); margin-bottom: 30px; font-size: 16px; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.info-rows { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; flex-direction: column; gap: 3px; }
.info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.info-row a, .info-row span:not(.info-label) { font-size: 15.5px; font-weight: 500; }
.info-row a:hover { color: var(--gold-bright); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 0; }
.form-row.two-col > div { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus,
.form-row input:focus-visible, .form-row select:focus-visible, .form-row textarea:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(111,232,33,0.18);
}
.form-row textarea { resize: vertical; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--gold-bright); min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); border-top: 1px solid var(--dark-line); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--muted-on-dark); font-size: 13.5px; max-width: 260px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-on-dark); margin-bottom: 16px; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--cream-on-dark); opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.footer-col a:hover { color: var(--gold-bright); opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid var(--dark-line);
  font-size: 12.5px;
  color: var(--muted-on-dark);
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Touch-device hover equivalents ----------
   Devices without a mouse (phones/tablets) never trigger :hover, so every
   hover-only effect above is invisible on mobile. This block mirrors those
   effects onto :active (a finger press) so tapping gives the same visual
   feedback as hovering does on desktop. */
@media (hover: none) {
  .btn:active::before { transform: translateX(120%); }

  .service-card:active { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--glow-green); }
  .service-card:active .service-icon { transform: rotate(-6deg) scale(1.06); }

  .style-card:active { transform: translateY(-4px); }
  .style-card.tone-green:active { border-color: var(--gold); box-shadow: var(--shadow-sm), var(--glow-green); }
  .style-card.tone-orange:active { border-color: var(--blue); box-shadow: var(--shadow-sm), var(--glow-orange); }

  .review-card:active { transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--glow-orange); border-color: var(--blue-dim); }

  .gallery-item:active .gallery-media img { transform: scale(1.07); }

  .why-photo-frame:active img { transform: scale(1.04); }

  .process-step:active .step-num { transform: scale(1.1); box-shadow: 0 0 0 1px rgba(111,232,33,0.5), 0 0 30px rgba(111,232,33,0.6); }

  .brand:active .brand-mark { animation: logoPulse 0.6s ease; box-shadow: 0 0 0 1px rgba(111,232,33,0.5), 0 0 32px rgba(111,232,33,0.65); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   Responsive
=========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: min(440px, 92%); margin: 0 auto 24px; }
  .hero-video, .hero-photo-frame { display: none; }
  .hero-wdc-mark { display: flex; }
  .hero-visual.has-video .hero-video { display: block; width: 100%; border-radius: var(--radius-lg); }
  .hero-visual.has-video .hero-wdc-mark { display: none; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process-track::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .video-inner { grid-template-columns: 1fr; }
  .video-copy { text-align: center; }
  .video-copy .section-title { text-align: center; }
}

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

@media (max-width: 760px) {
  .nav-drawer { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-drawer {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-height: calc(100vh - 100%);
    max-height: min(calc(100dvh - 64px), 80vh);
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
  }
  .site-header.open .main-nav {
    flex-direction: column;
    padding: 20px 24px 4px;
    gap: 18px;
  }
  .site-header.open .main-nav a { font-size: 16px; padding: 4px 0; }
  .site-header.open .header-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 12px;
  }
  .site-header.open .phone-link { justify-content: center; padding: 10px 0; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle span { transition: transform 0.2s ease, opacity 0.2s ease; }
  .hero { padding: 44px 0 48px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; row-gap: 18px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .services, .process, .why, .work, .reviews, .video-section, .contact { padding: 64px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 12px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-hint { margin: -16px 0 24px; padding: 0 8px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .form-row.two-col > div { margin-bottom: 0; }
  .contact-form { padding: 24px 20px; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 1; }
  .hero-title { font-size: 2rem; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .brand-mark { height: 38px; width: 38px; }
  .brand-word .word-main { font-size: 1.08rem; }
  .brand-word .word-sub { font-size: 8px; letter-spacing: 0.16em; }
  .topbar p { font-size: 10.5px; letter-spacing: 0.02em; }
}

@supports (padding: max(0px)) {
  .topbar { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .wrap { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}

/* ===========================================================
   Phone landscape (short viewport height, regardless of width —
   covers everything from iPhone SE to Pro Max turned sideways).
   Portrait breakpoints above are width-driven, so a landscape
   phone can land between them and get a cramped inline nav or a
   hero tall enough to force a lot of scrolling. This block fixes
   that specifically for short/landscape viewports.
=========================================================== */
@media (orientation: landscape) and (max-height: 500px) {

  /* Always use the compact hamburger nav in landscape — a landscape
     phone's width alone can clear the 760px nav breakpoint even
     though there isn't remotely enough height to spare for a second
     header row. */
  .nav-drawer { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-drawer {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-height: min(calc(100dvh - 52px), 78vh);
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
  }
  .site-header.open .main-nav { flex-direction: column; padding: 14px 24px 4px; gap: 12px; }
  .site-header.open .main-nav a { font-size: 15px; padding: 3px 0; }
  .site-header.open .header-cta { flex-direction: column; align-items: stretch; padding: 12px 24px 18px; gap: 10px; }
  .site-header.open .phone-link { justify-content: center; padding: 8px 0; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Compact the topbar + header so they don't eat a third of a ~370px-tall screen */
  .topbar { padding: 5px 12px; }
  .topbar p { font-size: 10.5px; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .brand-mark { height: 36px; width: 36px; }

  /* Shrink the hero instead of letting it push everything below the fold */
  .hero { padding: 20px 0 28px; }
  .hero-title { font-size: 1.7rem; margin-bottom: 12px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 18px; }
  .hero-actions { margin-bottom: 20px; gap: 10px; }
  .hero-stats { padding-top: 14px; gap: 20px; row-gap: 10px; flex-wrap: wrap; }
  .stat-num { font-size: 1.3rem; }

  /* On wider landscape phones there's plenty of horizontal room — put the
     photo back beside the copy instead of stacking, so the section fits
     in far less scroll height. */
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { order: -1; max-width: 220px; margin: 0 auto 4px; }

  /* The WDC mark's box shrinks a lot here while the viewport itself stays
     wide, so the portrait vw-based letter sizing would overflow — pin it
     to fixed sizes that actually fit the smaller box. */
  .hero-wdc-letters { font-size: 2.1rem; gap: 6px; }
  .hero-wdc-sub { font-size: 9px; letter-spacing: 0.24em; }
  .hero-wdc-mark { gap: 6px; }
}

@media (orientation: landscape) and (max-height: 500px) and (min-width: 700px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .hero-visual { order: 0; max-width: 260px; margin: 0; }
  .hero-copy { text-align: left; }
}

@media (orientation: landscape) and (max-height: 500px) {
  /* Trim section padding across the board so the page reads as
     "designed for landscape", not just a squeezed portrait layout. */
  .services, .style-section, .process, .why, .work, .reviews,
  .video-section, .contact, .faq, .brand-strip { padding: 40px 0; }
  .section-title.center { margin-bottom: 28px; }
  .gallery-grid { grid-auto-rows: 120px; gap: 10px; }
}

@media (orientation: landscape) and (max-height: 500px) and (min-width: 700px) {
  .process-track { grid-template-columns: repeat(5, 1fr); row-gap: 20px; }
}
