/* ==========================================================================
   Grace Travel – 2026 homepage redesign (preview)
   Loaded only by preview-home.php, scoped to html[data-redesign].
   Brand: Grace blue + logo orange on a deep "night departure" navy.
   ========================================================================== */

html[data-redesign] {
  --rd-night: #0B1D3A;      /* hero / board surround            */
  --rd-board: #07142B;      /* split-flap board                 */
  --rd-blue: #2C63BC;       /* Grace blue (logo)                */
  --rd-blue-deep: #143A72;
  --rd-gold: #F5A524;       /* logo orange, warmed              */
  --rd-gold-ink: #3A2400;   /* text on gold                     */
  --rd-amber: #FFC857;      /* flap characters                  */
  --rd-paper: #F5F7FB;
  --rd-ink: #13213A;
  --rd-muted: #51607A;
  --rd-line: #DCE3EE;
  --rd-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --rd-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --rd-mono: "JetBrains Mono", ui-monospace, monospace;
  --rd-radius-lg: 22px;
  --rd-radius: 14px;
  --rd-ease: cubic-bezier(.22,.8,.24,1);
}
html[data-redesign][data-theme="dark"] {
  --rd-paper: #0D1830;
  --rd-ink: #E8EEF8;
  --rd-muted: #A9B6CC;
  --rd-line: #22355A;
}

html[data-redesign] body {
  font-family: var(--rd-body);
  color: var(--rd-ink);
  background: var(--rd-paper);
  -webkit-font-smoothing: antialiased;
}
html[data-redesign] h1,
html[data-redesign] h2,
html[data-redesign] h3 {
  font-family: var(--rd-display);
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}
html[data-redesign] h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.04; font-weight: 700; }
html[data-redesign] h3 { font-weight: 650; }
html[data-redesign] p { line-height: 1.6; }

/* The old scroll-fade on every block is replaced by a few deliberate moments. */
html[data-redesign] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Visible keyboard focus everywhere */
html[data-redesign] :focus-visible { outline: 3px solid var(--rd-gold); outline-offset: 3px; border-radius: 6px; }

/* Buttons ----------------------------------------------------------------- */
html[data-redesign] .btn {
  font-family: var(--rd-body);
  font-weight: 650;
  border-radius: 999px;
  transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), background-color .2s;
}
html[data-redesign] .btn-accent {
  background: var(--rd-gold);
  color: var(--rd-gold-ink);
  border-color: var(--rd-gold);
  box-shadow: 0 10px 24px -12px rgba(245,165,36,.8);
}
html[data-redesign] .btn-accent:hover { background: #FFB43C; color: var(--rd-gold-ink); }
html[data-redesign] .btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; min-height: 52px; }

/* Header ------------------------------------------------------------------ */
html[data-redesign] .site-header {
  transition: background-color .3s, box-shadow .3s, transform .35s var(--rd-ease);
}
html[data-redesign] .site-header.rd-scrolled {
  background: color-mix(in srgb, var(--rd-paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--rd-line);
}
html[data-redesign] .site-header.rd-hidden { transform: translateY(-100%); }

/* ==========================================================================
   HERO
   ========================================================================== */
html[data-redesign] section.hero {
  /* Photo: wing over city lights at night (Unsplash License). The shade keeps the headline readable. */
  background:
    linear-gradient(90deg, rgba(11,29,58,.74) 0%, rgba(11,29,58,.52) 42%, rgba(11,29,58,.12) 100%),
    url("/assets/redesign/img/hero-night-wing-1800.jpg") 60% 50% / cover no-repeat,
    var(--rd-night);
  color: #fff;
  padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Runway centre-line: a quiet nod to the tarmac, not a gradient wash */
html[data-redesign] section.hero::before {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255,200,87,.55) 0 42px, transparent 42px 84px);
  opacity: .35;
}
html[data-redesign] .hero .route-stage { display: none; }

html[data-redesign] .hero > .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  html[data-redesign] .hero > .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas:
      "badge  board"
      "title  board"
      "sub    board"
      "acts   board"
      "stats  stats";
    column-gap: clamp(2.5rem, 5vw, 5rem);
    row-gap: 1.4rem;
  }
  html[data-redesign] .hero .hero-badge   { grid-area: badge; }
  html[data-redesign] .hero h1            { grid-area: title; }
  html[data-redesign] .hero .hero-sub     { grid-area: sub; }
  html[data-redesign] .hero .hero-actions { grid-area: acts; }
  html[data-redesign] .hero .hero-stats   { grid-area: stats; }
  html[data-redesign] .hero .rd-board     { grid-area: board; }
}

html[data-redesign] .hero .hero-badge {
  justify-self: start;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #DCE6F7;
  font-weight: 500;
}
html[data-redesign] .hero .hero-badge .pip { background: var(--rd-gold); color: var(--rd-gold-ink); }

html[data-redesign] .hero h1 {
  font-family: var(--rd-display);
  font-weight: 750;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
  line-height: .98;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  max-width: 13ch;
}
/* Keep the headline one voice: no italic accent phrase */
html[data-redesign] .hero h1 em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  font-family: inherit;
}
html[data-redesign] .hero .rd-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html[data-redesign] .hero .rd-word > span { display: inline-block; will-change: transform; }

html[data-redesign] .hero .hero-sub {
  color: #C9D5EA;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  max-width: 38ch;
  margin: 0;
}
html[data-redesign] .hero .hero-actions { gap: 1.2rem; align-items: center; flex-wrap: wrap; }
html[data-redesign] .hero .hero-textlink { color: #fff; font-weight: 600; text-underline-offset: 5px; }
html[data-redesign] .hero .hero-textlink span { display: none; }

/* Stats: a slim flight-info strip under the hero */
html[data-redesign] .hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 1rem;
  padding-top: 0;
}
@media (min-width: 720px) {
  html[data-redesign] .hero .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
html[data-redesign] .hero .hero-stat {
  padding: 1.1rem 1rem 0 0;
  display: flex; align-items: baseline; gap: .6rem;
}
html[data-redesign] .hero .hero-stat b {
  font-family: var(--rd-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  color: var(--rd-amber);
  font-variant-numeric: tabular-nums;
}
html[data-redesign] .hero .hero-stat span { color: #AFC0DC; font-size: .92rem; line-height: 1.3; }

/* ==========================================================================
   SPLIT-FLAP BOARD – the one loud element
   ========================================================================== */
.rd-board {
  background: var(--rd-board);
  border-radius: var(--rd-radius-lg);
  padding: clamp(1rem, .7rem + 1vw, 1.5rem);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 30px 60px -30px rgba(0,0,0,.8),
    inset 0 1px 0 rgba(255,255,255,.05);
  font-family: var(--rd-mono);
  color: var(--rd-amber);
  width: 100%;
  max-width: 640px;
  justify-self: end;
}
.rd-board-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .2rem .35rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .55rem;
  font-family: var(--rd-body);
}
.rd-board-title { color: #fff; font-weight: 650; font-size: 1rem; margin: 0; letter-spacing: 0; font-family: var(--rd-body); }
.rd-board-clock { color: #8FA3C4; font-family: var(--rd-mono); font-size: .85rem; font-variant-numeric: tabular-nums; }
.rd-board-cols, .rd-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, .9fr) 1.4rem;
  gap: .9rem;
  align-items: center;
}
.rd-board-cols {
  color: #6F84A8; font-family: var(--rd-body); font-size: .74rem; font-weight: 600;
  padding: .2rem .35rem .45rem;
}
.rd-rows { list-style: none; margin: 0; padding: 0; }
.rd-row {
  text-decoration: none; color: inherit;
  padding: .55rem .35rem;
  border-radius: 10px;
  transition: background-color .2s;
}
.rd-row + .rd-row { border-top: 1px solid rgba(255,255,255,.05); }
.rd-row:hover, .rd-row:focus-visible { background: rgba(255,200,87,.07); }
.rd-arrow { color: #5E7397; font-family: var(--rd-body); transition: transform .25s var(--rd-ease), color .2s; justify-self: end; }
.rd-row:hover .rd-arrow, .rd-row:focus-visible .rd-arrow { transform: translateX(3px); color: var(--rd-amber); }

/* flap cells */
.rd-flap { display: inline-flex; gap: 2px; white-space: nowrap; min-width: 0; overflow: hidden; }
.rd-flap i {
  font-style: normal;
  display: inline-grid; place-items: center;
  width: 1.05em; height: 1.45em;
  font-size: clamp(.82rem, .7rem + .35vw, 1rem);
  font-weight: 700;
  background: linear-gradient(#11264A 0 49%, #0A1A36 51% 100%);
  border-radius: 3px;
  position: relative;
  text-transform: uppercase;
}
.rd-flap i::after { /* the hinge line across each flap */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55);
}
.rd-flap i.sp { background: rgba(17,38,74,.45); }
.rd-flap i.flip { animation: rd-flip .09s linear; }
@keyframes rd-flip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
.rd-code { color: #fff; }
.rd-code i { background: linear-gradient(#1D3E73 0 49%, #15325F 51% 100%); }
.rd-purpose { color: #9FC1FF; }
.rd-purpose i { width: .9em; }

@media (max-width: 520px) {
  .rd-board-cols, .rd-row { grid-template-columns: minmax(0, 1fr) auto 1.2rem; }
  .rd-board-cols span:nth-child(3), .rd-purpose { display: none; }
}

/* ==========================================================================
   INTRO SLOGAN
   ========================================================================== */
html[data-redesign] .intro-band { background: var(--rd-paper); border: 0; padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
html[data-redesign] .intro-slogan {
  font-family: var(--rd-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--rd-ink);
  max-width: 20ch;
  margin-inline: auto;
  font-style: normal;
}
html[data-redesign] .intro-lede { color: var(--rd-muted); max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }

/* Section heads: drop the decorative eyebrow rule */
html[data-redesign] .sec-eyebrow { font-family: var(--rd-body); letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 600; color: var(--rd-blue); }
html[data-redesign] .sec-eyebrow::before { display: none; }
html[data-redesign] .sec-head p { color: var(--rd-muted); max-width: 60ch; }

/* ==========================================================================
   WHY US – a checked list, not six boxes
   ========================================================================== */
html[data-redesign] #why .grid.g-3 { gap: 0 3rem; }
html[data-redesign] #why .card.feature {
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
  border-top: 1px solid var(--rd-line);
  padding: 1.4rem 0;
}
html[data-redesign] #why .tick {
  background: var(--rd-blue); color: #fff;
  width: 30px; height: 30px;
}
html[data-redesign] #why .tick.warm { background: var(--rd-gold); color: var(--rd-gold-ink); }

/* ==========================================================================
   SERVICES – service codes become baggage tags
   ========================================================================== */
html[data-redesign] .tint-blue, html[data-redesign] .tint { background: #EAF0F8; }
html[data-redesign][data-theme="dark"] .tint-blue, html[data-redesign][data-theme="dark"] .tint { background: #0A1428; }
html[data-redesign] .svc-card {
  border-radius: var(--rd-radius-lg);
  border: 1px solid var(--rd-line);
  box-shadow: none;
  overflow: hidden;
  transition: transform .35s var(--rd-ease), border-color .2s;
}
html[data-redesign] .svc-card:hover { transform: translateY(-4px); border-color: var(--rd-blue); }
html[data-redesign] .svc-card-img { position: relative; }
html[data-redesign] .svc-card-code {
  position: absolute; top: 12px; left: 12px; bottom: auto; right: auto;
  font-size: .8rem; line-height: 1.2;
  font-family: var(--rd-mono);
  font-weight: 700;
  background: var(--rd-gold);
  color: var(--rd-gold-ink);
  border-radius: 6px 6px 6px 18px;
  padding: .35rem .7rem .35rem .9rem;
  letter-spacing: .04em;
  z-index: 2;
}
html[data-redesign] .svc-card-code::before { /* tag eyelet */
  content: ""; position: absolute; left: .32rem; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--rd-gold-ink); opacity: .55;
}

/* ==========================================================================
   DESTINATIONS – postcards with a stamp corner
   ========================================================================== */
html[data-redesign] .postcard {
  border-radius: var(--rd-radius);
  border: 1px solid var(--rd-line);
  position: relative;
  transition: transform .35s var(--rd-ease), border-color .2s;
}
html[data-redesign] .postcard:hover { transform: rotate(-.6deg) translateY(-3px); border-color: var(--rd-gold); }
html[data-redesign] .postcard .mono { font-family: var(--rd-body); text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.85); font-weight: 600; font-size: .85rem; }

/* ==========================================================================
   PROCESS – six steps on one boarding line (pinned on wide screens)
   ========================================================================== */
html[data-redesign] #process { overflow: hidden; }
html[data-redesign] #process .process { position: relative; }
html[data-redesign] #process .step {
  padding: 1.6rem 1.6rem 1.8rem;
  background: var(--rd-paper);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius-lg);
  box-shadow: none;
}
html[data-redesign] #process .num {
  font-family: var(--rd-mono);
  font-weight: 700;
  color: var(--rd-gold-ink);
  background: var(--rd-gold);
  border-radius: 999px;
  width: auto; height: auto;
  padding: .2rem .7rem;
  display: inline-block;
  position: static;
  margin-bottom: 1rem;
  box-shadow: none;
}
.rd-progress { height: 3px; background: var(--rd-line); border-radius: 3px; margin-top: 2rem; overflow: hidden; display: none; }
.rd-progress > span { display: block; height: 100%; width: 100%; background: var(--rd-gold); transform-origin: left; transform: scaleX(0); }
@media (min-width: 1024px) {
  html[data-redesign].rd-motion #process .process {
    display: flex; flex-wrap: nowrap; gap: 1.5rem; width: max-content;
  }
  html[data-redesign].rd-motion #process .step { width: 360px; flex: none; min-height: 250px; }
  html[data-redesign].rd-motion .rd-progress { display: block; }
}

/* ==========================================================================
   REVIEWS / CTA
   ========================================================================== */
html[data-redesign] .review { border-radius: var(--rd-radius-lg); border: 1px solid var(--rd-line); box-shadow: none; }
html[data-redesign] .rating-summary .score { font-family: var(--rd-display); }
html[data-redesign] .cta-band { background: var(--rd-night); border-radius: var(--rd-radius-lg); color: #fff; }

/* Magnetic primary CTA (React Bits "Magnet", vanilla) */
.rd-magnet { will-change: transform; }

/* ==========================================================================
   Reduced motion: everything in its final, readable state
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .rd-flap i.flip { animation: none; }
  html[data-redesign] .svc-card:hover,
  html[data-redesign] .postcard:hover { transform: none; }
}

/* ==========================================================================
   INNER PAGES (shared system)
   ========================================================================== */

/* Page header: the same night-departure navy and runway line as the homepage */
html[data-redesign] .page-hero {
  background: var(--rd-night);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
}
html[data-redesign] .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,29,58,.76) 0%, rgba(11,29,58,.55) 42%, rgba(11,29,58,.18) 100%),
    url("/assets/redesign/img/hero-sunset-wing-1800.jpg") 70% 40% / cover no-repeat,
    var(--rd-night);
}
@media (max-width: 760px) {
  html[data-redesign] .page-hero::before {
    background:
      linear-gradient(180deg, rgba(11,29,58,.55) 0%, rgba(11,29,58,.78) 100%),
      url("/assets/redesign/img/hero-sunset-wing-900.jpg") 70% 30% / cover no-repeat,
      var(--rd-night);
  }
}
/* Canada page: Parliament Hill, Ottawa (Unsplash, Shubham Sharan) */
html[data-redesign] .page-hero.rd-hero-canada::before {
  background:
    linear-gradient(90deg, rgba(11,29,58,.66) 0%, rgba(11,29,58,.4) 45%, rgba(11,29,58,.1) 100%),
    url("/assets/redesign/img/hero-canada-parliament-1800.jpg") 20% 30% / cover no-repeat,
    var(--rd-night);
}
@media (max-width: 760px) {
  html[data-redesign] .page-hero.rd-hero-canada::before {
    background:
      linear-gradient(180deg, rgba(11,29,58,.45) 0%, rgba(11,29,58,.75) 100%),
      url("/assets/redesign/img/hero-canada-parliament-900.jpg") 25% 30% / cover no-repeat,
      var(--rd-night);
  }
}
/* Translation page: documents photo (Unsplash) + brand accents instead of red */
html[data-redesign] .page-hero.rd-hero-docs::before {
  background:
    linear-gradient(90deg, rgba(11,29,58,.74) 0%, rgba(11,29,58,.52) 45%, rgba(11,29,58,.2) 100%),
    url("/assets/redesign/img/hero-docs-signing-1800.jpg") 50% 40% / cover no-repeat,
    var(--rd-night);
}
@media (max-width: 760px) {
  html[data-redesign] .page-hero.rd-hero-docs::before {
    background:
      linear-gradient(180deg, rgba(11,29,58,.55) 0%, rgba(11,29,58,.78) 100%),
      url("/assets/redesign/img/hero-docs-signing-900.jpg") 50% 40% / cover no-repeat,
      var(--rd-night);
  }
}
/* Vacation packages: tropical beach (Unsplash) */
html[data-redesign] .page-hero.rd-hero-holiday::before {
  background:
    linear-gradient(90deg, rgba(11,29,58,.72) 0%, rgba(11,29,58,.48) 45%, rgba(11,29,58,.12) 100%),
    url("/assets/redesign/img/hero-holiday-beach-1800.jpg") 50% 55% / cover no-repeat,
    var(--rd-night);
}
@media (max-width: 760px) {
  html[data-redesign] .page-hero.rd-hero-holiday::before {
    background:
      linear-gradient(180deg, rgba(11,29,58,.55) 0%, rgba(11,29,58,.78) 100%),
      url("/assets/redesign/img/hero-holiday-beach-900.jpg") 60% 50% / cover no-repeat,
      var(--rd-night);
  }
}
/* Contact: full-width team meeting photo (Unsplash, #WOCinTech Chat) with a
   big centred headline and a chat icon, as requested. Neutral shade, no navy. */
html[data-redesign] .page-hero.rd-hero-contact {
  min-height: 620px;
  display: flex; align-items: center;
  text-align: center;
}
html[data-redesign] .page-hero.rd-hero-contact::before {
  background:
    linear-gradient(180deg, rgba(12,16,24,.32) 0%, rgba(12,16,24,.5) 55%, rgba(12,16,24,.62) 100%),
    url("/assets/redesign/img/hero-contact-team-1800.jpg") 50% 40% / cover no-repeat,
    #2b3340;
}
html[data-redesign] .page-hero.rd-hero-contact::after { display: none; }
html[data-redesign] .page-hero.rd-hero-contact > .wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
html[data-redesign] .page-hero.rd-hero-contact > .wrap::after {
  /* chat icon in a soft glass circle (shown first via order) */
  content: ""; order: -1; width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: rgba(255,255,255,.18) url("/assets/redesign/img/icon-consult.svg") center / 58% no-repeat;
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
html[data-redesign] .page-hero.rd-hero-contact .crumbs { justify-content: center; }
html[data-redesign] .page-hero.rd-hero-contact .crumbs,
html[data-redesign] .page-hero.rd-hero-contact .crumbs a,
html[data-redesign] .page-hero.rd-hero-contact .crumbs li { color: rgba(255,255,255,.9); }
html[data-redesign] .page-hero.rd-hero-contact h1 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  font-size: clamp(2.4rem, 1rem + 5.6vw, 5.6rem);
  max-width: 14ch; margin-left: auto; margin-right: auto;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
html[data-redesign] .page-hero.rd-hero-contact p {
  max-width: 46ch; margin-left: auto; margin-right: auto;
  font-size: 1.15rem; color: rgba(255,255,255,.92);
}
html[data-redesign] .page-hero.rd-hero-contact .hero-actions { justify-content: center; }
html[data-redesign] .page-hero.rd-hero-contact .btn-on-dark { border-color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  html[data-redesign] .page-hero.rd-hero-contact { min-height: 520px; }
  html[data-redesign] .page-hero.rd-hero-contact::before {
    background:
      linear-gradient(180deg, rgba(12,16,24,.35) 0%, rgba(12,16,24,.6) 100%),
      url("/assets/redesign/img/hero-contact-team-900.jpg") 50% 40% / cover no-repeat,
      #2b3340;
  }
  html[data-redesign] .page-hero.rd-hero-contact > .wrap::after { width: 80px; height: 80px; }
}
/* Centred photo header (same style as Contact), reusable per page.
   Each page sets --rd-hero-img, --rd-hero-img-sm and --rd-hero-icon. */
html[data-redesign] .page-hero.rd-hero-center {
  min-height: 620px;
  display: flex; align-items: center;
  text-align: center;
}
html[data-redesign] .page-hero.rd-hero-center::before {
  background:
    linear-gradient(180deg, rgba(12,16,24,.32) 0%, rgba(12,16,24,.5) 55%, rgba(12,16,24,.62) 100%),
    var(--rd-hero-img) var(--rd-hero-pos, 50% 40%) / cover no-repeat,
    #2b3340;
}
html[data-redesign] .page-hero.rd-hero-center::after { display: none; }
html[data-redesign] .page-hero.rd-hero-center > .wrap,
html[data-redesign] .page-hero.rd-hero-center > .wrap.rd-has-board {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
html[data-redesign] .page-hero.rd-hero-center .rd-board { display: none; }
html[data-redesign] .page-hero.rd-hero-center > .wrap::after {
  content: ""; order: -1;
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: rgba(255,255,255,.18) var(--rd-hero-icon) center / 56% no-repeat;
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
html[data-redesign] .page-hero.rd-hero-center .crumbs { justify-content: center; }
html[data-redesign] .page-hero.rd-hero-center .crumbs,
html[data-redesign] .page-hero.rd-hero-center .crumbs a,
html[data-redesign] .page-hero.rd-hero-center .crumbs li { color: rgba(255,255,255,.9); }
html[data-redesign] .page-hero.rd-hero-center h1 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  font-size: clamp(2.2rem, 1rem + 4.2vw, 4.6rem);
  max-width: 18ch; margin-left: auto; margin-right: auto;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
html[data-redesign] .page-hero.rd-hero-center p {
  max-width: 50ch; margin-left: auto; margin-right: auto;
  font-size: 1.15rem; color: rgba(255,255,255,.92);
}
html[data-redesign] .page-hero.rd-hero-center .hero-actions { justify-content: center; }
html[data-redesign] .page-hero.rd-hero-center .btn-on-dark { border-color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  html[data-redesign] .page-hero.rd-hero-center { min-height: 520px; }
  html[data-redesign] .page-hero.rd-hero-center::before {
    background:
      linear-gradient(180deg, rgba(12,16,24,.35) 0%, rgba(12,16,24,.6) 100%),
      var(--rd-hero-img-sm, var(--rd-hero-img)) var(--rd-hero-pos, 50% 40%) / cover no-repeat,
      #2b3340;
  }
  html[data-redesign] .page-hero.rd-hero-center > .wrap::after { width: 80px; height: 80px; }
}
/* Study Abroad: graduates throwing caps (Unsplash) */
html[data-redesign] .page-hero.rd-hero-study {
  --rd-hero-img: url("/assets/redesign/img/hero-study-grads-1800.jpg");
  --rd-hero-img-sm: url("/assets/redesign/img/hero-study-grads-900.jpg");
  --rd-hero-icon: url("/assets/redesign/img/icon-study.svg");
  --rd-hero-pos: 50% 82%;
}
/* E-Visas: passport at the airport (Unsplash) */
html[data-redesign] .page-hero.rd-hero-evisa {
  --rd-hero-img: url("/assets/redesign/img/hero-evisa-passport-1800.jpg");
  --rd-hero-img-sm: url("/assets/redesign/img/hero-evisa-passport-900.jpg");
  --rd-hero-icon: url("/assets/redesign/img/icon-passport.svg");
  --rd-hero-pos: 50% 45%;
}
/* Translation: consultant with a document folder (Unsplash, #WOCinTech Chat), centred header */
html[data-redesign] .page-hero.rd-hero-translation {
  --rd-hero-img: url("/assets/redesign/img/hero-translation-consultant-1800.jpg");
  --rd-hero-img-sm: url("/assets/redesign/img/hero-translation-consultant-900.jpg");
  --rd-hero-icon: url("/assets/redesign/img/icon-translate.svg");
  --rd-hero-pos: 30% 25%;
}
html[data-redesign] .page-hero.rd-hero-center .tr-hero { display: flex; flex-direction: column; align-items: center; }
html[data-redesign] .page-hero.rd-hero-center .tr-hero > :not(:first-child) { display: none; }
html[data-redesign] .page-hero.rd-hero-center .tr-hero > :first-child { display: flex; flex-direction: column; align-items: center; }
html[data-redesign] .page-hero.rd-hero-center .hero-eyebrow { color: var(--rd-gold); text-shadow: 0 2px 10px rgba(0,0,0,.4); }
html[data-redesign] .cur-switch button[aria-pressed="true"] { background: var(--rd-night); color: #fff; }
html[data-redesign] .vp-steps b { background: var(--rd-gold); color: var(--rd-gold-ink); }
html[data-redesign] .tr-steps .num { background: var(--rd-gold); color: var(--rd-gold-ink); }
html[data-redesign] .card.best { border-color: var(--rd-gold); }
html[data-redesign] .card.best::before { background: var(--rd-night); color: #fff; }
/* Lighter photo shade (27 Nov): keep text readable with a soft shadow */
html[data-redesign] section.hero h1, html[data-redesign] section.hero p,
html[data-redesign] .page-hero h1, html[data-redesign] .page-hero p,
html[data-redesign] .page-hero .crumbs, html[data-redesign] .page-hero .hero-eyebrow { text-shadow: 0 2px 14px rgba(7,20,43,.6); }
html[data-redesign] .rd-board { background: rgba(7,20,43,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-redesign] .page-hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(255,200,87,.55) 0 42px, transparent 42px 84px);
  opacity: .35;
}
html[data-redesign] .page-hero h1 {
  font-family: var(--rd-display);
  font-weight: 750;
  font-size: clamp(2.3rem, 1.3rem + 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 16ch;
}
html[data-redesign] .page-hero h1 em { font-style: normal; font-weight: inherit; color: inherit; font-family: inherit; }
html[data-redesign] .page-hero p { color: #C9D5EA; max-width: 52ch; font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); }
html[data-redesign] .page-hero .crumbs,
html[data-redesign] .page-hero .crumbs a { color: #8FA3C4; }
html[data-redesign] .page-hero .rd-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html[data-redesign] .page-hero .rd-word > span { display: inline-block; }
html[data-redesign] .btn-on-dark:not(.btn-accent) { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
html[data-redesign] .btn-on-dark:not(.btn-accent):hover { background: rgba(255,255,255,.08); }

/* Icon cards in plain sections become a quiet ruled list */
html[data-redesign] section:not(.tint):not(.tint-blue) .grid.g-3 > .card:has(> .card-icon) {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  border-top: 1px solid var(--rd-line);
  padding: 1.4rem 0 1.2rem;
}
html[data-redesign] .card-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.1rem; }

/* Country cards: postcard-style photo with the name set in the display face */
html[data-redesign] .country-card {
  border-radius: var(--rd-radius-lg);
  border: 1px solid var(--rd-line);
  box-shadow: none;
  overflow: hidden;
  transition: transform .35s var(--rd-ease), border-color .2s;
}
html[data-redesign] .country-card:hover { transform: translateY(-4px); border-color: var(--rd-blue); }
html[data-redesign] .country-card-img { background: var(--rd-blue-deep); }
html[data-redesign] .country-name {
  font-family: var(--rd-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}
html[data-redesign] .country-card-body { color: var(--rd-muted); }
html[data-redesign] .country-card-ask { border: 1.5px dashed color-mix(in srgb, var(--rd-blue) 40%, transparent); background: transparent; }

/* Steps anywhere on the site share the homepage look (pinning stays homepage-only) */
html[data-redesign] .process .step {
  padding: 1.6rem 1.6rem 1.8rem;
  background: var(--rd-paper);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius-lg);
  box-shadow: none;
}
html[data-redesign] .process .num {
  font-family: var(--rd-mono); font-weight: 700;
  color: var(--rd-gold-ink); background: var(--rd-gold);
  border-radius: 999px; width: auto; height: auto;
  padding: .2rem .7rem; display: inline-block; position: static;
  margin-bottom: 1rem; box-shadow: none;
}

/* Checklists and FAQs */
html[data-redesign] .checklist li::marker { color: var(--rd-gold); }
html[data-redesign] .faq details { border-top: 1px solid var(--rd-line); border-radius: 0; background: transparent; }
html[data-redesign] .faq summary { font-family: var(--rd-display); font-weight: 650; }

/* Closing call to action */
html[data-redesign] .cta-band h2 { color: #fff; }
html[data-redesign] .cta-band p { color: #C9D5EA; }

/* Compact board in inner page headers */
html[data-redesign] .rd-board-compact .rd-row { grid-template-columns: minmax(0,1fr) 1.4rem; }
html[data-redesign] .rd-board-compact { max-width: 440px; }
@media (min-width: 1024px) {
  html[data-redesign] .page-hero > .wrap.rd-has-board {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
  }
  html[data-redesign] .page-hero > .wrap.rd-has-board > * { grid-column: 1; }
  html[data-redesign] .page-hero > .wrap.rd-has-board > .rd-board { grid-column: 2; grid-row: 1 / span 6; }
}
@media (max-width: 1023px) {
  html[data-redesign] .page-hero .rd-board-compact { margin-top: 2rem; justify-self: start; }
}

@media (max-width: 760px) {
  html[data-redesign] section.hero {
    background:
      linear-gradient(180deg, rgba(11,29,58,.55) 0%, rgba(11,29,58,.8) 60%),
      url("/assets/redesign/img/hero-night-wing-900.jpg") 60% 0 / cover no-repeat,
      var(--rd-night);
  }
}
/* the old hero's dotted texture would fight the photo */
html[data-redesign] section.hero::after,
html[data-redesign] .page-hero .wrap::before { background-image: none !important; }

/* Canada page: tracks, CRS band, embedded screening form */
html[data-redesign] .rd-tracks {
  display: grid; gap: 0 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin-top: 2rem;
}
html[data-redesign] .rd-track { border-top: 1px solid var(--rd-line); padding: 1.4rem 0 1.3rem; }
html[data-redesign] .rd-track-code {
  font-family: var(--rd-mono); font-weight: 700; font-size: .8rem;
  background: var(--rd-gold); color: var(--rd-gold-ink);
  border-radius: 6px 6px 6px 16px; padding: .25rem .65rem; display: inline-block; margin-bottom: .7rem;
}
html[data-redesign] .rd-track h3 { font-size: 1.25rem; margin: 0 0 .35rem; }
html[data-redesign] .rd-track p { color: var(--rd-muted); margin: 0; max-width: 42ch; }
html[data-redesign] .rd-crs { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
html[data-redesign] .rd-crs h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin: 0 0 .4rem; }
html[data-redesign] .rd-crs p { margin: 0; max-width: 52ch; }
html[data-redesign] .rd-form-frame {
  border: 1px solid var(--rd-line); border-radius: var(--rd-radius-lg); overflow: hidden;
  background: #fff; margin-top: 1.5rem;
}
html[data-redesign] .rd-form-frame iframe { display: block; width: 100%; height: 1500px; border: 0; }
html[data-redesign] .rd-disclaimer { color: var(--rd-muted); max-width: 70ch; }
