/*
Theme Name: Renew Bali
Theme URI: https://renewbali.nz
Author: Renew Bali
Description: Renew Bali — guided cosmetic rejuvenation journeys to Bali for New Zealand women.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: renewbali
*/

/* ─── Fonts ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Etheline Sans';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('./inc/fonts/EthelineSans-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Zalando Sans';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('./inc/fonts/ZalandoSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Zalando Sans';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('./inc/fonts/ZalandoSans-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Zalando Sans Expanded';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('./inc/fonts/ZalandoSans_Expanded-Regular.ttf') format('truetype');
}

/* Type system rule: Etheline Sans is reserved for main headers (h1/h2) and
   always renders in caps. h3-h6 use Zalando Sans to keep hierarchy —
   Etheline is a display face and competes with h1/h2 if used lower down. */
h1, h2, .has-etheline-sans-font-family {
  text-transform: uppercase !important;
}

h2 {font-size:clamp(26px,3.3vw,44px);font-weight:400;letter-spacing:0.03em;line-height:1.18}

p.wp-block-paragraph {padding-bottom:20px}
/* ─── Spacing tokens ─────────────────────────────────────────────────────── */

:root {
  /* Single source of truth for horizontal section gutter */
  --rb-pad-x: clamp(22px, 5.5vw, 72px);
}

/* ─── Base ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: #DED6C9;
  color: #36473C;
  font-family: 'Zalando Sans Expanded', system-ui, sans-serif;
}

::selection {
  background: #A97C83;
  color: #DED6C9;
}

img, svg { display: block; max-width: 100%; }

/* ─── WordPress block resets ─────────────────────────────────────────────── */

.wp-block-columns.wide-gap {gap: 3.4rem}
.wp-site-blocks {
  padding: 0 !important;
}


.wp-block-column.has-background {padding: 27px} 
.wp-block-post-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wp-block-post-content > * { margin-block: 0 !important; }

.wp-site-blocks > footer,
.wp-site-blocks > header {
  margin-block: 0 !important;
}

.wp-block-html + .wp-block-html { margin-top: 0 !important; }

/* ─── Keyframe animations ─────────────────────────────────────────────────── */

@keyframes rbFadeUp {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rbHeroDrift {
  0%   { transform: scale(1.04) translate(  0%,    0%  ); }
  25%  { transform: scale(1.06) translate( -0.7%,  0.4%); }
  50%  { transform: scale(1.05) translate( -0.3%,  0.9%); }
  75%  { transform: scale(1.07) translate(  0.5%,  0.5%); }
  100% { transform: scale(1.04) translate(  0%,    0%  ); }
}


@keyframes rbWaterCaustics {
  0%   { background-position: 28% 36%, 74% 64%, 56% 20%; opacity: .55; }
  33%  { background-position: 35% 28%, 62% 72%, 44% 32%; opacity: .80; }
  66%  { background-position: 22% 52%, 80% 48%, 60% 14%; opacity: .50; }
  100% { background-position: 28% 36%, 74% 64%, 56% 20%; opacity: .55; }
}

@keyframes rbCue {
  0%, 100% { transform: translateY(0);   opacity: .85; }
  50%       { transform: translateY(9px); opacity: .35; }
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */

/* .js added by wp_head (frontend only) — keeps content visible in the editor */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0, 0, 1),
              transform 0.75s cubic-bezier(0.2, 0, 0, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger grid — applied to wp:columns wrappers; children reveal in sequence */
.js .rb-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.2, 0, 0, 1),
              transform 0.65s cubic-bezier(0.2, 0, 0, 1);
}
.js .rb-stagger.is-visible > * { opacity: 1; transform: none; }
.js .rb-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.js .rb-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.js .rb-stagger.is-visible > *:nth-child(3) { transition-delay: 0.22s; }
.js .rb-stagger.is-visible > *:nth-child(4) { transition-delay: 0.31s; }
.js .rb-stagger.is-visible > *:nth-child(5) { transition-delay: 0.38s; }
.js .rb-stagger.is-visible > *:nth-child(6) { transition-delay: 0.44s; }

/* ─── Header ─────────────────────────────────────────────────────────────── */

.admin-bar .rb-header { top: 32px; }

/* Mobile: the WP admin bar isn't position:fixed and breaks the fixed header,
   so hide it entirely — editors get the "Edit this page" button instead. */
@media (max-width: 782px) {
  #wpadminbar { display: none !important; }
  html { margin-top: 0 !important; }
  .admin-bar .rb-header { top: 0; }
}

/* "Edit this page" — fixed bottom-right, mobile only, logged-in editors */
.rb-edit-fab { display: none; }

@media (max-width: 782px) {
  .rb-edit-fab {
    display: inline-flex;
    align-items: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 300;
    background: #36473C;
    color: #DED6C9;
    text-decoration: none;
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,.5);
  }
}

.rb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 2.2vw, 48px);
  background: transparent;
  transition: background .5s ease, padding .5s ease, box-shadow .5s ease;
}

.rb-header.is-scrolled {
  background: #DED6C9;
  box-shadow: 0 1px 0 rgba(54,71,60,.10), 0 12px 38px -30px rgba(54,71,60,.4);
  padding-top: 15px;
  padding-bottom: 15px;
}

.rb-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #DED6C9;
  transition: color .5s ease;
}

.rb-header.is-scrolled .rb-header__logo { color: #36473C; }

/* Home page: the hero already shows the full logo, so keep the header
   logo hidden until the header switches to its scrolled state. */
.home .rb-header:not(.is-scrolled) .rb-header__logo {
  opacity: 0;
  pointer-events: none;
}
.home .rb-header__logo {
  transition: color .5s ease, opacity .4s ease;
}

.rb-header__wordmark {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: .01em;
  line-height: 1;
}

.rb-header__sub {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 10px;
  letter-spacing: .36em;
  margin-left: 3px;
  margin-top: 5px;
  opacity: .75;
}

.rb-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.6vw, 28px);
}

.rb-header__navlink {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .13em;
  text-decoration: none;
  color: #DED6C9;
  transition: color .5s ease, opacity .3s ease;
}

/* Nav link — circle dot that scales + fades in on hover */
.rb-header__navlink {
  position: relative;
}

.rb-header__navlink::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(222, 214, 201, 0.14);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: opacity 0.35s ease,
              transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: -1;
}

.rb-header__navlink:hover { opacity: 1; }

.rb-header__navlink:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Scrolled header — forest-tinted circle */
.rb-header.is-scrolled .rb-header__navlink::before {
  background: rgba(54, 71, 60, 0.08);
}

.rb-header.is-scrolled .rb-header__navlink { color: #36473C; }

/* ─── Procedures dropdown ─────────────────────────────────────────────────── */

.rb-header__dd { position: relative; }

.rb-header__navlink--dd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rb-header__chev { transition: transform .3s ease; opacity: .85; }

.rb-header__dd:hover .rb-header__chev,
.rb-header__dd:focus-within .rb-header__chev { transform: rotate(180deg); }

.rb-header__dd-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 212px;
  background: #DED6C9;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 54px -22px rgba(54,71,60,.55), 0 1px 0 rgba(54,71,60,.06);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.16,1,.3,1), visibility .25s;
  z-index: 130;
}

/* invisible bridge so hover survives the gap to the menu */
.rb-header__dd-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.rb-header__dd:hover .rb-header__dd-menu,
.rb-header__dd:focus-within .rb-header__dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.rb-header__dd-menu a {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  color: #36473C;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.rb-header__dd-menu a:hover { background: #36473C; color: #DED6C9; }

.rb-header__cta {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .15em;
  text-decoration: none;
  color: #DED6C9;
  border: 1px solid rgba(222,214,201,.55);
  border-radius: 100px;
  padding: 10px 19px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1),
              background 0.45s ease,
              border-color 0.45s ease,
              color 0.45s ease;
}

.rb-header.is-scrolled .rb-header__cta {
  background: #36473C;
  color: #DED6C9;
  border-color: #36473C;
}

.rb-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(54,71,60,.45);
}

/* ─── Pill buttons ───────────────────────────────────────────────────────── */

.rb-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-decoration: none;
  border-radius: 100px;
  padding: 16px 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}

.rb-pill-btn--linen {
  color: #36473C;
  background: #DED6C9;
  box-shadow: 0 18px 50px -22px rgba(0,0,0,.55);
}

.rb-pill-btn--linen:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -20px rgba(0,0,0,.58);
}

.rb-pill-btn--forest {
  color: #DED6C9;
  background: #36473C;
  box-shadow: 0 16px 40px -24px rgba(54,71,60,.8);
}

.rb-pill-btn--forest:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 54px -22px rgba(54,71,60,.88);
}

/* ─── Unified shimmer sweep — applies to all button types ────────────────── */

.rb-pill-btn::after,
.rb-pkg-btn::after,
.rb-header__cta::after,
.wp-block-button__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.rb-pill-btn:hover::after,
.rb-pkg-btn:hover::after,
.rb-header__cta:hover::after,
.wp-block-button__link:hover::after {
  transform: translateX(120%);
}

/* ─── Card / column hover effects ─────────────────────────────────────────── */

.rb-card-lift {
  transition: transform .5s ease, box-shadow .5s ease;
}

.rb-card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -40px rgba(54,71,60,.6);
}

.rb-proc-card {
  transition: transform .5s ease, box-shadow .5s ease;
}

.rb-proc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px -44px rgba(54,71,60,.65);
}

.rb-col-lift {
  transition: transform .5s ease;
}

.rb-col-lift:hover { transform: translateY(-8px); }

.rb-pkg-btn {
  display: block;
  text-align: center;
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-decoration: none;
  border-radius: 100px;
  padding: 15px 26px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}

.rb-pkg-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -18px rgba(54,71,60,.5);
}

/* WP block buttons */
.wp-block-button__link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1),
              background-color 0.3s ease,
              color 0.3s ease !important;
}

.wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -18px rgba(54,71,60,.5);
}

/* ─── Image slot placeholders ────────────────────────────────────────────── */
.wp-block-group:has(> .rb-intro__flower-pos) {
  position: relative;
}

.rb-img-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-img-slot__label {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.35);
  text-align: center;
  user-select: none;
  pointer-events: none;
  padding: 8px;
}

/* ─── Social icon buttons ─────────────────────────────────────────────────── */

.rb-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(222,214,201,.28);
  border-radius: 50%;
  color: #DED6C9;
  transition: all .35s ease;
  text-decoration: none;
}

.rb-social-link:hover {
  background: #DED6C9;
  color: #36473C;
  transform: translateY(-3px);
}

/* ─── Footer nav links ────────────────────────────────────────────────────── */

.rb-footer-link {
  font-size: 14px;
  text-decoration: none;
  color: rgba(222,214,201,.7);
  transition: color .3s ease;
}

.rb-footer-link:hover { color: #DED6C9; }

/* ─── Footer block styles ─────────────────────────────────────────────────── */

.rb-footer {
  color: rgba(222,214,201,.72);
}

.rb-footer__tagline {
  font-family: var(--wp--preset--font-family--etheline-sans) !important;
  text-transform: uppercase !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #DED6C9 !important;
}

.rb-footer__cta-band {
  border-bottom: 1px solid rgba(222,214,201,.16);
}

.rb-footer__brand {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  color: #DED6C9;
}

.rb-footer__wordmark {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 26px;
  line-height: .9;
}

.rb-footer__sub {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 11px;
  letter-spacing: .36em;
  margin-bottom: 4px;
  opacity: .8;
}

.rb-social-links {
  display: flex;
  gap: 12px;
}

.rb-footer-label {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: .2em !important;
  color: #DED6C9 !important;
  text-transform: uppercase;
  margin: 0 !important;
}

.rb-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rb-footer-links li {
  margin: 0 !important;
  padding: 0;
}

.rb-footer__location-label {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  color: rgba(222,214,201,.45) !important;
  text-transform: uppercase;
  margin: 0 !important;
}

.rb-footer__bar {
  border-top: 1px solid rgba(222,214,201,.16);
}

.rb-footer__copy {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 10.5px !important;
  letter-spacing: .14em !important;
  color: rgba(222,214,201,.5) !important;
  text-transform: uppercase;
  margin: 0 !important;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .rb-header__nav { display: none; }
}

@media (max-width: 768px) {
  .rb-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .rb-grid-3 { grid-template-columns: 1fr !important; }
  .rb-grid-2 { grid-template-columns: 1fr !important; }
  .rb-accred-card {margin-bottom: 5px !important; }

  /* ─── Mobile horizontal gutter ─────────────────────────── */
  /* Stacked section columns get consistent gutter */
  .wp-block-group.alignfull > .wp-block-columns > .wp-block-column {
    padding-left: var(--rb-pad-x) !important;
    padding-right: var(--rb-pad-x) !important;
  }
  /* Full-bleed cover/band image columns stay flush to edges */
  .wp-block-group.alignfull .wp-block-column:has(.rb-img-ph--cover),
  .wp-block-group.alignfull .wp-block-column:has(.rb-img-ph--band) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Package/option cards carry their own inner padding — stacking the
     section gutter on top doubles the inset, so card columns go full-bleed
     and the card padding is the only inset. */
  .wp-block-group.alignfull > .wp-block-columns > .wp-block-column:has(.rb-pkg-card),
  .wp-block-group.alignfull > .wp-block-columns > .wp-block-column:has(.rb-pkg-card-block) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Same when the columns sit inside an inner constrained group (packages
     section): pull the columns out of the group's gutter padding. */
  .wp-block-group.alignfull > .wp-block-group.is-layout-constrained > .wp-block-columns:has(.rb-pkg-card),
  .wp-block-group.alignfull > .wp-block-group.is-layout-constrained > .wp-block-columns:has(.rb-pkg-card-block) {
    margin-left: calc(-1 * var(--rb-pad-x)) !important;
    margin-right: calc(-1 * var(--rb-pad-x)) !important;
  }
  /* Section-level text/heading blocks also get consistent gutter */
  .wp-block-group.alignfull > .wp-block-heading,
  .wp-block-group.alignfull > .wp-block-paragraph,
  .wp-block-group.alignfull > .wp-block-html,
  .wp-block-group.alignfull > .wp-block-buttons {
    padding-left: var(--rb-pad-x);
    padding-right: var(--rb-pad-x);
  }

  /* Sections that wrap content in an inner constrained group (safety, packages) */
  .wp-block-group.alignfull > .wp-block-group.is-layout-constrained {
    padding-left: var(--rb-pad-x);
    padding-right: var(--rb-pad-x);
  }

  /* Top-level blocks WITHOUT alignfull fall through all the rules above
     (they key off .alignfull) and end up flush to the screen edge —
     give groups and columns at the content root the same gutter. */
  .wp-block-post-content > .wp-block-group:not(.alignfull),
  .wp-block-post-content > .wp-block-columns:not(.alignfull) {
    padding-left: var(--rb-pad-x);
    padding-right: var(--rb-pad-x);
  }

  /* Footer horizontal padding */
  .rb-footer {
    padding-left: var(--rb-pad-x) !important;
    padding-right: var(--rb-pad-x) !important;
  }

  /* Footer stamp logo — smaller on mobile */
  .rb-footer__cols .wp-block-image img {
    width: 80px !important;
  }
}

/* ─── Hero section ───────────────────────────────────────────────────────── */

.rb-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111a14;
  padding: clamp(120px,12vw,180px) clamp(24px,6vw,60px) clamp(80px,8vw,120px);
  text-align: center;
}

.rb-hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 80% 65% at 55% 42%, #2d3d31 0%, #1a2620 52%, #0f1a12 100%);
  animation: rbHeroDrift 24s ease-in-out infinite;
  will-change: transform;
  z-index: 0;
}

.rb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 48%, rgba(255,255,255,.13) 0%, transparent 66%),
    radial-gradient(ellipse 48% 68%, rgba(255,255,255,.10) 0%, transparent 66%),
    radial-gradient(ellipse 58% 38%, rgba(255,255,255,.08) 0%, transparent 60%);
  background-position: 28% 36%, 74% 64%, 56% 20%;
  animation: rbWaterCaustics 18s ease-in-out infinite;
}


/* ─── Cover block hero — water drift on the actual image element ─────────── */

.wp-block-cover {
  overflow: hidden;
}



.rb-hero > * {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
}

/* ─── Uploaded logos ─────────────────────────────────────────────────────── */

.rb-logo-img {
  display: none;
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Badge: the wide wordmark logo — sits on the flex baseline of the header
   so it vertically centers against the nav links. */
.rb-logo-img--badge {
  height: 54px;
  max-width: 160px;
}

.rb-logo-img--scroll { height: 32px; }

@media (max-width: 900px) {
  .rb-logo-img--badge { height: 44px; max-width: 130px; }
}

.rb-header__logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── Mobile hamburger ───────────────────────────────────────────────────── */

.rb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  color: inherit;
  z-index: 130;
  position: relative;
}

.rb-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .38s cubic-bezier(.77,0,.175,1),
              opacity .3s ease;
  transform-origin: center;
}

.rb-header .rb-burger { color: #DED6C9; }
.rb-header.is-scrolled .rb-burger { color: #36473C; }

@media (max-width: 900px) {
  .rb-burger { display: flex; }
}

/* ─── Mobile nav slideout ────────────────────────────────────────────────── */

.rb-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: #36473C;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(28px,6vw,52px) 40px;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.77,0,.175,1);
  overflow-y: auto;
}

.rb-mobile-nav.is-open {
  transform: translateX(0);
}

.rb-mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17,26,20,.55);
  z-index: 195;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.rb-mobile-nav__backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.rb-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.rb-mobile-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #DED6C9;
}

/* The badge wordmark is linen-coloured, so it sits on the forest
   slideout background as-is — no invert needed. */
.rb-mobile-nav__logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.rb-mobile-nav__logo-word {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1;
}

.rb-mobile-nav__logo-sub {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 9px;
  letter-spacing: .36em;
  margin-top: 4px;
  opacity: .7;
}

.rb-mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(222,214,201,.1);
  border: 1px solid rgba(222,214,201,.2);
  border-radius: 50%;
  color: #DED6C9;
  cursor: pointer;
  transform: rotate(-45deg) scale(.8);
  opacity: 0;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1) .1s,
              opacity .35s ease .1s,
              background .2s ease;
}

.rb-mobile-nav.is-open .rb-mobile-nav__close {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.rb-mobile-nav__close:hover {
  background: rgba(222,214,201,.18);
}

.rb-mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.rb-mobile-nav__link {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: clamp(18px,4.4vw,22px);
  font-weight: 300;
  letter-spacing: .03em;
  text-decoration: none;
  color: rgba(222,214,201,.85);
  padding: 9px 0;
  border-bottom: 1px solid rgba(222,214,201,.1);
  transform: translateX(24px);
  opacity: 0;
  transition: color .3s ease, transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s ease;
}

.rb-mobile-nav__link:last-child { border-bottom: none; }
.rb-mobile-nav__link:hover { color: #DED6C9; }

/* Procedures sub-group inside mobile menu */
.rb-mobile-nav__group {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(222,214,201,.42);
  margin: 16px 0 2px;
  padding: 0;
}

.rb-mobile-nav__link--sub {
  font-size: clamp(15px,4vw,18px);
  padding-left: 16px;
  color: rgba(222,214,201,.72);
  border-bottom: 1px solid rgba(222,214,201,.07);
}

/* ── Two-level slide navigation ── */
/* display:contents lets the toggle sit in the links flex flow while the
   panel positions against the fixed drawer itself. */
.rb-mobile-nav__sub { display: contents; }

.rb-mobile-nav__sub-toggle {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(222,214,201,.1);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.rb-mobile-nav__sub-panel {
  position: absolute;
  inset: 0;
  background: #36473C;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px clamp(28px,6vw,52px) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.77,0,.175,1), visibility 0s linear .45s;
}

.rb-mobile-nav__sub-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .45s cubic-bezier(.77,0,.175,1);
}

/* Inside a dedicated panel the sub-links read as a top-level list */
.rb-mobile-nav__sub-panel .rb-mobile-nav__link--sub {
  font-size: clamp(18px,4.4vw,22px);
  padding-left: 0;
  color: rgba(222,214,201,.85);
  border-bottom: 1px solid rgba(222,214,201,.1);
}

.rb-mobile-nav__sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(222,214,201,.15);
}

.rb-mobile-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(222,214,201,.8);
  padding: 8px 0;
}

.rb-mobile-nav__back:hover { color: #DED6C9; }

.rb-mobile-nav__sub-label {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(222,214,201,.42);
}

/* CTA menu item ("button" class in the admin menu) — pill button */
.rb-mobile-nav__link--btn {
  margin-top: 18px;
  align-self: flex-start;
  background: #DED6C9;
  color: #36473C;
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

.rb-mobile-nav__link--btn:hover {
  background: #ffffff;
  color: #36473C;
}

.rb-mobile-nav.is-open .rb-mobile-nav__link { transform: translateX(0); opacity: 1; }
.rb-mobile-nav.is-open .rb-mobile-nav__link:nth-child(1) { transition-delay: .12s; }
.rb-mobile-nav.is-open .rb-mobile-nav__link:nth-child(2) { transition-delay: .18s; }
.rb-mobile-nav.is-open .rb-mobile-nav__link:nth-child(3) { transition-delay: .24s; }
.rb-mobile-nav.is-open .rb-mobile-nav__link:nth-child(4) { transition-delay: .30s; }
.rb-mobile-nav.is-open .rb-mobile-nav__link:nth-child(5) { transition-delay: .36s; }
.rb-mobile-nav.is-open .rb-mobile-nav__link:nth-child(6) { transition-delay: .42s; }

.rb-mobile-nav__cta {
  margin-top: 36px;
}

.rb-mobile-nav__cta-btn {
  display: block;
  text-align: center;
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-decoration: none;
  color: #36473C;
  background: #DED6C9;
  border-radius: 100px;
  padding: 16px 28px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.rb-mobile-nav__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.5);
}

/* ─── Block-based feature columns ────────────────────────────────────────── */

.rb-diff-icon {
  font-size: 22px;
  color: #CCAEA8;
  line-height: 1;
}
.rb-diff-col__inner img {margin-bottom: 10px}

/* ─── Team member circles ────────────────────────────────────────────────── */

.rb-team-circle img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.rb-team-circle.founder img {
  width: 80px;
  height: 80px;
}

.rb-team-circle figure { margin: 0; }


.wp-block-quote {max-width: 600px}

/* Blockquotes inside a cover block are always centered, regardless of the
   text-align set on the block in the editor. */
.wp-block-cover .wp-block-quote {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.wp-block-cover .wp-block-quote p {
  text-align: center !important;
}
/* ─── Callout box — floating card overlapping the portrait image ─────────── */

/* Make the column a positioning context so .rb-callout can float over image */
.wp-block-column:has(.rb-callout) {
  position: relative;
  overflow: visible !important;
}

.rb-callout {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: auto;
  max-width: 80%;
  background: #36473C;
  border-radius: 8px;
  padding: 20px 26px;
  z-index: 2;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.12),
    0 10px 28px rgba(0,0,0,0.18),
    0 24px 50px rgba(0,0,0,0.14);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rb-callout:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.14),
    0 14px 36px rgba(0,0,0,0.20),
    0 30px 60px rgba(0,0,0,0.16);
}

/* 3-D card effect on the portrait image */
.rb-img-ph--portrait {
  box-shadow:
    0 2px 6px rgba(54,71,60,0.06),
    0 10px 28px rgba(54,71,60,0.10),
    0 26px 52px rgba(54,71,60,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}

.wp-block-column:has(.rb-callout):hover .rb-img-ph--portrait {
  transform: translateY(-4px) perspective(800px) rotateX(1deg) rotateY(-1.5deg);
  box-shadow:
    0 4px 10px rgba(54,71,60,0.08),
    0 18px 40px rgba(54,71,60,0.13),
    0 40px 70px rgba(54,71,60,0.10);
}

/* ─── Prominent notice ───────────────────────────────────────────────────── */

.notice-prominent {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7B5260;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 32px 0 !important;
  max-width: 100%;
}

.notice-prominent::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg fill='%237B5260' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m89.703 64.008c-6.2578-8.9062-9.4336-19.137-9.4336-30.402 0-16.691-13.578-30.273-30.27-30.273s-30.27 13.582-30.27 30.27c0 11.266-3.1719 21.496-9.4336 30.402-1.6289 2.3164-2.0312 5.0703-1.1328 7.7539 0.89453 2.6836 2.8711 4.6445 5.5625 5.5156 5.3594 1.7383 11.176 3.0547 17.27 3.9258 1.3281 8.7461 8.8945 15.469 18.004 15.469s16.676-6.7227 18.004-15.465c6.0938-0.87109 11.91-2.1875 17.27-3.9258 2.6914-0.875 4.668-2.832 5.5625-5.5156 0.89844-2.6875 0.49609-5.4414-1.1328-7.7539zm-39.703 26.336c-5.332 0-9.8555-3.5312-11.355-8.375 3.7227 0.32812 7.5195 0.49609 11.355 0.49609s7.6328-0.16797 11.355-0.49609c-1.5 4.8438-6.0234 8.375-11.355 8.375zm34.84-20.586c-0.25391 0.76563-0.75391 1.2578-1.5156 1.5039-9.8438 3.1914-21.367 4.8789-33.324 4.8789s-23.48-1.6875-33.324-4.8789c-0.76562-0.25-1.2617-0.74219-1.5156-1.5039-0.25391-0.76562-0.15234-1.457 0.30859-2.1133 7.0234-9.9922 10.582-21.445 10.582-34.039 0-13.207 10.742-23.949 23.949-23.949s23.949 10.742 23.949 23.949c0 12.594 3.5586 24.047 10.582 34.039 0.46094 0.65625 0.5625 1.3477 0.30859 2.1133z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: top center;
  animation: rb-bell-shake 4s ease-in-out infinite;
}

@keyframes rb-bell-shake {
  0%, 30%, 100% { transform: rotate(0deg); }
  5%  { transform: rotate(-14deg); }
  10% { transform: rotate(12deg); }
  15% { transform: rotate(-9deg); }
  20% { transform: rotate(7deg); }
  25% { transform: rotate(-3deg); }
}

/* Mobile: hide the inline "Enquire Now" link inside the notice — the text
   stands alone and the page's main CTA button covers the action. */
@media (max-width: 660px) {
  .notice-prominent a { display: none; }
}

/* Hero logo image — the editor sets an inline width (430px), so the
   mobile override needs !important to win. */
@media (max-width: 660px) {
  .hero-logo img { width: 250px !important; }
}

/* ─── Add-on pills ────────────────────────────────────────────────────────── */

.rb-addons-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.rb-addon-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  border: 1px solid rgba(54,71,60,0.22);
  border-radius: 100px;
  font-size: 13px;
  color: #4a534a;
  white-space: nowrap;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.rb-addon-pill:hover {
  border-color: rgba(54,71,60,0.45);
  background: rgba(54,71,60,0.04);
}

.rb-addon-pill strong {
  color: #36473C;
  font-weight: 600;
}

/* ─── Accreditation cards — equal height ──────────────────────────────────── */

/* Stretch columns so all cards share the same height */
.wp-block-columns:has(.rb-accred-card) > .wp-block-column {
  display: flex;
  flex-direction: column;
}

.rb-accred-card {
  background: #DED6C9;
  border-radius: 2px;
  padding: 34px 30px;
  flex: 1;
  transition: transform .5s ease, box-shadow .5s ease;
}

.rb-accred-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -40px rgba(54,71,60,.6);
}

/* Space between the icon SVG/img and the card title */
.rb-accred-card svg,
.rb-accred-card figure,
.rb-accred-card img:first-child {
  display: block;
  margin-bottom: 22px;
}

/* ─── Surgeon profiles — horizontal layout ────────────────────────────────── */

/* Surgeon profiles — vertical card: photo → name → description */
.wp-block-columns:has(.rb-surgeon-img) > .wp-block-column:not(:empty) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  background: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  flex-basis: 0 !important;
  max-width: none !important;
}

/* Collapse empty placeholder columns */
.wp-block-columns:has(.rb-surgeon-img) > .wp-block-column:empty {
  flex: 0 0 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* Photo — 100×100 square, sits above the text rows */
.rb-surgeon-img {
  width: 100px !important;
  height: 100px !important;
  min-height: 0 !important;
  overflow: hidden;
  border-radius: 4px;
  margin: 0 0 16px 0 !important;
  flex-shrink: 0;
}

.rb-surgeon-img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

/* Text rows sit below photo */
.wp-block-columns:has(.rb-surgeon-img) > .wp-block-column:not(:empty) > :not(.rb-surgeon-img) {
  padding: 0 !important;
}

.wp-block-columns:has(.rb-surgeon-img) > .wp-block-column .wp-block-heading {
  margin-top: 0 !important;
}

/* Mobile: full-width stacked, gap between cards */
@media (max-width: 768px) {
  .wp-block-columns:has(.rb-surgeon-img) {
    gap: 32px !important;
  }
}

/* ─── Journey step ───────────────────────────────────────────────────────── */

.rb-journey-step {
  padding-top: 28px;
}

/* ─── Procedure cards ────────────────────────────────────────────────────── */

.rb-proc-card-block {
  background: #E6E0D4;
  border-radius: 2px;
  border: 1px solid rgba(54,71,60,.1);
  overflow: hidden;
  transition: transform .5s ease, box-shadow .5s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.rb-proc-card-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px -44px rgba(54,71,60,.65);
}

.rb-proc-card-block .wp-block-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
}

.rb-proc-card-content {
  padding: 28px 28px 32px;
}

.rb-proc-card-content .wp-block-button.is-style-outline .wp-block-button__link {border: none}
.rb-proc-card-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  transform: translateY(0);
  box-shadow: none;
}

/* ─── Package pricing cards ──────────────────────────────────────────────── */

/* A linen-dark card inside a linen-dark section would be invisible (same
   colour), so nested linen-dark surfaces flip to plain linen for contrast. */
.has-linen-dark-background-color .has-linen-dark-background-color {
  background-color: var(--wp--preset--color--linen) !important;
}

/* Stretch columns so both cards share the same height */
.wp-block-columns:has(.rb-pkg-card) > .wp-block-column,
.wp-block-columns:has(.rb-pkg-card-block) > .wp-block-column {
  display: flex;
  flex-direction: column;
}
.wp-block-column.has-background {  border-radius: 4px;}

/* .rb-pkg-card-block — standalone card variant sharing .rb-pkg-card's
   layout. Framed with a hairline border only (no fill), so it reads as an
   editorial card on both linen and linen-dark sections. Used for the
   Blepharoplasty options, accreditation cards, and package option cards. */
.rb-pkg-card-block {
  border: 1px solid rgba(54,71,60,.3);
  border-radius: 4px;
}

.rb-pkg-card,
.rb-pkg-card-block {
  padding: clamp(44px,4.5vw,64px) clamp(32px,3.2vw,48px) clamp(44px,4.5vw,60px);
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1;
  text-align: center;
}

/* Neutralise WP constrained-layout margins inside cards */
.rb-pkg-card.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.rb-pkg-card-block.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.rb-pkg-card__note.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Feature lists inside these cards — same dash idiom as .rb-pkg-card__list,
   with !important where inline block styles (padding-left/margin) need
   overriding. Left-aligned for readability inside the centered card. */
.rb-pkg-card-block .wp-block-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 26px !important;
  text-align: left;
}

.rb-pkg-card-block .wp-block-list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(54,71,60,0.1);
  position: relative;
  line-height: 1.6;
}

.rb-pkg-card-block .wp-block-list li:last-child { border-bottom: none; }

.rb-pkg-card-block .wp-block-list li::before {
  content: '—';
  position: absolute;
  left: 0; top: 12px;
  color: #CCAEA8;
  font-size: 11px;
  line-height: 1;
}

/* Pin the CTA to the card's bottom edge so buttons align across the row */
.rb-pkg-card-block .wp-block-buttons {
  margin-top: auto !important;
  justify-content: center;
  padding-top: 6px;
}

/* Plant icon — CSS pseudo-element, no markup needed */
.rb-pkg-card::before,
.rb-pkg-card-block::before {
  content: '';
  width: 20px;
  height: 28px;
  margin: 0 auto 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='28' viewBox='0 0 20 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='10' y1='27' x2='10' y2='8' stroke='%23CCAEA8' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M10 8C9.5 5.5 7.5 2 3.5 1C3 5 4.5 9 10 8Z' fill='%23CCAEA8'/%3E%3Cpath d='M10 16C10.5 13.5 13 11 16.5 10C17 14 15 18 10 16Z' fill='%23CCAEA8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.rb-pkg-card__eyebrow {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CCAEA8;
  margin: 0 0 10px;
}

.rb-pkg-card__title {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #36473C;
  line-height: 1.25;
  margin: 0 0 26px;
}

/* Price + currency row (WP flex group block).
   Prices must never wrap or split across lines — WP core puts
   overflow-wrap:break-word on paragraphs, which otherwise lets a tight
   card break mid-number ("$15,90 / 0") on mobile. */
.rb-pkg-card__price-wrap.wp-block-group {
  align-items: baseline !important;
  flex-wrap: nowrap !important;
  margin-bottom: 20px;
}

/* These are <p> tags inside a block, reset WP paragraph margins */
.rb-pkg-card__price {
  font-family: var(--wp--preset--font-family--etheline-sans);
  font-size: clamp(52px, 6vw, 74px);
  font-weight: 400;
  color: #36473C;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 !important;
  white-space: nowrap;
}

.rb-pkg-card__currency {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #36473C;
  opacity: 0.55;
  margin: 0 !important;
  white-space: nowrap;
}

/* Scale the display price down on narrow screens so it fits on one line */
@media (max-width: 660px) {
  .rb-pkg-card__price { font-size: clamp(38px, 11.5vw, 52px); }
}

/* Price paragraphs in the bordered option cards carry an inline NZD <span> —
   keep the whole "$17,900 NZD" on one line there too. */
.rb-pkg-card-block .wp-block-paragraph:has(> span) {
  white-space: nowrap;
}

/* Short decorative rule (wp:separator block) */
hr.wp-block-separator.rb-pkg-card__rule {
  border: none !important;
  border-top: 1px solid rgba(204,174,168,0.55) !important;
  width: 32px !important;
  max-width: 32px !important;
  margin: 20px auto 26px !important;
}

.rb-pkg-card__desc {
  font-size: 15px;
  line-height: 1.75;
  color: #4a534a;
  max-width: 50ch;
  margin: 0;
  align-self: center;
}

/* Full-width section dividers (wp:separator block) */
hr.wp-block-separator.rb-pkg-card__divider {
  border: none !important;
  border-top: 1px solid rgba(54,71,60,0.12) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 !important;
}

.rb-pkg-card__section-label {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CCAEA8;
  text-align: left;
  margin: 0 0 14px;
}

.rb-pkg-card__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left;
}

.rb-pkg-card__list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(54,71,60,0.08);
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: #36473C;
}

.rb-pkg-card__list li:last-child { border-bottom: none; }

.rb-pkg-card__list--dash li::before {
  content: '—';
  position: absolute;
  left: 0; top: 11px;
  color: #CCAEA8;
  font-size: 11px;
  line-height: 1;
}

.rb-pkg-card__list--check li::before {
  content: '';
  position: absolute;
  left: 2px; top: 13px;
  width: 11px; height: 8px;
  border-left: 1.5px solid #CCAEA8;
  border-bottom: 1.5px solid #CCAEA8;
  transform: rotate(-45deg) scaleX(0.85);
}

/* "Please Note" callout (WP group block) */
.rb-pkg-card__note.wp-block-group {
  background: rgba(54,71,60,0.055) !important;
  border-radius: 3px;
  padding: 16px 20px !important;
  text-align: left;
  box-sizing: border-box;
  max-width: 100% !important;
}

.rb-pkg-card__note-label {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CCAEA8;
  margin: 0 0 7px;
}

.rb-pkg-card__note-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4a534a;
  font-style: italic;
  margin: 0;
}

/* Full-width CTA button (wp:button block with width:100) */
.rb-pkg-card__cta-btn .wp-block-button__link {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1);
}

.rb-pkg-card__cta-btn .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -18px rgba(54,71,60,0.65);
  color: #DED6C9;
}

.rb-pkg-card__cta-btn .wp-block-button__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 20%, rgba(255,255,255,0.1) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}

.rb-pkg-card__cta-btn .wp-block-button__link:hover::after {
  transform: translateX(120%);
}

/* ─── Image placeholder (before upload) ─────────────────────────────────── */

.rb-img-ph {
  display: block;
  background: linear-gradient(135deg, #c8c0b5 0%, #b0a99e 100%);
  border-radius: 4px;
  margin: 0;
  min-height: 420px;
}

.rb-img-ph--portrait { min-height: 520px; }
.rb-img-ph--landscape { aspect-ratio: 4/3; min-height: auto; }
.rb-img-ph--cover { min-height: clamp(420px,52vw,760px); border-radius: 0; aspect-ratio: auto; }
.rb-img-ph--band { min-height: 460px; }
.rb-img-ph--flower { min-height: 0; aspect-ratio: 3/4; border-radius: 0; }

/* Once a real image is in place, the placeholder min-heights and gradient
   must not show around it — the box takes the image's own size instead.
   The min-heights above only apply while the block is still empty. */
.rb-img-ph:has(img) {
  min-height: 0;
  background: none;
}

.rb-img-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ─── Intro — floating portrait card with 3-D tilt ───────────────────────── */

.rb-intro__flower-pos {
  position: absolute;
  left: 40%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.rb-tilt-card {
  pointer-events: auto;
  width: clamp(190px, 19vw, 262px);
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(54,71,60,.22),
    0 10px 26px rgba(54,71,60,.12);
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
}

.rb-tilt-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-tilt-card .rb-img-ph {
  width: 100%;
}

@media (max-width: 860px) {
  .rb-intro__flower-pos { display: none; }
}

/* ─── Journey Section Reveal ─────────────────────────────────────────────── */

.js .rb-journey-heading {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0, 0, 1);
}
.js .rb-journey-heading.is-visible {
  opacity: 1;
  transform: none;
}

.rb-journey-timeline__line {
  position: absolute;
  top: 5px; /* centre of 10 px dot */
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(204, 174, 168, 0.35);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.rb-journey-timeline__line.is-drawn {
  transform: scaleX(1);
}

.rb-journey-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CCAEA8;
  box-shadow: 0 0 0 5px rgba(204, 174, 168, 0.13);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity   0.3s ease;
}
.rb-journey-dot.is-visible {
  transform: scale(1);
  opacity: 1;
}

/* Mobile: journey columns stack vertically, so the horizontal timeline
   dots (and the connecting line) no longer make sense — hide them. */
@media (max-width: 768px) {
  .rb-journey-dot,
  .rb-journey-timeline__line { display: none; }
}

.rb-journey-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 52px;
  margin-top: 0;
}
.rb-journey-features > p {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
}
.rb-tick { flex-shrink: 0; }

/* Mobile: inline-flex turns the bold label and the text into side-by-side
   columns once the line is too long. Fall back to normal flowing text with
   the tick rendered inline. */
@media (max-width: 660px) {
  .rb-journey-features > p {
    display: block !important;
    text-align: center;
  }
  .rb-journey-features > p .rb-tick {
    display: inline-block;
    vertical-align: -1px;
    margin-right: 7px;
  }
  .rb-journey-features > p strong {
    margin-right: 4px;
  }
}

.js .rb-journey-step {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}
.js .rb-journey-step.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Blockquote typewriter ───────────────────────────────────────────────── */

.js .wp-block-quote p { visibility: hidden; }
.js .wp-block-quote p.rb-typing,
.js .wp-block-quote p.rb-typed { visibility: visible; }

.rb-char {
  animation: rb-char-in 0.3s ease forwards;
}

@keyframes rb-char-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rb-typing::after {
  content: '|';
  font-style: normal;
  margin-left: 1px;
  animation: rb-cursor 0.6s step-end infinite;
}

@keyframes rb-cursor {
  50% { opacity: 0; }
}

/* ─── Content-page hero ───────────────────────────────────────────────────── */

.rb-page-hero {
  position: relative;
  overflow: hidden;
}

/* subtle radial glow + hairline base so the band reads as a header */
.rb-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(222, 214, 201, 0.16);
}

.rb-page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CCAEA8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.rb-page-hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: #CCAEA8;
  opacity: 0.6;
}

/*
  Paragraphs that are direct children of full-width constrained sections
  should fill the content column, not shrink to their inline max-width and
  center. WP's constrained layout already applies margin:auto — we just
  expand the max-width to match the theme content-size so paragraphs align
  flush with headings on the left edge of the content area.
*/
.wp-block-group.alignfull.is-layout-constrained > p {
  max-width: var(--wp--style--global--content-size) !important;
}

/* ─── FAQ accordion (native details/summary) ──────────────────────────────── */

.rb-faq {
  border-top: 1px solid rgba(54, 71, 60, 0.14);
}

.rb-faq .wp-block-details {
  border-bottom: 1px solid rgba(54, 71, 60, 0.14);
  padding: 0;
}

.rb-faq .wp-block-details summary {
  list-style: none;
  cursor: pointer;
  padding: 24px clamp(8px, 2vw, 24px) 24px 0;
  position: relative;
  font-family: var(--wp--preset--font-family--etheline-sans);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 400;
  color: #36473C;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.rb-faq .wp-block-details summary::-webkit-details-marker { display: none; }

.rb-faq .wp-block-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #A97C83;
  transition: transform 0.25s ease;
  line-height: 1;
}

.rb-faq .wp-block-details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.rb-faq .wp-block-details summary:hover { color: #A97C83; }

.rb-faq .wp-block-details > *:not(summary) {
  margin: 0 0 24px 0;
  color: #4a534a;
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 70ch;
}

/* ─── Pricing add-on rows ─────────────────────────────────────────────────── */

.rb-price-rows {
  border-top: 1px solid rgba(222, 214, 201, 0.18);
}

.rb-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(222, 214, 201, 0.18);
}

.rb-price-row__name {
  font-size: 15.5px;
  color: #DED6C9;
  margin: 0;
}

.rb-price-row__amt {
  font-size: 15.5px;
  font-weight: 600;
  color: #CCAEA8;
  white-space: nowrap;
  margin: 0;
}

/* ─── Numbered process steps ──────────────────────────────────────────────── */

.rb-step-num {
  font-family: var(--wp--preset--font-family--etheline-sans);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: #CCAEA8;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

/* ─── CTA band: linen background instead of forest ────────────────────────── */
/*
  Target: the full-width forest-background group that contains a linen WP pill
  button. This uniquely identifies the cta_band() section on every content page.
  The footer CTA uses rb-pill-btn--linen (not wp-block-button__link), so the
  footer is never matched by this selector.
  CSS-only approach: no page content is modified, uploaded images stay intact.
*/
.wp-block-group.alignfull.has-forest-background-color:not(.rb-page-hero):has(.wp-block-button__link.has-linen-background-color) {
  background-color: var(--wp--preset--color--linen) !important;
}
.wp-block-group.alignfull.has-forest-background-color:not(.rb-page-hero):has(.wp-block-button__link.has-linen-background-color) > p:first-of-type {
  color: #A97C83 !important;
}
.wp-block-group.alignfull.has-forest-background-color:not(.rb-page-hero):has(.wp-block-button__link.has-linen-background-color) > h2 {
  color: #36473C !important;
}
.wp-block-group.alignfull.has-forest-background-color:not(.rb-page-hero):has(.wp-block-button__link.has-linen-background-color) > h2 + p {
  color: #4a534a !important;
}
.wp-block-group.alignfull.has-forest-background-color:not(.rb-page-hero):has(.wp-block-button__link.has-linen-background-color) .wp-block-button__link {
  background-color: var(--wp--preset--color--forest) !important;
  color: var(--wp--preset--color--linen) !important;
}

/* ─── Process timeline (scroll-driven winding spine) ──────────────────────── */

.rb-timeline {
  position: relative;
  padding: clamp(16px, 3vw, 32px) 0;
}

.rb-tl-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.rb-tl-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.rb-tl-path {
  fill: none;
  stroke: #CCAEA8;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.48;
}

.rb-tl-step {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.rb-tl-step--l .rb-tl-content  { grid-column: 1; text-align: right; padding-right: clamp(24px, 3vw, 48px); }
.rb-tl-step--l .rb-tl-spine    { grid-column: 2; justify-content: flex-start; padding-left: 14px; }
.rb-tl-step--l .rb-tl-gap      { grid-column: 3; }

.rb-tl-step--r .rb-tl-gap      { grid-column: 1; }
.rb-tl-step--r .rb-tl-spine    { grid-column: 2; justify-content: flex-end; padding-right: 14px; }
.rb-tl-step--r .rb-tl-content  { grid-column: 3; padding-left: clamp(24px, 3vw, 48px); }

.rb-tl-spine {
  display: flex;
  align-items: flex-start;
  padding-top: 16px;
}

.rb-tl-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CCAEA8;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rb-tl-content {
  opacity: 0;
  transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
}
.rb-tl-step--l .rb-tl-content { transform: translateX(16px); }
.rb-tl-step--r .rb-tl-content { transform: translateX(-16px); }

.rb-tl-step.is-visible .rb-tl-dot     { opacity: 1; transform: scale(1); }
.rb-tl-step.is-visible .rb-tl-content { opacity: 1; transform: none; }

.rb-tl-step .rb-step-num { margin-bottom: 10px; }

.rb-tl-title {
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 400;
  color: #36473C;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.rb-tl-body {
  font-size: 15px;
  line-height: 1.75;
  color: #4a534a;
  margin: 0;
  max-width: 36ch;
}
.rb-tl-step--l .rb-tl-body { margin-left: auto; }

@media (max-width: 660px) {
  .rb-tl-step {
    grid-template-columns: 28px 1fr;
    margin-bottom: clamp(32px, 5vw, 48px);
  }
  /* grid-row: 1 is required — for --l steps the content precedes the spine
     in the DOM, and grid auto-placement never backtracks, so without it the
     spine (col 1) drops to a second row below the content. */
  .rb-tl-step--l .rb-tl-content,
  .rb-tl-step--r .rb-tl-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 0 14px;
    transform: translateX(-10px);
  }
  .rb-tl-step--l .rb-tl-spine,
  .rb-tl-step--r .rb-tl-spine {
    grid-column: 1;
    grid-row: 1;
    padding: 14px 0 0;
    justify-content: center;
  }
  .rb-tl-gap { display: none; }
  .rb-tl-body,
  .rb-tl-step--l .rb-tl-body { max-width: none; margin-left: 0; }
}

/* ─── Quote form (contact page) ───────────────────────────────────────────── */

.rb-quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #36473C;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 4px;
}

.rb-quote-form .rb-form-row {
  display: flex;
  gap: 18px;
}

.rb-quote-form .rb-form-row label { flex: 1; }

.rb-quote-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--wp--preset--font-family--zalando-sans-expanded);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CCAEA8;
}

.rb-quote-form input,
.rb-quote-form textarea {
  font-family: var(--wp--preset--font-family--zalando-sans);
  font-size: 15px;
  color: #DED6C9;
  background: rgba(222, 214, 201, 0.06);
  border: 1px solid rgba(222, 214, 201, 0.2);
  border-radius: 3px;
  padding: 13px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rb-quote-form input::placeholder,
.rb-quote-form textarea::placeholder { color: rgba(222, 214, 201, 0.4); }

.rb-quote-form input:focus,
.rb-quote-form textarea:focus {
  outline: none;
  border-color: #CCAEA8;
  background: rgba(222, 214, 201, 0.1);
}

.rb-quote-form textarea { resize: vertical; }

.rb-quote-form__btn {
  font-family: var(--wp--preset--font-family--zalando-sans-expanded);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #36473C;
  background: #DED6C9;
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rb-quote-form__btn:hover { background: #CCAEA8; transform: translateY(-1px); }

.rb-quote-form__note {
  font-size: 12.5px;
  color: rgba(222, 214, 201, 0.55);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .rb-quote-form .rb-form-row { flex-direction: column; }
}

/* ─── Gravity Forms — brand skin ─────────────────────────────────────────── */

/* Override orbital theme CSS variables — !important beats GF's inline <style> */
.gform_wrapper.gform-theme {
  --gf-color-primary: #36473C !important;
  --gf-color-primary-rgb: 54, 71, 60 !important;
  --gf-color-primary-contrast: #DED6C9 !important;
  --gf-color-primary-darker: #1e2d22 !important;
  --gf-color-primary-lighter: #4a6153 !important;
  --gf-ctrl-border-color: rgba(54,71,60,0.22) !important;
  --gf-ctrl-label-color-primary: #36473C !important;
  --gf-ctrl-label-color-secondary: rgba(54,71,60,0.6) !important;
  --gf-color-out-ctrl-dark: rgba(54,71,60,0.5) !important;
  --gf-radius: 0px !important;
  --gf-color-in-ctrl: transparent !important;
  --gf-color-in-ctrl-primary: #36473C !important;
}

/* Field labels */
.gform_wrapper .gfield_label,
.gform_wrapper .gform-field-label:not(.gform-field-label--type-sub) {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #36473C !important;
  margin-bottom: 10px !important;
}

/* Sub-labels (First / Last) */
.gform_wrapper .gform-field-label--type-sub {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(54,71,60,0.45) !important;
  margin-top: 6px !important;
}

/* Text inputs, email, tel */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"] {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(54,71,60,0.22) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
  color: #36473C !important;
  font-family: 'Josefin Sans', sans-serif !important;
  font-size: 15px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.25s ease !important;
  width: 100% !important;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus {
  border-bottom-color: #36473C !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Textarea */
.gform_wrapper textarea {
  background: rgba(54,71,60,0.04) !important;
  border: 1px solid rgba(54,71,60,0.16) !important;
  border-radius: 2px !important;
  padding: 16px 18px !important;
  color: #36473C !important;
  font-family: 'Josefin Sans', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  box-shadow: none !important;
  resize: vertical !important;
  transition: border-color 0.25s ease !important;
}

.gform_wrapper textarea:focus {
  border-color: rgba(54,71,60,0.45) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Placeholder */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: rgba(54,71,60,0.38) !important;
  font-style: italic !important;
}

/* Gap between name sub-fields */
.gform_wrapper .ginput_container--name.gform-grid-row {
  gap: 32px !important;
}

/* Remove GF's default field spacing overrides */
.gform_wrapper .gfield {
  margin-bottom: 32px !important;
}

/* Submit button */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"].gform_button {
  font-family: 'Zalando Sans Expanded', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  background: #36473C !important;
  color: #DED6C9 !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 18px 52px !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1) !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"].gform_button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 44px -18px rgba(54,71,60,0.65) !important;
  background: #36473C !important;
  color: #DED6C9 !important;
}

/* Footer alignment */
.gform_wrapper .gform_footer {
  padding-top: 8px !important;
}

/* Validation errors */
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  font-family: 'Josefin Sans', sans-serif !important;
  font-size: 12px !important;
  color: #A97C83 !important;
  margin-top: 6px !important;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
  border-color: #A97C83 !important;
}

/* ─── Reduced motion ──────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal],
  .js .rb-stagger > *,
  .js .rb-journey-heading,
  .js .rb-journey-step {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0s !important;
  }
}