/* Reality Reframe: a mini site inside brandonhowardart.com.
   Main site navy, gold and type throughout; Reality Reframe keeps its own
   accents: the bone (cream) sections, sage labels and terracotta details. */
:root {
  --rr-bone: #F1ECE0;
  --rr-ink: #0B1420;
  --rr-ink-soft: #3A423F;
  --rr-sage: #6E948C;
  --rr-sage-deep: #4F7069;
  --rr-clay: #B9673B;
  --rr-mist: #8A8174;
  --rr-line: rgba(11, 20, 32, 0.12);
}

/* Elements toggled with the hidden attribute keep their display style otherwise */
.rr-viewer [hidden], .rr-added[hidden] { display: none; }

/* ---------- Mini-site menu ---------- */
.rr-subnav {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 28px;
  padding: 0 var(--gutter);
}
.rr-subnav__home {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--serif); font-size: 20px; letter-spacing: 0.04em; color: var(--cream);
  text-decoration: none; transition: color .25s ease-out;
}
.rr-subnav__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
.rr-subnav__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: var(--blue-muted); transition: color .25s ease-out;
}
.rr-subnav__home:hover, .rr-subnav__links a:hover, .rr-subnav__links a[aria-current="page"] { color: var(--gold); }

/* ---------- Dark water hero ---------- */
.rr-hero {
  position: relative; overflow: hidden; color: var(--cream); text-align: center;
  /* --rr-header-h is measured by reality-reframe.js so the overlaid header never covers the mini-site menu */
  padding: calc(var(--rr-header-h, 100px) + clamp(18px, 3vw, 40px)) var(--gutter) clamp(70px, 9vw, 110px);
  background:
    radial-gradient(ellipse 120% 80% at 22% -4%, rgba(58, 104, 170, 0.26), transparent 60%),
    radial-gradient(ellipse 100% 60% at 82% 104%, rgba(185, 103, 59, 0.09), transparent 55%),
    linear-gradient(165deg, #050E1C 0%, var(--navy) 52%, #123253 100%);
}
.rr-hero--full { min-height: 100svh; display: flex; flex-direction: column; }
.rr-hero__body {
  position: relative; z-index: 1; max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.rr-hero--full .rr-hero__body { flex: 1; justify-content: center; padding-top: 40px; }
.rr-hero__body > .rr-subnav { margin-bottom: 18px; }
.rr-hero .eyebrow { color: var(--rr-sage); }
.rr-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 10vw, 132px); line-height: 0.92; }
.rr-title em { font-weight: 400; color: var(--gold); }
.rr-h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; text-wrap: balance; }
.rr-hero__sub { margin: 0; max-width: 580px; font-size: 18px; line-height: 1.6; color: var(--blue-soft); text-wrap: pretty; }
.rr-hero__lead { margin: 0; max-width: 680px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--blue-soft); }
.rr-scroll {
  position: relative; z-index: 1; margin: 30px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-dim);
}
.rr-scroll::after { content: ""; width: 1px; height: 34px; background: rgba(214, 226, 245, 0.4); animation: rrPulse 2s ease-in-out infinite; }
@keyframes rrPulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.rr-caustics {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(241, 236, 224, 0.06) 0, transparent 12%),
    radial-gradient(circle at 65% 15%, rgba(241, 236, 224, 0.05) 0, transparent 10%),
    radial-gradient(circle at 85% 60%, rgba(241, 236, 224, 0.07) 0, transparent 14%),
    radial-gradient(circle at 35% 75%, rgba(241, 236, 224, 0.04) 0, transparent 10%);
  animation: rrDrift 18s ease-in-out infinite alternate;
}
@keyframes rrDrift { to { transform: translate(-2%, 3%) scale(1.04); } }

/* ---------- Bone (light) sections ---------- */
.rr-light {
  position: relative; color: var(--rr-ink);
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(110, 148, 140, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(185, 103, 59, 0.08), transparent 55%),
    var(--rr-bone);
}
.rr-section { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.rr-break { padding: clamp(64px, 8vw, 96px) var(--gutter); text-align: center; }
.rr-break p {
  margin: 0 auto; max-width: 840px; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.3vw, 40px); line-height: 1.35; text-wrap: balance;
}
.rr-kicker { display: block; margin: 0 0 16px; font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rr-clay); }
.rr-light .rr-kicker--sage { color: var(--rr-sage-deep); }
.rr-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.rr-head .rr-sub { margin: 16px auto 0; max-width: 540px; font-size: 17px; line-height: 1.6; color: var(--blue-soft); }
.rr-ink-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--rr-ink); border-bottom: 1px solid rgba(11, 20, 32, 0.35); transition: color .25s ease-out, border-color .25s ease-out;
}
.rr-ink-link:hover { color: var(--rr-clay); border-color: var(--rr-clay); }
.rr-light :focus-visible { outline-color: var(--rr-clay); }

/* Concept summary (home) */
.rr-concept { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.rr-concept__copy p { margin: 0 0 18px; max-width: 460px; font-size: 17px; line-height: 1.65; color: var(--rr-ink-soft); }
.rr-concept__copy p.rr-big { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--rr-ink); }
.rr-cite { display: block; margin: -6px 0 22px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rr-mist); }

/* ---------- Hover (or tap) to reframe ---------- */
.rr-tile {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden;
  padding: 0; border: 0; border-radius: 3px; cursor: pointer; background: var(--rr-ink);
  box-shadow: 0 30px 60px -20px rgba(11, 20, 32, 0.4); text-align: center;
}
.rr-tile img, .rr-tile__words { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease-out; }
.rr-tile img { object-fit: cover; }
.rr-tile__words {
  display: flex; align-items: center; justify-content: center; padding: 10% 12%; opacity: 0;
  background: radial-gradient(circle at 30% 20%, rgba(241, 236, 224, 0.14), transparent 45%), linear-gradient(200deg, #1E3D5E 0%, #0C1A2E 70%);
}
.rr-tile__words span { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.42; color: var(--rr-bone); }
.rr-tile:hover .rr-tile__words, .rr-tile[aria-pressed="true"] .rr-tile__words { opacity: 1; }
.rr-tile:hover img, .rr-tile[aria-pressed="true"] img { opacity: 0; }
.rr-tile__label {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rr-bone); opacity: .9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.rr-tile__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rr-clay); }
.rr-tap { display: none; }
@media (hover: none) { .rr-hover { display: none; } .rr-tap { display: inline; } }
.rr-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---------- The work: filters + grid ---------- */
.rr-work { background: var(--navy); }
.rr-work .rr-kicker { color: var(--rr-sage); }
.rr-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: 0 auto clamp(36px, 4vw, 50px); }
.rr-filter {
  min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid rgba(241, 236, 224, 0.25);
  background: none; color: var(--cream); font: inherit; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background-color .25s ease-out, color .25s ease-out, border-color .25s ease-out;
}
.rr-filter:hover { border-color: rgba(241, 236, 224, 0.6); }
.rr-filter[aria-pressed="true"] { background: var(--rr-bone); color: var(--rr-ink); border-color: var(--rr-bone); }
.rr-grid { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 32px; }
.rr-piece { margin: 0; }
.rr-piece[hidden] { display: none; }
.rr-piece__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.rr-piece__art { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; margin-bottom: 14px; background: #0C1A2E; }
.rr-piece__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); }
.rr-piece__btn:hover .rr-piece__art img, .rr-piece__btn:focus-visible .rr-piece__art img { transform: scale(1.035); filter: brightness(1.06); }
.rr-piece__soon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--rr-bone);
  background: radial-gradient(circle at 30% 60%, rgba(185, 103, 59, 0.2), transparent 45%), linear-gradient(190deg, #1E3D5E, #0B1420);
}
.rr-piece__coll { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rr-sage); }
.rr-piece__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rr-piece__name { font-family: var(--serif); font-size: 20px; line-height: 1.25; color: var(--cream); transition: color .25s ease-out; }
.rr-piece__btn:hover .rr-piece__name { color: var(--gold); }
.rr-piece__price { flex: none; font-size: 14px; color: var(--blue-muted); }
.rr-work__more { margin-top: clamp(36px, 4vw, 50px); text-align: center; }

/* ---------- Featured piece ---------- */
.rr-feature { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.rr-feature__name { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.1; }
.rr-feature__desc { margin: 0 0 26px; max-width: 420px; font-size: 16.5px; line-height: 1.65; color: var(--rr-ink-soft); }
.rr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 24px; }
.rr-price__amt { font-family: var(--serif); font-size: 32px; }
.rr-price__note { font-size: 14px; color: var(--rr-mist); }
.rr-specs { margin: 0 0 30px; padding: 0; list-style: none; max-width: 420px; font-size: 14.5px; color: var(--rr-ink-soft); }
.rr-specs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rr-line); }
.rr-specs li span:last-child { text-align: right; }
.rr-btn-ink { background: var(--rr-ink); color: var(--rr-bone); }
.rr-btn-ink:hover { background: var(--navy); box-shadow: 0 10px 30px -10px rgba(11, 20, 32, 0.5); }
.rr-added { margin: 14px 0 0; font-size: 14.5px; color: var(--rr-sage-deep); }
.rr-added a { color: inherit; }

/* ---------- How it works ---------- */
.rr-how { background: var(--navy-deep); }
.rr-how .rr-kicker { color: var(--rr-sage); }
.rr-steps { max-width: 860px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.rr-step__num { display: block; margin-bottom: 10px; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--rr-clay); }
.rr-step__title { margin: 0 0 8px; font-size: 17px; font-weight: 500; letter-spacing: 0.04em; }
.rr-step__desc { margin: 0 auto; max-width: 240px; font-size: 15px; line-height: 1.6; color: var(--blue-muted); }
.rr-how__more { margin-top: 46px; text-align: center; }

.rr-details { max-width: 760px; margin: 0 auto; }
.rr-details dl { margin: 0; }
.rr-details div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rr-line); }
.rr-details div:last-child { border-bottom: 1px solid var(--rr-line); }
.rr-details dt { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rr-sage-deep); padding-top: 3px; }
.rr-details dd { margin: 0; font-size: 17px; line-height: 1.55; }
.rr-details dd a { color: var(--rr-clay); }

/* ---------- Concept page ---------- */
.rr-article { max-width: 720px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gutter); }
.rr-movement + .rr-movement { margin-top: clamp(56px, 7vw, 84px); }
.rr-movement p { margin: 0 0 20px; font-size: 18px; line-height: 1.75; color: var(--rr-ink-soft); }
.rr-movement p:first-of-type { font-family: var(--serif); font-size: 25px; line-height: 1.4; color: var(--rr-ink); }
.rr-photo-break { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) clamp(20px, 3vw, 40px); }
.rr-signature p { margin: 0 0 20px; font-size: 18px; line-height: 1.75; color: var(--rr-ink-soft); }
.rr-signature .rr-sign { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--rr-ink); }
.rr-cta { padding: 0 var(--gutter) clamp(80px, 10vw, 120px); text-align: center; }

/* Small print at the end of every Reality Reframe page */
.rr-foot-note { margin: 0; padding: 26px var(--gutter); text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--blue-dim); background: var(--navy); border-top: 1px solid var(--gold-line); }

/* ---------- Piece viewer (dialog) ---------- */
.rr-viewer {
  width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-frame); overflow: auto;
  background: #0A1424; color: var(--cream); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
}
.rr-viewer::backdrop { background: rgba(3, 8, 18, 0.88); }
.rr-viewer[open] { animation: rrIn .25s ease-out; }
@keyframes rrIn { from { opacity: 0; transform: translateY(10px); } }
.rr-viewer__inner { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 40px); }
.rr-viewer__art {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 3px; overflow: hidden;
  background: #0C1A2E; cursor: zoom-in;
}
.rr-viewer__art img { width: 100%; height: 100%; object-fit: cover; }
.rr-viewer__art[disabled] { cursor: default; }
.rr-viewer__coll { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rr-sage); }
.rr-viewer__name { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.15; }
.rr-viewer__price { margin: 0 0 22px; font-family: var(--serif); font-size: 24px; }
.rr-viewer__price small { font-family: var(--sans); font-size: 14px; color: var(--blue-muted); }
.rr-viewer__bundle { margin: 14px 0 0; font-size: 14px; color: var(--blue-muted); }
.rr-viewer__status { margin: 12px 0 0; font-size: 14.5px; color: var(--aqua); }
.rr-viewer__status a { color: inherit; }
.rr-viewer__count { margin: 22px 0 0; font-size: 13px; letter-spacing: 0.1em; color: var(--blue-dim); }
.rr-viewer__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 0; }
.rr-viewer__nav { display: flex; gap: 8px; }
.rr-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--gold-line-strong); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer;
  transition: background-color .25s ease-out, border-color .25s ease-out;
}
.rr-icon-btn:hover { background: rgba(227, 192, 137, 0.14); border-color: var(--gold); }

/* Full-screen zoom */
.rr-zoom {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 8, 18, 0.97); cursor: zoom-out;
}
.rr-zoom::backdrop { background: rgba(3, 8, 18, 0.97); }
.rr-zoom__img { position: absolute; inset: 56px 16px 16px; width: calc(100% - 32px); height: calc(100% - 72px); object-fit: contain; }
.rr-zoom .rr-icon-btn { position: absolute; top: 8px; right: 12px; }

@media (max-width: 960px) {
  .rr-grid { grid-template-columns: 1fr 1fr; }
  .rr-concept, .rr-feature { grid-template-columns: 1fr; }
  .rr-concept__copy p { max-width: none; }
}
@media (max-width: 800px) {
  .rr-viewer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .rr-steps { grid-template-columns: 1fr; gap: 34px; }
  .rr-details div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .rr-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-caustics, .rr-scroll::after { animation: none; }
  .rr-viewer[open] { animation: none; }
  .rr-tile img, .rr-tile__words, .rr-piece__art img { transition: none; }
}
