/* The Radical Nerd editorial page */
.rn-page {
  --rn-bg: #0b0b0b;
  --rn-panel: #161616;
  --rn-line: #343330;
  --rn-red: #d62b1f;
  --rn-paper: #f5f0e8;
  --rn-muted: #aaa69f;
  min-height: 100vh;
  overflow: hidden;
  background: var(--rn-bg);
  color: var(--rn-paper);
  font-family: Inter, var(--font-body), sans-serif;
}

.rn-page p { max-width: none; color: var(--rn-muted); }
.rn-page h1, .rn-page h2, .rn-page h3 { font-family: 'Barlow Condensed', 'Arial Narrow', var(--font-display), sans-serif; letter-spacing: 0; }
.rn-page a { text-decoration: none; }
.rn-hero, .rn-section, .rn-workbench, .rn-contact-inner { max-width: 1440px; margin-inline: auto; }

.rn-hero {
  display: grid;
  grid-template-columns: minmax(0, 576px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding: 150px 80px 56px;
}
.rn-introduction { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.rn-identity { display: flex; align-items: center; gap: 10px; color: var(--rn-paper); font: 800 32px/1 'Barlow Condensed', sans-serif; }
.rn-identity b { color: var(--rn-red); font-size: 38px; }
.rn-hero h1 { margin: 0; color: var(--rn-paper); font-size: clamp(76px, 7.8vw, 112px); font-weight: 800; line-height: .91; text-transform: uppercase; }
.rn-hero h1 i { color: var(--rn-paper); font-style: normal; }
.rn-hero h1 em { color: var(--rn-red); font-style: normal; }
.rn-hero-copy { width: min(530px, 100%); margin: 0; font-size: 17px; line-height: 1.6; }
.rn-button { display: inline-flex; align-items: center; gap: 24px; min-height: 54px; padding: 0 24px; color: var(--rn-paper); background: var(--rn-red); font-size: 14px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.rn-button:hover { background: #e1262a; transform: translateY(-2px); }
.rn-arrow { position: relative; display: inline-block; width: 18px; height: 18px; }
.rn-arrow::before, .rn-arrow::after { content: ''; position: absolute; background: var(--rn-paper); }
.rn-arrow-down::before { width: 2px; height: 13px; left: 8px; top: 1px; }
.rn-arrow-down::after { width: 8px; height: 8px; left: 5px; top: 6px; border-right: 2px solid var(--rn-paper); border-bottom: 2px solid var(--rn-paper); background: transparent; transform: rotate(45deg); }
.rn-arrow-up-right::before { width: 2px; height: 13px; left: 8px; top: 1px; transform: rotate(45deg); }
.rn-arrow-up-right::after { width: 8px; height: 8px; right: 1px; top: 1px; border-top: 2px solid var(--rn-paper); border-right: 2px solid var(--rn-paper); background: transparent; }

.rn-hero-media { min-width: 0; margin: 0; }
.rn-image-frame { position: relative; height: 492px; overflow: hidden; }
.rn-image-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.24), transparent 65%); pointer-events: none; }
.rn-image-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.rn-image-frame::before { content: ''; position: absolute; z-index: 1; left: 0; bottom: 0; width: 80px; height: 5px; background: var(--rn-red); }
.rn-hero-media figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; color: var(--rn-muted); font-size: 10px; line-height: 1.2; }
.rn-hero-media img { transition: transform .9s var(--ease-out), filter .5s ease; }
.rn-hero-media:hover img { transform: scale(1.035); filter: saturate(.9) contrast(1.08); }

.rn-principles {
  width: 100%;
  overflow: hidden;
  min-height: 52px;
  padding: 0 !important;
  background: var(--rn-panel, #161616);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex !important;
  align-items: center;
  user-select: none;
}
.rn-principles__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: rnTickerScroll 40s linear infinite;
}
.rn-principles__track:hover {
  animation-play-state: paused;
}
.rn-principles__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.rn-principles__group span {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  min-height: 52px;
  white-space: nowrap !important;
  font-family: 'Barlow Condensed', 'Arial Narrow', var(--font-display), sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}
.rn-principles__group span::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rn-red, #d62b1f);
  display: inline-block;
  opacity: 0.8;
  flex-shrink: 0;
}
@keyframes rnTickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.rn-section { padding: 64px 80px; }
.rn-section-intro { display: flex; align-items: flex-end; gap: 100px; margin-bottom: 36px; }
.rn-section-intro > div { width: 660px; }
.rn-kicker { display: block; color: var(--rn-red); font-size: 11px; font-weight: 600; line-height: 1.2; }
.rn-section h2 { margin: 14px 0 0; color: var(--rn-paper); font-size: 56px; font-weight: 700; line-height: 1; }
.rn-section-intro > p { flex: 1; margin: 0; font-size: 15px; line-height: 1.6; }
.rn-focus-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.rn-focus-grid article { min-width: 0; padding-top: 20px; border-top: 1px solid var(--rn-line); }
.rn-focus-grid article > span { color: var(--rn-red); font-size: 11px; }
.rn-focus-grid h3 { margin: 16px 0 9px; color: var(--rn-paper); font-size: 28px; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.rn-focus-grid p { margin: 0; font-size: 13px; line-height: 1.6; }
.rn-focus-grid article { transition: border-color .35s ease, transform .45s var(--ease-out), background .35s ease; }
.rn-focus-grid article:hover { border-color: var(--rn-red); background: rgba(255,255,255,.025); }

.rn-reviews { background: var(--rn-bg); color: var(--rn-paper); border-top: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); }
.rn-reviews-inner { max-width: 1440px; margin-inline: auto; padding: 64px 80px 68px; }
.rn-reviews-heading { max-width: 1000px; margin-inline: auto; text-align: center; }
.rn-review-kicker { display: block; color: var(--rn-red); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.rn-reviews h2 { margin: 12px 0 14px; color: var(--rn-paper); font-size: clamp(42px, 4.4vw, 64px); font-weight: 700; line-height: .98; }
.rn-reviews h2 em { color: var(--rn-red); font-style: normal; }
.rn-reviews-heading p { max-width: 680px; margin: 0 auto; color: var(--rn-muted); font-size: 16px; line-height: 1.55; }
.rn-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1190px; margin: 28px auto 0; }
.rn-review-card { min-width: 0; overflow: hidden; border: 1px solid var(--rn-line); border-radius: 8px; background: #050505; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.rn-review-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; }
.rn-review-player img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.rn-review-player::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .08); transition: background .25s ease; pointer-events: none; }
.rn-review-card:hover .rn-review-player img { transform: scale(1.045); filter: brightness(.78); }
.rn-review-card:hover .rn-review-player::after { background: rgba(0, 0, 0, .18); }
.rn-review-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .94); transform: translate(-50%, -50%); transition: transform .25s ease, background .25s ease; pointer-events: none; }
.rn-review-play::after { content: ''; position: absolute; top: 50%; left: 53%; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 16px solid var(--rn-red); transform: translate(-50%, -50%); }
.rn-review-card:hover .rn-review-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.rn-review-card { transition: transform .45s var(--ease-out), border-color .3s ease, box-shadow .35s ease; transform-style: preserve-3d; }
.rn-review-card:hover { border-color: rgba(255,56,60,.7); box-shadow: 0 18px 42px rgba(0,0,0,.42); }
.rn-review-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rn-review-click-layer { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rn-modal-open { overflow: hidden; }
.rn-video-modal { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 32px; }
.rn-video-modal-backdrop { position: absolute; inset: 0; background: rgba(21, 25, 29, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; }
.rn-video-dialog { position: relative; z-index: 1; width: min(1024px, 100%); aspect-ratio: 16 / 9; overflow: visible; border-radius: 8px; background: #000; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.rn-video-dialog iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 8px; background: #000; }
.rn-video-close { position: absolute; z-index: 2; top: -42px; right: 0; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .6); font: 400 27px/1 Arial, sans-serif; cursor: pointer; }
.rn-video-close:hover { background: var(--rn-red); }

.rn-workbench { display: flex; align-items: center; gap: 48px; padding: 40px 80px 56px; }
.rn-workbench-media { position: relative; flex: 0 0 460px; height: 320px; overflow: hidden; border-radius: 8px; margin-top: 20px; }
.rn-workbench-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.rn-workbench-media span { position: absolute; top: 16px; left: 16px; padding: 8px 12px; color: var(--rn-muted); background: var(--rn-bg); font-size: 10px; }
.rn-workbench-copy { flex: 1; padding: 20px 48px 20px 0; }
.rn-workbench-copy h2 { max-width: 600px; margin: 14px 0 18px; color: var(--rn-paper); font-size: 48px; line-height: 1; }
.rn-workbench-copy strong { display: block; color: var(--rn-paper); font-size: 17px; font-weight: 500; line-height: 1.5; }
.rn-workbench-copy p { width: min(600px, 100%); margin: 12px 0 18px; font-size: 14px; line-height: 1.6; }
.rn-workbench-copy hr { width: 48px; height: 2px; margin: 0; border: 0; background: var(--rn-red); }
.rn-workbench-media { transition: transform .6s var(--ease-out), box-shadow .4s ease; }
.rn-workbench-media:hover { box-shadow: 0 18px 40px rgba(0,0,0,.35); }

.rn-contact { background: var(--rn-panel); }
.rn-quote { max-width: 1440px; display: flex; align-items: center; gap: 20px; margin-inline: auto; padding: 24px 80px; border-bottom: 1px solid var(--rn-line); }
.rn-quote span { width: 3px; height: 20px; background: var(--rn-red); }
.rn-quote p { margin: 0; font-size: 14px; }
.rn-contact-inner { padding: 0 80px; }
.rn-contact-top {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 330px;
  margin-inline: calc(50% - 50vw);
  padding: 56px 24px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #17252c url('../images/radical-nerd-contact.png') center / cover no-repeat;
}
.rn-contact-top::before { content: ''; position: absolute; z-index: -1; inset: 0; background: rgba(0, 0, 0, .58); }
.rn-contact-top > div { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.rn-contact-top .rn-kicker { color: rgba(255,255,255,.82); }
.rn-contact-top h2 { margin: 14px 0 12px; color: #fff; font-size: clamp(42px, 4.2vw, 56px); line-height: 1; }
.rn-contact-top h2 em { color: #fff; font-style: normal; }
.rn-contact-top p { margin: 0; color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.55; }
.rn-contact-top .rn-button { margin-top: 24px; background: var(--rn-red); border-radius: 7px; }
.rn-contact-top .rn-button:hover { background: #e1262a; }
.rn-contact-top .rn-arrow { display: none; }
.rn-contact-inner > .ro-footer { margin-inline: -80px; }
.rn-world-footer { max-width: 1440px; margin-inline: auto; padding-top: 56px; }
.rn-footer-grid { display: grid; grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(130px, 1fr)); gap: 48px; padding: 0 0 56px; }
.rn-footer-brand { max-width: 360px; }
.rn-footer-wordmark { display: flex; align-items: center; gap: 10px; color: var(--rn-paper); }
.rn-footer-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; object-fit: cover; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.rn-footer-wordmark strong { font: 800 18px/1 'Barlow Condensed', sans-serif; }
.rn-footer-wordmark b { color: var(--rn-red); font-size: 23px; }
.rn-footer-brand h3 { margin: 30px 0 12px; color: var(--rn-paper); font: 700 28px/1.05 'Barlow Condensed', sans-serif; }
.rn-footer-brand h3 em { color: var(--rn-red); font-style: normal; }
.rn-footer-brand > p { margin: 0; font-size: 12px; line-height: 1.6; }
.rn-footer-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding-bottom: 7px; border-bottom: 1px solid var(--rn-red); color: var(--rn-paper); font-size: 12px; transition: color .2s ease, border-color .2s ease; }
.rn-footer-cta span { color: var(--rn-red); font-size: 16px; }
.rn-footer-cta:hover { color: var(--rn-red); border-color: var(--rn-paper); }
.rn-footer-brand small { display: block; margin-top: 28px; color: var(--rn-muted); font-size: 10px; }
.rn-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rn-footer-column h4 { margin: 0 0 8px; color: var(--rn-paper); font-size: 12px; font-weight: 700; }
.rn-footer-column a, .rn-footer-column > span { color: var(--rn-muted); font-size: 12px; line-height: 1.35; transition: color .2s ease, transform .2s ease; }
.rn-footer-column a:hover { color: var(--rn-red); transform: translateX(3px); }
.rn-footer-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--rn-paper) !important; font-size: 10px !important; }
.rn-footer-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--rn-red); box-shadow: 0 0 0 4px rgba(255,56,60,.12); animation: rnPulse 2s ease-in-out infinite; }
@keyframes rnPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255,56,60,.12); } 50% { box-shadow: 0 0 0 7px rgba(255,56,60,0); } }
.rn-global-stage { position: relative; min-height: 360px; overflow: hidden; border-top: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); background: radial-gradient(circle at 78% 46%, rgba(255,56,60,.12), transparent 27%), linear-gradient(135deg, #111 0%, #0b0b0b 54%, #15110f 100%); isolation: isolate; }
.rn-global-stage::before { content: ''; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(245,240,232,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(245,240,232,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, transparent, black 45%, transparent); pointer-events: none; }
.rn-global-copy { position: relative; z-index: 2; width: min(460px, 45%); padding: 58px 0 58px 48px; }
.rn-global-copy > span { color: var(--rn-red); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.rn-global-copy h2 { margin: 14px 0 12px; color: var(--rn-paper); font: 700 clamp(40px, 5vw, 70px)/.9 'Barlow Condensed', sans-serif; }
.rn-global-copy h2 em { color: var(--rn-red); font-style: normal; }
.rn-global-copy p { margin: 0; font-size: 13px; line-height: 1.55; }
.rn-globe { position: absolute; top: 50%; right: 13%; width: clamp(230px, 28vw, 360px); aspect-ratio: 1; transform: translateY(-50%) rotateX(var(--globe-x, 0deg)) rotateY(var(--globe-y, 0deg)); transform-style: preserve-3d; transition: transform .35s ease; }
.rn-globe::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(245,240,232,.32); border-radius: 50%; background: radial-gradient(circle at 34% 27%, rgba(245,240,232,.18), transparent 14%), radial-gradient(circle at 38% 35%, rgba(255,56,60,.22), transparent 44%), radial-gradient(circle at 64% 70%, #161111 0%, #090909 68%); box-shadow: inset -34px -18px 58px rgba(0,0,0,.75), inset 10px 10px 30px rgba(255,255,255,.08), 0 0 70px rgba(255,56,60,.12); }
.rn-globe::after { content: ''; position: absolute; inset: 8%; border: 1px solid rgba(245,240,232,.16); border-radius: 50%; transform: rotate(28deg) scaleX(.35); box-shadow: 0 0 0 1px rgba(245,240,232,.1), 0 0 0 34px rgba(245,240,232,.07), 0 0 0 68px rgba(245,240,232,.05); }
.rn-globe-orbit { position: absolute; z-index: 2; inset: -10%; border: 1px solid rgba(255,56,60,.35); border-radius: 50%; transform: rotate(-24deg) scaleY(.34); animation: rnOrbit 11s linear infinite; }
.rn-globe-orbit-two { inset: -4%; border-color: rgba(245,240,232,.2); transform: rotate(62deg) scaleY(.22); animation-duration: 15s; animation-direction: reverse; }
@keyframes rnOrbit { to { transform: rotate(336deg) scaleY(.34); } }
.rn-globe-point { position: absolute; z-index: 4; width: 8px; height: 8px; border: 2px solid var(--rn-paper); border-radius: 50%; background: var(--rn-red); box-shadow: 0 0 0 5px rgba(255,56,60,.16), 0 0 18px rgba(255,56,60,.75); animation: rnPoint 2.8s ease-in-out infinite; }
.rn-point-one { top: 29%; left: 32%; }.rn-point-two { top: 45%; right: 19%; animation-delay: .6s; }.rn-point-three { bottom: 27%; left: 48%; animation-delay: 1.1s; }.rn-point-four { top: 61%; left: 20%; animation-delay: 1.7s; }
@keyframes rnPoint { 0%, 100% { opacity: .7; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.25); } }
.rn-global-wordmark { position: absolute; z-index: 1; right: -2%; bottom: -22px; color: rgba(245,240,232,.07); font: 800 clamp(70px, 13vw, 190px)/.8 'Barlow Condensed', sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.rn-global-wordmark em { color: rgba(255,56,60,.12); font-style: normal; }
.rn-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0 0; color: var(--rn-muted); font-size: 10px; }
.rn-footer-bottom em { color: var(--rn-red); font-style: normal; }

@media (max-width: 1050px) {
  .rn-hero { grid-template-columns: 1fr 1fr; gap: 40px; padding-inline: 48px; }
  .rn-section, .rn-workbench, .rn-quote, .rn-contact-inner { padding-inline: 48px; }
  .rn-focus-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .rn-section-intro { gap: 48px; }
  .rn-reviews-inner { padding-inline: 48px; }
  .rn-footer-grid { grid-template-columns: minmax(240px, 1.5fr) repeat(3, 1fr); gap: 28px; }
  .rn-global-copy { padding-left: 32px; }
  .rn-globe { right: 8%; }
}
@media (max-width: 760px) {
  .rn-hero { display: flex; flex-direction: column; align-items: stretch; padding: 126px 20px 40px; gap: 48px; }
  .rn-hero h1 { font-size: clamp(68px, 18vw, 100px); }
  .rn-image-frame { height: min(492px, 72vw); }
  .rn-section { padding: 56px 20px; }
  .rn-section-intro { display: block; margin-bottom: 40px; }
  .rn-section-intro > div { width: auto; }
  .rn-section h2 { font-size: clamp(44px, 12vw, 56px); }
  .rn-section-intro > p { margin-top: 24px; }
  .rn-focus-grid { grid-template-columns: 1fr; gap: 28px; }
  .rn-reviews-inner { padding: 56px 20px 60px; }
  .rn-reviews h2 { font-size: clamp(42px, 12vw, 58px); }
  .rn-review-grid { grid-template-columns: 1fr; max-width: 560px; gap: 18px; }
  .rn-video-modal { padding: 20px; }
  .rn-video-dialog { width: 100%; }
  .rn-video-close { top: -44px; right: 0; }
  .rn-workbench { display: flex; flex-direction: column; gap: 0; padding: 0 20px 40px; }
  .rn-workbench-media { flex-basis: auto; width: 100%; height: 64vw; }
  .rn-workbench-copy { padding: 32px 0; }
  .rn-workbench-copy h2 { font-size: 42px; }
  .rn-quote { padding: 22px 20px; }
  .rn-contact-inner { padding: 40px 20px 0; }
  .rn-contact-inner > .ro-footer { margin-inline: -20px; }
  .rn-contact-top { display: flex; min-height: 330px; margin-inline: -20px; padding: 48px 20px; }
  .rn-contact-top h2 { font-size: clamp(42px, 12vw, 52px); }
  .rn-contact-top > div { display: flex; }
  .rn-contact-top .rn-button { display: inline-flex; margin: 28px auto 0; }
  .rn-world-footer { padding-top: 40px; }
  .rn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-bottom: 40px; }
  .rn-footer-brand { grid-column: 1 / -1; max-width: none; }
  .rn-global-stage { min-height: 580px; }
  .rn-global-copy { width: auto; padding: 40px 24px 0; }
  .rn-global-copy h2 { font-size: 56px; }
  .rn-globe { top: auto; right: 50%; bottom: 38px; width: min(300px, 72vw); transform: translateX(50%); }
  .rn-global-wordmark { right: -20px; bottom: -6px; font-size: 100px; }
  .rn-footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 4px; }
}
