:root {
  --rapha-blue: #075fcc;
  --rapha-blue-bright: #0a84ff;
  --rapha-navy: #061a33;
  --rapha-ink: #101828;
  --rapha-muted: #667085;
  --rapha-line: rgba(16, 24, 40, 0.09);
  --rapha-surface: rgba(255, 255, 255, 0.82);
  --rapha-canvas: #f5f7fb;
  --rapha-radius-lg: 32px;
  --rapha-radius-md: 22px;
  --rapha-shadow: 0 24px 70px rgba(6, 26, 51, 0.1);
  --rapha-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Remove platform notices before the page can paint them. */
#adBanner,
.AdBannerstyled__AdBanner-av6l6v-1,
.AdBannerstyled__ContentsWrapper-av6l6v-2,
.PageView_floating___5myK,
section.section-type-Popup {
  display: none !important;
}

.PageView_wrapper__6gEPk {
  --ad-banner-height: 0px !important;
}

html {
  scroll-behavior: smooth;
  background: var(--rapha-canvas);
}

body.rapha-polished {
  margin: 0;
  overflow-x: clip;
  color: var(--rapha-ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(10, 132, 255, 0.09), transparent 30rem),
    var(--rapha-canvas);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.rapha-polished *,
body.rapha-polished *::before,
body.rapha-polished *::after {
  box-sizing: border-box;
}

body.rapha-polished #__next {
  overflow-x: clip;
}

.rapha-scroll-progress {
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(var(--rapha-scroll, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--rapha-blue), #33b7ff);
  transition: transform 80ms linear;
}

/* Header */
body.rapha-polished .header {
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.76) !important;
  box-shadow: none !important;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

body.rapha-polished .header[data-scroll="true"] {
  border-color: var(--rapha-line);
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 36px rgba(6, 26, 51, 0.07) !important;
}

body.rapha-polished .header__container.custom-container {
  position: relative;
  display: flex !important;
  align-items: center !important;
  min-height: 76px;
  max-width: 1380px !important;
  padding-inline: clamp(22px, 4vw, 56px) !important;
}

body.rapha-polished .header__logo-wrapper {
  z-index: 2;
  margin-right: auto;
}

body.rapha-polished .header__logo-wrapper img {
  width: 126px !important;
  max-height: 42px;
  object-fit: contain;
  transition: transform 0.35s var(--rapha-ease);
}

body.rapha-polished .header__logo-wrapper a:hover img {
  transform: translateY(-1px) scale(1.02);
}

body.rapha-polished .header__nav-menu {
  position: absolute;
  top: 50% !important;
  left: 50%;
  height: 54px !important;
  transform: translate(-50%, -50%);
}

body.rapha-polished .header__nav-items ul {
  display: flex;
  width: 360px !important;
  height: 54px !important;
  min-height: 54px !important;
  align-items: center;
  justify-content: center;
  gap: 6px !important;
  margin: 0;
  padding: 5px !important;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 999px;
  background: rgba(246, 248, 252, 0.86);
}

body.rapha-polished .header__nav-items {
  display: flex !important;
  height: 54px !important;
  align-items: center !important;
}

body.rapha-polished .header__nav-items .nav-item {
  display: flex !important;
  height: 100% !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.rapha-polished .header__nav-items .nav-item a {
  display: inline-flex;
  height: 40px !important;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding-block: 0 !important;
  padding: 0 17px !important;
  border-radius: 999px;
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: 0.02em;
  line-height: 1 !important;
  transform: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--rapha-ease);
}

body.rapha-polished .header__nav-items .nav-item a:hover {
  color: var(--rapha-blue) !important;
  background: #fff;
  box-shadow: 0 5px 14px rgba(6, 26, 51, 0.08);
  transform: translateY(-1px);
}

body.rapha-polished .header__nav-items .nav-item a[aria-current="page"] {
  color: #fff !important;
  background: var(--rapha-navy);
  box-shadow: 0 7px 18px rgba(6, 26, 51, 0.18);
}

body.rapha-polished .header__nav-localization {
  margin-left: auto;
}

body.rapha-polished .btn-locale {
  position: relative;
  display: inline-flex !important;
  min-width: 52px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-inline: 12px !important;
  border-radius: 999px !important;
  color: #344054 !important;
  transition: background-color 0.25s ease;
}

body.rapha-polished .btn-locale svg {
  position: static !important;
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px;
  margin: 0 !important;
}

body.rapha-polished .btn-locale:hover {
  background: #f0f4fa;
}

body.rapha-polished .header__nav-account {
  display: none !important;
}

.rapha-header-cta {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 8px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--rapha-blue);
  box-shadow: 0 9px 24px rgba(7, 95, 204, 0.22);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    transform 0.28s var(--rapha-ease),
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.rapha-header-cta::after {
  content: "↗";
  font-size: 14px;
  transition: transform 0.28s var(--rapha-ease);
}

.rapha-header-cta:hover {
  color: #fff !important;
  background: #004fae;
  box-shadow: 0 13px 30px rgba(7, 95, 204, 0.28);
  transform: translateY(-2px);
}

.rapha-header-cta:hover::after {
  transform: translate(2px, -2px);
}

/* Main visual */
body.rapha-polished .main-visual-container {
  position: relative;
  isolation: isolate;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--rapha-radius-lg) !important;
  box-shadow: var(--rapha-shadow);
}

body.rapha-polished .main-visual-container::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--rapha-pointer-x, 50%) var(--rapha-pointer-y, 40%),
      rgba(105, 211, 255, 0.16),
      transparent 28%
    );
  content: "";
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750b3"]
  .slide-button-wrapper {
  overflow: visible;
  pointer-events: auto !important;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750b3"]
  .slide-button {
  display: inline-flex;
  border-radius: 999px;
  pointer-events: auto !important;
  text-decoration: none !important;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
  transition:
    transform 0.3s var(--rapha-ease),
    filter 0.3s ease;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750b3"]
  .slide-button-inner {
  min-width: 132px;
  padding: 13px 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.28),
    0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.025em;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750b3"]
  .slide-button:hover {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
  transform: translateY(-4px);
}

.rapha-hero-meta {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 4vw, 58px);
  bottom: clamp(28px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(560px, 72%);
  pointer-events: none;
}

.rapha-hero-meta span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(4, 22, 44, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.rapha-polished .main-visual-container .custom-btn {
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
  background: rgba(5, 24, 48, 0.28) !important;
  backdrop-filter: blur(12px);
}

body.rapha-polished .main-visual-container .custom-btn:hover {
  border-color: #fff !important;
  color: var(--rapha-navy) !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(6, 26, 51, 0.24) !important;
}

/* New startup narrative */
.rapha-intro {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 24px;
  overflow: hidden;
}

.rapha-intro::before {
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(80vw, 900px);
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.1), transparent 66%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.rapha-intro__inner {
  position: relative;
  max-width: 1180px;
  margin: auto;
  text-align: center;
}

.rapha-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--rapha-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.rapha-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17b8ff;
  box-shadow: 0 0 0 6px rgba(23, 184, 255, 0.12);
  content: "";
}

.rapha-intro h2 {
  max-width: 950px;
  margin: 0 auto;
  color: var(--rapha-ink);
  font-size: clamp(38px, 5.5vw, 74px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.08;
  word-break: keep-all;
}

.rapha-intro__lead {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--rapha-muted);
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.75;
  word-break: keep-all;
}

.rapha-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 58px;
  text-align: left;
}

.rapha-intro__card {
  position: relative;
  min-height: 210px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--rapha-line);
  border-radius: var(--rapha-radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(6, 26, 51, 0.05);
  backdrop-filter: blur(18px);
  transition:
    transform 0.4s var(--rapha-ease),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.rapha-intro__card:hover {
  border-color: rgba(7, 95, 204, 0.2);
  box-shadow: 0 22px 55px rgba(6, 26, 51, 0.1);
  transform: translateY(-7px);
}

.rapha-intro__number {
  display: block;
  margin-bottom: 40px;
  color: var(--rapha-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.rapha-intro__card h3 {
  margin: 0 0 10px;
  color: var(--rapha-ink);
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.rapha-intro__card p {
  margin: 0;
  color: var(--rapha-muted);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

/* Existing problem statement and cards */
body.rapha-polished
  div[data-block-id="699745026fe662d8b86750b5"]
  .animated-text {
  color: var(--rapha-blue) !important;
  font-size: clamp(38px, 5vw, 68px) !important;
  font-weight: 760 !important;
  letter-spacing: -0.055em;
  line-height: 1.12 !important;
  word-break: keep-all;
}

body.rapha-polished .carousel-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 44px rgba(6, 26, 51, 0.12);
  transition:
    transform 0.42s var(--rapha-ease),
    box-shadow 0.42s ease,
    filter 0.42s ease !important;
}

body.rapha-polished .carousel-item:hover {
  z-index: 4;
  box-shadow: 0 30px 64px rgba(6, 26, 51, 0.2);
  filter: saturate(1.08);
  transform: translateY(-10px) scale(1.015) !important;
}

/* Replace the oversized scroll story with a concise interactive carousel. */
body.rapha-polished
  section:has(div[data-block-id="699745026fe662d8b86750ba"]) {
  position: relative !important;
  z-index: 3;
  height: clamp(680px, 82vh, 860px) !important;
  min-height: 680px !important;
  padding: 24px 20px !important;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f5f7fb, #eef3f9);
}

body.rapha-polished div[data-block-id="699745026fe662d8b86750ba"] {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero {
  position: relative !important;
  width: 100% !important;
  max-width: 1400px !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--rapha-radius-lg);
  box-shadow: var(--rapha-shadow);
  transform: none !important;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero__slide {
  inset: 0 !important;
  min-height: 100% !important;
  padding: clamp(72px, 10vw, 130px) 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--rapha-ease),
    transform 0.7s var(--rapha-ease),
    visibility 0.7s;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero__bg-wrapper {
  inset: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition:
    opacity 0.8s ease,
    transform 1.2s var(--rapha-ease),
    visibility 0.8s;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero__bg-wrapper:not([data-hidden="true"]) {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero__slide-content {
  max-width: 1240px !important;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .heading {
  font-size: clamp(40px, 5vw, 70px) !important;
  letter-spacing: -0.05em;
  line-height: 1.06 !important;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .body-text {
  max-width: 580px;
  font-size: clamp(15px, 1.5vw, 19px) !important;
  line-height: 1.7 !important;
  word-break: keep-all;
}

body.rapha-polished
  div[data-block-id="699745026fe662d8b86750ba"]
  .hero__slide-pagination {
  display: none !important;
}

.rapha-story-controls {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 18, 38, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.rapha-story-dot {
  position: relative;
  width: 34px;
  height: 4px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 999px;
  opacity: 0.7;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
  transition:
    width 0.32s var(--rapha-ease),
    opacity 0.32s ease,
    transform 0.32s var(--rapha-ease);
}

.rapha-story-dot::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
}

.rapha-story-dot:hover,
.rapha-story-dot:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  transform: scale(1.18);
}

.rapha-story-dot[data-active="true"] {
  width: 58px;
  opacity: 1;
}

.rapha-story-dot[data-active="true"]::after {
  animation: raphaStoryProgress 5s linear forwards;
}

@keyframes raphaStoryProgress {
  to {
    transform: scaleX(1);
  }
}

.rapha-original-story {
  display: none !important;
}

.rapha-tech-story {
  position: relative;
  z-index: 4;
  padding: 24px 20px clamp(80px, 10vw, 130px);
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fb, #eef3f9);
}

.rapha-tech-story__frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1400px;
  height: clamp(680px, 82vh, 860px);
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--rapha-radius-lg);
  background: var(--rapha-navy);
  box-shadow: var(--rapha-shadow);
}

.rapha-tech-story__eyebrow {
  position: absolute;
  z-index: 20;
  top: clamp(24px, 4vw, 48px);
  left: clamp(28px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.rapha-tech-story__eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fc8ff;
  box-shadow: 0 0 0 6px rgba(63, 200, 255, 0.14);
  content: "";
}

.rapha-tech-story__slides {
  position: absolute;
  inset: 0;
}

.rapha-tech-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition:
    opacity 0.72s var(--rapha-ease),
    transform 1.05s var(--rapha-ease),
    visibility 0.72s;
}

.rapha-tech-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.rapha-tech-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rapha-tech-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 14, 30, 0.92) 0%, rgba(3, 18, 38, 0.58) 44%, rgba(3, 18, 38, 0.08) 78%),
    linear-gradient(0deg, rgba(3, 18, 38, 0.35), transparent 45%);
}

.rapha-tech-slide__content {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(28px, 7vw, 100px);
  width: min(600px, 72%);
  color: #fff;
  transform: translateY(-43%);
}

.rapha-tech-slide__index {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.rapha-tech-slide h2 {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.18;
}

.rapha-tech-slide p {
  max-width: 570px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.72;
  white-space: pre-line;
  word-break: keep-all;
}

.rapha-tech-slide__content > a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    transform 0.28s var(--rapha-ease);
}

.rapha-tech-slide__content > a:hover {
  color: var(--rapha-navy) !important;
  background: #fff;
  transform: translateY(-2px);
}

.rapha-tech-story .rapha-story-controls {
  right: auto;
  left: clamp(28px, 7vw, 100px);
  margin: 0;
}

/* Shared page polish */
body.rapha-polished .custom-btn,
body.rapha-polished a[class*="button"] {
  transition:
    transform 0.28s var(--rapha-ease),
    box-shadow 0.28s ease,
    background-color 0.28s ease !important;
}

body.rapha-polished .custom-btn:hover,
body.rapha-polished a[class*="button"]:hover {
  transform: translateY(-2px);
}

body.rapha-polished
  div[data-block-id="699745016fe662d8b8675093"]
  .container,
body.rapha-polished
  div[data-block-id="6997a4386fe662d8b86897b6"]
  .container {
  overflow: hidden;
  border-radius: var(--rapha-radius-lg);
  box-shadow: var(--rapha-shadow);
}

/* Keep the two partner marks still and remove the duplicated marquee rows. */
body.rapha-polished
  div[data-block-id="699745026fe662d8b86750c0"]
  .marquee-container {
  animation: none !important;
  transform: none !important;
}

.rapha-partners-static .rapha-partner-logos {
  display: flex;
  width: min(100%, 720px);
  min-height: 104px;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 8vw, 96px);
  margin: auto;
  padding: 24px;
}

.rapha-partners-static .rapha-partner-logo {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.rapha-partners-static .rapha-partner-logo img {
  display: block;
  width: auto;
  max-width: min(220px, 34vw);
  max-height: 48px;
  object-fit: contain;
}

/* Closing CTA */
.rapha-closing {
  padding: clamp(76px, 10vw, 130px) 24px;
  background: var(--rapha-canvas);
}

.rapha-closing__inner {
  position: relative;
  max-width: 1280px;
  margin: auto;
  padding: clamp(46px, 7vw, 88px);
  overflow: hidden;
  border-radius: var(--rapha-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(30, 166, 255, 0.35), transparent 28rem),
    linear-gradient(135deg, #061a33 0%, #0a3264 100%);
  box-shadow: 0 30px 80px rgba(6, 26, 51, 0.2);
}

.rapha-closing__inner::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 255, 255, 0.035),
    0 0 0 88px rgba(255, 255, 255, 0.025);
  content: "";
}

.rapha-closing h2 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 620;
  letter-spacing: -0.005em;
  line-height: 1.22;
  word-break: keep-all;
}

.rapha-closing p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  word-break: keep-all;
}

.rapha-closing__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.rapha-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    transform 0.28s var(--rapha-ease),
    background-color 0.28s ease,
    color 0.28s ease;
}

.rapha-button--primary {
  border-color: #fff;
  color: var(--rapha-navy) !important;
  background: #fff;
}

.rapha-button:hover {
  color: var(--rapha-navy) !important;
  background: #fff;
  transform: translateY(-3px);
}

body.rapha-polished footer {
  border-radius: 34px 34px 0 0;
}

body.rapha-polished footer .footer-links .rapha-link-disabled {
  opacity: 0.58;
  cursor: default !important;
  pointer-events: none !important;
  text-decoration: none !important;
}

/* Small reveal applied only to injected sections. */
.rapha-motion {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--rapha-ease),
    transform 0.8s var(--rapha-ease);
}

.rapha-motion.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 990px) {
  body.rapha-menu-open {
    overflow: hidden !important;
  }

  body.rapha-polished .header__container.custom-container {
    min-height: 68px;
    justify-content: center;
    padding-inline: 18px !important;
  }

  body.rapha-polished .header__mobile-hamburger {
    position: absolute !important;
    z-index: 30;
    top: 50%;
    left: 16px !important;
    display: flex !important;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(-50%);
  }

  body.rapha-polished .header__mobile-hamburger > div {
    display: none;
  }

  body.rapha-polished .header__mobile-hamburger::before,
  body.rapha-polished .header__mobile-hamburger::after {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--rapha-ink);
    content: "";
    transition:
      top 0.3s var(--rapha-ease),
      transform 0.3s var(--rapha-ease);
  }

  body.rapha-polished .header__mobile-hamburger::before {
    top: 16px;
  }

  body.rapha-polished .header__mobile-hamburger::after {
    top: 26px;
  }

  body.rapha-polished .header__mobile-hamburger[data-active="true"]::before,
  body.rapha-polished .header__mobile-hamburger[data-active="true"]::after {
    top: 21px;
  }

  body.rapha-polished .header__mobile-hamburger[data-active="true"]::before {
    transform: rotate(45deg);
  }

  body.rapha-polished .header__mobile-hamburger[data-active="true"]::after {
    transform: rotate(-45deg);
  }

  body.rapha-polished .header__logo-wrapper {
    position: absolute !important;
    z-index: 2;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }

  body.rapha-polished .header__logo-wrapper img {
    width: 102px !important;
  }

  .rapha-header-cta {
    display: none;
  }

  body.rapha-polished .nav-mobile-menu {
    position: fixed !important;
    z-index: 9999 !important;
    inset: 0 !important;
    background: rgba(6, 26, 51, 0.92) !important;
    backdrop-filter: blur(26px);
    transition:
      opacity 0.35s var(--rapha-ease),
      visibility 0.35s !important;
  }

  body.rapha-polished .nav-mobile-menu[data-hidden="true"] {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.rapha-polished .nav-mobile-menu[data-hidden="false"] {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.rapha-polished .nav-mobile-menu .btn-close {
    position: absolute;
    z-index: 4;
    top: 24px;
    right: 22px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    cursor: pointer;
  }

  body.rapha-polished .nav-mobile-menu-item a {
    font-size: clamp(27px, 8vw, 42px) !important;
    font-weight: 680 !important;
    letter-spacing: -0.035em;
  }

  .rapha-mobile-cta {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 24px;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .rapha-intro__grid {
    grid-template-columns: 1fr;
  }

  .rapha-intro__card {
    min-height: 0;
  }

  .rapha-intro__number {
    margin-bottom: 24px;
  }

  body.rapha-polished
    div[data-block-id="699745026fe662d8b86750ba"]
    .hero__slide-content {
    justify-content: center;
    padding: 32px !important;
  }
}

@media (max-width: 640px) {
  :root {
    --rapha-radius-lg: 24px;
    --rapha-radius-md: 20px;
  }

  body.rapha-polished .main-visual-container {
    border-radius: 24px !important;
  }

  .rapha-hero-meta {
    left: 18px;
    top: 18px;
    bottom: auto;
    max-width: calc(100% - 36px);
  }

  .rapha-hero-meta span {
    padding: 7px 10px;
    font-size: 9px;
  }

  .rapha-intro {
    padding: 82px 18px;
  }

  .rapha-intro h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .rapha-intro__lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .rapha-intro__grid {
    margin-top: 40px;
  }

  body.rapha-polished
    section:has(div[data-block-id="699745026fe662d8b86750ba"]) {
    height: 690px !important;
    min-height: 690px !important;
    padding: 12px !important;
  }

  body.rapha-polished
    div[data-block-id="699745026fe662d8b86750ba"]
    .hero__slide {
    padding: 72px 0 54px !important;
  }

  body.rapha-polished
    div[data-block-id="699745026fe662d8b86750ba"]
    .heading {
    font-size: clamp(36px, 11vw, 48px) !important;
  }

  .rapha-story-controls {
    bottom: 18px;
  }

  .rapha-tech-story {
    padding: 12px 12px 76px;
  }

  .rapha-tech-story__frame {
    height: 680px;
  }

  .rapha-tech-story__eyebrow {
    top: 28px;
    left: 26px;
    font-size: 10px;
  }

  .rapha-tech-slide__shade {
    background:
      linear-gradient(0deg, rgba(2, 14, 30, 0.94) 0%, rgba(3, 18, 38, 0.65) 58%, rgba(3, 18, 38, 0.12) 100%);
  }

  .rapha-tech-slide__content {
    top: auto;
    right: 26px;
    bottom: 88px;
    left: 26px;
    width: auto;
    transform: none;
  }

  .rapha-tech-slide__index {
    margin-bottom: 16px;
  }

  .rapha-tech-slide h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .rapha-tech-slide p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.62;
  }

  .rapha-tech-slide__content > a {
    margin-top: 22px;
  }

  .rapha-tech-story .rapha-story-controls {
    right: auto;
    bottom: 26px;
    left: 26px;
  }

  .rapha-closing {
    padding: 70px 12px;
  }

  .rapha-closing__inner {
    padding: 48px 26px;
  }

  .rapha-closing__actions {
    flex-direction: column;
  }

  .rapha-button {
    width: 100%;
  }
}

@media (hover: none) {
  body.rapha-polished .carousel-item:hover,
  .rapha-intro__card:hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.rapha-polished *,
  body.rapha-polished *::before,
  body.rapha-polished *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .rapha-motion {
    opacity: 1;
    transform: none;
  }
}
