/* Sol & Sabe — dark, cinematic, high-end studio aesthetic */

:root {
  --bg: #0a0a0c;
  --bg-soft: #101013;
  --surface: #17171b;
  --surface-2: #1e1e24;
  --text: #f4f0e8;
  --text-soft: #b6b1a5;
  --text-mute: #7d786f;
  --rust: #89cff0;
  --rust-deep: #3e8fc0;
  --amber: #c9ecff;
  --line: rgba(244, 240, 232, 0.09);
  --line-strong: rgba(244, 240, 232, 0.18);
  --glass: rgba(244, 240, 232, 0.035);
  --grad: linear-gradient(100deg, var(--rust), var(--amber));
  --display: "Space Grotesk", "Arial Narrow", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--rust); color: #0a0a0c; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--rust-deep); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 6vw; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Grain overlay ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(137, 207, 240, 0.6);
  z-index: 300;
  pointer-events: none;
}

/* ---------- Custom cursor ---------- */

body.custom-cursor,
body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor input,
body.custom-cursor select,
body.custom-cursor textarea {
  cursor: none;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 400;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rust);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 400;
  opacity: 0;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.3s ease;
}

.cursor-ring.hover {
  width: 58px;
  height: 58px;
  background: rgba(137, 207, 240, 0.08);
}

/* ---------- Ghost logomark watermark ---------- */

.ghost-mark { position: relative; overflow: hidden; }

.ghost-mark::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: -4rem;
  width: 380px;
  height: 380px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect x='6' y='6' width='88' height='88' rx='20' fill='none' stroke='%23f4f0e8' stroke-width='1.6'/><rect x='30' y='30' width='40' height='40' rx='9' fill='none' stroke='%23f4f0e8' stroke-width='1.6'/><line x1='6' y1='50' x2='30' y2='50' stroke='%23f4f0e8' stroke-width='1.6'/><line x1='70' y1='50' x2='94' y2='50' stroke='%23f4f0e8' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 6vw;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 12, 0.82);
  padding: 1rem 6vw;
  border-bottom-color: var(--line);
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-mark .nav-by {
  font-weight: 400;
  color: var(--text-mute);
}

.nav-mark .mark-sq {
  width: 20px;
  height: 20px;
  background: var(--grad);
  border-radius: 5px;
  position: relative;
  box-shadow: 0 0 16px rgba(137, 207, 240, 0.45);
}

.nav-mark .mark-sq::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--bg);
  border-radius: 2px;
}

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }

.nav-links a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.btn-rust {
  background: var(--grad);
  color: #0a0a0c;
  box-shadow: 0 4px 20px -4px rgba(137, 207, 240, 0.35);
}

.btn-rust:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(137, 207, 240, 0.6);
}

.btn-outline {
  background: var(--glass);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--rust);
  background: rgba(137, 207, 240, 0.1);
}

.btn-lg { padding: 1.1rem 2.1rem; font-size: 0.92rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.78rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(137, 207, 240, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 85%, rgba(201, 236, 255, 0.1), transparent 60%),
    var(--bg);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black 30%, transparent 85%);
}

.cursor-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(137, 207, 240, 0.4) 0%, rgba(137, 207, 240, 0) 70%);
  filter: blur(30px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero:hover .cursor-glow { opacity: 1; }

.hero-sol {
  position: absolute;
  width: 440px;
  height: 440px;
  top: -110px;
  left: -120px;
  stroke: var(--rust);
  stroke-width: 1.4;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero-copy { max-width: 800px; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem 0.5rem 0.7rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
}

.badge-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.6);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(110, 231, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0); }
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1.6rem;
  font-weight: 600;
}

.hero-copy p.lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 54ch;
  margin-bottom: 2.4rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 1.1rem 0;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}

.marquee-track .group {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee-track span {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "\25C6";
  color: var(--rust);
  font-size: 0.6rem;
}

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

/* ---------- Section shell ---------- */

section { padding: 8.5rem 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto 3.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.section-head.center { align-items: center; text-align: center; }

.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--text-soft); font-size: 1.02rem; }

/* ---------- Glass surface base ---------- */

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* ---------- Work / Portfolio ---------- */

.work { background: var(--bg-soft); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  position: relative;
  z-index: 1;
}

.work-thumb.photo {
  background-size: cover;
  background-position: center;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.work-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.work-card:nth-child(1) { transition-delay: 0s; }
.work-card:nth-child(2).reveal { transition-delay: 0.08s; }
.work-card:nth-child(3).reveal { transition-delay: 0.16s; }

.work-thumb {
  aspect-ratio: 16 / 11;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-thumb.mw { background: linear-gradient(155deg, #efe8db, #cfc3ac); }
.work-thumb.dbc { background: linear-gradient(155deg, #93b4c7, #ecc189); }
.work-thumb.cta-card { background: repeating-linear-gradient(135deg, #1c1c21, #1c1c21 10px, #232329 10px, #232329 20px); }

.work-thumb span.wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover .work-thumb span.wordmark { transform: scale(1.06); }

.work-thumb.mw span.wordmark { color: #1c1a17; font-size: 1.3rem; }
.work-thumb.dbc span.wordmark { color: #202b33; font-size: 1.3rem; }

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-card:hover .work-thumb::after { opacity: 1; }

.thumb-view {
  position: absolute;
  left: 1.3rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.work-card:hover .thumb-view { opacity: 1; transform: translateY(0); }

.work-body { padding: 1.7rem 1.7rem 2rem; display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1; }

.work-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}

.work-body h3 { font-size: 1.2rem; }
.work-body p { font-size: 0.89rem; color: var(--text-soft); flex-grow: 1; }

.work-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.work-link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.work-card:hover .work-link svg { transform: translate(3px, -3px); }

.work-thumb.cta-card { align-items: center; justify-content: center; }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 207, 240, 0.35);
  box-shadow: 0 24px 50px -28px rgba(137, 207, 240, 0.25);
}

.service-num {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.service-card h3 { font-size: 1.2rem; }

.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.service-card li {
  font-size: 0.88rem;
  color: var(--text-soft);
  padding-left: 1.1rem;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rust);
}

/* ---------- Process ---------- */

.process { background: var(--bg-soft); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}

.process-step {
  border-top: 2px solid var(--rust);
  padding-top: 1.4rem;
  transition: transform 0.3s ease;
}

.process-step:hover { transform: translateY(-4px); }

.process-step .step-num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  display: block;
  margin-bottom: 0.6rem;
}

.process-step h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.87rem; color: var(--text-soft); }
.process-step .timing {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  position: relative;
  z-index: 1;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.price-card:hover { transform: translateY(-6px); }

.price-card.featured {
  border-color: rgba(137, 207, 240, 0.5);
  background: linear-gradient(180deg, rgba(137, 207, 240, 0.08), var(--surface) 40%);
  box-shadow: 0 30px 60px -30px rgba(137, 207, 240, 0.35);
}

.price-card .badge {
  position: absolute;
  top: -13px;
  left: 2.2rem;
  background: var(--grad);
  color: #0a0a0c;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}

.price-card h3 { font-size: 1.15rem; }

.price-tag { display: flex; align-items: baseline; gap: 0.4rem; }
.price-tag .amount { font-family: var(--display); font-size: 2.3rem; font-weight: 700; }
.price-tag .unit { font-size: 0.82rem; color: var(--text-mute); }

.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }

.price-card li {
  font-size: 0.87rem;
  color: var(--text-soft);
  padding-left: 1.2rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
  font-size: 0.8rem;
}

.pricing-note {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.85rem;
  color: var(--text-mute);
  position: relative;
  z-index: 1;
}

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-item:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(137, 207, 240, 0.18), rgba(201, 236, 255, 0.08));
  border: 1px solid rgba(137, 207, 240, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg { width: 20px; height: 20px; stroke: var(--amber); }

.why-item h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.why-item p { font-size: 0.87rem; color: var(--text-soft); }

/* ---------- Contact ---------- */

.contact-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -25%; right: -10%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(137, 207, 240, 0.22), transparent 70%);
}

.contact-panel::after {
  content: "";
  position: absolute;
  bottom: -25%; left: -10%;
  width: 45%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 236, 255, 0.12), transparent 70%);
}

.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.contact-copy p { color: var(--text-soft); margin-bottom: 2rem; max-width: 38ch; }

.contact-detail { margin-bottom: 1.3rem; }
.contact-detail .label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}
.contact-detail .value { font-size: 1.05rem; color: var(--text); }

.contact-note { font-size: 0.8rem; color: var(--text-mute); font-style: italic; margin-top: 1.6rem; }

form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 0.75rem; font-weight: 600; color: var(--text-soft); }

.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(244, 240, 232, 0.04);
  padding: 0.75rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.25s ease;
}

.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }

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

.field textarea { resize: vertical; min-height: 84px; }

.form-msg { grid-column: 1 / -1; font-size: 0.85rem; color: var(--amber); min-height: 1.3em; }

/* ---------- Footer ---------- */

footer { background: var(--bg-soft); border-top: 1px solid var(--line); position: relative; z-index: 1; }

.footer-cta {
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.footer-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.8rem; }

.footer-bottom { padding: 2.4rem 0; }

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

.footer-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-mute);
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.services-grid.reveal.is-visible .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid.reveal.is-visible .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid.reveal.is-visible .service-card:nth-child(3) { transition-delay: 0.16s; }

.pricing-grid.reveal.is-visible .price-card:nth-child(1) { transition-delay: 0s; }
.pricing-grid.reveal.is-visible .price-card:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid.reveal.is-visible .price-card:nth-child(3) { transition-delay: 0.16s; }

.why-grid.reveal.is-visible .why-item:nth-child(1) { transition-delay: 0s; }
.why-grid.reveal.is-visible .why-item:nth-child(2) { transition-delay: 0.06s; }
.why-grid.reveal.is-visible .why-item:nth-child(3) { transition-delay: 0.12s; }
.why-grid.reveal.is-visible .why-item:nth-child(4) { transition-delay: 0.18s; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .work-grid, .services-grid, .pricing-grid, .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-panel { grid-template-columns: 1fr; padding: 2.4rem; }
  form { grid-template-columns: 1fr; }
  .ghost-mark::before { width: 220px; height: 220px; top: -3rem; right: -3rem; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78vw;
    max-width: 320px;
    background: var(--bg-soft);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.8rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
    border-left: 1px solid var(--line);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }

  section { padding: 5.5rem 0; }
}

@media (max-width: 620px) {
  .process-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .badge-pill .dot { animation: none; }
}
