/* Dhimi redesign layer. Scoped to new page classes.
   Does not replace site.css / site-foundation / phase / arch. */

.page-home {
  background: #F3EDE3;
}
.page-home .navbar {
  background: rgba(243, 237, 227, 0.94);
  border-bottom-color: rgba(11, 28, 44, 0.08);
}

.rd-home {
  background: #F3EDE3;
  color: #0B1C2C;
}
.rd-slides {
  height: calc(100dvh - 58px);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.rd-slide {
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.25rem 4.5rem;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}
.rd-slide-brand {
  overflow: hidden;
}
.rd-slide-brand:focus-visible,
.rd-punch-hit:focus-visible,
.rd-door:focus-visible,
.rd-dots button:focus-visible,
.fnq-page a:focus-visible {
  outline: 2px solid #C4A574;
  outline-offset: 3px;
}
.rd-brand-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 40rem;
}
.rd-brand-lockup img {
  width: 92px;
  height: auto;
}
.rd-word {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 12vw, 6.4rem);
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: #0B1C2C;
}
.rd-word span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.28em;
  letter-spacing: 0.42em;
  font-weight: 500;
}
.rd-slide-hint {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A9A86;
}
.rd-owl-stage {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: min(210px, 58vw);
  z-index: 1;
  pointer-events: none;
  animation: rd-walk 16s linear infinite;
}
.rd-owl-stage img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  border-radius: 0;
}
@keyframes rd-walk {
  0% { transform: translateX(-70%); }
  100% { transform: translateX(calc(100vw - 20%)); }
}
.rd-dots {
  position: fixed;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  z-index: 50;
}
.rd-dots button {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  border: 1px solid #0B1C2C;
  background: transparent;
  padding: 0;
}
.rd-dots button[aria-selected="true"] {
  background: #0B1C2C;
}
.rd-slide-punch {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(196, 165, 116, 0.18), transparent 46%),
    #F3EDE3;
}
.rd-punch-hit {
  color: inherit;
  text-decoration: none;
  display: block;
  max-width: 18em;
}
.rd-kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #8A9A86;
}
.rd-punch-hit h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0B1C2C;
}
.rd-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  width: 100%;
}
.rd-doors {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.5rem;
  max-width: none;
  background: none;
  border: none;
}
.rd-door {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 44%;
  min-height: 48px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: #0B1C2C;
}
.rd-door img {
  width: min(42vw, 200px);
  height: auto;
  max-height: 38vh;
  object-fit: contain;
  object-position: center bottom;
  background: none;
  mix-blend-mode: multiply;
  border-radius: 0;
}
.rd-door strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.15rem, 4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: none;
}

.rd-page {
  background: #F3EDE3;
  color: #0B1C2C;
}
.rd-page .story-hero,
.rd-page .authority-hero,
.rd-page .product-hero {
  background: transparent;
}
.rd-intro {
  max-width: 40rem;
}
.rd-intro h1,
.rd-block h2 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.03em;
  color: #0B1C2C;
}
.rd-block {
  margin: 1.75rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11, 28, 44, 0.1);
}
.rd-stream {
  display: grid;
  gap: 0.75rem;
}
.rd-stream a.rd-card {
  display: block;
  padding: 1rem 1.05rem;
  background: #fffdf8;
  border: 1px solid rgba(11, 28, 44, 0.1);
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
}
.rd-stream a.rd-card:hover {
  border-color: #C4A574;
}
.rd-card .eyebrow,
.rd-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A9A86;
}
.rd-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.rd-samples figure {
  margin: 0;
}
.rd-samples img {
  width: 100%;
  height: auto;
  border-radius: 0.45rem;
  border: 1px solid rgba(11, 28, 44, 0.08);
  background: #fff;
}
.rd-samples figcaption {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #5c5348;
}

.fnq-page {
  background: #F3EFE6;
  color: #241C16;
}
.fnq-page .navbar {
  background: rgba(243, 239, 230, 0.95);
}
.fnq-wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.15rem 4rem;
}
.fnq-page h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.6rem;
}
.fnq-line {
  font-size: 1.15rem;
  margin-top: 0;
}
.fnq-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  background: #1F5A42;
  color: #F3EFE6;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.fnq-play[aria-disabled="true"] {
  background: #8d8478;
  cursor: not-allowed;
}
.fnq-meta {
  color: #5c5348;
  font-size: 0.92rem;
}
.fnq-quiet {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}
.fnq-quiet a { color: #1F5A42; }
.fnq-example {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid rgba(143, 61, 50, 0.35);
  border-radius: 0.8rem;
  background: #fffdf8;
}
.fnq-pieces {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}
.fnq-pieces b { color: #8F3D32; }
.fnq-page ul { padding-left: 1.1rem; }
.fnq-page li { margin: 0.35rem 0; }

@media (min-width: 720px) {
  .rd-doors { justify-content: center; gap: 4rem; }
  .rd-door { min-width: 220px; }
  .rd-door img { width: min(280px, 28vw); max-height: 46vh; }
  .rd-samples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd-owl-stage { width: min(260px, 28vw); bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-owl-stage {
    animation: none;
    left: auto;
    right: 1rem;
    bottom: 1rem;
    width: min(180px, 42vw);
  }
  .rd-slides { scroll-behavior: auto; }
}

.rd-support, .rd-method, .rd-gloss {
  position: relative;
  z-index: 2;
  margin: 0.35rem 0 0;
  max-width: 28rem;
}
.rd-support {
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #8A9A86;
}
.rd-method, .rd-gloss {
  font-size: 0.95rem;
  color: #102536;
}
.book-samples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.book-samples figure { margin: 0; }
.book-samples img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.4rem;
}
.book-samples figcaption {
  font-size: 0.75rem;
  margin-top: 0.3rem;
}
