/* ============================================================
   RRHG INSPIRING — konsep "majalah motor 90-an" ala feed IG
   kertas krem · tinta hitam · pita warna sampul · stiker IN STOCK!
   ============================================================ */
:root {
  --paper: #f3efe5;
  --paper-2: #e8e2d3;
  --paper-3: #ddd5c2;
  --ink: #111110;
  --ink-2: #3b3935;
  --ink-mute: #77726a;
  --line: #111110;
  --orange: #f26a1b;
  --red: #d7141f;
  --blue: #1f47b0;
  --yellow: #ffc400;
  --radius: 4px;
  --font-mast: 'Archivo', 'Arial Black', sans-serif;
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-hand: 'Permanent Marker', cursive;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --shadow: 6px 6px 0 var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: #000; }

/* paper texture */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.halftone { background-image: radial-gradient(var(--paper-3) 1.2px, transparent 1.3px); background-size: 9px 9px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo .rrhg-logo { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 6px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a { padding: 8px 12px; border: 2px solid transparent; transition: .15s; }
.nav-links a:hover { border-color: var(--ink); background: var(--yellow); }
.nav-burger { display: none; width: 42px; height: 42px; border: 2px solid var(--ink); background: var(--yellow); }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }
.mnav { position: fixed; inset: 0; background: var(--ink); color: var(--paper); z-index: 49; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); gap: 4px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1); }
.mnav.open { transform: none; }
.mnav a { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 48px; text-transform: uppercase; line-height: 1.15; }
.mnav a:hover { color: var(--yellow); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--yellow); }
.btn-red { background: var(--red); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }
.btn-ghost { background: var(--paper); }
.btn-sm { padding: 9px 14px; font-size: 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- MAGAZINE COVER ---------- */
.cover { --cover: var(--ink); position: relative; background: #fff; border: 2px solid var(--ink); padding: 8px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cover-top { background: var(--cover); color: #fff; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px 0; line-height: 1.3; }
.cover-top b { color: var(--yellow); font-weight: 700; }
.cover-top .ct-bike { color: #fff; margin-left: auto; }
.cover-mast { background: var(--cover); color: #fff; font-family: var(--font-mast); font-weight: 900; font-size: clamp(26px, 3.1vw, 40px); letter-spacing: -.01em; line-height: 1.05; padding: 2px 8px 0; white-space: nowrap; overflow: hidden; }
.cover-sub { background: var(--cover); color: rgba(255,255,255,.85); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; padding: 2px 8px 6px; }
.cover-photo { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: var(--paper-2); }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.cover-strip { background: var(--ink); display: grid; grid-template-columns: .8fr 1fr 1fr 1fr; gap: 6px; padding: 6px; }
.cover-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.barcode { display: block; background: #fff repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 3px, #000 3px 4px, transparent 4px 6px, #000 6px 9px, transparent 9px 10px); border: 3px solid #fff; border-bottom-width: 9px; }
.cover-big .cover-top { font-size: 11px; padding: 10px 12px 0; }
.cover-big .cover-mast { font-size: clamp(38px, 5.2vw, 70px); padding: 4px 12px 0; }
.cover-big .cover-sub { font-size: 11px; padding: 4px 12px 10px; }
.cover-big .cover-strip { gap: 8px; padding: 8px; }

/* IG-highlight style sticker */
.stk { position: absolute; top: 12px; right: 12px; font-family: var(--font-mast); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 15px; padding: 5px 12px; border: 2px solid var(--ink); transform: rotate(4deg); box-shadow: 3px 3px 0 var(--ink); }
.st-ready { background: var(--yellow); color: var(--ink); }
.st-booked { background: #fff; color: var(--ink); }
.st-sold { background: var(--red); color: #fff; }
.st-project { background: var(--paper); color: var(--ink); }
.cover-big .stk { font-size: 22px; top: 18px; right: 18px; }

/* ---------- HERO ---------- */
.hero { padding: 120px 0 72px; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-kicker { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.hero-kicker span { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 10px; }
.hero-kicker span::before { content: '^'; color: var(--yellow); margin-right: 4px; }
.hero h1 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(48px, 7vw, 108px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 .blue { color: var(--blue); }
.hero h1 .hl { background: var(--red); color: #fff; padding: 0 .12em; display: inline-block; transform: rotate(-2deg); }
.hero-lead { margin-top: 26px; max-width: 520px; font-size: 18px; color: var(--ink-2); }
.hero-lead b { color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-cover { position: relative; transform: rotate(2.5deg); transition: transform .4s; max-width: 540px; justify-self: center; width: 100%; display: block; }
.hero-cover:hover { transform: rotate(0deg) scale(1.01); }
.hero-cover .sticker-note { position: absolute; left: -26px; bottom: 26%; z-index: 2; transform: rotate(-8deg); }
.sticker-note { font-family: var(--font-hand); background: var(--yellow); border: 2px solid var(--ink); padding: 8px 14px; font-size: 18px; box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 36px; line-height: 1; }
.hero-stats div span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); }

/* ---------- HIGHLIGHTS (IG stories) ---------- */
.highlights { display: flex; gap: 22px; overflow-x: auto; padding: 8px 2px 14px; scrollbar-width: none; margin-top: 56px; }
.highlights::-webkit-scrollbar { display: none; }
.hl-item { flex: none; width: 96px; text-align: center; }
.hl-ring { width: 88px; height: 88px; margin: 0 auto 8px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--yellow), var(--orange), var(--red), var(--blue), var(--yellow)); transition: transform .2s; }
.hl-item:hover .hl-ring { transform: rotate(-8deg) scale(1.05); }
.hl-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); }
.hl-item span { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 12px 0; border-block: 2px solid var(--ink); }
.marquee.alt { background: var(--yellow); color: var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: clamp(20px, 2.6vw, 30px); text-transform: uppercase; padding: 0 20px; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee span::after { content: '●'; font-size: .45em; color: var(--orange); }
.marquee.alt span::after { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTION ---------- */
section { padding: 96px 0; position: relative; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--orange); border: 2px solid currentColor; }
.sec-title { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(36px, 5.6vw, 80px); line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.sec-title em { font-style: italic; color: var(--blue); }
.sec-desc { color: var(--ink-2); max-width: 420px; }
.sec-dark { background: var(--ink); color: var(--paper); }
.sec-dark .sec-head { border-color: var(--paper); }
.sec-dark .sec-desc { color: #bdb7aa; }
.sec-dark .sec-title em { color: var(--yellow); }

/* ---------- FILTERS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 40px; }
.chip { padding: 8px 16px; border: 2px solid var(--ink); background: var(--paper); font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; transition: .12s; }
.chip:hover { background: var(--paper-2); }
.chip.active { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--orange); }
.search { margin-left: auto; position: relative; }
.search input { background: #fff; border: 2px solid var(--ink); padding: 10px 16px 10px 40px; color: var(--ink); font: inherit; font-size: 14px; width: 250px; outline: none; }
.search input:focus { box-shadow: 3px 3px 0 var(--ink); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; }

/* ---------- CARDS (covers) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 48px 34px; }
.card { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.card .cover { transition: transform .25s, box-shadow .25s; }
.card:nth-child(odd) .cover { transform: rotate(-1deg); }
.card:nth-child(even) .cover { transform: rotate(1deg); }
.card:hover .cover { transform: rotate(0) translate(-3px,-3px); box-shadow: 10px 10px 0 var(--ink); }
.card:hover .cover-photo img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.card-brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.card-title { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 30px; line-height: 1; text-transform: uppercase; }
.card-nick { font-family: var(--font-hand); color: var(--orange); font-size: 16px; }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.card-meta span { font-family: var(--font-mono); font-size: 11px; border: 1.5px solid var(--ink); padding: 3px 8px; background: #fff; }
.card-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; border-top: 2px dashed var(--ink); padding-top: 12px; }
.price { font-family: var(--font-mono); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.arrow-btn { width: 42px; height: 42px; border: 2px solid var(--ink); background: var(--yellow); display: grid; place-items: center; transition: transform .2s; box-shadow: 3px 3px 0 var(--ink); }
.card:hover .arrow-btn { transform: rotate(-45deg); }
.arrow-btn svg { width: 20px; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-mute); grid-column: 1/-1; font-family: var(--font-mono); }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--paper); }
.svc { padding: 34px 28px 38px; position: relative; display: flex; flex-direction: column; border-right: 2px solid var(--paper); transition: background .2s; }
.svc:last-child { border-right: 0; }
.svc:hover { background: #1d1c1a; }
.svc-no { font-family: var(--font-mono); color: var(--yellow); font-size: 13px; }
.svc-icon { width: 52px; height: 52px; margin: 26px 0 20px; color: var(--orange); }
.svc h3 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 30px; text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.svc p { color: #bdb7aa; font-size: 15px; }
.svc .tag { margin-top: 18px; align-self: flex-start; font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; background: var(--yellow); color: var(--ink); font-weight: 700; text-transform: uppercase; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; margin-top: 56px; border: 2px solid var(--paper); }
.step { padding: 24px; position: relative; border-right: 2px solid var(--paper); }
.step:last-child { border-right: 0; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 44px; color: var(--orange); line-height: 1; }
.step h4 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 22px; text-transform: uppercase; margin: 12px 0 6px; }
.step p { color: #bdb7aa; font-size: 14px; }

/* ---------- SHIPPED / SOLD ---------- */
.shipped { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.shipped > * { min-width: 0; }
.shipped p { color: var(--ink-2); font-size: 17px; margin-top: 20px; max-width: 480px; }
.ship-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ship-list span { font-family: var(--font-mast); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 22px; padding: 6px 14px; border: 2px solid var(--ink); background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.ship-list span:nth-child(2) { transform: rotate(-2deg); background: var(--yellow); color: var(--ink); }
.ship-list span:nth-child(3) { transform: rotate(2deg); background: var(--blue); }
.ship-list span:nth-child(4) { transform: rotate(-1deg); background: var(--orange); color: var(--ink); }
.ship-list span::before { content: 'SOLD! '; font-size: .7em; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.collage img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); }
.collage img:nth-child(3n+2) { transform: translateY(18px); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about > * { min-width: 0; }
.about-img { position: relative; border: 2px solid var(--ink); box-shadow: var(--shadow); background: #fff; padding: 8px; transform: rotate(-1.5deg); }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-img .sticker-note { position: absolute; bottom: 24px; right: -14px; transform: rotate(6deg); }
.about p { color: var(--ink-2); margin-bottom: 16px; font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; border: 2px solid var(--ink); background: #fff; }
.stat { padding: 16px; border-right: 2px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 40px; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }

/* ---------- CTA / CONTACT ---------- */
.cta { background: var(--orange); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.cta h2 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(40px, 7vw, 104px); line-height: .9; text-transform: uppercase; max-width: 900px; letter-spacing: -.02em; position: relative; }
.cta p { max-width: 480px; margin: 22px 0 30px; font-size: 17px; position: relative; }
.cta .btn { position: relative; }
.cta-bg { position: absolute; right: -20px; bottom: -70px; font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 360px; line-height: 1; color: rgba(0,0,0,.1); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.contact-item { background: #fff; border: 2px solid var(--ink); padding: 18px; transition: transform .12s, box-shadow .12s; display: block; }
.contact-item:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); background: var(--yellow); }
.contact-item small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.contact-item div { font-weight: 700; margin-top: 4px; word-break: break-word; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: var(--paper); padding: 56px 0 32px; }
.foot-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.foot-logo .rrhg-logo { height: 110px; width: auto; }
.foot-big { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: clamp(44px, 11vw, 180px); line-height: .9; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px #4a4843; text-align: center; user-select: none; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; font-family: var(--font-mono); font-size: 12px; color: #9a958b; }
.foot-row a:hover { color: var(--yellow); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.detail-hero { padding: 104px 0 56px; }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.d-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.d-top > * { min-width: 0; }
.d-brand { font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.d-title { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(46px, 7.4vw, 112px); line-height: .9; text-transform: uppercase; margin: 10px 0 12px; letter-spacing: -.02em; }
.d-nick { font-family: var(--font-hand); font-size: 24px; color: var(--orange); }
.d-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.d-tags span { font-family: var(--font-mono); font-size: 12px; padding: 4px 10px; border: 1.5px solid var(--ink); background: #fff; }
.d-price { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.d-price small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); display: block; }
.d-price b { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 34px; line-height: 1.1; }
.d-cover { max-width: 470px; justify-self: center; width: 100%; transform: rotate(2deg); }

/* viewer (dark showroom spread) */
.viewer-wrap { position: relative; overflow: hidden; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: radial-gradient(ellipse at 50% 40%, #2c2a26 0%, #121210 68%); height: min(72vh, 680px); min-height: 440px; color: #f3efe5; }
.viewer-wrap canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.viewer-wrap canvas:active { cursor: grabbing; }
.viewer-wrap.full { position: fixed; inset: 0; z-index: 200; height: 100vh; box-shadow: none; border: 0; }
.v-label { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; z-index: 2; }
.v-label .pill { background: var(--yellow); color: #000; padding: 4px 8px; font-weight: 700; border: 2px solid #000; }
.v-label .hint { color: #a7a294; }
.v-tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.v-btn { height: 38px; min-width: 38px; padding: 0 12px; background: rgba(12,12,11,.75); border: 1.5px solid rgba(255,255,255,.25); font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .15s; color: #f3efe5; }
.v-btn:hover { border-color: #fff; }
.v-btn.on { background: var(--yellow); color: #000; border-color: #000; }
.v-btn svg { width: 16px; height: 16px; }
.v-bottom { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; z-index: 2; flex-wrap: wrap; }
.v-panel { background: rgba(12,12,11,.78); border: 1.5px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); padding: 10px 12px; }
.v-panel h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8d887e; font-weight: 500; margin-bottom: 8px; }
.liveries { display: flex; gap: 6px; flex-wrap: wrap; }
.livery { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border: 1.5px solid transparent; font-size: 12px; font-weight: 600; color: #f3efe5; }
.livery:hover { border-color: #77726a; }
.livery.active { border-color: var(--yellow); }
.livery i { width: 22px; height: 22px; border-radius: 50%; display: block; border: 1px solid rgba(255,255,255,.3); }
.views { display: flex; gap: 6px; }
.views .v-btn { height: 32px; padding: 0 10px; }
.gas-btn { height: 64px; width: 64px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 16px; border: 2px solid #000; box-shadow: 0 0 0 6px rgba(215,20,31,.25), 4px 4px 0 #000; transition: transform .1s; user-select: none; -webkit-user-select: none; }
.gas-btn:active, .gas-btn.rev { transform: scale(.92); box-shadow: 0 0 0 12px rgba(215,20,31,.3); }
.v-loading { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: #a7a294; text-transform: uppercase; }
.rpm { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: #a7a294; z-index: 2; display: flex; align-items: center; gap: 10px; }
.rpm-bar { width: 120px; height: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.rpm-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--red)); transition: width .08s; }
.note { font-size: 12px; color: var(--ink-mute); margin-top: 20px; font-family: var(--font-mono); }

/* detail content */
.d-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; margin-top: 72px; }
.d-grid > * { min-width: 0; }
.d-photo { position: relative; aspect-ratio: 4/3; background: #fff; cursor: zoom-in; border: 2px solid var(--ink); padding: 8px; box-shadow: var(--shadow); }
.d-photo img { width: 100%; height: 100%; object-fit: cover; }
.d-photo .sticker-note { position: absolute; top: -14px; right: 18px; font-size: 15px; transform: rotate(4deg); }
.photo-count { position: absolute; left: 18px; bottom: 18px; font-family: var(--font-mono); font-size: 12px; background: var(--ink); color: var(--paper); padding: 5px 9px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 6px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 88px; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--ink); opacity: .55; transition: .15s; }
.thumbs button:hover { opacity: .9; }
.thumbs button.active { opacity: 1; box-shadow: 3px 3px 0 var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-story { margin-top: 44px; }
.d-story h3, .d-work h3 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 28px; text-transform: uppercase; line-height: 1.05; margin-bottom: 14px; }
.d-story p { color: var(--ink-2); margin-bottom: 14px; font-size: 16.5px; }
.d-work { margin-top: 40px; }
.work-list { list-style: none; display: grid; gap: 8px; }
.work-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 2px solid var(--ink); font-weight: 500; }
.work-list li::before { content: '✓'; width: 26px; height: 26px; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.d-cta { position: sticky; top: 92px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 26px; }
.d-cta h4 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 28px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.d-cta p { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }
.d-cta .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.d-specs { margin-top: 30px; }
.spec-table { border-top: 2px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--paper-3); font-size: 15px; }
.spec-row dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); padding-top: 3px; }
.spec-row dd { font-weight: 600; }

.lightbox { position: fixed; inset: 0; background: rgba(10,10,9,.94); z-index: 300; display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; border: 6px solid #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: var(--yellow); border: 2px solid #000; font-size: 32px; line-height: 1; z-index: 2; color: #000; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .hero-grid, .d-top, .about, .shipped { grid-template-columns: 1fr; }
  .hero-cover { max-width: 460px; }
  .services { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-bottom: 2px solid var(--paper); }
  .svc:last-child { border-bottom: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 2px solid var(--paper); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .d-grid { grid-template-columns: 1fr; }
  .d-cta { position: static; }
}
@media (max-width: 760px) {
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: block; }
  .logo .rrhg-logo { height: 38px; }
  .hero { padding-top: 100px; }
  .hero-cover .sticker-note { left: -6px; font-size: 15px; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 2px solid var(--paper); }
  .step:last-child { border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 30px; }
  .viewer-wrap { height: 78vh; min-height: 480px; box-shadow: 5px 5px 0 var(--ink); }
  .v-tools { max-width: 50%; }
  .v-tools .txt { display: none; }
  .rpm { top: auto; bottom: 168px; }
  .v-bottom { flex-direction: column; align-items: stretch; }
  .v-bottom .gas-wrap { position: absolute; right: 0; bottom: calc(100% + 12px); }
  .spec-row { grid-template-columns: 105px 1fr; }
  section { padding: 72px 0; }
  .cta { box-shadow: 6px 6px 0 var(--ink); }
  .cta-bg { font-size: 220px; }
  .cover-top span { display: none; }
  .foot-logo .rrhg-logo { height: 80px; }
}

/* masthead selalu pas selebar sampul */
.cover { container-type: inline-size; }
.cover-mast, .cover-big .cover-mast { font-size: 8.7cqi; }

/* ---------- KNALPOT RRHG ---------- */
.exhaust { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.exhaust > * { min-width: 0; }
.ex-photo { position: relative; background: #fff; border: 2px solid var(--paper); padding: 8px; box-shadow: 8px 8px 0 var(--orange); transform: rotate(-1deg); }
.ex-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ex-thumbs button { border-color: var(--paper); }
.ex-desc { color: #cfc9bc; font-size: 17px; margin: 20px 0 26px; max-width: 520px; }
.ex-specs { border-top: 2px solid var(--paper); margin-bottom: 30px; }
.ex-specs .spec-row { border-color: #3b3935; }
.ex-specs dt { color: #9a958b; }
.ex-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.sec-dark .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.sec-dark .btn-ghost { background: transparent; color: var(--paper); }
.sec-dark .btn-primary { color: var(--ink); }
.ex-note { font-family: var(--font-mono); font-size: 12px; color: #9a958b; margin-top: 18px; }
#knalpot + #layanan { border-top: 2px solid #3b3935; }
@media (max-width: 1000px) { .exhaust { grid-template-columns: 1fr; } }

/* logo oval resmi */
.logo .rrhg-logo { height: 52px; width: auto; }
.foot-logo .rrhg-logo { height: 150px; width: auto; }
@media (max-width: 760px) { .logo .rrhg-logo { height: 44px; } .foot-logo .rrhg-logo { height: 110px; } }

/* galeri: tampilkan slide utuh (spread majalah portrait) */
.d-photo { background: var(--ink); }
.d-photo img { object-fit: contain; background: var(--ink); }
.d-quote { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; text-transform: uppercase; border-left: 6px solid var(--orange); padding: 6px 0 6px 18px; margin: 4px 0 22px; }

/* status Project Done + tombol muat lagi */
.st-done { background: var(--blue); color: #fff; }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- SEJARAH + MEREK TERDAFTAR ---------- */
.history { margin-top: 96px; }
.history-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.history-grid > * { min-width: 0; }
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--ink); }
.timeline li { position: relative; padding: 0 0 28px 18px; }
.timeline li::before { content: ''; position: absolute; left: -27px; top: 4px; width: 14px; height: 14px; background: var(--yellow); border: 2px solid var(--ink); transform: rotate(45deg); }
.timeline li:last-child { padding-bottom: 0; }
.timeline b { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 26px; line-height: 1; color: var(--blue); }
.timeline h4 { font-family: var(--font-mast); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 20px; margin: 6px 0 4px; }
.timeline p { color: var(--ink-2); font-size: 15px; max-width: 560px; }
.tm-card { position: sticky; top: 92px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 28px; }
.tm-card h3 { font-family: var(--font-mast); font-weight: 900; font-style: italic; font-size: 24px; line-height: 1.05; text-transform: uppercase; margin-bottom: 16px; word-break: break-word; }
.tm-card .spec-table { margin-bottom: 22px; }
.tm-card .btn { width: 100%; justify-content: center; }
.tm-badge { position: absolute; top: -18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 26px; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 1000px) { .history-grid { grid-template-columns: 1fr; } .tm-card { position: static; } }

/* kunci lebar halaman: marquee tidak boleh membuat scroll horizontal */
html, body { overflow-x: clip; }
.marquee { contain: paint; }

.timeline p b.founder { font-family: inherit; font-style: normal; font-size: inherit; color: var(--ink); }
