

@font-face {
  font-family: "Road Rage Custom";
  src: url("./assets/fonts/Road_Rage.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  --ink: #08090b;
  --charcoal: #101216;
  --panel: #171a20;
  --panel-2: #1d2129;
  --white: #f5f5f3;
  --muted: #a8adb5;
  --red: #a50813;
  --red-bright: #d71926;
  --orange: #ef6c19;
  --line: rgba(255,255,255,.13);
  --max: 1180px;
  --rage: "Road Rage Dots", "Road Rage Custom", sans-serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
.contact-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-bottom:24px; }
.social-link .platform-logo { width:32px; height:32px; flex-shrink:0; filter:invert(1); }
.social-link { flex-wrap:wrap; gap:10px; }
.social-link span { width:100%; overflow-wrap:anywhere; }
.channel-thumbnail { display:block; max-width:780px; margin:28px 0; border:1px solid var(--line); }
.channel-thumbnail img { width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#08090b; }
#collaboration { scroll-margin-top:90px; }
.contact-footer a,.privacy-note a { text-decoration:underline; }
.service-terms { padding:30px; margin-bottom:40px; border:1px solid var(--line); background:var(--panel); }
.service-terms h2 { font-size:3rem; line-height:1.1; }
.upload-field { border:2px solid var(--orange); padding:20px; }
.upload-field p { margin:0; }
#upload-preview,.reference-list { display:flex; flex-wrap:wrap; gap:12px; }
#upload-preview figure { width:100px; margin:0; }
#upload-preview img,.reference-list img { width:100px; height:100px; object-fit:contain; }
#upload-preview figcaption { font-size:14px; overflow-wrap:anywhere; }
.privacy-note { font-size:14px; }
.trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.inbox-card { padding:28px; margin:24px 0; background:var(--panel); border:1px solid var(--line); overflow-wrap:anywhere; }
.inbox-card h2 { font-size:2.5rem; line-height:1.1; }
.reference-list a { max-width:180px; overflow-wrap:anywhere; }
button:disabled { opacity:.6; cursor:wait; }
:focus-visible { outline:3px solid var(--orange); outline-offset:4px; }
.field { min-width:0; }
.field input { max-width:100%; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 80% 8%, rgba(165,8,19,.13), transparent 28%),
    linear-gradient(115deg, transparent 0 49.7%, rgba(255,255,255,.025) 50%, transparent 50.3%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 5px);
}

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(8,9,11,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-family: var(--rage); font-size: 2rem; letter-spacing: .045em; line-height: 1; }
.brand-name span { color: var(--red-bright); }
.nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nav a { padding: 10px 15px; border: 1px solid transparent; font-family: var(--rage); font-size: 1.2rem; font-weight: 400; letter-spacing: .055em; line-height: 1; text-transform: uppercase; transition: .2s ease; }
.nav .primary { color: #fff; background: var(--red); }
.nav .secondary { color: #111; background: var(--orange); }
.nav a:hover, .nav a.active { transform: translateY(-2px); filter: brightness(1.18); box-shadow: 0 7px 24px rgba(0,0,0,.32); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--white); padding: 10px 12px; }

.hero { min-height: 720px; position: relative; overflow: hidden; display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.98) 0%, rgba(8,9,11,.82) 48%, rgba(8,9,11,.3) 100%); }
.hero-art { position: absolute; inset: 0 0 0 42%; width: 58%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.08); }
.hero-content { position: relative; z-index: 2; padding: 112px 0 100px; max-width: var(--max); container-type: inline-size; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-size: .78rem; letter-spacing: .17em; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 38px; height: 3px; background: var(--orange); }
h1,h2,h3,.display { font-family: var(--rage); letter-spacing: .035em; line-height: .92; margin: 0; font-weight: 400; }
h1 { font-size: clamp(5.2rem, 11vw, 9.8rem); margin: 22px 0 14px; }
h1 .accent, h2 .accent { color: var(--red-bright); }
.hero p { max-width: 640px; color: #d5d7db; font-size: clamp(1.05rem, 2vw, 1.32rem); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--line); font-family: var(--rage); text-transform: uppercase; font-size: 1.15rem; font-weight: 400; letter-spacing: .06em; line-height: 1; transition: .2s ease; cursor: pointer; }
.btn-red { background: var(--red-bright); border-color: var(--red-bright); color: white; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #111; }
.btn-outline { background: rgba(8,9,11,.72); color: white; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.35); filter: brightness(1.12); }

.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-sm { padding: 60px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-header h2 { font-size: clamp(3.5rem, 7vw, 6.3rem); }
.section-header p { max-width: 520px; color: var(--muted); margin: 0; }
.rule { width: 100%; height: 1px; background: var(--line); margin: 24px 0; }

.preview-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.preview-lane { background: var(--panel); border: 1px solid var(--line); padding: 20px; position: relative; }
.preview-lane::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red-bright); }
.preview-lane.hand::before { background: var(--orange); }
.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lane-head h3 { font-size: 2.5rem; }
.label { padding: 5px 9px; border: 1px solid currentColor; font-family: var(--rage); font-size: 1rem; font-weight: 400; letter-spacing: .055em; line-height: 1; text-transform: uppercase; color: var(--red-bright); }
.hand .label { color: var(--orange); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }

.media-feature { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.video-card { min-height: 360px; background-color:#08090b; background-image:linear-gradient(#0001,#000b),url('/api/channel-art'); background-size:100% 100%,contain; background-position:center; background-repeat:no-repeat; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: end; padding: 34px; }
.video-card .play { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--red-bright); font-size: 1.35rem; margin-bottom: 76px; }
.video-card h3 { font-size: 3.5rem; }
.merch-tease { background: var(--panel); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.merch-tease h3 { font-size: 3.2rem; }
.merch-art { aspect-ratio: 1.45; background: #0a0b0e; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; margin: 20px 0; }
.merch-art img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }

.page-hero { padding: 105px 0 62px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #08090b 30%, #16191e); }
.page-hero h1 { font-size: clamp(4.5rem, 10vw, 8rem); }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 1.1rem; }

.portfolio-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.portfolio-column { padding: 24px; background: var(--charcoal); border: 1px solid var(--line); }
.portfolio-column h2 { font-size: 4.5rem; }
.portfolio-column.ai { border-top: 5px solid var(--red-bright); }
.portfolio-column.handmade { border-top: 5px solid var(--orange); }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.art-card { background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: .2s ease; }
.art-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.art-card figcaption { padding: 13px 14px; font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.art-card:hover { transform: translateY(-5px); border-color: var(--red-bright); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.handmade .art-card:hover { border-color: var(--orange); }

.pricing-group { margin-bottom: 60px; }
.pricing-group h2 { font-size: 4rem; margin-bottom: 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.price-card { background: var(--panel); border: 1px solid var(--line); padding: 26px; position: relative; display: flex; flex-direction: column; min-height: 330px; }
.price-card.featured { border-color: var(--red-bright); box-shadow: inset 0 4px var(--red-bright); }
.tier { font-family: var(--rage); font-size: 1.05rem; color: var(--orange); font-weight: 400; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.price-card h3 { font-family: var(--rage); font-size: 2rem; line-height: 1; letter-spacing: .035em; margin: 10px 0; font-weight: 400; }
.price { font-family: var(--rage); font-size: 3.8rem; color: var(--white); line-height: 1; margin: 6px 0 14px; }
.price-card p { color: var(--muted); margin-top: 0; }
.price-card .btn { margin-top: auto; }

.inquiry { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; padding: 36px; background: var(--panel); border-left: 5px solid var(--red-bright); }
.inquiry h2 { font-size: 5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; color: #d7d9dc; }
.field input,.field select,.field textarea { background: #0d0f13; border: 1px solid #383d47; color: white; padding: 13px 14px; min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { color: var(--orange); min-height: 24px; margin-top: 12px; }

.social-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.social-identity { padding: 42px; background: linear-gradient(145deg, #1b1e24, #0a0b0e); display: flex; flex-direction: column; justify-content: center; align-items: start; }
.social-identity img { width: 130px; margin-bottom: 22px; }
.social-identity h2 { font-size: 5rem; }
.handle { color: var(--orange); font-weight: 800; letter-spacing: .08em; }
.social-links { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-link { border: 1px solid var(--line); padding: 18px; display: flex; justify-content: space-between; align-items: center; transition: .2s; }
.social-link:hover { background: var(--red); border-color: var(--red); }
.social-link strong { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.embed-card { background: var(--panel); border: 1px solid var(--line); }
.embed-thumb { aspect-ratio: 16/9; display: grid; place-items: center; background-size: cover; background-position: center; }
.embed-thumb span { width: 52px; height: 52px; display: grid; place-items: center; background: var(--red-bright); border-radius: 50%; }
.embed-card div:last-child { padding: 17px; }

.partner-card { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid rgba(239,108,25,.55); background: linear-gradient(120deg, rgba(239,108,25,.13), var(--panel) 48%); overflow: hidden; }
.partner-art { min-height: 520px; background: #111923; display: grid; place-items: center; overflow: hidden; }
.partner-art img { width: 100%; height: 100%; min-height: inherit; object-fit: contain; }
.partner-copy { padding: 52px; align-self: center; }
.partner-copy h2 { font-size: 6rem; }
.partner-copy .byline { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }

.merch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.product-card { background: var(--panel); border: 1px solid var(--line); }
.product-card img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.product-copy { padding: 18px; }
.product-copy h3 { font-family: var(--rage); font-size: 1.65rem; line-height: 1; letter-spacing: .035em; margin-bottom: 6px; font-weight: 400; }
.product-copy p { color: var(--muted); margin: 0 0 14px; }

.footer { padding: 46px 0; background: #050607; }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; align-items: center; }
.footer .brand-name { font-size: 2.5rem; }
.footer p { color: var(--muted); margin: 0; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 16px 20px; background: #08090b; border-bottom: 1px solid var(--line); }
  .nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-art { inset: 0; width: 100%; opacity: .48; }
  .hero::after { background: rgba(8,9,11,.72); }
  .preview-split,.media-feature,.portfolio-columns,.inquiry,.social-card,.partner-card { grid-template-columns: 1fr; }
  .pricing-grid,.video-grid,.merch-grid { grid-template-columns: 1fr 1fr; }
  .partner-art { min-height: 360px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 650px; }
  h1 { font-size: 5.2rem; }
  .section { padding: 70px 0; }
  .section-header { align-items: start; flex-direction: column; }
  .mini-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid,.video-grid,.merch-grid,.form-grid,.social-links { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .art-grid { grid-template-columns: 1fr; }
  .portfolio-column h2 { font-size: 3.8rem; }
  .inquiry,.social-identity,.social-links,.partner-copy { padding: 25px; }
  .footer-inner { align-items: start; flex-direction: column; }
}

.payment-test{border:1px solid #ef6c22;padding:16px;color:#ffad72;font-weight:bold}.inbox-card form{display:grid;gap:12px;margin:20px 0}.inbox-card input{max-width:100%;padding:12px;font-size:1rem}.inbox-card dd{font-size:1.5rem;margin:0 0 20px}.inbox-card .btn{margin:6px 6px 6px 0}
[hidden]{display:none!important}

/* Original Road Rage shapes, with an independently colored lowercase i dot. */
@font-face {
 font-family: "Road Rage Dots";
 src: url("./assets/fonts/Road_Rage_Dots_v2.woff") format("woff");
 font-style: normal;
 font-weight: 400;
 font-display: block;
}
@font-palette-values --rage-red-dot { font-family: "Road Rage Dots"; base-palette: 0; }
@font-palette-values --rage-white-dot { font-family: "Road Rage Dots"; base-palette: 1; }
.rage-white-dots { font-family: "Road Rage Dots", "Road Rage Custom", sans-serif !important; font-palette: --rage-red-dot; }
.rage-red-dots { font-family: "Road Rage Dots", "Road Rage Custom", sans-serif !important; font-palette: --rage-white-dot; }
.rage-natural-dots { font-family: "Road Rage Custom", sans-serif !important; }

/* Keep the homepage brand together while fitting the available hero width. */
.hero h1 { white-space: nowrap; font-size: min(8rem, 8.5vw); font-size: min(8rem, 10cqw); }

/* Select the brand palette before JavaScript runs. */
.brand-name span, h1 .accent, h2 .accent { font-palette: --rage-white-dot; }

/* Search-focused service pages, retaining the existing brand system. */
.hero .hero-service-heading{font-family:Inter,Arial,sans-serif;font-size:clamp(1.25rem,2.6vw,1.9rem);line-height:1.3;max-width:760px;margin-top:24px}.service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.service-links a{display:block;border:1px solid var(--line);padding:24px;font-weight:700;font-size:1.1rem}.service-links a:hover{border-color:var(--red)}.service-hero h1{font-size:clamp(3rem,6vw,6rem);overflow-wrap:break-word}.service-reading{max-width:850px}.service-reading h3{margin-top:32px}@media(max-width:650px){.service-links{grid-template-columns:1fr}}
