/*
Theme Name: Royal Persian Carpets
Theme URI: https://royalpersiancarpets.com/
Author: Royal Persian Carpets
Description: A fast, responsive showroom website for Royal Persian Carpets in Birtinya, Queensland.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: royal-persian-carpets
*/

:root {
  --rpc-ink: #171c18;
  --rpc-muted: #555d57;
  --rpc-green: #176b3a;
  --rpc-green-dark: #073d24;
  --rpc-green-deep: #042b19;
  --rpc-burgundy: #87323a;
  --rpc-burgundy-dark: #67232a;
  --rpc-gold: #d0aa48;
  --rpc-gold-ink: #8a6516;
  --rpc-cream: #eee5d5;
  --rpc-paper: #fdf9f0;
  --rpc-border: #cfc5b4;
  --rpc-shadow: 0 12px 34px rgba(18, 31, 22, .1);
  --rpc-radius: 2px;
  --rpc-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--rpc-ink);
  background: var(--rpc-paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; overscroll-behavior: none; touch-action: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rpc-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rpc-green-dark); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 .58em;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.55rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.18em; }

.rpc-container { width: min(calc(100% - 40px), var(--rpc-container)); margin-inline: auto; }
.rpc-section { padding: clamp(52px, 6vw, 78px) 0; }
.rpc-section--cream { background: linear-gradient(135deg, #f2eadc 0%, var(--rpc-cream) 58%, #e8dcc8 100%); }
.rpc-section--green { color: #fff; background: var(--rpc-green-dark); }
.rpc-section--green a { color: #fff; }
.rpc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--rpc-gold-ink);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.rpc-eyebrow::before { width: 9px; height: 9px; content: ""; background: var(--rpc-gold); transform: rotate(45deg); }
.rpc-section--green .rpc-eyebrow, .rpc-hero .rpc-eyebrow, .rpc-page-hero .rpc-eyebrow, .rpc-cta .rpc-eyebrow { color: #f5d77d; }
.rpc-lead { max-width: 760px; color: var(--rpc-muted); font-size: clamp(1.04rem, 2vw, 1.2rem); }
.rpc-section--green .rpc-lead { color: rgba(255, 255, 255, .82); }
.rpc-center { text-align: center; }
.rpc-center .rpc-eyebrow, .rpc-center .rpc-lead { margin-inline: auto; }

.rpc-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid var(--rpc-burgundy);
  border-radius: var(--rpc-radius);
  color: #fff;
  background: var(--rpc-burgundy);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.rpc-btn:hover { color: #fff; background: var(--rpc-burgundy-dark); border-color: var(--rpc-burgundy-dark); transform: translateY(-1px); }
.rpc-btn--primary { color: #1e1a10; background: var(--rpc-gold); border-color: var(--rpc-gold); }
.rpc-btn--primary:hover { color: #fff; background: var(--rpc-burgundy); border-color: var(--rpc-burgundy); }
.rpc-btn--secondary { color: var(--rpc-burgundy); background: transparent; border-color: var(--rpc-burgundy); }
.rpc-btn--secondary:hover { color: #fff; background: var(--rpc-burgundy); }
.rpc-btn--light { color: var(--rpc-green-dark); background: #fff; border-color: #fff; }
.rpc-btn--light:hover { color: #1e1a10; background: var(--rpc-gold); border-color: var(--rpc-gold); }
.rpc-btn--outline { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .8); }
.rpc-btn--outline:hover { color: #1e1a10; background: #fff; border-color: #fff; }
.rpc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.rpc-text-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }

.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 9999; padding: 12px 18px; color: #fff; background: #000; }
:focus-visible { outline: 3px solid var(--rpc-gold); outline-offset: 3px; }

.rpc-topbar { position: relative; z-index: 1900; padding: 7px 0; color: #fff; background: var(--rpc-green-dark); font-size: .82rem; font-weight: 700; }
.rpc-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rpc-topbar a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; text-decoration: none; }
.rpc-header { position: sticky; top: 0; z-index: 2000; background: var(--rpc-paper); border-bottom: 1px solid var(--rpc-border); }
.admin-bar .rpc-header { top: 32px; }
.rpc-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.rpc-brand { flex: 0 0 auto; }
.rpc-brand img { width: 164px; max-height: 70px; object-fit: contain; }
.rpc-header__right { display: flex; min-width: 0; align-items: center; gap: 18px; }
.rpc-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.65vw, 24px); margin: 0; padding: 0; list-style: none; }
.rpc-nav a { display: flex; min-height: 44px; align-items: center; color: var(--rpc-ink); font-size: .88rem; font-weight: 760; text-decoration: none; }
.rpc-nav a:hover, .rpc-nav .current-menu-item > a, .rpc-nav .current_page_item > a { color: var(--rpc-burgundy); }
.rpc-header-phone { min-height: 46px; padding: 10px 18px; white-space: nowrap; }
.rpc-menu-toggle { display: none; width: 48px; height: 48px; padding: 11px; border: 1px solid var(--rpc-border); border-radius: var(--rpc-radius); color: var(--rpc-ink); background: #fff; cursor: pointer; }
.rpc-menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .18s ease, opacity .18s ease; }

.rpc-hero { position: relative; min-height: min(700px, 82vh); display: grid; align-items: center; overflow: hidden; color: #fff; background: #16251b; }
.rpc-hero::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(8, 20, 12, .9) 0%, rgba(8, 20, 12, .68) 52%, rgba(8, 20, 12, .2) 100%); }
.rpc-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rpc-hero__content { position: relative; z-index: 2; max-width: 800px; padding: 76px 0 92px; }
.rpc-hero p { max-width: 680px; color: rgba(255, 255, 255, .9); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.rpc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: rgba(255, 255, 255, .86); font-size: .92rem; }
.rpc-hero-meta a { display: inline-flex; min-height: 44px; align-items: center; color: #f5d77d; font-weight: 800; }

.rpc-trustbar { position: relative; z-index: 3; margin-top: -34px; }
.rpc-trustbar__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--rpc-border); border-radius: var(--rpc-radius); box-shadow: var(--rpc-shadow); }
.rpc-trust { padding: 22px 28px; text-align: center; }
.rpc-trust + .rpc-trust { border-left: 1px solid var(--rpc-border); }
.rpc-trust strong { display: block; color: var(--rpc-burgundy); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.rpc-trust span { color: var(--rpc-muted); font-size: .88rem; }

.rpc-help-strip { padding: 56px 0 4px; }
.rpc-help-strip .rpc-container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 18px 22px; color: #fff; background: var(--rpc-burgundy); border-left: 5px solid var(--rpc-gold); }
.rpc-help-strip strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; }
.rpc-help-strip span { flex: 1 1 430px; color: rgba(255, 255, 255, .86); }
.rpc-help-strip a { min-height: 44px; display: inline-flex; align-items: center; color: #fff; font-weight: 800; }

.rpc-grid { display: grid; gap: 22px; }
.rpc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rpc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rpc-card { min-width: 0; overflow: hidden; background: #fffdf9; border: 1px solid var(--rpc-border); border-radius: var(--rpc-radius); box-shadow: none; }
.rpc-card__image { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .35s ease; }
.rpc-card:hover .rpc-card__image { transform: scale(1.025); }
.rpc-card__body { padding: 22px; }
.rpc-card__body h3 { margin-bottom: 8px; }
.rpc-card__body p { margin-bottom: 0; color: var(--rpc-muted); font-size: .94rem; }
.rpc-card--link { color: inherit; text-decoration: none; }
.rpc-card--link:hover { color: inherit; }
.rpc-card--link .rpc-card__body::after { display: block; margin-top: 15px; color: var(--rpc-burgundy); content: "Explore →"; font-weight: 800; }
.rpc-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.rpc-heading-row > div { max-width: 760px; }

.rpc-split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 6vw, 76px); }
.rpc-split > * { min-width: 0; }
.rpc-split--reverse .rpc-split__media { order: 2; }
.rpc-split__media { position: relative; }
.rpc-split__media img { width: 100%; aspect-ratio: 4 / 4.15; object-fit: cover; border-radius: 0; box-shadow: none; }
.rpc-split__media .rpc-split__accent { position: absolute; right: -14px; bottom: -14px; width: 40%; aspect-ratio: 1; border: 8px solid var(--rpc-paper); border-radius: var(--rpc-radius); object-fit: cover; }
.rpc-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.rpc-checks li { position: relative; padding-left: 26px; font-weight: 680; }
.rpc-checks li::before { position: absolute; left: 0; color: var(--rpc-burgundy); content: "✓"; font-weight: 900; }

.rpc-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.rpc-category-list li { padding: 12px 0; border-bottom: 1px solid var(--rpc-border); font-weight: 700; }
.rpc-category-list li::before { margin-right: 10px; color: var(--rpc-gold); content: "◆"; font-size: .65em; }

.rpc-visit { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; background: #fffdf9; border: 1px solid var(--rpc-border); border-radius: 0; box-shadow: none; }
.rpc-visit__image { min-height: 500px; width: 100%; height: 100%; object-fit: cover; }
.rpc-visit__content { padding: clamp(34px, 5vw, 60px); }
.rpc-info { display: grid; gap: 18px; margin-top: 26px; }
.rpc-info__item strong { display: block; margin-bottom: 2px; color: var(--rpc-burgundy); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.rpc-info__item span, .rpc-info__item a { color: var(--rpc-ink); text-decoration: none; }
.rpc-review-link { margin: 20px 0 0; font-weight: 800; }

.rpc-page-hero { position: relative; min-height: 350px; display: grid; align-items: center; overflow: hidden; padding: clamp(58px, 8vw, 94px) 0; color: #fff; background: var(--rpc-green-dark); isolation: isolate; }
.rpc-page-hero h1 { max-width: 950px; font-size: clamp(2.7rem, 5.5vw, 4.7rem); }
.rpc-page-hero p { max-width: 760px; color: rgba(255, 255, 255, .86); font-size: 1.16rem; }
.rpc-page-hero__content { position: relative; z-index: 2; }
.rpc-page-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rpc-page-hero--image::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, rgba(8, 30, 17, .94), rgba(8, 30, 17, .5)); }

.rpc-inline-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 20px; margin-top: 30px; padding: 20px 22px; background: var(--rpc-cream); border-left: 4px solid var(--rpc-gold); }
.rpc-inline-note strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.06rem; }
.rpc-inline-note span { color: var(--rpc-muted); }
.rpc-inline-note a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }

.rpc-collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.rpc-collection-grid--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rpc-collection-card { min-width: 0; overflow: hidden; scroll-margin-top: 118px; background: #fffdf9; border: 1px solid var(--rpc-border); border-radius: var(--rpc-radius); box-shadow: none; }
.rpc-collection-card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rpc-collection-card__body { padding: 24px; }
.rpc-collection-card__body h3 { margin-bottom: 10px; color: var(--rpc-burgundy); }
.rpc-collection-card__body p { color: var(--rpc-muted); }
.rpc-collection-card__body a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }

.rpc-size-table { width: 100%; margin-top: 30px; overflow: hidden; border-collapse: collapse; background: #fffdf9; border: 1px solid var(--rpc-border); border-radius: var(--rpc-radius); box-shadow: none; }
.rpc-size-table th, .rpc-size-table td { padding: 17px 19px; border-bottom: 1px solid var(--rpc-border); text-align: left; }
.rpc-size-table th { color: #fff; background: var(--rpc-green-dark); }
.rpc-size-table tr:last-child td { border-bottom: 0; }

.rpc-cta { padding: clamp(42px, 6vw, 66px); color: #fff; background: var(--rpc-green-dark); border-left: 6px solid var(--rpc-gold); border-radius: var(--rpc-radius); }
.rpc-cta h2 { max-width: 800px; }
.rpc-cta p { max-width: 690px; color: rgba(255, 255, 255, .84); }

.rpc-faq-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 76px); }
.rpc-faq-list { border-top: 1px solid var(--rpc-border); }
.rpc-faq-list details { border-bottom: 1px solid var(--rpc-border); }
.rpc-faq-list summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 4px; cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 700; list-style: none; }
.rpc-faq-list summary::-webkit-details-marker { display: none; }
.rpc-faq-list summary::after { color: var(--rpc-burgundy); content: "+"; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.45rem; }
.rpc-faq-list details[open] summary::after { content: "−"; }
.rpc-faq-list details p { padding: 0 34px 16px 4px; color: var(--rpc-muted); }

.rpc-footer { color: #fff; background: #092e1a; }
.rpc-footer__main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; padding: 58px 0 44px; }
.rpc-footer__logo { width: 180px; height: auto; margin-bottom: 18px; }
.rpc-footer h3 { color: #f5d16c; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.rpc-footer p, .rpc-footer li, .rpc-footer a { color: rgba(255, 255, 255, .78); }
.rpc-footer a { text-decoration: none; }
.rpc-footer a:hover { color: #fff; }
.rpc-footer ul { margin: 0; padding: 0; list-style: none; }
.rpc-footer li { margin-bottom: 8px; }
.rpc-footer__bottom { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .62); font-size: .82rem; }
.rpc-mobile-actions { display: none; }

.rpc-empty { padding: 86px 0; }
.rpc-content { max-width: 850px; }
.rpc-content > *:first-child { margin-top: 0; }
.rpc-content img { border-radius: var(--rpc-radius); }

@media (max-width: 1040px) {
  .rpc-menu-toggle { position: relative; z-index: 2002; display: block; }
  .rpc-header-phone { display: none; }
  .rpc-nav {
    position: fixed;
    inset: 0;
    z-index: 2001;
    height: 100vh;
    height: 100dvh;
    padding: 112px 28px 40px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: #fffdf8;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
    transition: opacity .16s ease, visibility 0s linear .16s;
  }
  .rpc-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .16s ease; }
  .rpc-nav ul { max-width: 620px; align-items: stretch; flex-direction: column; gap: 0; margin-inline: auto; }
  .rpc-nav li { border-bottom: 1px solid var(--rpc-border); }
  .rpc-nav a { min-height: 58px; padding: 10px 2px; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
  .rpc-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .rpc-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .rpc-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .rpc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { padding-bottom: 66px; font-size: 16px; }
  .rpc-container { width: min(calc(100% - 28px), var(--rpc-container)); }
  .rpc-section { padding: 48px 0; }
  .rpc-topbar { padding: 6px 0; font-size: .78rem; }
  .rpc-topbar__inner { justify-content: center; text-align: center; }
  .rpc-topbar__inner span:last-child { display: none; }
  .rpc-header__inner { min-height: 74px; }
  .rpc-brand img { width: 138px; max-height: 60px; }
  .admin-bar .rpc-header { top: 46px; }
  .rpc-nav { padding-top: 96px; }
  .rpc-hero { min-height: 610px; align-items: end; }
  .rpc-hero::before { background: linear-gradient(0deg, rgba(8, 20, 12, .93) 0%, rgba(8, 20, 12, .66) 68%, rgba(8, 20, 12, .4) 100%); }
  .rpc-hero__content { padding: 62px 0 58px; }
  .rpc-hero h1 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .rpc-hero p { font-size: 1.04rem; }
  .rpc-hero-meta { flex-direction: column; gap: 5px; }
  .rpc-hero .rpc-actions { display: grid; grid-template-columns: 1fr; }
  .rpc-hero .rpc-btn { width: 100%; }
  .rpc-trustbar { margin-top: 0; }
  .rpc-trustbar .rpc-container { width: 100%; }
  .rpc-trustbar__grid { grid-template-columns: 1fr; border-right: 0; border-left: 0; }
  .rpc-trust { padding: 15px; }
  .rpc-trust + .rpc-trust { border-top: 1px solid var(--rpc-border); border-left: 0; }
  .rpc-trust strong { font-size: 1.25rem; }
  .rpc-help-strip { padding: 26px 0 0; }
  .rpc-help-strip .rpc-container { align-items: flex-start; flex-direction: column; }
  .rpc-help-strip span { flex-basis: auto; }
  .rpc-heading-row { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .rpc-grid--3, .rpc-grid--2, .rpc-split, .rpc-visit, .rpc-collection-grid, .rpc-collection-grid--detailed, .rpc-faq-layout { grid-template-columns: 1fr; }
  .rpc-split--reverse .rpc-split__media { order: 0; }
  .rpc-split__media img { aspect-ratio: 4 / 3.5; }
  .rpc-split__media .rpc-split__accent { right: 0; bottom: -10px; }
  .rpc-checks, .rpc-category-list { grid-template-columns: 1fr; }
  .rpc-visit__image { min-height: 300px; aspect-ratio: 4 / 3; }
  .rpc-visit__content { padding: 28px 22px; }
  .rpc-page-hero { min-height: 310px; }
  .rpc-page-hero h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .rpc-inline-note { grid-template-columns: 1fr; }
  .rpc-collection-grid { margin-top: 30px; }
  .rpc-collection-card { scroll-margin-top: 96px; }
  .rpc-cta { padding: 36px 24px; }
  .rpc-footer__main { grid-template-columns: 1fr; gap: 30px; padding: 46px 0 34px; }
  .rpc-size-table { display: block; overflow-x: auto; }
  .rpc-mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1800; display: grid; grid-template-columns: 1fr 1fr; min-height: 66px; background: #fff; border-top: 1px solid var(--rpc-border); box-shadow: 0 -8px 22px rgba(25, 31, 27, .12); }
  .rpc-mobile-actions a { display: flex; min-height: 66px; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--rpc-burgundy); font-weight: 850; text-decoration: none; }
  .rpc-mobile-actions a + a { background: var(--rpc-green-dark); border-left: 1px solid rgba(255, 255, 255, .25); }
}

@media (max-width: 380px) {
  .rpc-container { width: min(calc(100% - 22px), var(--rpc-container)); }
  .rpc-header__inner { min-height: 70px; }
  .rpc-brand img { width: 126px; }
  .rpc-menu-toggle { width: 46px; height: 46px; }
  .rpc-hero h1 { font-size: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Design direction: a photography-led, rug-specific showroom identity. */
.rpc-header { background: rgba(253, 249, 240, .98); }
.rpc-header__inner { min-height: 82px; }
.rpc-nav a { letter-spacing: .01em; }
.rpc-footer { position: relative; background: var(--rpc-green-deep); }
.rpc-footer::before,
.rpc-rug-border,
.rpc-page-hero::after {
  background-color: var(--rpc-burgundy);
  background-image:
    linear-gradient(45deg, transparent 37%, var(--rpc-gold) 38% 47%, transparent 48% 52%, var(--rpc-gold) 53% 62%, transparent 63%),
    linear-gradient(-45deg, transparent 37%, #f3df9a 38% 47%, transparent 48% 52%, #f3df9a 53% 62%, transparent 63%);
  background-position: 0 0, 12px 0;
  background-size: 24px 24px;
}
.rpc-footer::before { display: block; height: 14px; content: ""; }
.rpc-rug-border { height: 20px; border-top: 3px solid var(--rpc-gold); border-bottom: 3px solid var(--rpc-gold); }
.rpc-page-hero::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; height: 12px; content: ""; }

.rpc-home-hero { overflow: hidden; color: #fff; background: var(--rpc-green-deep); }
.rpc-home-hero__frame { display: grid; grid-template-columns: minmax(450px, .82fr) minmax(0, 1.18fr); max-width: 1600px; min-height: 670px; margin: 0 auto; }
.rpc-home-hero__content { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 6vw, 94px); background: var(--rpc-green-dark); }
.rpc-home-hero__content::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .08;
  background-image:
    linear-gradient(45deg, transparent 45%, var(--rpc-gold) 46% 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--rpc-gold) 46% 54%, transparent 55%);
  background-size: 48px 48px;
}
.rpc-home-hero__location { margin: 0 0 22px; color: #f1d57d; font-size: .76rem; font-weight: 850; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.rpc-home-hero h1 { max-width: 710px; margin-bottom: 24px; font-size: clamp(3.15rem, 5.5vw, 5.65rem); line-height: .96; letter-spacing: -.045em; }
.rpc-home-hero h1 span { display: block; margin-bottom: 8px; color: var(--rpc-gold); }
.rpc-home-hero__intro { max-width: 650px; margin-bottom: 0; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.rpc-home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.rpc-home-hero__actions .rpc-btn { background: var(--rpc-burgundy); border-color: var(--rpc-burgundy); box-shadow: 5px 5px 0 rgba(208, 170, 72, .42); }
.rpc-home-hero__actions .rpc-btn:hover { background: var(--rpc-burgundy-dark); border-color: var(--rpc-burgundy-dark); box-shadow: 2px 2px 0 rgba(208, 170, 72, .42); }
.rpc-home-hero__secondary { display: inline-flex; min-height: 44px; align-items: center; color: #f3d77d; font-weight: 800; text-decoration: none; }
.rpc-home-hero__secondary:hover { color: #fff; }
.rpc-home-hero__details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; padding: 18px 0; border-top: 1px solid rgba(208, 170, 72, .52); border-bottom: 1px solid rgba(208, 170, 72, .52); }
.rpc-home-hero__details div { min-width: 0; }
.rpc-home-hero__details span { display: block; margin-bottom: 4px; color: #e6c865; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.rpc-home-hero__details strong,
.rpc-home-hero__details a { color: #fff; font-size: .88rem; font-weight: 750; line-height: 1.45; text-decoration: none; }
.rpc-home-hero__details a { display: inline-flex; min-height: 44px; align-items: center; }
.rpc-home-hero__review { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; align-self: flex-start; margin-top: 12px; color: rgba(255, 255, 255, .88); font-size: .82rem; font-weight: 700; text-decoration: none; }
.rpc-home-hero__review span { color: var(--rpc-gold); letter-spacing: .08em; }
.rpc-home-hero__review:hover { color: #fff; }
.rpc-home-hero__visual { position: relative; min-width: 0; min-height: 670px; margin: 0; overflow: hidden; background: #18241d; }
.rpc-home-hero__visual::before { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 4px; content: ""; background: var(--rpc-gold); }
.rpc-home-hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rpc-home-hero__visual figcaption { position: absolute; right: 0; bottom: 0; z-index: 2; max-width: 310px; padding: 12px 18px; color: #fff; background: rgba(4, 43, 25, .94); border-top: 3px solid var(--rpc-gold); font-size: .78rem; font-weight: 750; letter-spacing: .04em; }

.rpc-help-strip { padding: 34px 0; background: var(--rpc-paper); }
.rpc-help-strip .rpc-container { padding: 20px 24px; color: var(--rpc-ink); background: transparent; border: 1px solid var(--rpc-green-dark); border-left: 10px solid var(--rpc-burgundy); box-shadow: 7px 7px 0 rgba(208, 170, 72, .28); }
.rpc-help-strip strong { color: var(--rpc-green-dark); }
.rpc-help-strip span { color: var(--rpc-muted); }
.rpc-help-strip a { color: var(--rpc-burgundy); }

.rpc-home-collections { background: var(--rpc-paper); }
.rpc-home-collections .rpc-heading-row { align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--rpc-border); }
.rpc-home-collection-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.rpc-home-collection { grid-column: span 4; position: relative; }
.rpc-home-collection:nth-child(1) { grid-column: span 7; }
.rpc-home-collection:nth-child(2) { grid-column: span 5; color: #fff; background: var(--rpc-green-dark); border-color: var(--rpc-green-dark); }
.rpc-home-collection:nth-child(6) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.18fr .82fr; min-height: 330px; }
.rpc-home-collection .rpc-card__image { aspect-ratio: 4 / 3; filter: saturate(.94) contrast(1.02); }
.rpc-home-collection:nth-child(1) .rpc-card__image,
.rpc-home-collection:nth-child(2) .rpc-card__image { aspect-ratio: 16 / 8.4; }
.rpc-home-collection:nth-child(6) .rpc-card__image { height: 100%; aspect-ratio: auto; }
.rpc-home-collection .rpc-card__body { border-top: 5px solid var(--rpc-gold); }
.rpc-home-collection:nth-child(2) .rpc-card__body { border-top-color: var(--rpc-burgundy); }
.rpc-home-collection:nth-child(2) h3,
.rpc-home-collection:nth-child(2) p { color: #fff; }
.rpc-home-collection:nth-child(6) .rpc-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 62px); border-top: 0; border-left: 8px solid var(--rpc-burgundy); }
.rpc-home-collection:hover { border-color: var(--rpc-gold-ink); }

.rpc-home-handmade { position: relative; overflow: hidden; background:
  radial-gradient(circle at 12% 18%, rgba(208, 170, 72, .14), transparent 28%),
  linear-gradient(115deg, var(--rpc-green-deep), var(--rpc-green-dark)); }
.rpc-home-handmade::after { position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; content: ""; opacity: .08; border: 56px double var(--rpc-gold); transform: rotate(45deg); pointer-events: none; }
.rpc-home-handmade .rpc-container { position: relative; z-index: 1; }
.rpc-home-handmade .rpc-split { grid-template-columns: 1.18fr .82fr; }
.rpc-home-handmade .rpc-split__media > img:first-child { aspect-ratio: 1 / 1.05; border: 1px solid rgba(255, 255, 255, .28); }
.rpc-home-handmade .rpc-split__accent { border-color: var(--rpc-green-deep); }
.rpc-home-handmade .rpc-checks li::before { color: var(--rpc-gold); }
.rpc-home-handmade .rpc-btn { background: var(--rpc-burgundy); border-color: var(--rpc-burgundy); }

.rpc-home-size-guide { position: relative; background: var(--rpc-paper); }
.rpc-home-size-guide::before { position: absolute; top: 0; bottom: 0; left: max(18px, calc((100vw - var(--rpc-container)) / 2 - 28px)); width: 6px; content: ""; background: var(--rpc-burgundy); }
.rpc-home-size-guide .rpc-split { grid-template-columns: .82fr 1.18fr; }
.rpc-home-size-guide .rpc-split__media img { aspect-ratio: 16 / 11; border-bottom: 10px solid var(--rpc-gold); }

.rpc-home-visit-section { padding: 0; color: #fff; background: var(--rpc-burgundy-dark); }
.rpc-home-visit-section .rpc-container { width: min(100%, 1600px); }
.rpc-home-visit { grid-template-columns: 1.35fr .65fr; color: #fff; background: var(--rpc-green-deep); border: 0; }
.rpc-home-visit .rpc-visit__image { min-height: 620px; }
.rpc-home-visit .rpc-visit__content { display: flex; flex-direction: column; justify-content: center; }
.rpc-home-visit p { color: rgba(255, 255, 255, .82); }
.rpc-home-visit .rpc-info__item strong { color: var(--rpc-gold); }
.rpc-home-visit .rpc-info__item span,
.rpc-home-visit .rpc-info__item a,
.rpc-home-visit .rpc-text-link { color: #fff; }
.rpc-home-visit .rpc-btn { background: var(--rpc-burgundy); border-color: var(--rpc-burgundy); }
.rpc-faq-section { background: linear-gradient(90deg, #fdf9f0, #f3eadc); }

@keyframes rpc-hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rpc-photo-reveal {
  from { opacity: .45; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
.rpc-home-hero__content > * { animation: rpc-hero-rise .58s ease both; }
.rpc-home-hero__content > *:nth-child(2) { animation-delay: .07s; }
.rpc-home-hero__content > *:nth-child(3) { animation-delay: .14s; }
.rpc-home-hero__content > *:nth-child(4) { animation-delay: .21s; }
.rpc-home-hero__content > *:nth-child(5) { animation-delay: .28s; }
.rpc-home-hero__content > *:nth-child(6) { animation-delay: .35s; }
.rpc-home-hero__image { animation: rpc-photo-reveal .9s ease both; }

@media (max-width: 1040px) {
  .rpc-home-hero__frame { grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr); min-height: 620px; }
  .rpc-home-hero__content { padding: 48px 38px; }
  .rpc-home-hero h1 { font-size: clamp(3rem, 6.5vw, 4.5rem); }
  .rpc-home-hero__visual { min-height: 620px; }
  .rpc-home-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpc-home-collection,
  .rpc-home-collection:nth-child(1),
  .rpc-home-collection:nth-child(2),
  .rpc-home-collection:nth-child(6) { grid-column: auto; }
  .rpc-home-collection:nth-child(6) { display: block; min-height: 0; }
  .rpc-home-collection:nth-child(6) .rpc-card__image { height: auto; aspect-ratio: 4 / 3; }
  .rpc-home-collection:nth-child(6) .rpc-card__body { display: block; padding: 22px; border-top: 5px solid var(--rpc-gold); border-left: 0; }
  .rpc-home-visit { grid-template-columns: 1.08fr .92fr; }
}

@media (max-width: 760px) {
  .rpc-header__inner { min-height: 72px; }
  .rpc-home-hero__frame { display: flex; min-height: 0; flex-direction: column; }
  .rpc-home-hero__visual { order: -1; min-height: 225px; height: 29vh; max-height: 270px; }
  .rpc-home-hero__visual::before { top: auto; right: 0; bottom: 0; width: auto; height: 4px; }
  .rpc-home-hero__visual figcaption { max-width: 260px; padding: 8px 12px; font-size: .68rem; }
  .rpc-home-hero__content { padding: 26px 18px 84px; }
  .rpc-home-hero__location { margin-bottom: 12px; font-size: .64rem; }
  .rpc-home-hero h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 10.8vw, 2.72rem); line-height: .98; }
  .rpc-home-hero h1 span { display: inline; margin: 0; }
  .rpc-home-hero__intro { font-size: .94rem; line-height: 1.48; }
  .rpc-home-hero__actions { margin-top: 18px; }
  .rpc-home-hero__actions .rpc-btn { min-height: 48px; padding: 11px 18px; }
  .rpc-home-hero__secondary { font-size: .86rem; }
  .rpc-home-hero__details { gap: 12px; margin-top: 18px; padding: 12px 0; }
  .rpc-home-hero__details span { font-size: .6rem; }
  .rpc-home-hero__details strong,
  .rpc-home-hero__details a { font-size: .76rem; }
  .rpc-home-hero__review { margin-top: 8px; font-size: .75rem; }
  .rpc-rug-border { height: 15px; background-size: 18px 18px; }
  .rpc-help-strip { padding: 24px 0; }
  .rpc-help-strip .rpc-container { padding: 18px; box-shadow: 5px 5px 0 rgba(208, 170, 72, .28); }
  .rpc-home-collection-grid { grid-template-columns: 1fr; }
  .rpc-home-collection:nth-child(1) .rpc-card__image,
  .rpc-home-collection:nth-child(2) .rpc-card__image { aspect-ratio: 4 / 3; }
  .rpc-home-handmade .rpc-split { grid-template-columns: 1fr; }
  .rpc-home-handmade::after { width: 260px; height: 260px; }
  .rpc-home-size-guide::before { display: none; }
  .rpc-home-size-guide .rpc-split { grid-template-columns: 1fr; }
  .rpc-home-visit-section .rpc-container { width: 100%; }
  .rpc-home-visit { grid-template-columns: 1fr; }
  .rpc-home-visit .rpc-visit__image { min-height: 280px; }
  .rpc-home-visit .rpc-visit__content { padding: 34px 22px 42px; }
  .rpc-mobile-actions { border-top: 3px solid var(--rpc-gold); box-shadow: 0 -8px 24px rgba(4, 43, 25, .22); }
  .rpc-mobile-actions a { background: var(--rpc-burgundy); }
  .rpc-mobile-actions a + a { background: var(--rpc-green-deep); }
}

@media (max-width: 380px) {
  .rpc-home-hero__content { padding-right: 14px; padding-left: 14px; }
  .rpc-home-hero h1 { font-size: 2.15rem; }
  .rpc-home-hero__details { grid-template-columns: .9fr 1.1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rpc-home-hero__content > *,
  .rpc-home-hero__image { animation: none !important; }
}
