/* RVH Studio — dark, bold, copper */
:root {
  --black: #0D0B0A;
  --espresso: #17110E;
  --brown: #221914;
  --brown-2: #2E221B;
  --line: #3A2C23;
  --copper: #C9824A;
  --copper-hi: #E3A574;
  --cream: #F3ECE4;
  --text: #D9CEC3;
  --muted: #A89A8D;
  --wa: #1E7A46;
  --radius: 20px;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --font-head: "Syne", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--copper-hi); }
a:hover { color: var(--cream); }
h1, h2, h3 { font-family: var(--font-head); color: var(--cream); line-height: 1.02; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(42px, 6.6vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--copper); }
.lead { font-size: 19px; color: var(--text); max-width: 620px; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; max-width: 820px; }
.copper { color: var(--copper); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--copper); color: var(--black); }
.btn-primary:hover { background: var(--copper-hi); color: var(--black); transform: translateY(-1px); }
.btn-ghost { border-color: #5A4535; color: var(--cream); }
.btn-ghost:hover { border-color: var(--copper); color: var(--cream); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #166238; color: #fff; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(13, 11, 10, 0.82); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo:hover { color: var(--cream); }
.logo-mark { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 11px; background: var(--copper); color: var(--black); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--copper-hi); }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; color: var(--cream); }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--pad) 28px; background: var(--espresso); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; font-size: 19px; }
  .nav-links .btn { margin-top: 10px; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background:
  radial-gradient(1200px 700px at 78% 40%, rgba(201,130,74,0.16), transparent 60%),
  radial-gradient(900px 600px at 10% 90%, rgba(58,42,34,0.7), transparent 70%),
  var(--black); }
.hero-3d { position: absolute; inset: 0; z-index: 0; }
.hero-3d canvas { width: 100%; height: 100%; display: block; }
.hero-3d::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(13,11,10,.82) 0%, rgba(13,11,10,.45) 42%, rgba(13,11,10,0) 68%); }
@media (max-width: 900px) { .hero-3d::after { background: linear-gradient(180deg, rgba(13,11,10,0) 0%, rgba(13,11,10,.55) 30%, rgba(13,11,10,.85) 60%); } }
.hero-3d .fallback { position: absolute; right: 8%; top: 22%; width: min(420px, 60vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F0C9A2, #C9824A 40%, #4A2F20 75%); filter: blur(2px); opacity: .55; }
.hero-3d.has-3d .fallback { display: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 90px; pointer-events: none; }
.hero-copy { max-width: 700px; display: flex; flex-direction: column; gap: 26px; pointer-events: auto; }
.hero-copy .lead { font-size: 20px; max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.hero-meta span::before { content: "●"; color: var(--copper); margin-right: 8px; font-size: 9px; vertical-align: 2px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .hero-copy h1 { text-shadow: 0 2px 30px rgba(13,11,10,.8); } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--espresso); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; font-family: var(--font-head); font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--cream); white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--copper); font-size: .6em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--espresso); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: border-color .25s, transform .25s, background .25s; position: relative; }
.card:hover { border-color: var(--copper); transform: translateY(-3px); background: var(--brown); }
.card p { color: var(--text); font-size: 16px; }
.card .num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--copper); }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.card li { display: flex; gap: 10px; }
.card li::before { content: "→"; color: var(--copper); flex: none; }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; background: rgba(201,130,74,.15); color: var(--copper-hi); border: 1px solid rgba(201,130,74,.4); padding: 5px 11px; border-radius: 999px; }

/* Industries */
.industries { background: var(--espresso); }
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--brown); color: var(--cream); font-weight: 500; font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; border-radius: 24px; background: linear-gradient(160deg, var(--brown-2), var(--espresso)); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 22px; color: var(--muted); font-size: 14px; position: relative; overflow: hidden; }
.portrait::after { content: "RVH"; position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 64px; color: rgba(201,130,74,.18); }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy p { font-size: 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.stat { padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--espresso); min-width: 170px; }
.stat strong { display: block; font-family: var(--font-head); color: var(--cream); font-size: 20px; }
.stat span { font-size: 14px; color: var(--muted); }

/* Work */
.work-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { background: var(--espresso); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .25s; }
.work-card:hover { border-color: var(--copper); }
.work-card .img { overflow: hidden; }
.work-card img { width: 100%; height: 340px; object-fit: cover; transition: transform .6s ease; filter: saturate(.95); }
.work-card:hover img { transform: scale(1.04); }
.work-card .body { padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--brown-2); color: var(--copper-hi); }
.next-card { border-radius: var(--radius); border: 1.5px dashed #5A4535; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }

/* Pricing */
.pricing { background: var(--espresso); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: var(--brown); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.price.featured { border: 1.5px solid var(--copper); background: linear-gradient(180deg, rgba(201,130,74,.12), var(--brown) 40%); }
.price .amount { font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--cream); letter-spacing: -0.02em; }
.price .amount small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; font-size: 15px; }
.price li::before { content: "→ "; color: var(--copper); }
.price-note { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 600; font-size: 19px; color: var(--cream); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; color: var(--copper); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; max-width: 740px; }

/* Contact */
.contact { background: radial-gradient(900px 500px at 85% 20%, rgba(201,130,74,0.14), transparent 60%), var(--espresso); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
form.card-form { background: var(--brown); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { form.card-form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--cream); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--cream); background: var(--espresso); border: 1px solid var(--line); border-radius: 12px; min-height: 52px; padding: 0 14px; }
.field input::placeholder { color: #7D6F63; }
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper); flex: none; }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--copper-hi); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Simple pages */
.page { padding: clamp(130px, 14vw, 170px) 0 clamp(70px, 9vw, 110px); }
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); }
.prose h2 { font-size: 26px; margin-top: 22px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } html { scroll-behavior: auto; } }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* Studio panel (About) */
.studio-panel { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 30px; background: radial-gradient(420px 320px at 80% 15%, rgba(201,130,74,.28), transparent 70%), linear-gradient(160deg, var(--brown-2), var(--espresso)); }
.studio-panel::after { font-size: clamp(80px, 11vw, 140px); top: 14px; right: 24px; color: rgba(201,130,74,.22); }
.studio-panel span { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; color: var(--cream); letter-spacing: -0.02em; }
.studio-panel span:nth-child(even) { color: var(--copper); }

/* Phone hero: dedicated, centred 3D stage above the text */
@media (max-width: 759px) {
  .hero { flex-direction: column; align-items: stretch; min-height: auto; padding-top: 80px; }
  .hero-3d { position: relative; inset: auto; width: 100%; height: 360px; flex: none; }
  .hero-3d canvas { touch-action: pan-y; }
  .hero-3d::after { background: none; }
  .hero-3d .fallback { right: auto; left: 50%; top: 14%; width: 230px; transform: translateX(-50%); }
  .hero-inner { padding-top: 0; padding-bottom: 72px; }
  .scroll-cue { display: none; }
}
