/* Original CSS art. The transparent Radicl wordmark is copied unchanged. */
:root {
  color-scheme: dark;
  --bg: #0b1014;
  --surface: #111719;
  --ink: #f5f2eb;
  --muted: #b3b9bb;
  --accent: #ED9AA3;
  --line: #354044;
  --display: "Outfit", "Arial Black", sans-serif;
  --body: "Inter", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--body);
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 7px;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.06em;
}
h1 {
  font-size: clamp(64px, 8.5vw, 128px);
}
h2 {
  font-size: clamp(42px, 6.4vw, 96px);
}
h3 {
  font-size: clamp(28px, 3vw, 44px);
}
p {
  color: var(--muted);
  margin: 0 0 24px;
}
em {
  font-style: italic;
  color: var(--accent);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px;
  z-index: 30;
}
.skip-link:focus {
  top: 10px;
}
.preview-banner {
  height: 26px;
  position: relative;
  z-index: 21;
  text-align: center;
  background: #1d2927;
  color: #ccdad5;
  padding: 5px 12px;
  font-size: 9px;
  line-height: 16px;
  letter-spacing: 0.14em;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 24px 5vw;
  background: #0b1014f5;
  border-bottom: 1px solid #35404480;
}
.wordmark {
  display: block;
  width: 110px;
  line-height: 0;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav a[aria-current],
nav a:hover {
  border-color: var(--accent);
}
.header-note {
  justify-self: end;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 28px;
}
.intro {
  font-size: 17px;
  line-height: 1.6;
  margin: 28px 0;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
  padding: 12px 0;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--accent);
}

/* Static first: full visual, then a separate real wordmark. JS is enhancement. */
.club-hero {
  position: relative;
}
.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.field-art {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: linear-gradient(90deg, #06110fe8 0%, #09141199 48%, #09141155 100%),
    url("/assets/field/radicl-field-agent-walking-01-ai.jpg") center / cover no-repeat;
}
.field-art:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.hero-copy {
  position: relative;
  padding: 90px 7vw 110px;
  min-height: 75svh;
  z-index: 2;
}
.hero-copy .intro {
  color: #e1e6df;
}
.hero-copy .eyebrow {
  color: #d1e9dd;
}
.hero-lockup {
  position: relative;
  padding: 70px 6vw;
  background: var(--bg);
  text-align: center;
  z-index: 3;
}
.static-lockup {
  display: block;
  width: 82%;
  max-width: 1100px;
  margin: 0 auto 35px;
}
.hero-lockup p {
  color: var(--ink);
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.logo-art {
  display: none;
}
.asset-note {
  position: absolute;
  z-index: 4;
  left: 7vw;
  top: 20px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #d4dfda;
  max-width: 80%;
}
.scroll-cue {
  display: none;
}

/* Desktop: close from full bleed to the actual logo's alpha mask, then hold. */
.motion-enabled {
  height: 220svh;
}
.motion-enabled .hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
}
.motion-enabled .full-art {
  opacity: var(--background-opacity, 1);
  z-index: 1;
}
.motion-enabled .logo-art {
  display: block;
  z-index: 0;
  background: none;
  transform: scale(var(--mask-scale, 24));
  transform-origin: center;
  will-change: transform;
  mask-image: url("/assets/radicl-wordmark.webp");
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 84% auto;
  -webkit-mask-image: url("/assets/radicl-wordmark.webp");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 84% auto;
}
.motion-enabled .logo-art:after {
  display: none;
}
.motion-enabled .mask-visual {
  /* Cancel the parent's scale so the visual stays aligned with the full bleed. */
  transform: scale(var(--visual-scale, 0.0416667));
  transform-origin: center;
  will-change: transform;
}
.motion-enabled .hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 90px;
  opacity: var(--copy-opacity, 1);
}
.motion-enabled .hero-copy .text-link {
  position: relative;
}
.motion-enabled .hero-lockup {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  padding: 0;
  background: none;
  opacity: var(--lockup-opacity, 0);
  pointer-events: none;
}
.motion-enabled .static-lockup {
  display: none;
}
.motion-enabled .scroll-cue {
  display: block;
  position: absolute;
  z-index: 4;
  right: 5vw;
  bottom: 25px;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #d4dfda;
  opacity: var(--copy-opacity, 1);
}

.vision {
  padding: 95px 7vw 85px;
  border-bottom: 1px solid var(--line);
}
.vision h2 {
  max-width: 850px;
  margin-bottom: 34px;
  font-size: clamp(44px, 6.4vw, 88px);
}
.vision p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
}
.vision .vision-lead {
  color: var(--ink);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.5;
}
.vision .vision-close {
  color: var(--ink);
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .vision {
    padding: 65px 6vw;
  }
  .vision p {
    font-size: 16px;
  }
  .vision .vision-lead {
    font-size: 19px;
  }
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6vw;
  padding: 130px 7vw 90px;
}
.editorial h2 {
  margin-bottom: 42px;
}
.editorial p:not(.eyebrow) {
  max-width: 580px;
  font-size: 15px;
}
.editorial .body-large {
  color: var(--ink);
  font-size: 23px !important;
  line-height: 1.5;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 7vw 100px;
}
.values article {
  background: var(--surface);
  padding: 32px;
  border-top: 1px solid #50605a;
}
.values article > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 55px;
}
.values h3 {
  margin-bottom: 24px;
}
.values p {
  font-size: 13px;
  margin: 0;
}
.club-banner {
  padding: 100px 7vw;
  background: linear-gradient(145deg, #223b36, #0f1b1b);
  border-block: 1px solid #3a4e45;
}
.club-banner h2 {
  font-size: clamp(46px, 8vw, 120px);
}
.explore {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.explore > a {
  padding: 85px 7vw;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.explore > a:first-child {
  border-right: 1px solid var(--line);
}
.explore > a:hover,
.explore > a:focus-visible {
  background: var(--surface);
}
.explore h2 {
  font-size: clamp(40px, 5vw, 76px);
  margin-bottom: 26px;
}
.explore p:not(.eyebrow) {
  font-size: 14px;
  max-width: 300px;
}
.explore .text-link {
  text-decoration: underline;
}
.page-hero {
  padding: 90px 7vw 70px;
  background: radial-gradient(ellipse at 100% 0, #1b342e, transparent 65%);
}
.page-hero .intro {
  max-width: 400px;
}
.collection,
.next,
.gear-note {
  padding: 60px 7vw 100px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.section-heading h2 {
  font-size: clamp(34px, 5vw, 72px);
}
.pending-panel {
  padding: 45px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.status {
  display: inline-block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid #587065;
  color: #ccdad3;
  padding: 5px 9px;
}
.pending-panel h3 {
  font-size: clamp(42px, 5vw, 70px);
  margin: 35px 0 25px;
}
.pending-panel p {
  max-width: 320px;
  position: relative;
  z-index: 1;
  font-size: 13px;
}
.panel-logo {
  position: absolute;
  width: 60%;
  right: -8%;
  bottom: 20px;
  opacity: 0.055;
  transform: rotate(-12deg);
}
.next,
.gear-note {
  border-top: 1px solid var(--line);
}
.next h2,
.gear-note h2 {
  margin-bottom: 30px;
}
.gear-note p:last-child {
  max-width: 450px;
  font-size: 14px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}
.category-nav a {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  min-height: 50px;
  padding: 15px 20px;
  border: 1px solid #587065;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s;
}
.category-nav a:hover {
  background: #253d34;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 7vw 80px;
}
.role-card {
  position: relative;
  padding: 36px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s;
}
.role-card:hover {
  border-color: var(--accent);
}
.role-card h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  max-width: 350px;
  margin-bottom: 25px;
}
.role-card > p:not(.eyebrow) {
  font-size: 14px;
  max-width: 300px;
}
.role-number {
  position: absolute;
  right: 20px;
  top: 0;
  color: #ffffff0c;
  font: 900 110px/1 var(--display);
}
.role-mark {
  color: var(--accent);
  font-size: 100px;
  line-height: 1;
  padding: 10px 0 30px;
}
.role-pending {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.role-pending p {
  margin: 15px 0 0;
  font-size: 12px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 45px 7vw;
  border-top: 1px solid var(--line);
}
footer p {
  font-size: 12px;
  margin: 0;
}
footer > span {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

@media (max-width: 760px) {
  header {
    grid-template-columns: auto 1fr;
    gap: 24px;
    padding: 18px 6vw;
  }
  .wordmark {
    width: 85px;
  }
  nav {
    justify-content: flex-end;
    gap: 22px;
  }
  nav a {
    font-size: 11px;
  }
  .header-note {
    display: none;
  }
  h1 {
    font-size: clamp(46px, 10.8vw, 78px);
  }
  .hero-copy {
    padding: 100px 6vw 65px;
    min-height: 68svh;
  }
  .hero-copy .intro {
    font-size: 15px;
  }
  .hero-lockup {
    padding: 50px 6vw;
  }
  .hero-lockup p {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .asset-note {
    left: 6vw;
    font-size: 7px;
  }
  .editorial {
    grid-template-columns: 1fr;
    padding: 70px 6vw 40px;
    gap: 15px;
  }
  .editorial .body-large {
    font-size: 19px !important;
  }
  .values {
    grid-template-columns: 1fr;
    padding: 0 6vw 60px;
  }
  .values article > span {
    margin-bottom: 25px;
  }
  .club-banner {
    padding: 70px 6vw;
  }
  .explore {
    grid-template-columns: 1fr;
  }
  .explore > a {
    padding: 60px 6vw;
  }
  .explore > a:first-child {
    border-right: none;
  }
  .page-hero {
    padding: 65px 6vw 50px;
  }
  .collection,
  .next,
  .gear-note {
    padding: 45px 6vw 65px;
  }
  .section-heading {
    display: block;
  }
  .pending-panel {
    padding: 28px;
  }
  .role-grid {
    grid-template-columns: 1fr;
    margin: 0 6vw 55px;
  }
  .role-card {
    padding: 28px;
  }
  .role-card h2 {
    font-size: 44px;
  }
  .category-nav a {
    flex: 1;
    min-width: 230px;
  }
  footer {
    padding: 35px 6vw;
  }
}
@media (hover: none) {
  .role-card {
    border-color: #50645c;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Concept-only original sketches; native radios work without script or hover. */
.sr-only,
.view-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.concept-intro {
  max-width: 740px;
  font-size: 14px;
  margin-bottom: 36px;
}
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
}
.concept-card {
  min-width: 0;
}
.concept-view {
  padding: 0;
  margin: 0 0 20px;
  border: none;
  min-width: 0;
}
.image-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: radial-gradient(ellipse at 50% 40%, #28322f, #151d1b);
  overflow: hidden;
}
.image-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  transition: opacity 180ms ease;
}
.image-back {
  opacity: 0;
  visibility: hidden;
}
.view-back:checked ~ .image-stage .image-front {
  opacity: 0;
  visibility: hidden;
}
.view-back:checked ~ .image-stage .image-back {
  opacity: 1;
  visibility: visible;
}
.view-controls {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}
.view-controls label {
  flex: 1;
  text-align: center;
  background: #18231f;
  border: 1px solid #42584d;
  padding: 10px;
  font-size: 11px;
  cursor: pointer;
  min-height: 44px;
}
.view-front:checked ~ .view-controls label:first-child,
.view-back:checked ~ .view-controls label:last-child {
  color: var(--bg);
  background: var(--accent);
}
.view-front:focus-visible ~ .view-controls label:first-child,
.view-back:focus-visible ~ .view-controls label:last-child {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.concept-card h3 {
  font-size: clamp(23px, 2.1vw, 32px);
  letter-spacing: -0.04em;
  margin: 20px 0;
  line-height: 1.1;
}
.concept-card summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.concept-card summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.concept-card details p {
  margin: 14px 0 0;
  font-size: 12px;
}
@media (hover: hover) and (pointer: fine) {
  .image-stage:hover .image-front {
    opacity: 0;
    visibility: hidden;
  }
  .image-stage:hover .image-back {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 1000px) {
  .concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .concept-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sketch-caption {
  font-size: 11px;
  line-height: 1.5;
  margin: 0 0 16px;
}

/* Approved library originals, preserved without generated edits. */
.role-photo { margin: 28px 0; }
.role-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.role-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }

/* Home shop/toolkit cards: decorative imagery, black overlay and unchanged hit areas. */
.explore > a { position: relative; isolation: isolate; overflow: hidden; background: #080d0e; }
.explore > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(110deg, #000d 10%, #000b 65%, #000d), var(--card-image);
  background-size: cover;
  background-position: center;
}
.explore-shop { --card-image: url("/assets/mockups/work-coat-catalog-v2-front.webp"); }
.explore-shop::before { background-position: center 25%; }
.explore-tools { --card-image: url("/assets/field/radicl-rooftop-shingle-damage-01.jpg"); }
.explore > a:hover, .explore > a:focus-visible { background: #111719; }
.card-imagery-note { display: block; margin-top: 20px; color: var(--muted); font-size: 10px; }

.kit-hero { padding: 65px 7vw 85px; background: linear-gradient(100deg,#000e,#000b),url("/assets/field/radicl-rooftop-shingle-damage-01.jpg") center / cover; }
.kit-site-survey { background-image: linear-gradient(100deg,#000e,#000b),url("/assets/field/radicl-field-agent-walking-01-ai.jpg"); }
.kit-hero h1 { font-size: clamp(48px,7vw,100px); margin: 30px 0; }
.kit-hero em { color: var(--accent); }
.kit-intro { padding: 60px 7vw 25px; max-width: 980px; }
.kit-intro h2 { font-size: clamp(32px,4vw,54px); }
.kit-intro p { color: var(--muted); }
.kit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:30px 7vw 90px; }
.kit-item { padding:28px; border:1px solid var(--line); background:var(--surface); }
.kit-item h2 { font-size:28px; margin:25px 0 18px; }
.kit-item p { font-size:14px; }
.kit-confirmation { color:var(--muted); font-size:12px !important; }
.kit-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }
.kit-links button { padding:12px; border:1px solid #50615e; color:#b3b9bb; background:transparent; font:inherit; font-size:12px; cursor:not-allowed; }
@media(max-width:1000px) { .kit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .kit-grid { grid-template-columns:1fr; } .kit-hero { padding-top:40px; } }

.explore-shop > .status { display: block; width: fit-content; margin: 16px 0; }
.kit-links > div > p { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
