/* ==========================================================================
   Custom theme layer — loaded after the original theme on every page.
   Keeps the layout, changes palette, typography and section styling.
   Edit the tokens below to retune the whole site.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@300;400;500;600;700&display=swap");

html:root {
  /* Brand tokens */
  --rb-ivory: #f8f5ef;
  --rb-sand: #efe9de;
  --rb-sand-dark: #e3dbcc;
  --rb-ink: #1d2b28;
  --rb-forest: #1f3b35;
  --rb-forest-light: #2d5249;
  --rb-forest-deep: #14241f;
  --rb-brass: #b08d57;
  --rb-brass-light: #cfb07c;
  --rb-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --rb-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Theme variable overrides */
  --font-heading: var(--rb-heading);
  --font-body: var(--rb-body);
  --font-logo: var(--rb-heading);
  --font-heading-weight: 600;
  --font-heading-text-transform: none;
  --font-heading-base-letter-spacing: -0.01em;

  --color-text: var(--rb-ink);
  --color-text-link: var(--rb-forest);
  --color-text-meta: rgba(29, 43, 40, 0.7);
  --color-text-alpha: rgba(29, 43, 40, 0.4);
  --color-text-header: var(--rb-ink);
  --color-icon-header: var(--rb-ink);
  --color-background: var(--rb-ivory);
  --color-background-header: var(--rb-ivory);
  --color-background-meta: var(--rb-sand);
  --color-background-darker-meta: var(--rb-sand-dark);
  --color-background-placeholder: var(--rb-sand-dark);
  --color-background-button: var(--rb-forest);
  --color-background-button-hover: var(--rb-forest-light);
  --color-background-accent-button: var(--rb-brass);
  --color-background-accent-button-hover: var(--rb-brass-light);
  --color-border: rgba(29, 43, 40, 0.18);
  --color-border-input: rgba(29, 43, 40, 0.35);
  --color-background-footer: var(--rb-forest-deep);
}

/* ---------- Base ---------- */
/* Cormorant uses old-style figures by default ("08" would read as "o8") */
html, body, h1, h2, h3, h4, .ff-heading, .ff-body { font-variant-numeric: lining-nums; }
body {
  background: var(--rb-ivory);
  color: var(--rb-ink);
  font-family: var(--rb-body);
}
body, .ff-body, p, li, input, select, textarea, button, .btn {
  font-family: var(--rb-body) !important;
}
h1, h2, h3, h4, .ff-heading,
.section-introduction__heading, .section-blocks__heading,
.product__title, .product-item__product-title {
  font-family: var(--rb-heading) !important;
  text-transform: none !important;
  letter-spacing: -0.005em;
  font-weight: 600 !important;
}
.fs-accent, .section-blocks__accent, .product-item__artist, .product__artist {
  color: var(--rb-brass) !important;
  letter-spacing: 0.18em !important;
  font-weight: 600 !important;
}
::selection { background: var(--rb-brass); color: #fff; }

/* Buttons: rounded pills instead of square blocks */
.btn, .button-block__button .btn, button.btn {
  border-radius: 999px !important;
  letter-spacing: 0.12em;
  font-weight: 600 !important;
  transition: background-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20, 36, 31, 0.15); }
.btn--primary:not(.btn--overlay) { background: var(--rb-forest) !important; border-color: var(--rb-forest) !important; color: #fff !important; }
.btn--primary:not(.btn--overlay):hover { background: var(--rb-forest-light) !important; }

/* ---------- Client logo: rotating emblem + SVG wordmark ---------- */
.brand-logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: #111; line-height: 0;
  visibility: visible !important; opacity: 1 !important;
}
.brand-logo__icon {
  position: static !important; display: block;
  width: 46px !important; height: 46px !important; max-width: none; object-fit: contain;
  visibility: visible !important; opacity: 1 !important;
  border-radius: 50%;
  animation: rb-logo-spin 14s linear infinite;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18));
}
a:hover .brand-logo__icon, .brand-logo:hover .brand-logo__icon { animation-duration: 2.4s; }
.brand-logo__word { display: block; height: 40px; width: auto; fill: currentColor; overflow: visible; }
.brand-logo__accent { fill: #a25d48; }
.brand-logo--light { color: #fff; }
.brand-logo--light .brand-logo__accent { fill: #d9927a; }
.footer .brand-logo__icon { width: 54px !important; height: 54px !important; }
.footer .brand-logo__word { height: 48px; }
@keyframes rb-logo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand-logo__icon { animation: none; } }
@media (max-width: 720px) {
  .brand-logo { gap: 9px; }
  .brand-logo__icon { width: 38px !important; height: 38px !important; }
  .brand-logo__word { height: 32px; }
}

/* ---------- Header ---------- */
.header, .header__row, .header-wrapper, #site-section-sections--32199635239249__header .header {
  background: var(--rb-ivory);
}
.header { position: relative; }
.header__mobile-menu-toggle {
  display: none;
  border: 0;
  padding: 10px;
  background: transparent;
  color: var(--rb-ink);
  cursor: pointer;
}
.header__mobile-menu-toggle svg { display: block; width: 24px; height: 24px; }
@media (max-width: 900px) {
  .header__inner { min-height: 72px; }
  /* Only for headers with the custom menu button; otherwise the theme's own mobile row is used */
  .header:has(.header__mobile-menu-toggle) .header__row-desktop.lower {
    display: flex !important;
    min-height: 72px;
    align-items: center;
  }
  .header:has(.header__mobile-menu-toggle) .header__row-segment-desktop.left { display: flex !important; }
  .header:has(.header__mobile-menu-toggle) .header__links-primary-scroll-container { display: none !important; }
  .header__mobile-menu-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
  }
}
.header__row-desktop.lower { border-bottom: 1px solid rgba(176, 141, 87, 0.35); }
.header__links-list > li > a, .navigation__link, .header__link {
  font-family: var(--rb-body) !important;
  font-weight: 500;
  letter-spacing: .04em;
}
.header__links-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__links-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.15rem;
  color: var(--rb-ink) !important;
  text-decoration: none !important;
  transition: color .2s ease;
}
.header__link .link-hover {
  position: relative;
  display: inline-block;
  color: var(--rb-ink) !important;
  transition: color .2s ease;
}
.header__link .link-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: var(--rb-brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}
.header__link:hover,
.header__link:focus-visible,
.header__link[aria-current="page"] {
  color: var(--rb-brass) !important;
}
.header__link:hover .link-hover,
.header__link:focus-visible .link-hover,
.header__link[aria-current="page"] .link-hover {
  color: var(--rb-brass) !important;
}
.header__link:hover .link-hover::after,
.header__link:focus-visible .link-hover::after,
.header__link[aria-current="page"] .link-hover::after {
  transform: scaleX(1);
}

/* ---------- Hero slideshow ---------- */
.slideshow-slide__overlay {
  background: linear-gradient(100deg, rgba(20, 36, 31, 0.78) 0%, rgba(20, 36, 31, 0.35) 45%, rgba(20, 36, 31, 0) 75%) !important;
  opacity: 1 !important;
}
.slideshow-slide__text-container-heading {
  font-size: clamp(40px, 5.2vw, 76px) !important;
  line-height: 1.02 !important;
  font-style: italic;
}
.slideshow-slide__text-container-accent {
  color: var(--rb-brass-light) !important;
}
.slideshow-slide__text-container-inner {
  border-left: 2px solid var(--rb-brass);
  padding-left: 28px;
}

/* ---------- New: values strip under the hero ---------- */
.rb-values {
  background: var(--rb-forest);
  color: #f3eee4;
  overflow: hidden;
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
}
.rb-values__track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding: 18px 0;
  animation: rb-marquee 38s linear infinite;
}
.rb-values__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 500 13px/1 var(--rb-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rb-values__item::before {
  content: "";
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--rb-brass);
}
.rb-values:hover .rb-values__track { animation-play-state: paused; }
@keyframes rb-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rb-values__track { animation: none; } }

/* ---------- Intro rich text (home page statement only) ---------- */
#site-section-template--32199643955537__rich_text_aGxfD4 .rich-text__text,
#site-section-template--32199643955537__rich_text_aGxfD4 .rich-text__text p {
  font-family: var(--rb-heading) !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.4 !important;
  text-align: center;
  max-width: 980px;
  margin-left: auto !important;
  margin-right: auto !important;
}
#site-section-template--32199643955537__rich_text_aGxfD4 .rich-text__inner::after {
  content: "";
  display: block;
  width: 64px; height: 2px;
  margin: 28px auto 0;
  background: var(--rb-brass);
}

/* ---------- Collection tabs as pills ---------- */
.featured-collection-slider__navigation-list { gap: 10px; flex-wrap: wrap; }
a.featured-collection-slider__navigation-list-item,
.featured-collection-slider__navigation-list-item {
  border: 1px solid rgba(29, 43, 40, 0.25) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-family: var(--rb-body) !important;
  font-size: 12px !important;
  letter-spacing: .14em;
  transition: all .2s;
}
.featured-collection-slider__navigation-list-item .indicator { display: none !important; }
.featured-collection-slider__navigation-list-item.selected,
.featured-collection-slider__navigation-list-item:hover {
  background: var(--rb-forest) !important;
  border-color: var(--rb-forest) !important;
  color: #fff !important;
}

/* ---------- Product / artwork cards ---------- */
.product-item {
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-item:hover { transform: translateY(-4px); }
.product-item__image, .product-item__image-wrapper, .product-item .image {
  border-radius: 14px;
  overflow: hidden;
}
.product-item__image-wrapper, .product-item__image {
  background: var(--rb-sand) !important;
}
.product-item:hover .product-item__image-wrapper { box-shadow: 0 18px 40px rgba(20, 36, 31, 0.12); }

/* ---------- Image grid & exhibitions: rounded imagery ---------- */
#site-section-template--32199643955537__grid .image,
.event-item__image-wrapper,
.gallery-carousel .image,
.blog-posts .image, .article-item .image {
  border-radius: 16px;
  overflow: hidden;
}

/* ---------- Newsletter ---------- */
.newsletter__block-content-heading { font-size: clamp(32px, 3.4vw, 48px) !important; font-style: italic; }

/* ---------- Testimonials ---------- */
.testimonials__item-quote {
  font-family: var(--rb-heading) !important;
  font-style: italic;
  font-size: clamp(22px, 2.3vw, 32px) !important;
  line-height: 1.35 !important;
}
.testimonials__item-quote::before {
  content: "\201C";
  display: block;
  font-size: 2.4em;
  line-height: .6;
  color: var(--rb-brass);
}
.icon-star-filled { color: var(--rb-brass) !important; fill: var(--rb-brass) !important; }

/* ---------- Advisory split banner ---------- */
#site-section-template--32199643955537__image_with_text_split_t9VYTa .section-blocks__heading { font-size: clamp(36px, 4vw, 58px) !important; font-style: italic; }

/* ---------- Footer ---------- */
.footer__image { background: none !important; height: auto !important; aspect-ratio: auto !important; }
.footer__image::before, .footer__image::after { display: none !important; }
.footer, .footer__parent, .footer__inner { background: var(--rb-forest-deep) !important; }
.footer { border-top: 3px solid var(--rb-brass); }
.footer__heading { color: var(--rb-brass-light) !important; letter-spacing: .18em; }
.footer a:hover { color: var(--rb-brass-light) !important; }
.site-footer {
  position: relative;
  background: var(--rb-forest-deep);
  color: var(--rb-ivory);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(80%, 1528px);
  height: 3px;
  background: var(--rb-brass);
  transform: translateX(-50%);
}
.site-footer__inner {
  width: min(calc(100% - 48px), 1420px);
  margin: 0 auto;
  padding: 56px 0 60px;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.35fr .9fr 1fr 1fr 1.8fr;
  gap: 36px;
  align-items: start;
}
.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rb-ivory);
  text-decoration: none;
}
.site-footer__brand-link img {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: contain;
}
.site-footer__wordmark {
  display: grid;
  gap: 2px;
  line-height: 1;
}
.site-footer__wordmark strong {
  font-size: 25px;
  letter-spacing: -.045em;
}
.site-footer__wordmark small {
  padding-left: 3px;
  font-size: 8px;
  letter-spacing: .42em;
}
.site-footer__brand > p {
  max-width: 280px;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.6;
}
.site-footer__brand > .site-footer__telephone {
  margin-top: 24px;
}
.site-footer__group,
.site-footer__newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.site-footer__group h2,
.site-footer__newsletter h2 {
  margin: 0 0 12px;
  color: var(--rb-brass-light);
  font: 600 13px/1.3 var(--rb-body);
  letter-spacing: .16em;
  text-transform: uppercase !important;
}
.site-footer__group a,
.site-footer__brand a:not(.site-footer__brand-link),
.site-footer__bottom a {
  color: var(--rb-ivory);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}
.site-footer__group a,
.site-footer__brand a:not(.site-footer__brand-link) {
  font-size: 15px;
  line-height: 1.45;
}
.site-footer__group a:hover,
.site-footer__group a:focus-visible,
.site-footer__brand a:not(.site-footer__brand-link):hover,
.site-footer__brand a:not(.site-footer__brand-link):focus-visible,
.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: var(--rb-brass-light);
}
.site-footer__locations p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
}
.site-footer__locations strong { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__newsletter > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.site-footer__form {
  max-width: none;
  width: 100%;
  margin: 12px 0 0;
  flex-wrap: nowrap;
}
.site-footer__form input[type="email"] { min-width: 0; }
.site-footer__form .rb-btn {
  flex: none;
  border-radius: 999px;
  background: #fff;
  color: var(--rb-ink);
}
.site-footer__form .rb-form__status { color: var(--rb-ivory); }
.site-footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: var(--rb-ivory);
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer__instagram:hover,
.site-footer__instagram:focus-visible { color: var(--rb-brass-light); }
.site-footer__instagram svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.site-footer__instagram .site-footer__instagram-dot {
  fill: currentColor;
  stroke: none;
}
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 140px;
  font-size: 13px;
  line-height: 1.5;
}
.site-footer__bottom p { margin: 0; }
@media (max-width: 1100px) {
  .site-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-row: span 2; }
  .site-footer__newsletter { grid-column: span 2; }
  .site-footer__bottom { margin-top: 64px; }
}
@media (max-width: 680px) {
  .site-footer__inner { width: min(calc(100% - 40px), 520px); padding: 42px 0; }
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .site-footer__brand { grid-row: auto; }
  .site-footer__newsletter { grid-column: span 2; }
  .site-footer__bottom { margin-top: 48px; }
}
@media (max-width: 420px) {
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__newsletter { grid-column: auto; }
  .site-footer__form { flex-wrap: wrap; }
  .site-footer__form input[type="email"] { flex-basis: 100%; }
}

/* ---------- Generic sections with grey backgrounds -> warm sand ---------- */
[style*="background-color: #f4f4f4"], [style*="background: #f4f4f4"] { background-color: var(--rb-sand) !important; }

/* The theme hides .image wrappers until its loader runs; keep the logo wrapper visible */
.header__logo .image, .footer__image { visibility: visible !important; opacity: 1 !important; height: auto !important; padding: 0 !important; }

/* "What our clients say" heading had a hard-coded white band */
#site-section-template--32199643955537__rich_text_6GFFBy .rich-text { background: transparent !important; }
#site-section-template--32199643955537__rich_text_6GFFBy .rich-text__heading { font-style: italic; font-size: clamp(32px, 3.4vw, 48px) !important; }

/* ---------- Product pages: advisor CTA + "Why collect" cards ---------- */
.promo-banner__content, .promo-banner__columns {
  background: var(--rb-forest) !important;
  border-radius: 18px;
}
.promo-banner__giant-heading, .promo-banner__giant-heading * {
  font-family: var(--rb-heading) !important;
  font-style: italic;
  color: #f3eee4 !important;
}
/* Everything else on the dark-green panel is light too (text and buttons were dark on dark) */
.promo-banner__content, .promo-banner__content :is(p, span, li, a, h2, h3) { color: #f3eee4 !important; }
.promo-banner__content .btn {
  background: transparent !important; border-color: rgba(243, 238, 228, .7) !important; color: #f3eee4 !important;
}
.promo-banner__content .btn:hover { background: #f3eee4 !important; color: var(--rb-forest) !important; }

/* Text cards (no image): sand card with a brass top edge */
.grid-item__inner:not(:has(.grid-item__image)) {
  background: var(--rb-sand) !important;
  border-radius: 14px;
  border-top: 3px solid var(--rb-brass);
  padding: 22px 24px !important;
}
.grid-item__inner:not(:has(.grid-item__image)) .grid-item__overlay { background: transparent !important; }
/* Image tiles: rounded, with a dark fade under the text so it stays readable on any painting */
.grid-item__inner:has(.grid-item__image) { border-radius: 14px; overflow: hidden; }
.grid-item__inner:has(.grid-item__image) .grid-item__overlay {
  background: linear-gradient(0deg, rgba(20, 36, 31, .88) 0%, rgba(20, 36, 31, .55) 45%, rgba(20, 36, 31, .1) 80%) !important;
  opacity: 1 !important;
}
.grid-item__inner:has(.grid-item__image) :is(.grid-item__heading, .grid-item__text, .grid-item__text p) { color: #fff !important; }
.grid-item__inner:has(.grid-item__image) :is(.section-blocks__accent, .grid-item__subheading) { color: var(--rb-brass-light) !important; }
.ff-subheading { font-family: var(--rb-body) !important; letter-spacing: .12em; }

/* No sideways scrolling: the theme's mega-menu panel is sized to 100vw (which includes the vertical
   scrollbar), so it poked past the page. "clip" stops overflow without breaking the sticky header. */
.meganav { width: 100% !important; max-width: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
