/* ==========================================================================
   Parra Marketing Solutions — Agency site
   Design tokens at the top. Retune the palette here without touching markup.
   ========================================================================== */

:root {
  /* ---- Light mode (default) ---- */
  --bg: #ffffff;
  --bg-alt: #f2f6fb;
  --surface: #f7f9fc;
  --surface-hover: #eef3fa;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #0f1b33;
  --text-muted: #4c5a72;
  --text-faint: #8593a8;
  --nav-bg: rgba(255, 255, 255, 0.78);

  --accent: #2f6fed;         /* blue — primary */
  --accent-2: #1fae66;       /* green — paired secondary */
  --accent-strong: color-mix(in srgb, var(--accent) 84%, black);
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-text: #ffffff;    /* text color used ON TOP of the accent (buttons, marquee) */
  --status-ok: #16a34a;
  --status-err: #dc2626;

  --radius-lg: 1.25rem;
  --radius-md: 0.85rem;
  --radius-sm: 0.5rem;
  --radius-pill: 999px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;
  --font-label: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  color-scheme: light;
}

[data-theme="dark"] {
  /* ---- Dark mode: dark blue, not black ---- */
  --bg: #0e1a30;
  --bg-alt: #0a1526;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.20);
  --text: #f2f5fb;
  --text-muted: #a9b6ce;
  --text-faint: #71809c;
  --nav-bg: rgba(14, 26, 48, 0.78);

  --accent: #5b93ff;
  --accent-2: #35d888;
  --accent-strong: color-mix(in srgb, var(--accent) 84%, white);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-text: #06101f;
  --status-ok: #4ade80;
  --status-err: #f87171;

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1a30;
    --bg-alt: #0a1526;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.20);
    --text: #f2f5fb;
    --text-muted: #a9b6ce;
    --text-faint: #71809c;
    --nav-bg: rgba(14, 26, 48, 0.78);

    --accent: #5b93ff;
    --accent-2: #35d888;
    --accent-strong: color-mix(in srgb, var(--accent) 84%, white);
    --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
    --accent-text: #06101f;
    --status-ok: #4ade80;
    --status-err: #f87171;

    color-scheme: dark;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

@media (min-width: 860px) {
  .wrap { padding: 0 3rem; }
}

section { position: relative; }

.section-pad { padding: 5.5rem 0; }
@media (min-width: 860px) { .section-pad { padding: 8rem 0; } }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-faint);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 38rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--font-label);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
}

.nav-link .num {
  color: var(--text-faint);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover .num { color: var(--accent); }

.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (min-width: 860px) { .nav-toggle { display: none; } }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--accent-text);
}

.lang-btn:not(.active):hover { color: var(--text); }

.theme-toggle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.theme-toggle:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
@media (min-width: 860px) { .mobile-menu { display: none !important; } }

.mobile-menu a {
  font-family: var(--font-label);
  padding: 0.85rem 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

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

.hero {
  position: relative;
  padding: 4.5rem 0 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 24% 20%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 50%),
    radial-gradient(circle at 82% 75%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 45%);
  filter: blur(70px);
  animation: hero-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes hero-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 3%) scale(1.08); }
}

.hero > .wrap { position: relative; z-index: 1; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  margin: 1.5rem 0 0;
  max-width: 20ch;
}

.hero-headline em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

.hero-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.4rem);
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.scroll-cue {
  font-family: var(--font-label);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease, gap 0.25s ease;
}

.scroll-cue svg { width: 0.9rem; height: 0.9rem; animation: bob 1.8s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.scroll-cue:hover { color: var(--accent); gap: 0.75rem; }

.hero-bar {
  position: relative;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem 0;
}

@media (min-width: 860px) {
  .hero-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.hero-blurb {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-blurb strong { color: var(--text); font-weight: 600; }

.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-shrink: 0;
}

.hero-meta div {
  font-family: var(--font-label);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  font-weight: 600;
}

.hero-meta div span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: none;
}

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

.marquee {
  overflow: hidden;
  background: var(--accent);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-track span.item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--accent-text);
  padding: 0.9rem 1.4rem;
}

.marquee-track span.item::after {
  content: "✦";
  font-size: 0.8rem;
  color: var(--accent-2);
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero::before { animation: none; }
  .scroll-cue svg { animation: none; }
}

/* ---------------- Studio Note ---------------- */

.studio-note {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.studio-note-inner {
  max-width: 46rem;
}

.studio-note blockquote {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.studio-note blockquote em {
  font-style: italic;
  color: var(--accent);
}

.studio-note-sig {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.studio-note-sig .initial {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.studio-note-sig .headshot { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; } .studio-note-sig .name {
  font-weight: 700;
  font-size: 0.92rem;
}

.studio-note-sig .role {
  font-family: var(--font-label);
  color: var(--text-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

@media (min-width: 780px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-cell {
  background: var(--bg);
  padding: 2.25rem 2rem;
}

.service-cell .n {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.service-cell h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.service-cell p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

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

.process-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.process-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

@media (min-width: 780px) {
  .process-row { grid-template-columns: 5rem 1fr 1fr; }
}

.process-row .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-faint);
}

.process-row h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.process-row p {
  grid-column: 2 / 3;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0.5rem 0 0;
}

@media (min-width: 780px) {
  .process-row p { grid-column: 3; margin: 0; }
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 780px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

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

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
}

.price-card .tier-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.price-card .tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.price-card .tier-price span {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 500;
  font-family: var(--font-body);
}

.price-card ul {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex-grow: 1;
}

.price-card li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.price-card li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-note {
  margin-top: 2rem;
  color: var(--text-faint);
  font-size: 0.85rem;
  line-height: 1.6;
}

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

.contact-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-info-item {
  margin-bottom: 1.75rem;
}

.contact-info-item .label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-item a, .contact-info-item div.value {
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-info-item a:hover { color: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 560px) {
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
}

.field label {
  font-family: var(--font-label);
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-label);
  font-size: 0.92rem;
  transition: border-color 0.25s ease;
}

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

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

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 0.5rem;
}

.form-status {
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { color: var(--status-ok); }
.form-status.err { color: var(--status-err); }

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

footer.site-footer {
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 780px) {
  .footer-inner { flex-direction: row; align-items: center; }
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-label);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-faint);
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-faint);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.19,1,0.22,1), transform 0.7s cubic-bezier(0.19,1,0.22,1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

