@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: #f5f0e8;
  color: #1c1c1c;
  font-family: Inter, system-ui, sans-serif;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #b85c38;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wp-site-blocks {
  padding: 0;
}

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

.home header.wp-block-template-part,
.page-template-front-page header.wp-block-template-part {
  position: fixed;
  left: 0;
  right: 0;
}

.rb-site-header {
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.home .rb-site-header,
.home header.wp-block-template-part {
  background: transparent;
}

.home header.is-scrolled .rb-site-header,
.home header.is-scrolled {
  background: rgba(245, 240, 232, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}

.rb-logo,
.rb-logo a,
.wp-block-site-title a {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1c1c1c;
}

.home .wp-block-site-title a {
  color: #fff;
}

.home header.is-scrolled .wp-block-site-title a {
  color: #1c1c1c;
}

.rb-header-end {
  display: flex;
  align-items: center;
  gap: 40px;
}

.rb-site-header .wp-block-navigation,
.rb-site-header .wp-block-navigation__container,
.rb-primary-nav .wp-block-navigation__container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rb-site-header .wp-block-navigation-item {
  margin: 0;
  padding: 0;
}

.rb-site-header .wp-block-navigation a,
.rb-site-header .wp-block-navigation__submenu-container a {
  display: inline-block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1c1c1c;
  white-space: nowrap;
}

.home .rb-site-header .wp-block-navigation a {
  color: rgba(255, 255, 255, 0.85);
}

.home header.is-scrolled .rb-site-header .wp-block-navigation a {
  color: #1c1c1c;
}

.rb-header-cta .wp-block-button__link,
.rb-inquire .wp-block-button__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 24px;
  border-radius: 3px;
  background: #b85c38;
  color: #fff !important;
  border: 1px solid #b85c38;
}

.home .rb-inquire .wp-block-button__link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.home header.is-scrolled .rb-inquire .wp-block-button__link {
  background: #b85c38;
  border-color: #b85c38;
}

.rb-site-footer {
  background: #1c1e1a;
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 48px 40px;
}

.rb-footer-grid {
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rb-site-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.rb-site-footer a:hover,
.rb-site-footer a:focus-visible {
  color: rgba(255, 255, 255, 0.8);
}

.rb-site-footer .wp-block-site-title a,
.rb-footer-brand a {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.rb-site-footer h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 20px;
}

.rb-footer-blurb {
  max-width: 280px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 24px;
}

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

.rb-social__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
}

.rb-social__btn:hover,
.rb-social__btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}

.rb-site-footer .wp-block-navigation,
.rb-site-footer .wp-block-navigation__container,
.rb-footer-links,
.rb-site-footer .wp-block-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rb-site-footer .wp-block-navigation-item,
.rb-footer-links li {
  margin: 0;
  padding: 0;
}

.rb-site-footer .rb-footer-links a,
.rb-site-footer .wp-block-navigation a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.rb-copybar {
  align-items: center;
  padding-top: 32px;
}

.rb-copy {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
}

.rb-legal {
  margin: 0;
  display: flex;
  gap: 24px;
}

.rb-legal a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
}

.rb-legal a:hover,
.rb-legal a:focus-visible {
  color: rgba(255, 255, 255, 0.5);
}

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

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid #b85c38;
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .rb-header-end,
  .rb-site-header .wp-block-navigation__container {
    gap: 20px;
  }

  .rb-site-footer {
    padding: 64px 20px 32px;
  }
}
