/* ===========================================================
   RV Digital Studio - Global Stylesheet
   Brand: black + orange (#E8612A), heavy condensed display type
   =========================================================== */

:root {
  --ink:        #0A0A0A;
  --ink-soft:   #1A1A1A;
  --orange:     #E8612A;
  --orange-dk:  #C94E1E;
  --paper:      #FFFFFF;
  --smoke:      #F5F4F2;
  --smoke-2:    #ECEAE6;
  --gray:       #6B6B6B;
  --gray-line:  #E2E0DC;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;

  --shadow: 0 18px 50px rgba(10,10,10,0.10);
  --shadow-sm: 0 8px 24px rgba(10,10,10,0.07);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -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 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  margin-right: 14px;
  flex: none;
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--gray); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(232,97,42,0.32); }
.btn-primary:hover { background: var(--orange-dk); box-shadow: 0 12px 26px rgba(232,97,42,0.40); }
/* Nav CTA reads as a button, never as a tinted link */
.nav-links a.btn-primary { color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 6px 24px rgba(10,10,10,0.04);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--orange);
  transition: width .2s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { width: 100%; }
.nav-links a:not(.btn).active { color: var(--orange); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 560px at 80% -12%, rgba(232,97,42,0.34), transparent 58%),
    radial-gradient(800px 500px at 0% 110%, rgba(232,97,42,0.10), transparent 60%),
    linear-gradient(180deg, #111 0%, var(--ink) 60%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero-inner { position: relative; padding-block: clamp(72px, 12vw, 150px); }
.hero h1 {
  font-size: clamp(2.7rem, 8vw, 6.4rem);
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.hero h1 .hl { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.09em; background: var(--orange); opacity: 0.4; border-radius: 2px;
}
.hero p { font-size: clamp(1.05rem, 2vw, 1.32rem); color: #C9C7C3; max-width: 54ch; margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 64px); margin-top: 60px; }
.hero-stats .stat strong {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  display: block; line-height: 1;
}
.hero-stats .stat span { color: #9C9A96; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: #fff; overflow: hidden; padding-block: 18px;
  border-bottom: 1px solid #222;
}
.marquee-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; letter-spacing: 0.05em; font-size: 1.05rem; color: #E7E5E1; }
.marquee-track span::after { content: "✦"; margin-left: 40px; color: var(--orange); }
@keyframes scroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- Section heads ---------- */
.section-head { max-width: 60ch; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-head p { margin-top: 16px; }

/* ---------- Audience cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.aud-card {
  background: var(--smoke); border-radius: var(--radius);
  padding: 34px 30px; border: 1px solid var(--gray-line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; background: #fff; }
.aud-card .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff; border: 1px solid var(--gray-line);
  font-size: 1.5rem; margin-bottom: 18px;
}
.aud-card:hover .ic { background: var(--orange); border-color: var(--orange); }
.aud-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.aud-card p { color: var(--gray); font-size: 0.98rem; margin: 0; }

/* ---------- Service cards ---------- */
.svc-card {
  border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 30px; background: #fff; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card .tag {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--orange); font-weight: 700; margin-bottom: 14px;
}
.svc-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc-card p { color: var(--gray); font-size: 0.98rem; }
.svc-card ul { margin: 16px 0 22px; display: grid; gap: 9px; }
.svc-card ul li { position: relative; padding-left: 24px; font-size: 0.96rem; }
.svc-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 11px; height: 11px;
  background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.svc-card .price {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--gray-line);
  font-family: var(--font-display); font-size: 1.05rem;
}
.svc-card .price b { color: var(--orange); }
.svc-card .price small { display: block; font-family: var(--font-body); text-transform: none; color: var(--gray); font-size: 0.8rem; font-weight: 400; letter-spacing: 0; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: 84px 1fr; gap: 24px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--gray-line);
}
.step:last-child { border-bottom: 1px solid var(--gray-line); }
.step .num {
  counter-increment: step; font-family: var(--font-display); font-size: 2.2rem;
  color: var(--orange); line-height: 1;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--gray); margin: 0; font-size: 0.98rem; }

/* ---------- Pricing table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--gray-line); }
.price-table th { background: var(--ink); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--smoke); }
.addon-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 30px; margin-top: 18px; }
.addon-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--gray-line); font-size: 0.96rem; }
.addon-list li b { color: var(--orange); font-family: var(--font-display); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 22px; grid-template-columns: repeat(2,1fr); }
.quote {
  background: var(--smoke); border-radius: var(--radius); padding: 30px 32px;
  border-left: 4px solid var(--orange);
}
.quote p { font-size: 1.1rem; margin: 0 0 18px; }
.quote .who { font-family: var(--font-display); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; }
.quote .who span { display: block; color: var(--gray); font-family: var(--font-body); text-transform: none; font-size: 0.82rem; letter-spacing: 0; font-weight: 400; }

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; gap: 20px; grid-template-columns: repeat(3,1fr); }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); aspect-ratio: 9/12; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; border: 1px solid var(--gray-line);
}
.work-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.15), rgba(10,10,10,.85)); }
.work-card.alt { background: linear-gradient(135deg, #2a2a2a, #0a0a0a); }
.work-card .meta { position: relative; }
.work-card .badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--orange); color: #fff; font-family: var(--font-display);
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 100px;
}
.work-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.work-card p { color: #C9C7C3; font-size: 0.9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 120%, rgba(232,97,42,0.35), transparent 60%); }
.cta-band .wrap { position: relative; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.cta-band p { color: #C9C7C3; margin: 18px auto 34px; max-width: 50ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-card { background: var(--smoke); border-radius: var(--radius); padding: 34px; border: 1px solid var(--gray-line); }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-line); align-items: flex-start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .lbl { font-family: var(--font-display); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--gray); min-width: 90px; padding-top: 3px; }
.contact-list .val { font-weight: 600; }
.contact-list .val a:hover { color: var(--orange); }
.note { background: #FFF4EF; border: 1px solid #F6D2C2; border-radius: 12px; padding: 16px 18px; font-size: 0.92rem; color: var(--ink-soft); }
.note b { color: var(--orange-dk); }

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.founder .photo { background: linear-gradient(135deg, var(--orange), var(--ink)); border-radius: var(--radius); aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 28px; color: #fff; }
.founder .photo h3 { font-size: 1.6rem; }
.founder .photo span { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.values { display: grid; gap: 18px; grid-template-columns: repeat(2,1fr); margin-top: 20px; }
.value h4 { font-size: 1.1rem; margin-bottom: 6px; color: var(--orange); }
.value p { margin: 0; color: var(--gray); font-size: 0.95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--smoke); border-bottom: 1px solid var(--gray-line); }
.page-hero .wrap { padding-block: clamp(54px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-hero p { margin-top: 16px; max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9C7C3; padding-block: 60px 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #262626; }
.site-footer .brand img { height: 38px; width: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 16px; }
.site-footer a:hover { color: var(--orange); }
.footer-col li { padding: 6px 0; font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; font-size: 0.85rem; color: #7C7A76; }
.footer-desc { margin: 16px 0 0; max-width: 36ch; font-size: 0.95rem; }
.footer-credit { text-align: center; padding-top: 18px; font-size: 0.84rem; color: #7C7A76; }
.footer-credit a { color: var(--orange); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4, .work-grid, .quote-grid, .values, .addon-list { grid-template-columns: repeat(2,1fr); }
  .contact-grid, .founder { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-line);
    padding: 12px var(--gutter) 22px; align-items: stretch;
    transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--gray-line); font-size: 1rem; }
  .nav-links a.btn { border: 2px solid var(--ink); justify-content: center; margin-top: 12px; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .work-grid, .quote-grid, .grid-2, .values, .addon-list, .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step .num { font-size: 1.7rem; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
