body{margin:0;background:#EEECE7}
html{scroll-behavior:smooth}
a{color:#C0372B}a:hover{color:#141414}
@keyframes rh-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.rh-ticker{animation:rh-ticker 38s linear infinite}
@media (prefers-reduced-motion: reduce){.rh-ticker{animation:none}}

/* Desktop presentation remains the approved reference's inline styling. */
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a, button { transition: box-shadow 160ms ease, opacity 160ms ease; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #C0372B;
  outline-offset: 5px;
  box-shadow: 0 0 0 7px #FFFFFF;
}
#contact a:focus-visible, #contact button:focus-visible,
.rh-approach button:focus-visible {
  outline-color: #FFFFFF;
  box-shadow: 0 0 0 7px #141414;
}
section[id] { scroll-margin-top: 110px; }
.rh-section div, .rh-section article, .rh-section ol,
.rh-section h2, footer span { min-width: 0; }
.rh-portrait { width: 100%; }
.rh-portrait > div { width: 100%; }
.rh-marks button:hover { opacity: 1 !important; }
button:hover { filter: brightness(1.025); }
.rh-ticker:hover { animation-play-state: paused; }

/* A little movement in the original artwork, without shifting the layout. */
@keyframes rh-brands-drift {
  from { transform: translate3d(0, 4px, 0) rotate(-1deg); }
  to { transform: translate3d(0, -5px, 0) rotate(1deg); }
}
.rh-brands-motion {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 0;
  vertical-align: middle;
  cursor: pointer;
  animation: rh-brands-drift 3.6s ease-in-out infinite alternate;
  transform-origin: 50% 60%;
}
.rh-brands-motion img { display: block; transition: transform 220ms ease; }
.rh-brands-motion:hover img { transform: scale(1.025) rotate(-1deg); }
.rh-brands-motion:active img { transform: scale(0.98); }
.rh-brands-motion.rh-motion-paused { animation-play-state: paused; }

/* Card values remain exact; only their presentation responds to interaction. */
.rh-metrics > .rh-metric-card {
  position: relative;
  --rh-active-bg: #C0372B;
  --rh-active-ink: #FFFFFF;
  --rh-active-accent: #FFE3DF;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}
.rh-metrics > .rh-metric-card:last-child {
  --rh-active-bg: #F7F6F2;
  --rh-active-ink: #141414;
  --rh-active-accent: #C0372B;
}
.rh-metric-card > span, .rh-metric-card > div > span,
.rh-metric-card > div > span > span {
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
.rh-metric-card > .rh-metric-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.rh-metrics > .rh-metric-card:is(.rh-is-highlighted, :has(.rh-metric-trigger:focus-visible)) {
  transform: translateY(-6px);
  background: var(--rh-active-bg) !important;
  color: var(--rh-active-ink) !important;
}
.rh-metric-card:is(.rh-is-highlighted, :has(.rh-metric-trigger:focus-visible)) > span,
.rh-metric-card:is(.rh-is-highlighted, :has(.rh-metric-trigger:focus-visible)) > div > span,
.rh-metric-card:is(.rh-is-highlighted, :has(.rh-metric-trigger:focus-visible)) > div > span > span {
  color: var(--rh-active-ink) !important;
}
.rh-metric-card:is(.rh-is-highlighted, :has(.rh-metric-trigger:focus-visible)) > div > span:nth-child(2) {
  background: var(--rh-active-accent) !important;
  transform: scaleX(1.3);
  transform-origin: left;
}
@media (hover: hover) and (pointer: fine) {
  .rh-metrics > .rh-metric-card:hover {
    transform: translateY(-6px);
    background: var(--rh-active-bg) !important;
    color: var(--rh-active-ink) !important;
  }
  .rh-metric-card:hover > span, .rh-metric-card:hover > div > span,
  .rh-metric-card:hover > div > span > span { color: var(--rh-active-ink) !important; }
  .rh-metric-card:hover > div > span:nth-child(2) {
    background: var(--rh-active-accent) !important;
    transform: scaleX(1.3);
    transform-origin: left;
  }
}

.rh-film-media:has(.rh-preview-unavailable) { background: #F6DCD7 !important; color: #141414 !important; }
.rh-film-media:has(.rh-preview-unavailable) > .rh-film-wash { background: none !important; }
.rh-preview-unavailable {
  position: absolute;
  inset: 34% 16px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 30px);
}
.rh-preview-unavailable small { font-size: 0.58em; line-height: 1.45; font-weight: 500; }

@media (max-width: 760px) {
  header nav { padding: 8px 16px !important; gap: 4px 8px !important; }
  header nav > a { font-size: 21px !important; }
  header nav > div:first-of-type {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    gap: 8px !important;
    font-size: 14px !important;
  }
  header nav > div:first-of-type > a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  header nav > div:last-child { gap: 4px !important; }
  header nav > div:last-child > a {
    box-sizing: border-box;
    width: 44px !important;
    height: 44px !important;
  }
  section[id] { scroll-margin-top: calc(var(--rh-header-height, 101px) + 12px); }
  .rh-section { padding: 40px 18px !important; gap: 28px !important; }
  .rh-section h2 { font-size: clamp(34px, 7vw, 46px) !important; line-height: 1 !important; }
  .rh-section#proof, .rh-section#contact { padding: 0 !important; }
  .rh-section#proof > div, .rh-section#contact > div,
  .rh-section:has(.rh-metrics) > div { padding: 40px 18px !important; gap: 24px !important; }
  .rh-section:has(.rh-metrics) { padding: 0 !important; }
  .rh-section:not([id]):has(> div > [role="group"]) { padding: 0 !important; }
  .rh-section:not([id]):has(> div > [role="group"]) > div {
    box-sizing: border-box;
    flex-basis: 100% !important;
    padding: 32px 18px !important;
    gap: 20px !important;
  }
  .rh-section:not([id]):has(> div > [role="group"]) h3 { font-size: 26px !important; }
  .rh-section:not([id]):has(> div > [role="group"]) p { font-size: 16px !important; line-height: 1.5 !important; }
  .rh-section:not([id]):has(> div > [role="group"]) > div > div:last-child:not([role]) {
    padding: 16px 18px !important;
  }
  .rh-section:not([id]):has(> div > [role="group"]) > div > div:last-child > span:last-child {
    font-size: 16px !important;
  }
  .rh-control-group { gap: 6px !important; }
  .rh-control-group button { min-height: 44px !important; }
  [aria-label="Lenses"] { flex-wrap: nowrap !important; }
  [aria-label="Lenses"] button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }
  .rh-hero { gap: 32px !important; padding-top: 36px !important; }
  .rh-hero-copy, .rh-portrait { flex-basis: 100% !important; }
  .rh-hero-copy { gap: 22px !important; }
  .rh-portrait { max-width: 540px; margin: 0 auto; }
  .rh-hero-copy > p { font-size: 18px !important; }

  /* One compact logo row: the selected role begins immediately underneath. */
  .rh-marks {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
    position: sticky;
    top: calc(var(--rh-header-height, 101px) + 8px);
    z-index: 6;
    background: #EEECE7;
    outline: 8px solid #EEECE7;
  }
  .rh-marks button {
    box-sizing: border-box;
    height: 64px !important;
    min-width: 44px;
    padding: 8px 6px !important;
    border-radius: 13px !important;
    box-shadow: none !important;
  }
  .rh-marks button img {
    height: auto !important;
    width: auto !important;
    max-height: 40px !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  .rh-mark-detail { padding: 20px !important; gap: 16px !important; border-radius: 20px !important; }
  .rh-mark-detail > div { flex-basis: 100% !important; gap: 10px !important; }
  .rh-mark-detail h3 { font-size: 27px !important; }
  .rh-mark-detail p { font-size: 16px !important; line-height: 1.5 !important; }
  .rh-mark-detail > div:first-child > span { font-size: 10px !important; line-height: 1.5; }
  .rh-mark-detail a { min-height: 36px; display: inline-flex; align-items: center; }

  /* All four achievements stay in a single readable two-by-two group. */
  .rh-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .rh-metrics > div {
    box-sizing: border-box;
    padding: 16px 14px !important;
    min-height: 170px !important;
    gap: 20px !important;
    border-radius: 16px !important;
    box-shadow: 3px 3px 0 #141414 !important;
  }
  .rh-metrics > div > span { font-size: 9px !important; line-height: 1.4; letter-spacing: 0 !important; }
  .rh-metrics > div > div { gap: 10px !important; }
  .rh-metrics > div > div > span:first-child { font-size: clamp(34px, 9vw, 54px) !important; }
  .rh-metrics > div > div > span:nth-child(2) { width: 28px !important; }
  .rh-metrics > div > div > span:last-child { font-size: 14px !important; line-height: 1.3 !important; }

  /* Remove the fixed-height empty space from the campaign-building card. */
  .rh-approach > div > span { transform: translate(6px, 6px) !important; }
  .rh-step-content { min-height: 0 !important; padding: 20px !important; gap: 16px !important; }
  .rh-step-content > span[aria-hidden] { font-size: 110px !important; top: 65px !important; right: 16px !important; }
  .rh-step-content > span:nth-child(2) {
    box-sizing: border-box;
    min-height: 44px;
    padding-right: 98px;
    display: flex;
    align-items: center;
    font-size: 11px !important;
  }
  .rh-step-content h3 { font-size: clamp(29px, 7vw, 40px) !important; }
  .rh-step-content p { font-size: 16px !important; line-height: 1.5 !important; }
  .rh-step-content > span:nth-last-child(2) { margin-top: 0 !important; }
  .rh-step-controls { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rh-step-controls > button {
    min-width: 0;
    min-height: 52px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    text-align: center !important;
    line-height: 1.45;
  }
  .rh-step-arrows { position: absolute; top: 20px; right: 16px; padding: 0 !important; gap: 6px !important; }
  .rh-step-arrows button { box-sizing: border-box; width: 44px !important; height: 44px !important; font-size: 20px !important; }

  /* Show every project choice BEFORE the film, rather than below its copy. */
  .rh-work { gap: 20px !important; }
  .rh-work-heading { gap: 16px !important; }
  .rh-work-heading > div:first-child { flex-basis: 100%; }
  .rh-work-heading [aria-label="Filter by type"] {
    display: grid !important;
    width: 100%;
    grid-template-columns: 0.55fr 1.2fr 1.25fr;
    gap: 5px !important;
  }
  .rh-work-heading [aria-label="Filter by type"] button {
    min-width: 0;
    min-height: 44px !important;
    padding: 0 4px !important;
    font-size: clamp(9px, 2.5vw, 11px) !important;
    letter-spacing: 0 !important;
  }
  .rh-work-stage { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 18px !important; }
  .rh-film-choices {
    order: -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px !important;
    position: sticky;
    top: calc(var(--rh-header-height, 101px) + 8px);
    align-self: start;
    z-index: 6;
    background: #EEECE7;
    outline: 8px solid #EEECE7;
  }
  .rh-film-choices li { min-width: 0; }
  .rh-film-choices button {
    box-sizing: border-box;
    height: 100%;
    min-height: 48px !important;
    padding: 8px 10px !important;
    gap: 7px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }
  .rh-film-choices button > span:first-child { width: 22px !important; height: 22px !important; }
  .rh-film-choices button > span:first-child svg { width: 12px; height: 12px; }
  .rh-film-choices button > span:last-child > span:first-child { display: none; }
  .rh-film-choices button > span:last-child > span:last-child {
    font-size: 14px !important;
    line-height: 1.1;
    letter-spacing: -0.025em !important;
  }
  .rh-film-panel { gap: 14px !important; }
  .rh-film-media { aspect-ratio: 2 / 1 !important; border-radius: 14px !important; }
  .rh-film-title { font-size: clamp(25px, 6.5vw, 36px) !important; bottom: 14px !important; left: 16px !important; right: 16px !important; }
  .rh-film-play { width: 52px !important; height: 52px !important; border-width: 2px !important; }
  .rh-film-play svg { width: 24px; height: 24px; }
  .rh-film-badge { top: 10px !important; left: 10px !important; font-size: 9px !important; padding: 6px 9px !important; }
  .rh-preview-unavailable { gap: 4px; }
  .rh-film-details { gap: 12px !important; }
  .rh-film-details > div { flex-basis: 100% !important; gap: 8px !important; }
  .rh-film-details p:first-child { font-size: 20px !important; line-height: 1.25 !important; }
  .rh-film-details p:last-child { font-size: 15px !important; line-height: 1.45 !important; }
  .rh-film-details > a { box-sizing: border-box; min-height: 44px; padding: 12px 18px !important; font-size: 14px !important; }

  #contact > div > div { flex-basis: 100% !important; }
  #contact > div > div:last-child > div { max-width: 100%; }
  footer > div { padding: 28px 18px !important; }
  footer a { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .rh-section h1 { font-size: 38px !important; }
  .rh-hero h1 img { height: 96px !important; max-width: 100%; object-fit: contain; }
  .rh-hero-copy > div:first-child { font-size: 12px !important; letter-spacing: 0.24em !important; }
}
@media (max-width: 350px) {
  header nav { padding-left: 14px !important; padding-right: 14px !important; }
  header nav > a { font-size: 19px !important; }
  .rh-section h1 { font-size: 34px !important; }
  .rh-marks button { height: 56px !important; padding: 7px 5px !important; }
  .rh-marks button img { max-height: 34px !important; }
  .rh-metrics > div { padding: 14px 10px !important; }
  .rh-metrics > div > div > span:first-child { font-size: 31px !important; }
  .rh-metrics > div > div > span:last-child { font-size: 13px !important; }
  .rh-film-choices button { padding: 8px !important; gap: 6px !important; }
  .rh-film-choices button > span:first-child { display: none !important; }
  .rh-film-choices button > span:last-child > span:last-child { font-size: 13px !important; }
  .rh-step-controls > button { font-size: 10px !important; padding: 6px 4px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, button { transition: none; }
  .rh-ticker { animation: none; }
  .rh-brands-motion { animation: none; transform: none; }
  .rh-brands-motion img { transition: none; transform: none !important; }
  .rh-metrics > .rh-metric-card,
  .rh-metric-card > span, .rh-metric-card > div > span,
  .rh-metric-card > div > span > span { transition: none; transform: none !important; }
}
