/* =========================================================
   RENDER ROOM — "WHO IT'S FOR" (.rrc-who) and the yellow
   project enquiry (.rrc-cta), in one rounded frame (.rrc).
   Every rule is scoped to these classes.
   Uses --rr-cond and --rr-yellow (#ffcc00, sampled from the logo)
   from render-room.css.
   ========================================================= */

.rrc {
  margin: 0 var(--frame-gap) var(--frame-gap);
  border-radius: var(--radius-frame);
  overflow: hidden;
  overflow: clip;
}
:where(.rrc) :is(h2, h3, p, ul) { margin: 0; }
.rrc-line { display: block; }

/* ---------- WHO IT'S FOR ---------- */
.rrc-who {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  padding: clamp(56px, 6.4vw, 100px) var(--pad-x) clamp(30px, 3vw, 44px);
  background: #0b0b0b;               /* matches the illustration backgrounds exactly */
  color: #fff;
}
.rrc-who::after {                      /* subtle grain, over the artwork too so it stays seamless */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rrc-who__label {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--rr-yellow);
}
.rrc-who__title {
  margin-top: 10px;
  font-family: var(--rr-cond);
  font-weight: 400;
  font-size: clamp(3rem, 7.2cqw, 7.4rem);
  line-height: .92;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.rrc-dot { color: var(--rr-yellow); }

.rrc-who__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(26px, 2.6vw, 40px);
  padding: 0;
  list-style: none;
}
.rrc-col { padding: 0 clamp(18px, 3vw, 48px); }
.rrc-col:first-child { padding-left: 0; }
.rrc-col:last-child { padding-right: 0; }
.rrc-col + .rrc-col { border-left: 1px solid rgba(255, 255, 255, .16); }  /* thin muted rules */
.rrc-col__artbox {                      /* all three share one scale and one baseline */
  --rrc-k: 1;                            /* shared scale; reduced at smaller widths below */
  display: flex;
  align-items: flex-end;
  height: calc(163px * var(--rrc-k));
  margin-left: -10px;
}
.rrc-col__art {
  display: block;
  width: calc(var(--w) * 1px * var(--rrc-k));   /* native width x shared scale: never enlarged */
  max-width: 100%;
  height: auto;
}
@media (max-width: 1439px) { .rrc-col__artbox { --rrc-k: .92; } }
@media (max-width: 1199px) { .rrc-col__artbox { --rrc-k: .8; } }
@media (max-width: 899px)  { .rrc-col__artbox { --rrc-k: .7; } }
.rrc-col__tag {
  margin-top: 12px;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  font-weight: 700;
  color: var(--rr-yellow);
}
.rrc-col__head {
  margin-top: 10px;
  font-size: clamp(1.45rem, 2.4cqw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.rrc-col__text {
  max-width: 22em;
  margin-top: 14px;
  font-size: clamp(1rem, 1.45cqw, 1.25rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, .86);
}
.rrc-who__ruler {                       /* delicate timeline ruler along the bottom edge */
  height: 20px;
  margin-top: clamp(40px, 4.6vw, 64px);
  background:
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px calc(100% / 8)) 0 100% / calc(100% + 1px) 18px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 1px, transparent 1px calc(100% / 40)) 0 100% / calc(100% + 1px) 8px no-repeat;
}

/* ---------- PROJECT ENQUIRY (yellow) ---------- */
.rrc-cta {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px clamp(24px, 4vw, 64px);
  padding: clamp(28px, 3vw, 44px) var(--pad-x) clamp(40px, 4.4vw, 64px);
  background: var(--rr-yellow);
  color: #000001;
}
.rrc-cta::after {                      /* very light paper grain */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  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='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.rrc-cta__logo { display: block; width: clamp(170px, 15vw, 230px); height: auto; }
.rrc-cta__label {
  margin-top: clamp(22px, 2.4vw, 34px);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
}
.rrc-cta__title {
  margin-top: 10px;
  font-family: var(--rr-cond);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.9cqw, 6rem);
  line-height: .93;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.rrc-cta__text {
  max-width: 26em;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1.05rem, 1.6cqw, 1.45rem);
  line-height: 1.35;
}
.rrc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 34px;
  margin-top: clamp(24px, 2.8vw, 38px);
}
.rrc-cta__btn {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 10px;
  background: #000001;
  color: #fff;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.rrc-cta__btn:hover { background: #1c1c1f; transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(0, 0, 1, .6); }
.rrc-cta__btn:focus-visible { outline: 3px solid #000001; outline-offset: 4px; }
.rrc-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
  color: #000001;
  text-decoration: none;
  text-underline-offset: 5px;
}
.rrc-cta__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.rrc-cta__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.rrc-cta__link:hover svg { transform: translate(2px, -2px); }
.rrc-cta__link:focus-visible { outline: 3px solid #000001; outline-offset: 4px; border-radius: 4px; }
.rrc-cta__small { margin-top: clamp(20px, 2.2vw, 30px); font-size: clamp(.95rem, 1.2vw, 1.1rem); }

/* Sculptural timeline (static) */
.rrc-tl {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  aspect-ratio: 475 / 280;
}
.rrc-tl__grid {
  position: absolute;
  left: 0; right: 0; top: 13%; bottom: 0;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 1, .16) 0 1px, transparent 1px 12%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.rrc-bar {
  position: absolute;
  height: 11.5%;
  border-radius: 8px;
}
.rrc-bar--black {
  background: linear-gradient(180deg, #3b3b3d 0%, #121213 26%, #050506 70%, #000 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 14px -6px rgba(70, 50, 0, .55), 0 18px 26px -14px rgba(70, 50, 0, .4);
}
.rrc-bar--white {
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f4 45%, #dcdcd8 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(0, 0, 0, .08), 0 10px 14px -6px rgba(90, 65, 0, .45), 0 18px 26px -14px rgba(90, 65, 0, .35);
}
.rrc-bar--1 { left: 44%;  top: 25%; width: 54%; }
.rrc-bar--2 { left: 17%;  top: 40%; width: 49%; }
.rrc-bar--3 { left: 2.5%; top: 58%; width: 73%; }
.rrc-bar--4 { left: 49%;  top: 73%; width: 47%; }
.rrc-tl__playhead {
  position: absolute;
  left: 59%; top: 0; bottom: 0;
  width: 6px;
  margin-left: -3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2a2a2c, #000 60%);
  box-shadow: 6px 6px 12px -4px rgba(70, 50, 0, .45);
}
.rrc-tl__playhead::before {             /* playhead head */
  content: "";
  position: absolute;
  left: 50%; top: -2px;
  margin-left: -17px;
  border: 17px solid transparent;
  border-top: 28px solid #000001;
  border-bottom: 0;
  filter: drop-shadow(3px 5px 4px rgba(70, 50, 0, .4));
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .rrc-col { padding: 0 18px; }
  .rrc-cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .rrc-tl { justify-self: center; max-width: 520px; margin-top: 8px; }
}

/* ---------- Mobile: Agencies, Creators, Brands stacked with horizontal rules ---------- */
@media (max-width: 759px) {
  .rrc-who { padding: 52px 20px 28px; }
  .rrc-who__cols { grid-template-columns: minmax(0, 1fr); }
  .rrc-col, .rrc-col:first-child, .rrc-col:last-child { padding: 28px 0; }
  .rrc-col:first-child { padding-top: 8px; }
  .rrc-col + .rrc-col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .rrc-col__artbox { --rrc-k: .8; }
  .rrc-col__head { font-size: 1.55rem; }
  .rrc-who__ruler { margin-top: 12px; }
  .rrc-cta { padding: 32px 20px 44px; }
  .rrc-cta__btn { width: 100%; justify-content: center; }
  .rrc-tl { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rrc-cta__btn, .rrc-cta__link svg { transition: none; }
  .rrc-cta__btn:hover { transform: none; }
}
