/* Extracted from RBYM_Jul20.html. Keep that file as the immutable visual reference. */
/* ============================================================
   RB Yacht Marketing — Webfonts
   Montserrat + Open Sans, served from Google Fonts CDN.
   NOTE: Loaded via CDN @import (not bundled binaries). If you
   need fully offline/self-hosted fonts, drop the .woff2 files
   into tokens/fonts/ and replace these with local @font-face
   rules. Flagged to the brand owner.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap");

/* ============================================================
   RB Yacht Marketing — Color Tokens
   Deep nautical blues + a vibrant signature pink accent.
   Usage balance: 60% White · 20% Navy · 10% Ocean Blue · 10% RB Pink
   ============================================================ */

:root {
  /* ---- Brand core ---- */
  --rb-navy: #0F2742;        /* Deep Marine Navy */
  --rb-ocean: #1E5B8C;       /* Ocean Blue */
  --rb-white: #FFFFFF;       /* White */
  --rb-pink: #E6096E;        /* RB Pink — signature accent */

  /* ---- Supporting neutrals ---- */
  --rb-charcoal: #222222;
  --rb-grey: #666666;        /* Medium Grey */
  --rb-grey-light: #F5F7F8;  /* Light Grey */
  --rb-silver: #C8CDD2;      /* Silver Grey */

  /* ---- Tints & shades (derived, for hover/press/surfaces) ---- */
  --rb-navy-900: #081826;
  --rb-navy-700: #0F2742;
  --rb-navy-500: #1B3D5F;
  --rb-ocean-600: #18507D;
  --rb-ocean-400: #3A77A6;
  --rb-ocean-100: #E4EDF4;
  --rb-pink-700: #B80758;    /* pink press / darker */
  --rb-pink-600: #C8085F;    /* pink hover */
  --rb-pink-100: #FCE2EE;    /* pink tint surface */
  --rb-line: #E4E8EB;        /* hairline borders on light */
  --rb-line-navy: rgba(255,255,255,0.14); /* hairline on navy */

  /* ============================================================
     Semantic aliases — reference these in components & layouts
     ============================================================ */

  /* Surfaces */
  --surface-page: var(--rb-white);
  --surface-subtle: var(--rb-grey-light);
  --surface-card: var(--rb-white);
  --surface-navy: var(--rb-navy);
  --surface-ocean: var(--rb-ocean);
  --surface-pink: var(--rb-pink);
  --surface-pink-tint: var(--rb-pink-100);

  /* Text */
  --text-strong: var(--rb-navy);
  --text-body: var(--rb-charcoal);
  --text-muted: var(--rb-grey);
  --text-on-navy: var(--rb-white);
  --text-on-pink: var(--rb-white);
  --text-accent: var(--rb-pink);

  /* Lines & borders */
  --border-subtle: var(--rb-line);
  --border-strong: var(--rb-silver);
  --border-on-navy: var(--rb-line-navy);

  /* Interactive (CTA primary = pink, secondary = navy) */
  --action-primary: var(--rb-pink);
  --action-primary-hover: var(--rb-pink-600);
  --action-primary-press: var(--rb-pink-700);
  --action-secondary: var(--rb-navy);
  --action-secondary-hover: var(--rb-navy-500);
  --action-secondary-press: var(--rb-navy-900);

  /* Links */
  --link: var(--rb-pink);
  --link-hover: var(--rb-pink-700);

  /* Focus ring */
  --focus-ring: rgba(230, 9, 110, 0.40);

  /* Status (kept restrained, on-brand) */
  --status-success: #1E8C5B;
  --status-warning: #C9870B;
  --status-error: #C8085F;
  --status-info: var(--rb-ocean);
}

/* ============================================================
   RB Yacht Marketing — Typography Tokens
   Montserrat: headings, navigation, CTAs (the brand voice)
   Open Sans: body copy, articles, long-form
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  /* ---- Weights ---- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ---- Type scale (px values per brand spec) ---- */
  --fs-display: 64px;   /* hero / display */
  --fs-h1: 56px;        /* H1: 56–64 */
  --fs-h2: 40px;        /* H2: 36–42 */
  --fs-h3: 30px;        /* H3: 28–32 */
  --fs-h4: 22px;
  --fs-lead: 22px;      /* intro / lead paragraph */
  --fs-body: 18px;      /* Body: 18–20 */
  --fs-body-lg: 20px;
  --fs-small: 15px;
  --fs-caption: 13px;
  --fs-overline: 12px;  /* eyebrow / kicker */

  /* ---- Line heights ---- */
  --lh-tight: 1.08; /* @kind other */
  --lh-snug: 1.2; /* @kind other */
  --lh-heading: 1.15; /* @kind other */
  --lh-body: 1.65; /* @kind other */
  --lh-relaxed: 1.75; /* @kind other */

  /* ---- Letter spacing ---- */
  --ls-tight: -0.02em; /* @kind other */
  --ls-heading: -0.01em; /* @kind other */
  --ls-normal: 0; /* @kind other */
  --ls-wide: 0.04em; /* @kind other */
  --ls-overline: 0.18em; /* @kind other */
}

/* ---- Heading helpers (optional, semantic) ---- */
:root {
  --heading-font: var(--font-display);
  --heading-weight: var(--weight-bold);
  --heading-color: var(--text-strong);
}

/* ============================================================
   RB Yacht Marketing — Spacing, Radius, Layout Tokens
   8px base grid. Generous editorial whitespace (60% white).
   ============================================================ */

:root {
  /* ---- Spacing scale (8px base) ---- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Section rhythm ---- */
  --section-pad-y: var(--space-9);
  --section-pad-x: var(--space-7);
  --content-max: 1200px;
  --measure: 68ch;          /* readable line length for long-form */

  /* ---- Radii (soft, modern — never fully rounded on cards) ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hairline: 1px;
  --border-thick: 2px;
}

/* ============================================================
   RB Yacht Marketing — Elevation, Motion, Misc Effects
   Light, editorial shadows. Calm, confident motion.
   ============================================================ */

:root {
  /* ---- Shadows (cool navy-tinted, soft) ---- */
  --shadow-xs: 0 1px 2px rgba(15, 39, 66, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 39, 66, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 39, 66, 0.10);
  --shadow-lg: 0 18px 48px rgba(15, 39, 66, 0.14);
  --shadow-pink: 0 10px 30px rgba(230, 9, 110, 0.28);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast: 140ms; /* @kind other */
  --dur-base: 240ms; /* @kind other */
  --dur-slow: 420ms; /* @kind other */

  /* ---- Overlays / scrims (for full-bleed yacht photography) ---- */
  --scrim-navy: linear-gradient(180deg, rgba(15,39,66,0) 0%, rgba(15,39,66,0.78) 100%); /* @kind color */
  --scrim-navy-strong: linear-gradient(180deg, rgba(15,39,66,0.10) 0%, rgba(15,39,66,0.88) 100%); /* @kind color */
  --tint-navy: rgba(15, 39, 66, 0.55);

  /* ---- Focus ---- */
  --focus-width: 3px; /* @kind other */
}

/* ============================================================
   RB Yacht Marketing — Base element styles & utility helpers
   Light, editorial defaults. Imported last from styles.css.
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--heading-color);
  font-weight: var(--weight-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--link-hover); }

strong { font-weight: var(--weight-semibold); }

/* ---- Eyebrow / kicker ---- */
.rb-eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-accent);
}

/* ---- Display heading helper ---- */
.rb-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--weight-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
}

/* ---- Pink underline accent (brand emphasis) ---- */
.rb-accent-rule {
  display: inline-block;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--rb-pink);
}

/* ---- Lead paragraph ---- */
.rb-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}

::selection {
  background: var(--rb-pink);
  color: var(--rb-white);
}

:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: 2px;
}

/* ============================================================
   RB Yacht Marketing — pixel recreation
   Layout + components built on the design-system tokens.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --container: 1240px;
  --gutter: clamp(24px, 6vw, 96px);
  --ink-body: #5c6b7a;          /* cool slate body text on white */
  --ink-body-navy: rgba(255,255,255,0.78);
  --hero-navy: #0d2138;
  --stat-navy: #0a1b2e;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-body);
  background: var(--rb-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--rb-navy);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.accent { color: var(--rb-pink); }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rb-pink);
  margin: 0;
}
.eyebrow--ocean { color: var(--rb-ocean); }
.eyebrow--navy  { color: var(--rb-navy); }
.eyebrow--white { color: rgba(255,255,255,0.66); }

/* ---- Section heading ---- */
.h2 {
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 620px;
  margin: 22px 0 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 18px 30px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, 2px);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.btn--pink { background: var(--rb-pink); color: #fff; box-shadow: 0 14px 34px rgba(230,9,110,0.34); }
.btn--pink:hover { background: var(--rb-pink-600); }
.btn--pink:active { background: var(--rb-pink-700); transform: translateY(1px); }
.btn--outline-dark { background: transparent; color: var(--rb-navy); border-color: #cfd6dd; }
.btn--outline-dark:hover { background: var(--rb-grey-light); border-color: var(--rb-silver); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.42); }
.btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn--sm { padding: 13px 22px; font-size: 12px; }

/* ---- Pink diamond bullet lists ---- */
.diamonds { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.diamonds li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--rb-navy);
}
.diamonds li::before {
  content: "";
  position: absolute;
  left: 4px; top: 7px;
  width: 8px; height: 8px;
  background: var(--rb-pink);
  transform: rotate(45deg);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 26px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav__links a { white-space: nowrap; }
.nav__links a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav__links a:hover { color: #fff; }

/* logo lockup */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo__img { height: clamp(32px, 3.2vw, 46px); width: auto; max-width: 100%; display: block; }
.footer__brand .logo__img { height: clamp(34px, 3vw, 44px); }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.logo__word .rb { font-weight: 800; }
.logo__word .light { font-weight: 500; }
.logo--light .logo__word { color: #fff; }
.logo--navy .logo__word { color: var(--rb-navy); }
.logo__mark { width: 34px; height: 34px; flex: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--hero-navy); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,33,56,0.97) 0%, rgba(13,33,56,0.86) 34%, rgba(13,33,56,0.42) 64%, rgba(13,33,56,0.30) 100%),
    linear-gradient(180deg, rgba(13,33,56,0.55) 0%, rgba(13,33,56,0.15) 40%, rgba(13,33,56,0.65) 100%);
}
.hero__plexus { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding-top: 168px; padding-bottom: 132px; }
.hero__col { max-width: 660px; }
.hero h1 {
  color: #fff;
  font-size: clamp(50px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 20px 0 0;
}
.hero__sub {
  color: var(--ink-body-navy);
  font-size: 19px;
  line-height: 1.6;
  max-width: 540px;
  margin: 28px 0 38px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Stats bar ---- */
.statbar { position: relative; z-index: 2; background: var(--stat-navy); }
.statbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 38px;
}
.stat { padding: 6px 0 6px 0; position: relative; }
.stat + .stat { padding-left: 40px; border-left: 1px solid rgba(255,255,255,0.1); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rb-pink);
}
.stat__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

/* ============================================================
   Generic section rhythm
   ============================================================ */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--grey { background: var(--rb-grey-light); }
.section--navy { background: var(--rb-navy); color: #fff; }
.section--navy .h2 { color: #fff; }
.section__head { max-width: 760px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.pcard {
  background: var(--rb-grey-light);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.pcard__kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rb-ocean);
}
.pcard h3 { font-size: 26px; line-height: 1.18; margin: 22px 0 0; }
.pcard__body { font-size: 16px; line-height: 1.6; margin: 18px 0 28px; }
.pcard__rule { height: 1px; background: #dfe4e8; margin-top: auto; }
.pcard__need {
  display: flex; gap: 12px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--rb-navy);
}
.pcard__need .arr { color: var(--rb-pink); flex: none; }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution { position: relative; background: var(--rb-navy); color: #fff; overflow: hidden; }
.solution::before {
  content: ""; position: absolute; top: -10%; right: -5%;
  width: 50%; height: 70%;
  background: radial-gradient(circle, rgba(120,40,90,0.34) 0%, rgba(15,39,66,0) 68%);
  pointer-events: none;
}
.solution__inner { position: relative; padding-block: clamp(72px, 9vw, 116px); }
.solution h2 { color: #fff; }
.solution__intro { max-width: 660px; margin-top: 8px; }
.solution__intro p { color: var(--ink-body-navy); font-size: 18px; line-height: 1.7; margin: 22px 0 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 64px;
}
.step { position: relative; }
.step__top {
  display: flex; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 14px;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--rb-pink);
}
.step__arrow {
  margin-left: auto; color: rgba(255,255,255,0.35);
  transform: translateX(18px);
}
.step:last-child .step__arrow { display: none; }
.step h3 { color: #fff; font-size: 23px; line-height: 1.15; margin: 26px 0 0; }
.step__body { color: var(--ink-body-navy); font-size: 15.5px; line-height: 1.6; margin: 16px 0 0; }
.tag {
  display: inline-flex; align-items: center;
  margin-top: 22px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rb-pink);
  border: 1px solid rgba(230,9,110,0.5);
}

/* ============================================================
   SERVICES (bordered grid)
   ============================================================ */
.svc__grid {
  margin-top: 60px;
  border: 1px solid var(--rb-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--rb-line);
  gap: 1px;
}
.svc {
  background: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}
.svc--empty { background: #eef1f3; }
.svc__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; color: var(--rb-pink); }
.svc h3 { font-size: 27px; margin: 30px 0 0; }
.svc__body { font-size: 16px; line-height: 1.6; margin: 20px 0 26px; }
.svc__rule { height: 1px; background: var(--rb-line); margin-bottom: 24px; }
.svc .diamonds li { font-size: 15.5px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.about__media { position: relative; }
.about__media image-slot { width: 100%; height: 100%; }
.about__badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--rb-pink);
  color: #fff;
  padding: 24px 28px;
  min-width: 210px;
  box-shadow: 0 18px 40px rgba(230,9,110,0.3);
}
.about__badge .n { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; }
.about__badge .n sup { font-size: 0.5em; vertical-align: super; }
.about__badge .l { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; opacity: 0.92; }
.about__body { color: var(--ink-body); font-size: 18px; line-height: 1.7; margin: 26px 0 0; }
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 0; }
.brands span {
  border: 1px solid var(--rb-line);
  padding: 16px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rb-ocean);
}
.about__quote {
  border-left: 3px solid var(--rb-pink);
  padding-left: 22px;
  margin: 32px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
  color: var(--rb-navy);
}
.about__note { color: var(--ink-body); font-size: 16px; line-height: 1.65; margin: 22px 0 32px; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case {
  margin-top: 56px;
  background: #fff;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: var(--shadow-md);
}
.case__media { position: relative; min-height: 460px; }
.case__media image-slot { width: 100%; height: 100%; }
.case__badge {
  position: absolute; top: 22px; left: 22px;
  background: var(--rb-pink); color: #fff;
  padding: 9px 16px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.case__body { padding: 56px clamp(36px, 4vw, 60px); }
.case__body h3 { font-size: 33px; line-height: 1.16; margin: 18px 0 0; }
.case__body p { color: var(--ink-body); font-size: 16.5px; line-height: 1.65; margin: 20px 0 0; }
.case__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin: 34px 0; padding-top: 30px; border-top: 1px solid var(--rb-line); justify-content: start; }
.case__stat .v { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--rb-pink); line-height: 1; }
.case__stat .k { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-body); margin-top: 10px; }
.case__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   AI ADVISOR
   ============================================================ */
.advisor__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.advisor h2 { color: #fff; }
.advisor__body { color: var(--ink-body-navy); font-size: 18px; line-height: 1.7; margin: 24px 0 0; max-width: 480px; }
.chat__body { padding: 26px 22px 16px; min-height: 260px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; }
.chat__msg { display: flex; gap: 12px; align-items: flex-start; }
.chat__msg--user { flex-direction: row-reverse; }
.chat__msg--user .chat__bubble { background: var(--rb-pink); color: #fff; border-radius: 18px 18px 4px 18px; }
.chat__bubble { background: #f1f4f6; border-radius: 4px 18px 18px 18px; padding: 12px 16px; font-size: 14.5px; line-height: 1.5; color: var(--rb-charcoal); max-width: 82%; }
.chat__typing { display: flex; gap: 5px; align-items: center; padding: 14px 16px; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--rb-silver); animation: typing-dot 1.2s infinite; }
.chat__typing span:nth-child(2) { animation-delay: .2s; }
.chat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-dot { 0%,60%,100% { opacity:.3; transform:translateY(0); } 30% { opacity:1; transform:translateY(-4px); } }
.advisor__list { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 16px; }
.advisor__list li { position: relative; padding-left: 26px; color: rgba(255,255,255,0.9); font-size: 17px; }
.advisor__list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; background: var(--rb-pink); transform: rotate(45deg); }

.chat { background: #fff; border-radius: 6px; box-shadow: 0 30px 70px rgba(0,0,0,0.35); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: #f4f6f8; border-bottom: 1px solid var(--rb-line); }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rb-pink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.chat__who { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--rb-navy); }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-body); margin-top: 2px; }
.chat__status .dot { width: 7px; height: 7px; border-radius: 50%; background: #28b463; }
.chat__dots { margin-left: auto; color: var(--rb-silver); letter-spacing: 2px; }
.chat__body { padding: 26px 22px 16px; min-height: 150px; }
.chat__msg { display: flex; gap: 12px; }
.chat__ai { width: 30px; height: 30px; border-radius: 50%; background: var(--rb-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; flex: none; }
.chat__bubble { background: #f1f4f6; border-radius: 4px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; color: var(--rb-charcoal); }
.chat__chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 22px 20px; }
.chat__chips span { border: 1px solid var(--rb-line); border-radius: 999px; padding: 9px 15px; font-size: 13px; color: var(--rb-navy); }
.chat__input { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--rb-line); padding: 16px 16px 16px 22px; }
.chat__input input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: 15px; color: var(--rb-charcoal); background: transparent; }
.chat__send { width: 42px; height: 42px; background: var(--rb-pink); color: #fff; border: none; display: grid; place-items: center; cursor: pointer; flex: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--rb-line); }
.faq__item:last-child { border-bottom: 1px solid var(--rb-line); }
.faq__q { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start; width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 28px 4px; }
.faq__n { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--rb-pink); padding-top: 4px; }
.faq__qt { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--rb-navy); }
.faq__icon { font-family: var(--font-display); font-size: 22px; color: var(--rb-pink); line-height: 1; padding-top: 2px; }
.faq__a { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; padding: 0 4px; max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-standard), padding var(--dur-base) var(--ease-standard); }
.faq__a > div { grid-column: 2; color: var(--ink-body); font-size: 16px; line-height: 1.7; }
.faq__item.open .faq__a { max-height: 320px; padding-bottom: 30px; }

/* ============================================================
   PRICING
   ============================================================ */
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; align-items: start; }
.plan { background: #fff; padding: 44px 38px; box-shadow: var(--shadow-sm); }
.plan--featured { background: var(--rb-navy); color: #fff; padding-top: 56px; position: relative; box-shadow: 0 28px 60px rgba(15,39,66,0.28); transform: translateY(-18px); }
.plan__pop { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--rb-pink); color: #fff; padding: 8px 20px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.plan__kicker { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-ocean); }
.plan--featured .plan__kicker { color: var(--rb-pink); }
.plan h3 { font-size: 30px; margin: 16px 0 0; }
.plan--featured h3 { color: #fff; }
.plan__desc { font-size: 15.5px; line-height: 1.55; margin: 16px 0 24px; color: var(--ink-body); }
.plan--featured .plan__desc { color: var(--ink-body-navy); }
.plan__rule { height: 1px; background: var(--rb-line); margin-bottom: 22px; }
.plan--featured .plan__rule { background: rgba(255,255,255,0.16); }
.plan__inq { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-pink); }
.plan__sub { font-size: 14px; color: var(--ink-body); margin: 6px 0 26px; }
.plan--featured .plan__sub { color: var(--ink-body-navy); }
.plan .diamonds { margin-bottom: 34px; }
.plan--featured .diamonds li { color: rgba(255,255,255,0.92); }
.plan .btn { width: 100%; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { text-align: center; }
.testi .eyebrow { display: block; }
.testi h2 { margin-top: 16px; }
.testi__quote { position: relative; max-width: 880px; margin: 56px auto 0; }
.testi__mark { font-family: var(--font-display); font-weight: 700; font-size: 90px; color: var(--rb-pink); opacity: 0.25; line-height: 0.5; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); }
.testi__quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; color: var(--rb-navy); position: relative; }
.testi__person { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; }
.testi__av { width: 54px; height: 54px; border-radius: 50%; background: var(--rb-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.testi__name { font-family: var(--font-display); font-weight: 700; color: var(--rb-navy); text-align: left; }
.testi__role { font-size: 14px; color: var(--ink-body); text-align: left; }
.testi__dots { display: flex; gap: 10px; justify-content: center; margin-top: 38px; }
.testi__dots i { width: 22px; height: 4px; background: var(--rb-silver); border-radius: 2px; }
.testi__dots i.on { width: 34px; background: var(--rb-pink); }
.testi__dots i { cursor: pointer; transition: width .24s, background .24s; }
.testi__slider { position: relative; overflow: hidden; }
.testi__slide { display: none; animation: testi-in .45s cubic-bezier(0.22,0.61,0.36,1); }
.testi__slide.active { display: block; }
@keyframes testi-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; background: var(--rb-navy); color: #fff; overflow: hidden; text-align: center; }
.final__media { position: absolute; inset: 0; }
.final__media image-slot { width: 100%; height: 100%; }
.final__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,33,56,0.86), rgba(13,33,56,0.9)); }
.final__inner { position: relative; z-index: 2; padding-block: clamp(80px, 10vw, 130px); }
.final h2 { color: #fff; font-size: clamp(42px, 5.2vw, 64px); line-height: 1.04; }
.final__body { color: var(--ink-body-navy); font-size: 19px; line-height: 1.6; max-width: 640px; margin: 26px auto 38px; }
.final__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.final__link { display: inline-block; margin-top: 30px; color: rgba(255,255,255,0.72); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.news h2 { font-size: clamp(32px, 3.4vw, 42px); }
.news__sub { color: var(--ink-body); font-size: 17px; line-height: 1.65; margin: 20px 0 0; max-width: 440px; }
.news__form { display: flex; gap: 16px; align-items: stretch; }
.news__field { flex: 1; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--rb-line); padding: 0 16px; }
.news__field input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: 16px; color: var(--rb-charcoal); background: transparent; }
.news__field .ic { width: 26px; height: 26px; background: var(--rb-pink); border-radius: 3px; display: grid; place-items: center; color: #fff; font-size: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--rb-navy); color: rgba(255,255,255,0.7); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 84px 60px; }
.footer__desc { font-size: 15px; line-height: 1.7; margin: 24px 0 28px; max-width: 320px; color: rgba(255,255,255,0.62); }
.footer__connect { margin-top: 44px; }
.footer__connect .eyebrow { color: var(--rb-pink); margin-bottom: 18px; display: block; }
.footer__connect a, .footer__connect p { display: block; color: rgba(255,255,255,0.72); font-size: 15px; margin: 0 0 12px; text-decoration: none; }
.footer__col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-pink); margin-bottom: 22px; }
.footer__col a { display: block; color: rgba(255,255,255,0.72); font-size: 15px; text-decoration: none; margin-bottom: 15px; transition: color var(--dur-fast); }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 30px; font-size: 13.5px; color: rgba(255,255,255,0.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .problem__grid, .steps, .svc__grid, .price__grid { grid-template-columns: 1fr; }
  .about__grid, .case, .advisor__grid, .faq__grid, .news__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .plan--featured { transform: none; }
  .svc__grid { gap: 1px; }
}
@media (max-width: 560px) {
  .statbar__grid, .footer__top { grid-template-columns: 1fr; }
  .case__stats { grid-template-columns: repeat(3, auto); gap: 22px; }
}

/* ============================================================
   PLAYBOOK LEAD-CAPTURE MODAL
   ============================================================ */
.pbm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.pbm[hidden] { display: none; }
.pbm__backdrop { position: absolute; inset: 0; background: rgba(8,20,34,0.62); backdrop-filter: blur(3px); }
.pbm__dialog {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  box-shadow: 0 40px 90px rgba(8,20,34,0.45);
  padding: clamp(32px, 4vw, 48px);
}
@media (prefers-reduced-motion: no-preference) {
  .pbm.is-open .pbm__backdrop { animation: pbm-fade var(--dur-base) var(--ease-standard); }
  .pbm.is-open .pbm__dialog { animation: pbm-rise 0.32s var(--ease-standard); }
}
@keyframes pbm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pbm-rise { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.pbm__x { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 30px; line-height: 1; color: var(--rb-silver); cursor: pointer; padding: 4px; transition: color var(--dur-fast); }
.pbm__x:hover { color: var(--rb-navy); }
.pbm__title { font-size: clamp(26px, 3vw, 32px); line-height: 1.12; margin: 14px 0 0; }
.pbm__sub { color: var(--ink-body); font-size: 16px; line-height: 1.6; margin: 14px 0 0; }
.pbm__form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.pbm__field { display: flex; flex-direction: column; gap: 8px; }
.pbm__label { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-navy); }
.pbm__field input {
  font-family: var(--font-body); font-size: 16px; color: var(--rb-charcoal);
  background: var(--rb-grey-light);
  border: 1px solid var(--rb-line);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}
.pbm__field input:focus { border-color: var(--rb-pink); background: #fff; }
.pbm__err { display: none; font-size: 13px; color: var(--rb-pink); }
.pbm__field.has-error input { border-color: var(--rb-pink); background: #fff; }
.pbm__field.has-error .pbm__err { display: block; }
.pbm__form .btn { width: 100%; margin-top: 4px; }
.pbm__fine { font-size: 12.5px; line-height: 1.55; color: var(--rb-silver); margin: 4px 0 0; }
.pbm__success { text-align: center; }
.pbm__check { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; background: rgba(40,180,99,0.12); color: #28b463; display: grid; place-items: center; font-size: 30px; }
.pbm__success .btn { margin-top: 28px; min-width: 160px; }

/* React adaptations layered onto the original hosted stylesheet. */
html { scroll-padding-top: 92px; }
body { margin: 0; }
button { font: inherit; }
.btn { border: 0; cursor: pointer; }
.hero__media img, .final__media img, .case__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero__media img { object-position: 50% 50%; }
.about__media { height: 760px; }
.about__media > a { display: block; width: 100%; height: 100%; }
.about__media img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; }
.about__portfolio { margin-top: 14px; }
.section-action { margin-top: 56px; }
.resource { padding-block: clamp(56px, 7vw, 88px); text-align: center; }
.resource .eyebrow { color: rgba(255,255,255,.55); }
.resource .h2 { color: #fff; margin-top: 14px; }
.resource p:not(.eyebrow) { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; max-width: 590px; margin: 20px auto 36px; }
.nav__toggle { display: none; border: 1px solid rgba(255,255,255,.35); background: rgba(15,39,66,.35); color: #fff; padding: 10px 14px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; cursor: pointer; }
.chat__body { height: 280px; overflow-y: auto; }
.chat__msg + .chat__msg { margin-top: 14px; }
.chat__msg--user { justify-content: flex-end; }
.chat__msg--user .chat__bubble { background: var(--rb-pink); color: #fff; max-width: 86%; }
.chat__chips button { border: 1px solid var(--rb-line); border-radius: 999px; padding: 9px 15px; font-size: 13px; color: var(--rb-navy); background: #fff; cursor: pointer; }
.chat__chips button:hover { border-color: var(--rb-pink); color: var(--rb-pink); }
.chat__typing { display: flex; gap: 4px; align-items: center; min-height: 20px; }
.chat__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--rb-silver); animation: typing 1s infinite alternate; }
.chat__typing i:nth-child(2) { animation-delay: .2s; }
.chat__typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { to { opacity: .25; transform: translateY(-2px); } }
.testi__dots button { width: 22px; height: 4px; padding: 0; border: 0; background: var(--rb-silver); border-radius: 2px; cursor: pointer; transition: width .24s, background .24s; }
.testi__dots button.on { width: 34px; background: var(--rb-pink); }
.final__link { background: none; border: 0; cursor: pointer; }
.news__success { background: #fff; border-left: 4px solid var(--rb-pink); padding: 24px; color: var(--rb-navy); font-family: var(--font-display); font-weight: 700; }
.footer__col button { display: block; border: 0; padding: 0; background: none; color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 15px; cursor: pointer; }
.footer__col button:hover { color: #fff; }
.pbm__backdrop { border: 0; width: 100%; height: 100%; cursor: default; }
.pbm__field textarea { font-family: var(--font-body); font-size: 16px; color: var(--rb-charcoal); background: var(--rb-grey-light); border: 1px solid var(--rb-line); border-radius: 2px; padding: 14px 16px; outline: none; resize: vertical; }
.pbm__field textarea:focus { border-color: var(--rb-pink); background: #fff; }
.pbm__label small { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .6; }
.pbm__error { color: #a20d46; font-size: 13px; margin: 0; }
@media (max-width: 1000px) {
  .nav__toggle { display: block; margin-left: auto; }
  .nav__cta { display: none; }
  .nav__links { position: absolute; display: none; top: 100%; left: 0; right: 0; padding: 18px clamp(20px, 5vw, 48px) 24px; background: rgba(8,24,38,.98); border-top: 1px solid rgba(255,255,255,.12); flex-direction: column; align-items: flex-start; gap: 0; }
  .nav__links.is-open { display: flex; }
  .nav__links a { width: 100%; padding: 12px 0; }
  .about__media { height: min(760px, 110vw); }
}
@media (max-width: 560px) {
  .hero__media img { object-position: 58% 50%; }
  .hero__cta .btn { width: 100%; }
  .about__portfolio { margin-left: 0; }
  .news__form { flex-direction: column; }
  .news__field { min-height: 54px; }
  .pbm { padding: 12px; }
  .pbm__dialog { max-height: calc(100vh - 24px); overflow-y: auto; }
}


/* Requested visual revision: full-height hero, loading motion and aligned steps. */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero__inner {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: clamp(112px, 15vh, 168px);
  padding-bottom: clamp(32px, 6vh, 72px);
}
.hero h1,
.h2,
.about__text .h2,
.resource .h2 { margin-top: 0; }
.statbar { margin-top: auto; }
.steps { align-items: stretch; }
.step { display: flex; flex-direction: column; }
.step__body { margin-bottom: 24px; }
.step .tag { margin-top: auto; align-self: flex-start; }

@media (prefers-reduced-motion: no-preference) {
  .hero__col { animation: rb-hero-reveal .85s cubic-bezier(.22,.61,.36,1) both; }
  .stat { opacity: 0; animation: rb-kpi-reveal .65s cubic-bezier(.22,.61,.36,1) both; }
  .stat:nth-child(1) { animation-delay: .35s; }
  .stat:nth-child(2) { animation-delay: .48s; }
  .stat:nth-child(3) { animation-delay: .61s; }
  .stat:nth-child(4) { animation-delay: .74s; }
  .stat:last-child .stat__num { display: inline-block; animation: rb-infinity-spin 4s linear infinite; }
}
@keyframes rb-hero-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes rb-kpi-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes rb-infinity-spin { to { transform: rotate(360deg); } }

@media (max-height: 780px) and (min-width: 1001px) {
  .hero__inner { padding-top: 108px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(48px, 5.5vw, 68px); }
  .hero__sub { margin-block: 20px 26px; }
  .statbar__grid { padding-block: 24px; }
  .stat__num { font-size: 38px; }
}
@media (max-width: 560px) {
  .hero { min-height: 100svh; }
  .hero__inner { padding-top: 108px; padding-bottom: 30px; }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; padding-block: 22px; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat__num { font-size: 34px; }
  .stat__label { font-size: 9px; margin-top: 7px; }
}

.footer__credit { color: rgba(255,255,255,.78); text-underline-offset: 3px; }
.footer__credit:hover { color: #fff; }


/* Pass two: restrained motion, four-up services and qualification flow. */
.stat:last-child .stat__num { animation: rb-infinity-spin .9s cubic-bezier(.22,.61,.36,1) .74s 1 both; }
.pcard { transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, background .28s ease; }
.pcard:hover { transform: translateY(-9px); background: #fff; box-shadow: 0 24px 54px rgba(15,39,66,.14); }
.pcard__rule { transition: background .28s ease, transform .28s ease; transform-origin: left; }
.pcard:hover .pcard__rule { background: var(--rb-pink); transform: scaleX(1.04); }
.steps { position: relative; }
.steps::after { content: ""; position: absolute; z-index: 2; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--rb-pink); box-shadow: 0 0 0 5px rgba(230,9,110,.16); animation: rb-step-dot 5s ease-in-out infinite; }
@keyframes rb-step-dot { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
.svc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc { min-width: 0; }
.pbm__dialog--qualification { width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.pbm__stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 34px 30px 0; }
.pbm__step { position: relative; display: flex; align-items: center; gap: 9px; color: var(--rb-silver); }
.pbm__step:not(:last-child)::after { content: ""; position: absolute; left: 33px; right: 8px; top: 14px; height: 1px; background: var(--rb-line); }
.pbm__step span { position: relative; z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rb-line); background: #fff; font: 700 11px/1 var(--font-display); }
.pbm__step small { font: 700 10px/1.25 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.pbm__step.is-current, .pbm__step.is-complete { color: var(--rb-navy); }
.pbm__step.is-current span, .pbm__step.is-complete span { border-color: var(--rb-pink); background: var(--rb-pink); color: #fff; }
.pbm__panel { display: grid; gap: 18px; }
.pbm__field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pbm__field select, .pbm__field textarea { width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--rb-charcoal); background: var(--rb-grey-light); border: 1px solid var(--rb-line); border-radius: 2px; padding: 14px 16px; outline: none; }
.pbm__field select:focus, .pbm__field textarea:focus { border-color: var(--rb-pink); background: #fff; }
.pbm__phone { display: grid; grid-template-columns: minmax(150px, .7fr) 1fr; gap: 10px; }
.pbm__phone select, .pbm__phone input { min-width: 0; }
.pbm__consent { display: flex; align-items: flex-start; gap: 10px; color: var(--rb-navy); font-size: 14px; line-height: 1.5; cursor: pointer; }
.pbm__consent input { margin-top: 3px; accent-color: var(--rb-pink); }
.pbm__consent--gdpr { padding: 15px; background: var(--rb-grey-light); }
.pbm__choices { border: 0; padding: 0; margin: 0; }
.pbm__choices legend { margin-bottom: 10px; font: 700 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--rb-navy); }
.pbm__choices > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pbm__choices label { display: flex; align-items: center; min-height: 43px; padding: 10px 12px; border: 1px solid var(--rb-line); background: #fff; color: var(--rb-navy); font-size: 13px; cursor: pointer; }
.pbm__choices label.is-selected { border-color: var(--rb-pink); background: rgba(230,9,110,.055); }
.pbm__choices input { margin-right: 8px; accent-color: var(--rb-pink); }
.pbm__actions { display: flex; justify-content: flex-end; gap: 10px; }
.pbm__actions .btn { width: auto; min-width: 130px; }
.pbm__honeypot { position: absolute; left: -9999px; }
@media (prefers-reduced-motion: reduce) { .steps::after { display: none; } }
@media (max-width: 1100px) { .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc__grid, .pbm__field-grid, .pbm__choices > div { grid-template-columns: 1fr; } .pbm__phone { grid-template-columns: 1fr; } .pbm__step small { display: none; } .pbm__stepper { margin-right: 0; } }


/* Reversible animated hero network and consistent contact actions. */
.hero__media { background: #081826; }
.hero-network { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 78% 42%, rgba(30,91,140,.24), transparent 34%), linear-gradient(115deg, #081826 0%, #0F2742 54%, #102f50 100%); }
.hero-network svg { width: 100%; height: 100%; opacity: .9; mask-image: linear-gradient(90deg, transparent 8%, rgba(0,0,0,.28) 38%, #000 62%); }
.hero-network__links line { stroke: rgba(116,183,224,.27); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.hero-network__node { fill: #d8f3ff; }
.hero-network__halo { fill: url(#nodeGlow); opacity: .48; animation: rb-node-breathe 3.6s ease-in-out infinite alternate; }
.hero-network__nodes > g:nth-child(3n) .hero-network__halo { animation-delay: -1.8s; }
.hero-network__nodes > g:nth-child(4n) .hero-network__halo { animation-delay: -2.7s; }
.hero-network__signal { fill: #E6096E; }
.hero-network__signal--1, .hero-network__signal--3 { fill: #a8e8ff; }
.hero-network__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,38,.95) 0%, rgba(8,24,38,.76) 36%, transparent 68%); }
@keyframes rb-node-breathe { from { opacity: .18; transform: scale(.68); } to { opacity: .66; transform: scale(1.2); } }
.btn--pink, a.btn--pink, button.btn--pink { color: #fff; }
.btn--pink:hover, .btn--pink:focus-visible, a.btn--pink:hover, button.btn--pink:hover { background: #bd075b; border-color: #bd075b; color: #fff; box-shadow: 0 10px 28px rgba(230,9,110,.28); transform: translateY(-2px); }
.nav .btn--pink:hover, .footer .btn--pink:hover { color: #fff; }
.footer__contact-link { display: block; border: 0; padding: 0; background: none; color: rgba(255,255,255,.72); font-size: 15px; margin: 0 0 12px; cursor: pointer; text-align: left; }
.footer__contact-link:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-network__halo { animation: none; } .hero-network__signal { display: none; } }
@media (max-width: 700px) { .hero-network svg { transform: translateX(-18%); width: 128%; mask-image: linear-gradient(90deg, transparent, #000 54%); } }


/* Clean generated yacht photography under the denser animated network. */
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-network { background: transparent; }
.hero-network svg { opacity: .82; mask-image: linear-gradient(90deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.72) 24%, #000 52%); }
.hero-network__links line { stroke: rgba(142,207,238,.24); stroke-width: 1.05; }
.hero-network__wash { background: linear-gradient(90deg, rgba(8,24,38,.67) 0%, rgba(8,24,38,.43) 38%, rgba(8,24,38,.04) 76%); }
.footer__connect h4 { margin: 0 0 18px; color: var(--rb-pink); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 700px) { .hero__media > img { object-position: 64% center; } .hero-network svg { transform: translateX(-8%); width: 116%; mask-image: linear-gradient(90deg, rgba(0,0,0,.2), #000 45%); } }


/* Grayscale brand rail and one-time directional section reveals. */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.brand-rail { position: relative; z-index: 4; overflow: hidden; padding: 34px 0 40px; background: #fff; }
.brand-rail__title { margin: 0 0 24px; color: var(--rb-navy); font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: .02em; text-align: center; }
.brand-rail__viewport { overflow: hidden; }
.brand-rail__track { display: flex; width: max-content; will-change: transform; }
/* Seamless loop: the logo list is rendered twice and the track travels exactly one list length (-50%); spacing lives on the items (margin, not gap/padding) so the period stays exact. */
.brand-rail__track--marquee { animation: brand-marquee 150s linear infinite; }
@keyframes brand-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.brand-logo { flex: 0 0 408px; width: 408px; height: 158px; margin-right: 36px; display: grid; place-items: center; padding: 10px 12px; }
.brand-logo img { display: block; width: 100%; height: 100%; max-width: 350px; max-height: 126px; object-fit: contain; filter: grayscale(1); opacity: .52; mix-blend-mode: multiply; }
[data-scroll-reveal] { opacity: 0; transition: opacity .72s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms), transform .82s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms); }
[data-scroll-reveal="left"] { transform: translate3d(-52px, 0, 0); }
[data-scroll-reveal="right"] { transform: translate3d(52px, 0, 0); }
[data-scroll-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
@media (max-width: 700px) {
  .brand-rail { padding: 24px 0 28px; }
  .brand-rail__title { margin-bottom: 18px; }
  .brand-logo { flex-basis: 300px; width: 300px; height: 128px; margin-right: 22px; padding: 8px 10px; }
  .brand-logo img { max-width: 270px; max-height: 102px; }
  [data-scroll-reveal="left"] { transform: translate3d(-28px, 0, 0); }
  [data-scroll-reveal="right"] { transform: translate3d(28px, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-rail__track { transform: none !important; will-change: auto; animation: none !important; }
  [data-scroll-reveal] { opacity: 1; transform: none; transition: none; }
}


/* Cheoy Lee's source file is oversized relative to the other marks. */
.brand-logo img[src*="CLYachts_Logo"] { transform: scale(.5); transform-origin: center; }


/* Pass four: diagonal white-signal network, gray trust label and card reveals. */
.brand-rail__title { color: #9AA3AC; }
/* Wake corridor: signals materialise at the horizon convergence point and stay visible as they stream down-right past the lead yacht's stern. */
.hero-network svg { opacity: .86; mask-image: linear-gradient(135deg, transparent 4%, rgba(0,0,0,.5) 20%, #000 44%, #000 82%, rgba(0,0,0,.6) 98%); }
.hero-network__links line { stroke: rgba(255,255,255,.24); stroke-width: .9; }
.hero-network__signal, .hero-network__signal--1, .hero-network__signal--3 { fill: #fff; }
.hero-network__nodes, .hero-network__node, .hero-network__halo { display: none; }
[data-scroll-reveal="up"] { transform: translate3d(0, 58px, 0); }
[data-scroll-reveal].is-visible.pcard:hover { transform: translate3d(0, -9px, 0); }
@media (max-width: 700px) { [data-scroll-reveal="up"] { transform: translate3d(0, 34px, 0); } }


/* Compact hero KPI bar. */
.statbar__grid { padding-block: 22px; }
.stat { padding-block: 2px; }
@media (max-height: 780px) and (min-width: 1001px) { .statbar__grid { padding-block: 17px; } }
@media (max-width: 560px) { .statbar__grid { padding-block: 15px; } }


/* Footer contact reveal — details are fetched only after the human check. */
.footer__reveal { display: grid; gap: 5px; justify-items: start; }
.footer__reveal a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; }
.footer__reveal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer__reveal-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 2px 0 4px; }
.footer__reveal-form label { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.82); font-size: 14px; }
.footer__reveal-form input { width: 64px; padding: 9px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }
.footer__reveal-form input:focus-visible { outline: 2px solid #E6096E; outline-offset: 1px; }
.footer__reveal-error { margin: 2px 0 0; font-size: 12.5px; color: #FF9EC7; flex-basis: 100%; }
