/* =============================================
   WEBGUY — Main Stylesheet
   ============================================= */

:root {
  --cream:        #faf7f2;
  --warm:         #f0ebe0;
  --ink:          #1a1208;
  --mid:          #6b6357;
  --orange:       #e8531a;
  --blue:         #1a3cc8;
  --sand:         #d4c9b0;
  --pale-orange:  #fde8df;
  --pale-blue:    #dde3fa;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Offset anchor links so fixed nav doesn't cover headings */
  scroll-padding-top: 110px;
}

/* Ensure Google Fonts render text immediately (font-display: swap) */
@font-face {
  font-display: swap;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  opacity: 0.6;
}

/* ── Marquee ── */
.marquee-wrap {
  background: var(--orange);
  padding: 7px 0;
  overflow: hidden;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
}
.marquee-track {
  display: flex;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0 36px;
}
.marquee-track .dot { color: rgba(255,255,255,0.5); padding: 0 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Nav ── */
body > nav {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 56px;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  cursor: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 11px 26px !important;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--orange) !important; }

/* ── Keyframes ── */
@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes bgDrift  { 0%,100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(-10px,-15px) rotate(0deg); } }
@keyframes cardFloat1 { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
@keyframes cardFloat2 { 0%,100% { transform: rotate(3deg) translateY(0);  } 50% { transform: rotate(3deg) translateY(-16px);  } }
@keyframes cardFloat3 { 0%,100% { transform: translate(-50%,-50%) rotate(-1deg) translateY(0); } 50% { transform: translate(-50%,-50%) rotate(-1deg) translateY(-8px); } }
@keyframes sparkPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 110px;
  position: relative;
  overflow: hidden;
}
.hero-left {
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}
.eyebrow-line { width: 28px; height: 1px; background: var(--orange); }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 7.5vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: block;
  opacity: 0;
  transform: translateY(105%);
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 0.5s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.64s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.78s; color: var(--orange); font-style: italic; }

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--mid);
  max-width: 380px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 1.15s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 2px;
  cursor: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(26,60,200,0.25); }
.btn-ghost {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: none;
  transition: gap 0.3s;
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost .arrow { color: var(--orange); }

.hero-right {
  background: var(--warm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right::before {
  content: 'WG';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 320px;
  font-weight: 900;
  color: var(--sand);
  line-height: 1;
  bottom: -40px;
  right: -20px;
  opacity: 0.5;
  letter-spacing: -0.05em;
  pointer-events: none;
  animation: bgDrift 12s ease-in-out infinite;
}
.hero-card-stack {
  position: relative;
  width: 320px;
  height: 420px;
  opacity: 0;
  animation: fadeUp 1s 1.3s forwards;
}
.h-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(26,18,8,0.1);
}
.h-card-1 { width: 260px; bottom: 0; left: 0; background: var(--pale-blue); transform: rotate(-4deg); animation: cardFloat1 7s ease-in-out infinite; }
.h-card-2 { width: 280px; top: 0; right: 0; background: white; transform: rotate(3deg); animation: cardFloat2 6s ease-in-out infinite; }
.h-card-3 { width: 240px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-1deg); background: var(--pale-orange); animation: cardFloat3 8s ease-in-out infinite; }
.h-card-label { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); margin-bottom: 12px; }
.h-card-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.h-card-val { font-size: 13px; color: var(--mid); font-weight: 300; }
.h-card-big { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 900; color: var(--blue); line-height: 1; margin: 8px 0 4px; }
.h-card-sub { font-size: 11px; color: var(--mid); font-family: 'DM Mono', monospace; letter-spacing: 0.08em; }
.h-sparkbar { display: flex; gap: 3px; align-items: flex-end; height: 40px; margin-top: 14px; }
.spark { flex: 1; background: var(--orange); border-radius: 2px; opacity: 0.7; animation: sparkPulse 2s ease-in-out infinite; }
.spark:nth-child(1) { height: 30%; animation-delay: 0s; }
.spark:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.spark:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.spark:nth-child(4) { height: 80%; animation-delay: 0.45s; }
.spark:nth-child(5) { height: 55%; animation-delay: 0.6s; }
.spark:nth-child(6) { height: 100%; animation-delay: 0.75s; }
.spark:nth-child(7) { height: 70%; animation-delay: 0.9s; }

/* ── Stats Band ── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.stat-item {
  padding: 40px 32px;
  border-right: 1px solid var(--sand);
  transition: background 0.3s;
  cursor: none;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--warm); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 900; color: var(--ink); line-height: 1; display: block; }
.stat-num span { color: var(--orange); }
.stat-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-top: 8px; display: block; }

/* ── Section Helpers ── */
.section-tag {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--orange); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 72px;
}
.section-title em { font-style: italic; color: var(--orange); }

/* ── Services ── */
#services { padding: 120px 56px; background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--sand);
  border: 2px solid var(--sand);
}
.service-card {
  background: var(--cream);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: none;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: var(--warm); }
.s-icon {
  width: 44px; height: 44px;
  background: var(--pale-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
  transition: background 0.3s;
}
.service-card:hover .s-icon { background: var(--orange); }
.s-num { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--mid); letter-spacing: 0.12em; margin-bottom: 12px; }
.s-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; color: var(--ink); }
.s-desc { font-size: 14px; line-height: 1.7; color: var(--mid); font-weight: 300; }
.s-arrow { display: inline-block; margin-top: 20px; color: var(--orange); font-size: 20px; transition: transform 0.3s; }
.service-card:hover .s-arrow { transform: translate(4px, -4px); }

/* ── Process ── */
#process { padding: 120px 56px; background: var(--ink); color: var(--cream); }
#process .section-tag { color: #c8b89a; }
#process .section-tag::before { background: #c8b89a; }
#process .section-title { color: var(--cream); }
#process .section-title em { color: var(--orange); }
.process-item {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 52px 0;
  border-bottom: 1px solid rgba(200,184,154,0.12);
  cursor: none;
}
.process-item:first-child { border-top: 1px solid rgba(200,184,154,0.12); }
.p-num { font-family: 'Playfair Display', serif; font-size: 72px; font-weight: 900; line-height: 1; color: rgba(200,184,154,0.12); transition: color 0.4s; }
.process-item:hover .p-num { color: var(--orange); }
.p-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--cream); letter-spacing: -0.02em; padding-top: 8px; }
.p-desc { font-size: 15px; line-height: 1.75; color: rgba(250,247,242,0.5); font-weight: 300; padding-top: 10px; }
.p-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(232,83,26,0.15);
  color: var(--orange);
  padding: 4px 10px;
  border-radius: 2px;
  margin-top: 14px;
}

/* ── Work / Portfolio ── */
#work { padding: 120px 0 120px 56px; overflow: hidden; background: var(--cream); }
#work .section-tag,
#work .section-title { padding-right: 56px; }
.work-track {
  display: flex;
  gap: 20px;
  animation: workScroll 28s linear infinite;
  width: max-content;
}
.work-track:hover { animation-play-state: paused; }
@keyframes workScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.work-card {
  width: 360px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm);
  border: 1px solid var(--sand);
  cursor: none;
  transition: transform 0.4s, box-shadow 0.4s;
}
.work-card:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(26,18,8,0.12); }
.work-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--warm); }

/* Scaled iframe thumbnail */
.work-iframe-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.work-iframe {
  display: block;
  width: 1280px;
  height: 800px;
  border: none;
  transform-origin: top left;
  transform: scale(var(--card-scale, 0.28));
  pointer-events: none;
}
/* Transparent overlay so clicks pass through to the card, not the iframe */
.work-iframe-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: none;
}
/* Slow zoom on hover using CSS — the overlay intercepts the hover */
.work-card:hover .work-iframe { transform: scale(calc(var(--card-scale, 0.28) * 1.06)); transition: transform 0.6s ease; }

.work-info { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; }
.work-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.work-type { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-top: 4px; }
.work-arrow { color: var(--orange); font-size: 18px; transition: transform 0.3s; }
.work-card:hover .work-arrow { transform: translate(4px, -4px); }

/* ── Testimonial ── */
#testimonial { padding: 120px 56px; background: var(--pale-orange); text-align: center; position: relative; overflow: hidden; }
#testimonial::before {
  content: '"';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 500px;
  color: rgba(232,83,26,0.06);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 860px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}
.testimonial-quote em { color: var(--orange); font-style: italic; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; z-index: 1; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
}
.author-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.author-role { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--mid); letter-spacing: 0.08em; }

/* ── Pricing ── */
#pricing { padding: 120px 56px; background: var(--cream); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.price-card {
  padding: 44px 36px;
  border: 1.5px solid var(--sand);
  border-radius: 4px;
  background: white;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: none;
}
.price-card:hover { border-color: var(--orange); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(232,83,26,0.1); }
.price-card.featured { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.price-card.featured:hover { border-color: var(--orange); }
.featured-tag {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--orange);
  color: white;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 2px;
}
.price-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); margin-bottom: 20px; }
.price-card.featured .price-label { color: rgba(250,247,242,0.45); }
.price-amount { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 900; line-height: 1; color: var(--ink); letter-spacing: -0.03em; display: flex; align-items: flex-start; gap: 2px; }
.price-card.featured .price-amount { color: var(--cream); }
.price-sym { font-size: 28px; margin-top: 8px; }
.price-period { font-size: 13px; color: var(--mid); margin-top: 6px; margin-bottom: 32px; font-weight: 300; }
.price-card.featured .price-period { color: rgba(250,247,242,0.4); }
.price-features { list-style: none; margin-bottom: 40px; }
.price-feature { font-size: 14px; color: var(--mid); padding: 11px 0; border-bottom: 1px solid var(--warm); display: flex; align-items: center; gap: 10px; font-weight: 300; }
.price-card.featured .price-feature { color: rgba(250,247,242,0.6); border-bottom-color: rgba(200,184,154,0.1); }
.price-feature::before { content: '↳'; color: var(--orange); font-size: 13px; }
.price-cta { display: block; text-align: center; padding: 15px; background: var(--warm); border: 1.5px solid var(--sand); border-radius: 2px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; cursor: none; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.price-cta:hover { background: var(--orange); border-color: var(--orange); color: white; }
.price-card.featured .price-cta { background: var(--orange); border-color: var(--orange); color: white; }
.price-card.featured .price-cta:hover { background: #ff6a36; }

/* ── Service Areas ── */
#areas {
  padding: 100px 56px;
  background: var(--ink);
}
#areas .section-tag { color: rgba(250,247,242,0.4); }
#areas .section-title { color: var(--cream); }
.areas-intro {
  font-size: 16px;
  color: rgba(250,247,242,0.4);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.areas-county h3 {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(250,247,242,0.08);
}
.areas-county ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.areas-county ul li a {
  font-size: 13px;
  color: rgba(250,247,242,0.35);
  text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}
.areas-county ul li a:hover { color: var(--orange); }
@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  #areas { padding: 60px 24px; }
  .areas-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Contact ── */
#contact {
  padding: 160px 56px;
  background: var(--warm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-title { font-family: 'Playfair Display', serif; font-size: clamp(52px, 6.5vw, 88px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; margin-bottom: 28px; }
.contact-title em { color: var(--orange); font-style: italic; }
.contact-sub { font-size: 17px; line-height: 1.7; color: var(--mid); font-weight: 300; margin-bottom: 48px; max-width: 380px; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 20px 44px;
  border-radius: 2px;
  text-decoration: none;
  cursor: none;
  transition: background 0.25s, transform 0.3s, box-shadow 0.3s;
}
.contact-btn:hover { background: var(--blue); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(26,60,200,0.3); }
.contact-btn .btn-arr { transition: transform 0.3s; }
.contact-btn:hover .btn-arr { transform: translate(4px, -4px); }
.contact-right { background: white; padding: 52px 48px; border-radius: 8px; box-shadow: 0 20px 80px rgba(26,18,8,0.08); }
.contact-right h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 32px; color: var(--ink); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 4px;
  background: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
  cursor: none;
  appearance: none;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--orange); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: none;
  transition: background 0.25s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--orange); }

/* ── Footer ── */
footer {
  background: var(--ink);
  padding: 48px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--cream); letter-spacing: -0.02em; }
.footer-logo span { color: var(--orange); }
.footer-mid { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(250,247,242,0.3); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(250,247,242,0.4); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; cursor: none; }
.footer-links a:hover { color: var(--orange); }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Modal ── */
/* ── Project Modal — Browser Preview ── */
#project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(26,18,8,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
}
#modal-inner {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px 48px;
}
#modal-box {
  width: 100%;
  max-width: 1140px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

/* WebGuy top bar above the browser chrome */
#modal-topbar {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 10px 20px;
  gap: 12px;
  flex-shrink: 0;
}
#modal-project-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
#modal-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
#modal-open-tab {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
}
#modal-open-tab:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
#modal-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  border-radius: 3px;
  width: 32px; height: 32px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
#modal-close:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Browser chrome bar */
#browser-chrome {
  background: #2a2a2a;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
#browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.bdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  display: block;
}
.bdot-red    { background: #ff5f57; }
.bdot-yellow { background: #febc2e; }
.bdot-green  { background: #28c840; }
.bdot-red:hover    { background: #e04040; }
#browser-bar {
  flex: 1;
  background: #1a1a1a;
  border-radius: 6px;
  padding: 6px 14px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}
#browser-bar::before {
  content: '🔒';
  font-size: 10px;
  opacity: 0.5;
  flex-shrink: 0;
}
#browser-actions {
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  cursor: default;
  flex-shrink: 0;
  user-select: none;
}

/* iframe container */
#modal-iframe-wrap {
  position: relative;
  background: #fff;
  flex: 1;
}
#modal-iframe {
  display: block;
  width: 100%;
  height: 78vh;
  border: none;
  background: #fff;
}
#iframe-loading {
  position: absolute;
  inset: 0;
  background: #f4f1ec;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: rgba(26,18,8,0.35);
  letter-spacing: 0.08em;
  pointer-events: none;
  transition: opacity 0.3s;
}
#iframe-loading.hidden { opacity: 0; }
#iframe-spinner {
  width: 28px; height: 28px;
  border: 2px solid rgba(232,83,26,0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  #modal-inner { padding: 0; }
  #modal-box { border-radius: 0; min-height: 100vh; }
  #modal-iframe { height: 72vh; }
  #browser-dots { display: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  body > nav, #services, #process, #pricing, #contact, footer { padding-left: 28px; padding-right: 28px; }
  #work { padding-left: 28px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  #contact { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .process-item { grid-template-columns: 80px 1fr; }
  .p-desc { display: none; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  body > nav { padding: 14px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  footer { flex-direction: column; text-align: center; }
}
