/*
Theme Name: Riki Floral Studio
Theme URI: https://riki.co.il/
Author: NGF Studio
Description: תבנית WordPress תדמיתית לריקי - עיצוב וסידור פרחים מלאכותיים לחללים פרטיים ועסקיים.
Version: 1.5.03
Text Domain: riki-flowers
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --riki-primary: #741c58;
  --riki-accent: #b6648f;
  --riki-plum: #741c58;
  --riki-paper: #fbf9f6;
  --riki-ink: #211b1b;
  --riki-muted: #706869;
  --riki-line: rgba(64, 38, 41, .15);
  --riki-soft: #f5edf0;
  --riki-blush: #f5edf0;
  --riki-white: #fffdfb;
  --riki-surface: rgba(255, 253, 251, .78);
  --riki-surface-strong: rgba(255, 255, 255, .94);
  --riki-aqua: #d48ab4;
  --riki-deep: #50113d;
  --riki-shadow: 0 28px 80px rgba(73, 43, 44, .16);
  --riki-serif: "Rubik", "Heebo", Arial, sans-serif;
  --riki-sans: "Heebo", "Rubik", Arial, sans-serif;
  --riki-width: 1200px;
  --riki-section: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--riki-ink);
  background:
    repeating-linear-gradient(90deg, rgba(7, 86, 106, .035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(199, 167, 110, .028) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(214, 238, 242, .70)),
    linear-gradient(135deg, #d7f0f4 0%, #eef8f8 32%, #d2edf1 64%, #f2e7e2 100%);
  background-attachment: fixed;
  font-family: var(--riki-sans);
  font-size: 17px;
  line-height: 1.75;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--riki-plum); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--riki-accent);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(111, 209, 220, .24);
}

a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.container {
  width: min(var(--riki-width), calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(880px, calc(100% - 40px)); }

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  right: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: var(--riki-white);
  background: var(--riki-primary);
  clip: auto;
  clip-path: none;
}

#main:focus-visible {
  outline: 3px solid var(--riki-accent);
  outline-offset: -6px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(244, 251, 252, .86);
  border-bottom: 1px solid var(--riki-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 16px 44px rgba(8, 56, 69, .10);
}

.admin-bar .site-header { top: 32px; }

.riki-header-soft .site-header { background: rgba(217, 238, 242, .9); }
.riki-header-deep .site-header { color: var(--riki-white); background: rgba(8, 56, 69, .94); }
.riki-header-deep .topbar { border-color: rgba(255, 255, 255, .16); }

.topbar {
  font-size: 14px;
  color: var(--riki-muted);
  border-bottom: 1px solid var(--riki-line);
  background:
    linear-gradient(90deg, rgba(8, 56, 69, .92), rgba(7, 86, 106, .88)),
    var(--riki-deep);
}

.topbar a,
.topbar span,
.riki-header-deep .topbar { color: rgba(255, 255, 255, .84); }

.topbar-inner,
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.topbar-inner {
  justify-content: flex-end;
  min-height: 38px;
  letter-spacing: 0;
}

.topbar a,
.topbar span,
.footer-contact a,
.footer-contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.header-inner {
  min-height: 82px;
  justify-content: space-between;
  gap: clamp(12px, 1.25vw, 22px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--riki-ink);
  text-decoration: none;
}

.site-brand--premium {
  position: relative;
  padding: 7px 10px 7px 14px;
  border: 1px solid rgba(7, 86, 106, .14);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(248, 253, 254, .92), rgba(217, 238, 242, .58)),
    rgba(248, 253, 254, .78);
  box-shadow: 0 16px 42px rgba(8, 56, 69, .10);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.site-brand--premium:hover,
.site-brand--premium:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(199, 167, 110, .42);
  box-shadow: 0 20px 54px rgba(8, 56, 69, .14);
  text-decoration: none;
}

.custom-logo-link img {
  width: 160px;
  max-height: 64px;
  object-fit: contain;
}

.brand-logo-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(111, 209, 220, .78), transparent 35%),
    linear-gradient(145deg, var(--riki-primary), #063642 68%, #041f27);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow:
    0 14px 30px rgba(8, 56, 69, .18),
    inset 0 0 0 5px rgba(255, 255, 255, .10);
  overflow: hidden;
}

.brand-logo-mark img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18));
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-brand strong {
  display: block;
  font-family: var(--riki-serif);
  color: var(--riki-primary);
  font-size: 29px;
  line-height: 1;
  letter-spacing: 0;
}

.site-brand small {
  display: block;
  max-width: 260px;
  color: var(--riki-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.riki-header-deep .site-brand--premium {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(248, 253, 254, .10);
}

.riki-header-deep .site-brand strong { color: var(--riki-white); }
.riki-header-deep .site-brand small { color: rgba(255, 255, 255, .78); }

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  margin-inline-start: 0;
}

.main-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, .95vw, 20px);
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .menu > li {
  flex: 0 0 auto;
  min-width: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  font-size: clamp(13px, .78vw, 15px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.main-nav .current-menu-item > a,
.main-nav a:hover { color: var(--riki-plum); }

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.header-cta,
.btn-primary {
  color: var(--riki-white);
  background:
    linear-gradient(135deg, var(--riki-primary), var(--riki-deep)),
    var(--riki-primary);
  border-color: rgba(111, 209, 220, .28);
  box-shadow: 0 14px 30px rgba(8, 56, 69, .18);
}

.header-cta:hover,
.btn-primary:hover {
  color: var(--riki-deep);
  background:
    linear-gradient(135deg, var(--riki-aqua), #e8c98f),
    var(--riki-accent);
  border-color: rgba(199, 167, 110, .74);
  transform: translateY(-1px);
}

.btn-light {
  color: var(--riki-white);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .62);
}

.btn-light:hover {
  color: var(--riki-primary);
  background: var(--riki-surface-strong);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.26) 45%, transparent 72%);
  transform: translateX(115%);
  transition: transform .55s ease;
}

.btn-primary:hover::after {
  transform: translateX(-115%);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  touch-action: manipulation;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section { padding: var(--riki-section) 0; }

.section:not(.motion-section):not(.contact-cta-section):not(.inner-hero) {
  position: relative;
}

.section-heading h2 {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--riki-plum);
  font-size: 15px;
  font-weight: 800;
}

.eyebrow.light { color: #f0d8b7; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  color: inherit;
  font-family: var(--riki-serif);
  font-weight: 700;
  line-height: 1.18;
}

h1 { font-size: 58px; }
h2 { font-size: 38px; }
h3 { font-size: 24px; }

p { margin: 0 0 18px; }

.hero-section {
  position: relative;
  min-height: 710px;
  display: flex;
  align-items: center;
  color: var(--riki-white);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
  animation: riki-video-breathe 12s ease-in-out infinite alternate;
}

.hero-overlay,
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 56, 69, .16), rgba(8, 56, 69, .84) 66%),
    linear-gradient(0deg, rgba(7, 86, 106, .46), rgba(7, 86, 106, .08)),
    linear-gradient(135deg, rgba(111, 209, 220, .22), rgba(199, 167, 110, .16));
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(217, 240, 244, .92));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 640px;
  padding: 110px 0;
}

.hero-copy h1 span { color: #e8c98f; }

.hero-copy p {
  max-width: 560px;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-boutique-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-boutique-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-product-card {
  position: relative;
  min-width: 0;
  align-self: end;
  margin-bottom: 34px;
  padding: 14px;
  color: var(--riki-ink);
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .92), rgba(234, 247, 248, .76)),
    var(--riki-surface-strong);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 8px;
  box-shadow: 0 34px 96px rgba(8, 56, 69, .32);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.hero-product-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--riki-soft);
  border-radius: 8px;
}

.hero-product-card img {
  width: 100%;
  aspect-ratio: 4 / 4.25;
  object-fit: cover;
}

.hero-product-card figcaption {
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(248, 253, 254, .98), rgba(234, 247, 248, .92));
}

.hero-product-card figcaption span,
.hero-product-card figcaption strong,
.hero-product-card figcaption small {
  display: block;
}

.hero-product-card figcaption span {
  margin-bottom: 8px;
  color: var(--riki-plum);
  font-size: 13px;
  font-weight: 900;
}

.hero-product-card figcaption strong {
  color: var(--riki-primary);
  font-family: var(--riki-serif);
  font-size: 22px;
  line-height: 1.18;
}

.hero-product-card figcaption small {
  margin-top: 7px;
  color: var(--riki-muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-product-list {
  display: grid;
  gap: 1px;
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 86, 106, .12);
  border-radius: 8px;
  list-style: none;
}

.hero-product-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  color: var(--riki-primary);
  background: rgba(248, 253, 254, .72);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-product-list span {
  flex: 0 0 auto;
  color: var(--riki-accent);
  font-size: 12px;
}

.intro-band {
  background:
    linear-gradient(135deg, var(--riki-deep), var(--riki-primary) 52%, #0f7585),
    var(--riki-primary);
  color: var(--riki-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(255, 255, 255, .12);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
}

.intro-item {
  min-width: 0;
  padding: 34px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(8, 56, 69, .46)),
    rgba(8, 56, 69, .46);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.intro-item span {
  display: block;
  margin-bottom: 14px;
  color: var(--riki-accent);
  font-weight: 800;
}

.intro-item h2 {
  margin-bottom: 8px;
  font-size: 25px;
}

.intro-item p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.motion-section {
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .72), rgba(217, 238, 242, .92) 48%, var(--riki-paper));
}

.motion-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  gap: 22px;
}

.motion-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: var(--riki-white);
  background:
    linear-gradient(135deg, var(--riki-primary), var(--riki-deep)),
    var(--riki-primary);
  border-radius: 8px;
  box-shadow: var(--riki-shadow);
  isolation: isolate;
}

.motion-card:first-child {
  min-height: 470px;
}

.motion-card video,
.motion-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 56, 69, .02), rgba(8, 56, 69, .82)),
    linear-gradient(135deg, rgba(111, 209, 220, .20), rgba(199, 167, 110, .18));
}

.motion-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.motion-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: #e8c98f;
  font-weight: 800;
}

.motion-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: 27px;
}

.section-heading {
  margin-bottom: 42px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: end;
  gap: 52px;
}

.split-heading > p {
  max-width: 620px;
  color: var(--riki-muted);
}

.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.home-copy-section {
  padding-top: 76px;
  padding-bottom: 0;
}

.entry-content {
  min-width: 0;
  color: #28444b;
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .78), rgba(234, 247, 248, .62)),
    var(--riki-surface);
  border: 1px solid rgba(7, 86, 106, .12);
  border-radius: 8px;
  box-shadow: 0 18px 58px rgba(8, 56, 69, .08);
}

.entry-content h2,
.entry-content h3 {
  color: var(--riki-primary);
}

.entry-content h2:not(:first-child),
.entry-content h3:not(:first-child) {
  margin-top: 38px;
}

.entry-content ul {
  margin: 0 0 28px;
  padding: 0 22px 0 0;
}

.entry-content li { margin-bottom: 10px; }

.service-grid,
.gallery-grid,
.testimonial-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.gallery-card,
.testimonial-card,
.process-step {
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .96), rgba(234, 247, 248, .74)),
    var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(8, 56, 69, .10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.service-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.35;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(111, 209, 220, .22), rgba(199, 167, 110, .18)),
    var(--riki-soft);
}

.service-card-image img,
.gallery-card img,
.about-image img,
.page-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover img,
.gallery-card:hover img { transform: scale(1.03); }

.service-card img,
.gallery-card img {
  transition: transform .35s ease;
}

.service-card-body {
  padding: 24px 24px 26px;
}

.service-card h3,
.gallery-card strong {
  overflow-wrap: anywhere;
}

.service-card h3 {
  color: var(--riki-primary);
}

.service-card p,
.gallery-card span,
.testimonial-card blockquote,
.process-step p {
  color: var(--riki-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--riki-primary);
  font-weight: 800;
  border-bottom: 2px solid var(--riki-accent);
  overflow-wrap: anywhere;
}

.text-link::after {
  content: "←";
  margin-inline-start: 8px;
  color: var(--riki-accent);
  font-weight: 900;
}

.about-band {
  background:
    linear-gradient(180deg, rgba(217, 238, 242, .86), rgba(242, 232, 229, .58)),
    linear-gradient(135deg, rgba(111, 209, 220, .14), rgba(199, 167, 110, .10));
}

.about-grid,
.contact-cta-grid,
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.about-image {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--riki-shadow);
}

.about-image::after {
  content: "Riki Floral Studio";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: var(--riki-white);
  background: rgba(8, 56, 69, .74);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.about-copy p { color: var(--riki-muted); }

.process-section {
  background:
    linear-gradient(135deg, rgba(234, 247, 248, .94), rgba(205, 232, 237, .82)),
    var(--riki-paper);
}

.process-step {
  padding: 30px;
  background: linear-gradient(180deg, var(--riki-surface-strong), rgba(242, 232, 229, .78));
}

.process-step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--riki-accent);
  font-size: 25px;
  font-weight: 800;
}

.materials-section {
  background:
    linear-gradient(90deg, rgba(7, 86, 106, .10), rgba(242, 232, 229, .78)),
    var(--riki-paper);
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: start;
}

.materials-layout > .section-heading {
  position: sticky;
  top: 132px;
  margin: 0;
}

.materials-layout > .section-heading p {
  color: var(--riki-muted);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.material-item {
  min-width: 0;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .88), rgba(217, 238, 242, .62)),
    var(--riki-surface);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(8, 56, 69, .09);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.material-item span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--riki-accent);
  font-weight: 800;
}

.material-item p {
  color: var(--riki-muted);
}

.gallery-section {
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .68), rgba(217, 238, 242, .92)),
    var(--riki-paper);
}

.gallery-card {
  position: relative;
  aspect-ratio: 1 / 1;
  isolation: isolate;
  box-shadow: 0 20px 60px rgba(8, 56, 69, .12);
}

.gallery-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 14px 16px;
  color: var(--riki-white);
  background:
    linear-gradient(135deg, rgba(8, 56, 69, .90), rgba(7, 86, 106, .74));
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(4, 38, 48, .20);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.gallery-card strong,
.gallery-card span { display: block; }

.gallery-card span {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.gallery-section > .container {
  width: min(1480px, calc(100% - 40px));
}

.gallery-section .section-heading {
  max-width: 1180px;
  margin-inline: auto;
}

.gallery-section .gallery-grid,
.entry-content--gallery .gallery-grid {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(22px, 2.4vw, 34px);
}

.entry-content--gallery .gallery-grid {
  margin-top: 34px;
  text-align: start;
}

.gallery-card {
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 38, 48, .84), rgba(7, 86, 106, .36) 58%, transparent);
  opacity: .58;
  transition: opacity .3s ease;
}

.gallery-card img {
  display: block;
  height: 100%;
  min-height: 100%;
  max-height: none;
  aspect-ratio: auto;
}

.gallery-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  max-height: min(42%, 190px);
  overflow: hidden;
  padding: 14px 16px 16px;
  color: var(--riki-white);
  background: linear-gradient(135deg, rgba(8, 56, 69, .90), rgba(7, 86, 106, .78));
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(4, 38, 48, .26);
  transform: translateY(calc(100% - 96px));
  transition: transform .32s ease, opacity .32s ease, background .32s ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: .84;
}

.gallery-card:hover figcaption,
.gallery-card:focus figcaption,
.gallery-card:focus-visible figcaption {
  transform: translateY(0);
}

.gallery-card strong {
  color: var(--riki-white);
  font-size: clamp(18px, 1.15vw, 23px);
  line-height: 1.35;
}

.gallery-card span {
  display: -webkit-box;
  margin-top: 8px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.65;
  opacity: .9;
  overflow: hidden;
  transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: opacity .28s ease;
}

.gallery-card:hover span,
.gallery-card:focus span,
.gallery-card:focus-visible span {
  opacity: 1;
  -webkit-line-clamp: 4;
}

@media (hover: none) {
  .gallery-card figcaption {
    transform: translateY(0);
  }

  .gallery-card span {
    opacity: 1;
    -webkit-line-clamp: 3;
  }
}

.page-section--gallery {
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 209, 220, .16), transparent 38%),
    linear-gradient(180deg, rgba(234, 247, 248, .94), rgba(217, 238, 242, .74)),
    var(--riki-paper);
}

.page-layout--gallery {
  display: block;
  width: min(1500px, calc(100% - 40px));
}

.entry-content--gallery {
  padding: clamp(28px, 3.6vw, 58px);
  text-align: center;
}

.entry-content--gallery > h2,
.entry-content--gallery > p {
  max-width: 940px;
  margin-inline: auto;
}

.entry-content--gallery > .gallery-grid + p {
  margin-top: 34px;
}

.gallery-showcase-list {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  width: min(1480px, 100%);
  margin: clamp(34px, 5vw, 68px) auto 0;
}

.gallery-showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid rgba(7, 86, 106, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 253, 254, .92), rgba(217, 238, 242, .58)),
    radial-gradient(circle at 88% 18%, rgba(199, 167, 110, .14), transparent 32%);
  box-shadow: 0 28px 80px rgba(8, 56, 69, .12);
}

.gallery-showcase-card:nth-child(even) {
  grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
}

.gallery-showcase-card:nth-child(even) .gallery-showcase-media {
  order: 2;
}

.gallery-showcase-media {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
  min-width: 0;
}

.gallery-showcase-figure {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 86, 106, .16);
  border-radius: 8px;
  background: rgba(248, 253, 254, .92);
  box-shadow: 0 16px 44px rgba(8, 56, 69, .10);
}

.gallery-showcase-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 32vw, 520px);
  object-fit: cover;
}

.gallery-showcase-figure--source img {
  object-fit: contain;
  padding: clamp(10px, 1.4vw, 18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(234, 247, 248, .82));
}

.gallery-showcase-figure figcaption {
  padding: 11px 14px;
  color: var(--riki-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  background: rgba(248, 253, 254, .96);
  border-top: 1px solid rgba(7, 86, 106, .12);
}

.gallery-showcase-copy {
  min-width: 0;
}

.gallery-showcase-copy h3 {
  margin: 10px 0 16px;
  color: var(--riki-primary);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.16;
}

.gallery-showcase-copy p {
  margin: 0 0 15px;
  color: var(--riki-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.85;
}

.gallery-showcase-copy .gallery-showcase-note {
  margin-top: 18px;
  padding: 14px 18px;
  color: var(--riki-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  border-inline-start: 4px solid var(--riki-accent);
  background: rgba(217, 238, 242, .54);
  border-radius: 0 8px 8px 0;
}

.knowledge-section {
  background:
    linear-gradient(135deg, rgba(217, 238, 242, .92), rgba(242, 232, 229, .54)),
    var(--riki-soft);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  min-width: 0;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .98), rgba(234, 247, 248, .78)),
    var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(8, 56, 69, .10);
  transition: transform .25s ease, box-shadow .25s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.article-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--riki-accent);
  font-weight: 800;
}

.article-card h3 {
  overflow-wrap: anywhere;
}

.article-card p {
  color: var(--riki-muted);
}

.article-card:hover,
.service-card:hover,
.material-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(8, 56, 69, .16);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.testimonials-section {
  background:
    linear-gradient(180deg, rgba(242, 232, 229, .74), var(--riki-paper)),
    linear-gradient(135deg, rgba(111, 209, 220, .18), rgba(7, 86, 106, .08));
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .70), rgba(234, 247, 248, .92)),
    var(--riki-paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  min-width: 0;
  padding: 0 22px;
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .96), rgba(234, 247, 248, .78)),
    var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(8, 56, 69, .08);
}

.faq-list summary {
  padding: 20px 0;
  color: var(--riki-primary);
  font-weight: 800;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.faq-list p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--riki-muted);
}

.testimonial-card {
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 22px;
  color: rgba(199, 167, 110, .34);
  font-family: var(--riki-serif);
  font-size: 74px;
  line-height: 1;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
}

.testimonial-card figcaption {
  color: var(--riki-primary);
  font-weight: 800;
}

.contact-cta-section {
  padding: 96px 0;
  color: var(--riki-white);
  background:
    linear-gradient(90deg, rgba(8, 56, 69, .98), rgba(7, 86, 106, .84)),
    linear-gradient(135deg, rgba(111, 209, 220, .22), rgba(199, 167, 110, .18)),
    url("assets/images/riki-client-2026/rikud-bachama.webp") center / cover;
}

.contact-cta-copy p { color: rgba(255, 255, 255, .84); }

.contact-pills {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-pills a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--riki-white);
  font-weight: 800;
}

.contact-form {
  min-width: 0;
  padding: 32px;
  color: var(--riki-ink);
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .98), rgba(234, 247, 248, .88)),
    var(--riki-surface-strong);
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 8px;
  box-shadow: 0 34px 92px rgba(8, 56, 69, .28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.contact-form label,
.contact-form span,
.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  width: 100%;
  min-width: 0;
}

.contact-form label { margin-bottom: 16px; }

.contact-form label span {
  margin-bottom: 6px;
  color: var(--riki-primary);
  font-weight: 700;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 46px;
  padding: 11px 13px;
  color: var(--riki-ink);
  background: rgba(248, 253, 254, .92);
  border: 1px solid rgba(7, 86, 106, .28);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(111, 209, 220, .32);
  border-color: var(--riki-primary);
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-status {
  margin: 12px 0 0;
  min-height: 24px;
  color: var(--riki-primary);
  font-weight: 700;
}

.contact-form.is-error .form-status { color: #a32323; }

.inner-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: end;
  color: var(--riki-white);
  background-image: var(--inner-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.inner-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 56, 69, .22), rgba(8, 56, 69, .86) 68%),
    linear-gradient(0deg, rgba(7, 86, 106, .46), rgba(7, 86, 106, .08)),
    linear-gradient(135deg, rgba(111, 209, 220, .18), rgba(199, 167, 110, .14));
}

.inner-hero-content {
  max-width: 760px;
  padding: 92px 0 58px;
}

.inner-hero-content p {
  max-width: 640px;
  font-size: 20px;
}

.page-section {
  background:
    linear-gradient(180deg, rgba(248, 253, 254, .76), rgba(234, 247, 248, .94)),
    var(--riki-paper);
}

.page-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.page-aside {
  position: sticky;
  top: 132px;
  min-width: 0;
}

.page-aside > img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--riki-shadow);
}

.aside-panel {
  margin-top: 18px;
  padding: 24px;
  background: var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(8, 56, 69, .08);
}

.aside-panel p { color: var(--riki-muted); }

.side-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-link-list li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--riki-line);
}

.side-link-list a {
  min-width: 0;
  color: var(--riki-primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.listing-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--riki-line);
}

.pagination {
  margin-top: 36px;
}

.not-found-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.article-cta {
  margin-top: 42px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(217, 238, 242, .92), rgba(242, 232, 229, .62)),
    var(--riki-soft);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
}

.site-footer {
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(circle at 14% 0%, rgba(111, 209, 220, .18), transparent 34%),
    linear-gradient(145deg, #062f3a, #071e27 58%, #04151b);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, .65fr) minmax(280px, .9fr);
  gap: clamp(28px, 5vw, 64px);
  padding-top: clamp(54px, 7vw, 82px);
  padding-bottom: 34px;
}

.footer-brand p {
  max-width: 440px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .72);
}

.footer-logo,
.footer-logo:hover {
  color: var(--riki-white);
  text-decoration: none;
}

.footer-logo.site-brand--premium {
  width: fit-content;
  background: rgba(248, 253, 254, .08);
  border-color: rgba(255, 255, 255, .15);
}

.footer-logo .brand-logo-mark {
  box-shadow:
    0 0 0 7px rgba(111, 209, 220, .12),
    0 14px 30px rgba(0, 0, 0, .22),
    inset 0 0 0 5px rgba(255, 255, 255, .10);
}

.footer-logo strong {
  color: var(--riki-white);
}

.footer-logo small {
  color: rgba(255, 255, 255, .76);
}

.footer-nav h2,
.footer-contact h2 {
  margin-bottom: 16px;
  color: var(--riki-white);
  font-size: 18px;
}

.footer-menu {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: rgba(255, 255, 255, .74);
  font-weight: 700;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--riki-aqua);
}

.footer-contact {
  padding: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a.footer-contact-item:hover,
.footer-contact a.footer-contact-item:focus-visible {
  color: var(--riki-white);
  background: rgba(111, 209, 220, .13);
  border-color: rgba(111, 209, 220, .32);
}

.footer-contact-label {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-weight: 800;
}

.footer-contact-item strong {
  min-width: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-copyright {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--riki-white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.footer-back-top:hover,
.footer-back-top:focus-visible {
  color: var(--riki-deep);
  background: var(--riki-aqua);
}

.ngf-signature {
  position: static;
  width: auto;
  min-width: 0;
  font-family: var(--riki-sans);
}

.ngf-signature-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  overflow: hidden;
  text-decoration: none;
}

.ngf-signature-link::before {
  display: none;
}

.ngf-signature-link:hover {
  color: var(--riki-white);
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.ngf-signature-logo {
  display: block;
  width: clamp(168px, 17vw, 236px);
  max-width: min(236px, 52vw);
  height: auto;
  border-radius: 14px;
}

.ngf-signature-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--riki-deep);
  background:
    radial-gradient(circle at 30% 24%, var(--riki-white), rgba(255, 255, 255, .78) 34%, transparent 35%),
    linear-gradient(135deg, var(--riki-aqua), var(--riki-accent));
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .18);
}

.ngf-signature-mark::after {
  display: none;
}

.ngf-signature-mark span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.ngf-signature-text {
  position: relative;
  z-index: 1;
  max-width: 260px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@keyframes ngfSignatureFloat {
  0%,
  100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-3deg); }
}

@keyframes ngfSignaturePulse {
  0% {
    opacity: .66;
    transform: scale(.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@keyframes ngfSignatureShine {
  0%,
  42% { transform: translateX(0) rotate(18deg); opacity: 0; }
  52% { opacity: 1; }
  72%,
  100% { transform: translateX(360%) rotate(18deg); opacity: 0; }
}

.riki-chat {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  font-family: var(--riki-sans);
}

.riki-chat[hidden],
.riki-chat[data-riki-chat-disabled="true"] {
  display: none !important;
}

body.riki-chat-open {
  overflow: hidden;
}

.riki-chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 52px;
  padding: 12px 18px;
  color: var(--riki-white);
  background:
    linear-gradient(135deg, var(--riki-primary), var(--riki-deep)),
    var(--riki-primary);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  box-shadow: 0 20px 52px rgba(8, 56, 69, .28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.riki-chat-dot {
  width: 10px;
  height: 10px;
  background: #9ce7b6;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(156, 231, 182, .16);
}

.riki-chat-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: grid;
  grid-template-rows: auto minmax(190px, 1fr) auto auto;
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 120px));
  overflow: hidden;
  background: var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
  border-radius: 8px;
  box-shadow: 0 28px 88px rgba(8, 56, 69, .28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.riki-chat[data-riki-chat-state="closed"] .riki-chat-panel,
.riki-chat:not([data-riki-chat-state="open"]) .riki-chat-panel {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.riki-chat[data-riki-chat-state="open"] .riki-chat-panel {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.riki-chat-panel[hidden] {
  display: none !important;
}

.riki-chat-panel:focus {
  outline: 3px solid var(--riki-accent);
  outline-offset: 4px;
}

.riki-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 15px;
  color: var(--riki-white);
  background:
    linear-gradient(135deg, var(--riki-deep), var(--riki-primary)),
    var(--riki-primary);
}

.riki-chat-head strong,
.riki-chat-head span {
  display: block;
}

.riki-chat-head span {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.riki-chat-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--riki-white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.riki-chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  overflow-y: auto;
  background:
    linear-gradient(135deg, rgba(111, 209, 220, .16), rgba(199, 167, 110, .10)),
    var(--riki-paper);
}

.riki-chat-message {
  display: grid;
  max-width: 88%;
}

.riki-chat-message p {
  margin: 0;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.riki-chat-message.is-bot {
  justify-self: start;
}

.riki-chat-message.is-bot p {
  color: var(--riki-ink);
  background: var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
}

.riki-chat-message.is-user {
  justify-self: end;
}

.riki-chat-message.is-user p {
  color: var(--riki-white);
  background: var(--riki-primary);
}

.riki-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.riki-chat-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--riki-primary);
  background: var(--riki-surface-strong);
  border: 1px solid var(--riki-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.riki-chat-quick {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  background: rgba(248, 253, 254, .88);
  border-top: 1px solid var(--riki-line);
}

.riki-chat-quick button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--riki-primary);
  background: var(--riki-soft);
  border: 1px solid var(--riki-line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.riki-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 14px;
  background: rgba(248, 253, 254, .9);
  border-top: 1px solid var(--riki-line);
}

.riki-chat-form input {
  min-width: 0;
  min-height: 46px;
  padding: 9px 11px;
  color: var(--riki-ink);
  background: rgba(248, 253, 254, .96);
  border: 1px solid rgba(7, 86, 106, .25);
  border-radius: 8px;
  font: inherit;
}

.riki-chat-form button {
  min-height: 46px;
  min-width: 54px;
  padding: 8px 13px;
  color: var(--riki-white);
  background:
    linear-gradient(135deg, var(--riki-primary), var(--riki-deep)),
    var(--riki-primary);
  border: 1px solid rgba(7, 86, 106, .62);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.riki-chat-form .riki-chat-secondary-close {
  color: var(--riki-primary);
  background: rgba(248, 253, 254, .74);
  border-color: var(--riki-line);
}

.riki-chat-form .riki-chat-secondary-close:hover {
  color: var(--riki-deep);
  background: var(--riki-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riki-video-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (max-width: 1180px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }

  .topbar { display: none; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 20px 22px;
    background: var(--riki-paper);
    border-bottom: 1px solid var(--riki-line);
    box-shadow: 0 20px 40px rgba(8, 56, 69, .12);
  }
  .riki-header-deep .main-nav { background: var(--riki-primary); }
  .main-nav.is-open { display: block; }
  .main-nav .menu {
    display: grid;
    gap: 0;
  }
  .main-nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 14px 0;
    border-bottom: 1px solid var(--riki-line);
    white-space: normal;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 32px;
  }

  .hero-product-card {
    margin-bottom: 20px;
  }

  .header-cta { display: none; }
  .service-grid,
  .gallery-grid,
  .testimonial-grid,
  .process-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .motion-grid {
    grid-template-columns: 1fr 1fr;
  }

  .motion-card:first-child {
    grid-column: 1 / -1;
  }

  .gallery-showcase-card,
  .gallery-showcase-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
    order: initial;
  }
}

@media (max-width: 820px) {
  :root { --riki-section: 70px; }

  body { font-size: 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  h3 { font-size: 22px; }

  .topbar { display: none; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 20px 22px;
    background: var(--riki-paper);
    border-bottom: 1px solid var(--riki-line);
  }
  .riki-header-deep .main-nav { background: var(--riki-primary); }
  .main-nav.is-open { display: block; }
  .main-nav .menu {
    display: grid;
    gap: 0;
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--riki-line);
  }

  .hero-section {
    min-height: auto;
    padding: 74px 0 64px;
    background-position: 58% center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    max-width: 720px;
    padding: 0;
  }

  .hero-product-card {
    width: min(620px, 100%);
    margin: 0;
  }

  .hero-product-card figure {
    display: grid;
    grid-template-columns: minmax(150px, .72fr) minmax(0, 1fr);
  }

  .hero-product-card img {
    height: 100%;
    min-height: 220px;
    aspect-ratio: auto;
  }

  .hero-product-card figcaption {
    display: grid;
    align-content: center;
  }

  .hero-product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-product-list li {
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 10px;
    font-size: 13px;
  }

  .hero-copy p,
  .inner-hero-content p { font-size: 18px; }

  .intro-grid,
  .split-heading,
  .about-grid,
  .contact-cta-grid,
  .page-layout,
  .materials-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid { gap: 1px; }
  .page-aside { position: static; }
  .materials-layout > .section-heading { position: static; }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .gallery-showcase-media {
    grid-template-columns: 1fr;
  }

  .gallery-showcase-figure img {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow { width: min(100% - 28px, var(--riki-width)); }

  .gallery-section > .container,
  .page-layout--gallery {
    width: min(100% - 28px, 1500px);
  }

  .site-brand--premium {
    gap: 10px;
    padding: 6px 8px 6px 10px;
  }
  .site-brand strong { font-size: 23px; }
  .site-brand small {
    max-width: 175px;
    font-size: 12px;
  }
  .brand-logo-mark {
    width: 46px;
    height: 46px;
  }
  .brand-logo-mark img {
    height: 33px;
    max-width: 33px;
  }
  .site-brand--exact-logo {
    width: 42px;
    height: 58px;
    flex-basis: 42px;
    padding: 5px 7px;
    border-radius: 0 0 13px 13px;
  }

  .hero-section { padding: 58px 0 48px; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 56, 69, .48), rgba(8, 56, 69, .88)),
      linear-gradient(0deg, rgba(7, 86, 106, .46), rgba(7, 86, 106, .14));
  }
  .hero-actions,
  .field-row { grid-template-columns: 1fr; display: grid; }

  .hero-boutique-note {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-boutique-note span {
    justify-content: center;
  }

  .gallery-showcase-list {
    gap: 30px;
  }

  .gallery-showcase-card {
    padding: 16px;
  }

  .gallery-showcase-figure img {
    min-height: 260px;
  }

  .gallery-showcase-copy h3 {
    font-size: 26px;
  }

  .gallery-showcase-copy p {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-product-card { display: none; }

  .entry-content {
    padding: 26px;
  }

  .service-grid,
  .gallery-grid,
  .testimonial-grid,
  .process-grid,
  .article-grid,
  .motion-grid,
  .materials-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 22px; }
  .gallery-card {
    min-height: 330px;
    aspect-ratio: 4 / 5;
  }
  .gallery-card img {
    min-height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }
  .gallery-card figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-height: 45%;
    padding: 12px 14px 14px;
    transform: translateY(0);
  }
  .gallery-card span {
    font-size: 14px;
    line-height: 1.55;
  }
  .motion-card,
  .motion-card:first-child { min-height: 330px; }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    padding: 14px;
  }

  .footer-bottom {
    justify-items: start;
  }

  .ngf-signature-link {
    max-width: 100%;
  }

  .riki-chat {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .riki-chat-toggle {
    min-height: 48px;
    padding: 10px 14px;
  }

  .riki-chat-panel {
    right: 0;
    bottom: 62px;
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 96px);
  }

  .riki-chat-message {
    max-width: 94%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-video {
    animation: none;
  }

  .ngf-signature-link::before,
  .ngf-signature-mark,
  .ngf-signature-mark::after {
    animation: none;
  }
}

/* Riki redesign 1.4.35 - based on the supplied boutique floral reference. */
html { scroll-behavior: smooth; }
body { background: var(--riki-paper); color: var(--riki-ink); }
body.menu-open { overflow: hidden; }
.container { width: min(100% - 48px, 1180px); }
.section-pad { padding: 112px 0; }

.site-header {
  position: absolute;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  color: var(--riki-ink);
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.admin-bar .site-header { top: 32px; }
.header-shell {
  width: min(1360px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid rgba(46, 36, 36, .14);
}
.brand { display: inline-flex; direction: ltr; align-items: center; gap: 7px; width: fit-content; min-width: 0; color: var(--riki-ink); text-decoration: none; }
.brand:hover, .brand:focus-visible { color: var(--riki-primary); text-decoration: none; }
.brand-word { font-family: var(--riki-serif); font-size: 32px; line-height: 1; letter-spacing: .15em; }
.brand-mark { width: 29px; height: 25px; color: var(--riki-aqua); fill: currentColor; }
.site-brand--exact-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 76px;
  flex: 0 0 56px;
  padding: 7px 9px;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, .16), transparent 36%),
    linear-gradient(145deg, var(--riki-primary), var(--riki-deep));
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 38px rgba(73, 43, 44, .18);
  overflow: hidden;
}
.site-brand--exact-logo:hover,
.site-brand--exact-logo:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(73, 43, 44, .24);
}
.brand-logo-image {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.primary-nav { position: static; display: block; min-width: 0; margin: 0; }
.primary-nav .menu { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li { flex: 0 0 auto; min-width: 0; }
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  color: #4d4546;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  transition: color .25s ease;
}
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--riki-primary); transition: width .25s ease; }
.primary-nav .current-menu-item > a, .primary-nav a:hover, .primary-nav a:focus-visible { color: var(--riki-primary); }
.primary-nav .current-menu-item > a::after, .primary-nav a:hover::after, .primary-nav a:focus-visible::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; direction: ltr; }
.phone-link { color: var(--riki-ink); font-size: 13px; font-weight: 800; direction: ltr; white-space: nowrap; }
.header-cta {
  min-height: 44px;
  padding: 11px 19px;
  border-radius: 2px;
  color: #fff;
  background: var(--riki-primary);
  border-color: var(--riki-primary);
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.header-cta:hover, .header-cta:focus-visible { color: #fff; background: var(--riki-deep); border-color: var(--riki-deep); transform: translateY(-2px); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 0; background: transparent; color: var(--riki-ink); }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 25px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 830px; display: flex; align-items: center; overflow: hidden; padding-top: 88px; background: #e8dfd4; }
.hero-background { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252, 248, 242, .95) 0%, rgba(252, 248, 242, .82) 40%, rgba(252, 248, 242, .25) 68%, rgba(252, 248, 242, .08) 100%), var(--hero-lobby) center / cover no-repeat; transform: scale(1.01); }
.hero-background::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 48%, rgba(255, 255, 255, 0) 10%, rgba(77, 50, 45, .1) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 45px; }
.hero-copy { max-width: 500px; padding-top: 34px; }
.eyebrow { margin: 0 0 13px; color: var(--riki-primary); font-size: 11px; line-height: 1.2; letter-spacing: .12em; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: 0; }
.hero h1 { margin-bottom: 24px; font-size: 86px; line-height: .98; }
.hero h1 em, .hero h1 span, h2 em { font-family: var(--riki-serif); font-style: normal; font-weight: 500; color: var(--riki-primary); }
.hero-lead { max-width: 440px; margin-bottom: 29px; color: #4c4442; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button, .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  min-width: 0;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible, .btn:hover, .btn:focus-visible { transform: translateY(-3px); }
.button-primary, .btn-primary { color: #fff; background: var(--riki-primary); border-color: var(--riki-primary); box-shadow: none; }
.button-primary:hover, .button-primary:focus-visible, .btn-primary:hover, .btn-primary:focus-visible { color: #fff; background: var(--riki-deep); border-color: var(--riki-deep); }
.button-secondary, .btn-light { color: var(--riki-primary); background: rgba(255, 255, 255, .52); border-color: var(--riki-primary); }
.button-secondary:hover, .button-secondary:focus-visible, .btn-light:hover, .btn-light:focus-visible { color: #fff; background: var(--riki-primary); }
.hero-visual { position: relative; min-height: 510px; margin-top: 15px; }
.hero-frame { position: absolute; inset: 10% 0 2% 5%; border: 1px solid rgba(255, 255, 255, .8); background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); box-shadow: 0 28px 55px rgba(65, 38, 33, .14); }
.hero-arrangement { position: absolute; width: min(650px, 100%); right: 0; bottom: -5px; filter: drop-shadow(0 26px 20px rgba(45, 31, 27, .2)); }
.visual-label { position: absolute; right: 2%; top: 4%; width: 178px; margin: 0; padding: 15px 18px; border-right: 2px solid var(--riki-primary); background: rgba(255, 255, 255, .78); color: var(--riki-ink); font-size: 13px; font-weight: 800; line-height: 1.45; }
.scroll-cue { position: absolute; z-index: 2; bottom: 22px; right: calc(50% - 41px); display: flex; flex-direction: column; align-items: center; gap: 7px; color: #5c4e49; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.scroll-cue i { width: 18px; height: 18px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); animation: riki-cue 1.5s infinite; }
@keyframes riki-cue { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

.benefits { background: #fffdfb; border-bottom: 1px solid var(--riki-line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: flex; align-items: center; gap: 14px; min-height: 116px; padding: 22px 24px; border-left: 1px solid var(--riki-line); }
.benefit:last-child { border-left: 0; }
.benefit h2 { margin-bottom: 3px; color: var(--riki-primary); font-family: var(--riki-sans); font-size: 15px; font-weight: 900; line-height: 1.25; }
.benefit p { margin: 0; color: var(--riki-muted); font-size: 12px; line-height: 1.45; }
.benefit-icon { position: relative; flex: 0 0 30px; width: 30px; height: 30px; color: var(--riki-aqua); }
.icon-leaf::before { content: ""; position: absolute; inset: 3px 5px 8px 7px; border: 1.8px solid currentColor; border-radius: 70% 0 70% 0; transform: rotate(-28deg); }
.icon-leaf::after { content: ""; position: absolute; width: 17px; height: 1.5px; top: 17px; right: 4px; background: currentColor; transform: rotate(-36deg); }
.icon-diamond::before { content: ""; position: absolute; width: 21px; height: 21px; top: 4px; right: 4px; border: 1.8px solid currentColor; transform: rotate(45deg); }
.icon-diamond::after { content: ""; position: absolute; width: 16px; height: 16px; top: 7px; right: 7px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.icon-arch::before { content: ""; position: absolute; width: 23px; height: 20px; top: 6px; right: 3px; border: 1.8px solid currentColor; border-bottom: 0; border-radius: 24px 24px 0 0; }
.icon-arch::after { content: ""; position: absolute; right: 14px; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 7px 0 currentColor; }
.icon-spark::before { content: "✦"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 29px; line-height: 1; }

.section-heading { margin-bottom: 50px; }
.section-heading.centered { max-width: 720px; margin-inline: auto; text-align: center; }
.section-heading h2, .process-top h2, .transform-copy h2, .contact-copy h2 { margin-bottom: 13px; font-size: 56px; line-height: 1.08; }
.section-heading > p:last-child { max-width: 600px; margin: 0 auto; color: var(--riki-muted); font-size: 17px; }
.spaces, .process { background: var(--riki-paper); }
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.space-card { background: #fff; border: 1px solid rgba(58, 42, 40, .08); box-shadow: 0 7px 22px rgba(71, 44, 38, .07); transition: transform .25s ease, box-shadow .25s ease; }
.space-card:hover, .space-card:focus-within { transform: translateY(-8px); box-shadow: 0 18px 46px rgba(73, 43, 44, .12); }
.space-image { height: 248px; overflow: hidden; background: var(--riki-soft); }
.space-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.space-card:hover .space-image img, .space-card:focus-within .space-image img { transform: scale(1.06); }
.space-content { padding: 23px 25px 27px; }
.space-content > span { display: block; margin-bottom: 8px; color: var(--riki-aqua); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.space-content h3 { margin-bottom: 7px; font-size: 23px; line-height: 1.15; font-weight: 700; }
.space-content p { min-height: 47px; margin-bottom: 14px; color: var(--riki-muted); font-size: 14px; }
.space-content a, .collection-copy a { color: var(--riki-primary); font-size: 13px; font-weight: 900; }
.space-content b, .collection-copy a span { display: inline-block; margin-right: 5px; transition: transform .2s ease; }
.space-content a:hover b, .collection-copy a:hover span { transform: translateX(-5px); }
.text-link { border-bottom-color: currentColor; }
.text-link > span[aria-hidden="true"] { display: none; }
.text-link::after { content: "←"; margin-inline-start: 8px; color: currentColor; }

.designer-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(116, 28, 88, .08), transparent 29%, rgba(212, 138, 180, .12)),
    linear-gradient(135deg, #fffdfb 0%, #f7edf1 54%, #fff 100%);
  border-block: 1px solid rgba(116, 28, 88, .12);
}
.designer-cta::before {
  content: "";
  position: absolute;
  inset: 28px max(20px, calc((100vw - 1180px) / 2)) auto auto;
  width: 86px;
  height: 1px;
  background: var(--riki-primary);
  opacity: .38;
}
.designer-cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.designer-cta-copy { max-width: 560px; }
.designer-cta-copy h2 {
  max-width: 520px;
  margin-bottom: 16px;
  color: var(--riki-ink);
  font-size: 58px;
  line-height: 1.04;
}
.designer-cta-copy > p:last-of-type {
  color: #514747;
  font-size: 18px;
  line-height: 1.85;
}
.designer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.designer-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.designer-cta-points li {
  min-width: 0;
  min-height: 214px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(116, 28, 88, .13);
  box-shadow: 0 18px 42px rgba(73, 43, 44, .08);
}
.designer-cta-points span {
  display: block;
  margin-bottom: 18px;
  color: var(--riki-aqua);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.designer-cta-points strong {
  display: block;
  margin-bottom: 10px;
  color: var(--riki-primary);
  font-size: 22px;
  line-height: 1.15;
}
.designer-cta-points p {
  margin: 0;
  color: var(--riki-muted);
  font-size: 14px;
  line-height: 1.65;
}

.art-statement { position: relative; overflow: hidden; background: #eee6dd; }
.art-statement::before { content: ""; position: absolute; width: 450px; height: 450px; top: -250px; left: -180px; border: 1px solid rgba(116, 28, 88, .2); border-radius: 50%; }
.art-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; }
.art-copy { max-width: 480px; }
.art-copy h2 { margin-bottom: 24px; font-size: 64px; line-height: 1.04; }
.art-copy p { color: #514747; font-size: 18px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 13px; color: var(--riki-primary); font-size: 15px; font-weight: 900; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(-6px); }
.art-visual { min-height: 470px; position: relative; }
.art-image { position: absolute; inset: 0 0 0 6%; overflow: hidden; background: #e0d5c9; }
.art-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238, 230, 221, .85), transparent 43%); }
.art-image img { width: 100%; height: 100%; object-fit: cover; }
.art-arrangement { position: absolute; width: 77%; max-width: 520px; left: 3%; bottom: -42px; filter: drop-shadow(0 27px 18px rgba(61, 44, 37, .2)); }
.art-note { position: absolute; top: 34px; right: -11px; width: 184px; padding: 17px; background: #fffdfb; box-shadow: 0 18px 46px rgba(73, 43, 44, .12); }
.art-note span { display: block; margin-bottom: 8px; color: var(--riki-aqua); font-size: 9px; letter-spacing: .12em; font-weight: 900; }
.art-note strong { font-size: 15px; line-height: 1.35; }

.collections, .transformation { background: #fffdfb; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.split-heading > p { max-width: 400px; margin: 0 0 7px; color: var(--riki-muted); font-size: 16px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collection-card { overflow: hidden; border: 1px solid rgba(58, 42, 40, .11); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.collection-card:hover, .collection-card:focus-within { transform: translateY(-7px); box-shadow: 0 18px 46px rgba(73, 43, 44, .12); }
.collection-visual { height: 296px; position: relative; overflow: hidden; }
.collection-visual img { position: absolute; max-width: none; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(29, 17, 16, .14)); }
.tone-light .collection-visual { background: linear-gradient(145deg, #f8f5ef, #ece9e6); }
.tone-stone .collection-visual { background: linear-gradient(145deg, #e7dbcd, #c3ac99); }
.tone-ink .collection-visual { background: linear-gradient(145deg, #423a3c, #1f1a1d); }
.tone-rose .collection-visual { background: linear-gradient(145deg, #f4e1e5, #d6a9b6); }
.arrangement-purple img { height: 107%; bottom: -3%; right: -27%; }
.arrangement-purple.small img { transform: scale(.92) rotate(-6deg); }
.arrangement-purple.dark img { filter: brightness(.88) saturate(.75) drop-shadow(0 18px 14px rgba(0, 0, 0, .35)); }
.arrangement-orange img { width: 155%; bottom: -6%; right: -24%; }
.arrangement-orange.rose img { transform: scale(.94) rotate(-7deg); filter: hue-rotate(322deg) saturate(.85) drop-shadow(0 18px 14px rgba(73, 20, 52, .23)); }
.collection-copy { padding: 19px 19px 20px; }
.collection-copy h3 { margin-bottom: 5px; font-size: 20px; line-height: 1.15; }
.collection-copy p { min-height: 24px; margin-bottom: 11px; color: var(--riki-muted); font-size: 13px; }
.collections-cta { display: flex; justify-content: center; margin-top: 32px; }

.process { border-top: 1px solid var(--riki-line); }
.process-top { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; margin-bottom: 54px; }
.process-top .eyebrow, .process-top h2 { grid-column: 2; }
.process-top h2 { margin-bottom: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.process-grid li { position: relative; min-height: 213px; padding: 26px 30px 18px; border-left: 1px solid var(--riki-line); }
.process-grid li:last-child { border-left: 0; }
.process-number { position: absolute; top: 22px; left: 25px; color: #bfb3aa; font-family: var(--riki-serif); font-size: 31px; }
.process-icon { width: 33px; height: 33px; display: grid; place-items: center; margin-bottom: 21px; color: var(--riki-aqua); font-size: 28px; line-height: 1; }
.process-grid h3 { margin-bottom: 7px; font-size: 20px; line-height: 1.2; }
.process-grid p { margin: 0; max-width: 190px; color: var(--riki-muted); font-size: 14px; line-height: 1.55; }

.transform-grid { display: grid; grid-template-columns: .76fr 1.24fr; align-items: center; gap: 70px; }
.transform-copy { max-width: 370px; }
.transform-copy h2 { margin-bottom: 24px; }
.transform-copy p { margin-bottom: 27px; color: var(--riki-muted); font-size: 17px; }
.compare { position: relative; direction: ltr; aspect-ratio: 16 / 10; overflow: hidden; background: #ded4ca; box-shadow: 0 18px 46px rgba(73, 43, 44, .12); user-select: none; }
.compare-base, .compare-overlay { position: absolute; inset: 0; }
.compare-base img, .compare-overlay img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.compare-overlay { width: 100%; overflow: hidden; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.compare-overlay img { width: 100%; max-width: none; }
.compare::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--position); z-index: 3; width: 2px; background: rgba(255, 255, 255, .96); box-shadow: 0 0 18px rgba(44, 26, 23, .18); transform: translateX(-1px); pointer-events: none; }
.compare span { position: absolute; top: 15px; padding: 6px 11px; background: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 900; }
.compare-base span { right: 15px; }
.compare-overlay span { left: 15px; }
.compare-handle { position: absolute; top: 50%; left: calc(var(--position) - 19px); z-index: 4; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(65, 44, 38, .25); border-radius: 50%; background: #fff; color: var(--riki-primary); box-shadow: 0 4px 14px rgba(44, 26, 23, .18); transform: translateY(-50%); pointer-events: none; }
.compare-handle i { font-style: normal; font-size: 15px; }
.compare-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

.testimonials { background: #f1eaeb; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.testimonial { margin: 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 254px; padding: 30px; background: rgba(255, 255, 255, .68); border: 1px solid rgba(116, 28, 88, .09); }
.testimonial.featured { color: #fff; background: var(--riki-primary); transform: translateY(-13px); }
.testimonial blockquote { margin: 0 0 24px; font-family: var(--riki-serif); font-size: 22px; line-height: 1.55; letter-spacing: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #d7b4c6; color: var(--riki-deep); font-weight: 900; }
.featured .avatar { background: var(--riki-aqua); color: #fff; }
.testimonial strong, .testimonial small { display: block; }
.testimonial strong { font-size: 14px; }
.testimonial small { color: var(--riki-muted); font-size: 12px; }
.featured small { color: #ead0db; }

.contact { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--riki-deep), var(--riki-primary) 70%, #952f6d); }
.contact::before, .contact::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; }
.contact::before { width: 610px; height: 610px; bottom: -410px; right: -270px; }
.contact::after { width: 410px; height: 410px; top: -280px; left: 12%; }
.contact-grid { position: relative; display: grid; grid-template-columns: .84fr 1.16fr; gap: 90px; align-items: center; }
.contact .eyebrow { color: #f2c3d8; }
.contact-copy h2 { font-size: 64px; }
.contact-copy h2 em, .contact-copy h2 span { color: #f2bdcf; }
.contact-copy p { max-width: 410px; color: #f5deea; font-size: 18px; }
.contact-details { display: flex; gap: 33px; margin-top: 30px; }
.contact-details a { padding-right: 13px; border-right: 1px solid #e8a9c8; }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { color: #f1bcd2; font-size: 12px; }
.contact-details strong { font-size: 16px; text-align: right; }
.contact-form { padding: 28px; color: var(--riki-ink); background: rgba(255, 255, 255, .96); border: 0; border-radius: 0; box-shadow: 0 25px 56px rgba(19, 4, 13, .2); }
.contact-form .field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-form label { display: block; margin-bottom: 13px; color: var(--riki-ink); font-size: 13px; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; padding: 12px 13px; color: var(--riki-ink); background: #fff; border: 1px solid #ddd4d5; border-radius: 0; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--riki-primary); box-shadow: 0 0 0 3px rgba(116, 28, 88, .1); }
.contact-form .btn { min-width: 146px; }
.form-status { min-height: 23px; margin: 12px 0 0; color: var(--riki-primary); font-size: 14px; font-weight: 900; }

.site-footer { background: #221a1c; color: #f9f4f2; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 42px; padding-bottom: 45px; }
.footer-brand p { margin: 12px 0 19px; color: #cdbfc1; font-size: 14px; }
.footer-logo, .footer-logo:hover, .site-footer .brand { color: #fff; }
.site-footer .brand-word { font-size: 35px; }
.site-footer .brand-mark { color: #dc8ab6; }
.site-footer .site-brand--exact-logo {
  width: 78px;
  height: 132px;
  flex-basis: 78px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.footer-grid h2 { margin: 0 0 13px; color: #ebc4d6; font-family: var(--riki-sans); font-size: 14px; font-weight: 900; }
.footer-menu, .footer-contact-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-menu a, .footer-contact a, .footer-contact span, .footer-back-top { color: #d1c5c5; font-size: 13px; }
.footer-menu a:hover, .footer-contact a:hover, .footer-back-top:hover { color: #fff; }
.footer-contact-item { display: grid; gap: 2px; }
.footer-contact-label { color: #ebc4d6; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #b8aeb0; font-size: 12px; }
.ngf-signature { position: static; transform: none; margin: 0; }
.ngf-signature-link { background: transparent; border: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }

.inner-hero { min-height: 430px; padding-top: 118px; background-color: #eee6dd; }
.inner-hero-overlay { background: linear-gradient(90deg, rgba(251, 249, 246, .96), rgba(251, 249, 246, .76)); }
.inner-hero h1 { color: var(--riki-ink); font-size: 58px; }
.inner-hero .eyebrow, .inner-hero p { color: var(--riki-primary); }
.page-section { background: #fffdfb; }
.page-aside, .aside-panel, .service-card, .article-card, .gallery-showcase-card { border-radius: 0; }

@media (max-width: 1180px) {
  .header-shell { min-height: 70px; width: min(100% - 30px, 1360px); grid-template-columns: auto 1fr auto; gap: 17px; }
  .site-brand--exact-logo {
    width: 48px;
    height: 64px;
    flex-basis: 48px;
    padding: 6px 8px;
    border-radius: 0 0 15px 15px;
  }
  .brand-word { font-size: 27px; }
  .brand-mark { width: 25px; }
  .phone-link { display: none; }
  .menu-toggle { display: block; justify-self: center; }
  .primary-nav { position: fixed; top: 70px; right: 0; left: 0; bottom: 0; z-index: 150; display: block; padding: 27px; background: #fffaf7; border-bottom: 0; box-shadow: -10px 0 30px rgba(39, 23, 25, .12); transform: translateX(100%); transition: transform .25s ease; }
  .admin-bar .primary-nav { top: 102px; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav .menu { display: grid; gap: 0; justify-content: stretch; }
  .primary-nav .menu > li { width: 100%; }
  .primary-nav a { justify-content: flex-start; width: 100%; min-height: 56px; padding: 16px 4px; border-bottom: 1px solid var(--riki-line); font-size: 18px; white-space: normal; }
  .primary-nav a::after { display: none; }
  .hero-grid { gap: 25px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--riki-line); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 32px, 1180px); }
  .section-pad { padding: 82px 0; }
  .header-cta { padding: 9px 13px; font-size: 12px; }
  .hero { min-height: 760px; padding-top: 76px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 62px; }
  .hero-copy { padding-top: 40px; }
  .hero-visual { position: absolute; z-index: 0; inset: auto -5% 1% 35%; min-height: 380px; opacity: .9; pointer-events: none; }
  .hero-frame { inset: 10% 0 0 0; }
  .hero-arrangement { width: 560px; max-width: none; right: -90px; bottom: -5px; }
  .visual-label { display: none; }
  .hero-background { background: linear-gradient(90deg, rgba(252, 248, 242, .96) 0%, rgba(252, 248, 242, .91) 57%, rgba(252, 248, 242, .58) 100%), var(--hero-lobby) center / cover no-repeat; }
  .space-grid, .testimonial-grid, .contact-grid, .art-grid, .transform-grid, .designer-cta-grid { grid-template-columns: 1fr; }
  .space-card { display: grid; grid-template-columns: 1fr 1fr; }
  .space-image { height: 100%; }
  .designer-cta-points { grid-template-columns: 1fr 1fr 1fr; }
  .art-copy { max-width: 590px; }
  .art-visual { min-height: 390px; }
  .art-image { inset: 0; }
  .art-arrangement { width: 65%; left: 0; }
  .split-heading, .process-top { display: block; }
  .split-heading > p { margin-top: 13px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li:nth-child(2) { border-left: 0; }
  .process-grid li:nth-child(n+3) { border-top: 1px solid var(--riki-line); }
  .transform-copy { max-width: 510px; }
  .testimonial.featured { transform: none; }
  .contact-grid { gap: 35px; }
  .contact-copy { max-width: 600px; }
  .section-heading h2, .process-top h2, .transform-copy h2, .contact-copy h2, .art-copy h2 { font-size: 44px; }
}

@media (max-width: 560px) {
  .hero { min-height: 720px; }
  .hero h1 { font-size: 54px; }
  .hero-copy { padding-top: 20px; }
  .hero-visual { inset: auto -40% 0 36%; opacity: .76; }
  .hero-lead { font-size: 16px; max-width: 330px; }
  .hero-actions .button { font-size: 13px; padding: 10px 14px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(2) { border-left: 0; border-top: 1px solid var(--riki-line); }
  .benefit:first-child { border-top: 0; }
  .space-card { display: block; }
  .space-image { height: 220px; }
  .designer-cta-copy h2 { font-size: 40px; }
  .designer-cta-actions { display: grid; }
  .designer-cta-points { grid-template-columns: 1fr; }
  .designer-cta-points li { min-height: 0; }
  .art-statement::before { width: 260px; height: 260px; top: -135px; left: -105px; }
  .art-copy p { font-size: 16px; }
  .art-visual { min-height: 310px; }
  .art-arrangement { width: 78%; bottom: -36px; }
  .art-note { top: 16px; right: -5px; width: 155px; padding: 12px; }
  .collection-grid, .process-grid, .footer-grid, .contact-form .field-row { grid-template-columns: 1fr; }
  .collection-visual { height: 330px; }
  .process-grid li, .process-grid li:nth-child(2) { min-height: 175px; border-left: 0; border-top: 1px solid var(--riki-line); }
  .process-grid li:first-child { border-top: 0; }
  .process-number { left: 17px; }
  .testimonial { padding: 23px; }
  .testimonial blockquote { font-size: 19px; }
  .contact-details { flex-direction: column; gap: 13px; }
  .contact-form { padding: 20px; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-back-top { white-space: nowrap; }
}

/* Riki redesign 1.4.36 - apply the supplied design language across all site pages. */
.section {
  padding: 112px 0;
  background: var(--riki-paper);
}

.section:nth-of-type(even) {
  background: #fffdfb;
}

.not-found-section {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding-top: 160px;
  background:
    linear-gradient(90deg, rgba(252, 248, 242, .96), rgba(252, 248, 242, .72)),
    url("assets/images/riki-client-2026/hamuzhevet.webp") center / cover no-repeat;
}

.not-found-section .entry-content {
  max-width: 720px;
  margin-inline: auto;
  padding: 44px;
  background: rgba(255, 253, 251, .88);
  border: 1px solid rgba(116, 28, 88, .12);
  box-shadow: 0 24px 70px rgba(73, 43, 44, .13);
}

.inner-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 138px 0 72px;
  background:
    linear-gradient(90deg, rgba(252, 248, 242, .98), rgba(252, 248, 242, .80) 48%, rgba(252, 248, 242, .36)),
    var(--inner-image) center / cover no-repeat;
}

.inner-hero::after {
  content: "";
  position: absolute;
  left: 7%;
  top: 22%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(116, 28, 88, .15);
  border-radius: 50%;
  pointer-events: none;
}

.inner-hero-overlay {
  display: none;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.inner-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--riki-ink);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
}

.inner-hero-content p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: #514747;
  font-size: 19px;
  line-height: 1.75;
}

.inner-hero .eyebrow {
  color: var(--riki-primary);
}

.page-section,
.knowledge-section {
  background: #fffdfb;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 52px;
  align-items: start;
}

.page-layout--gallery {
  display: block;
  width: min(100% - 48px, 1480px);
}

.entry-content {
  min-width: 0;
  padding: 0;
  color: #332728;
  font-size: 18px;
  line-height: 1.85;
}

.entry-content:not(.entry-content--gallery) {
  padding: 42px;
  background: #fff;
  border: 1px solid rgba(58, 42, 40, .10);
  box-shadow: 0 18px 46px rgba(73, 43, 44, .08);
}

.entry-content h2,
.entry-content h3 {
  color: var(--riki-ink);
  line-height: 1.18;
}

.entry-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(30px, 3vw, 44px);
}

.entry-content h3 {
  margin: 28px 0 10px;
  font-size: 25px;
}

.entry-content p,
.entry-content li {
  color: #4f4647;
}

.entry-content a:not(.btn):not(.button):not(.text-link) {
  color: var(--riki-primary);
  font-weight: 800;
  border-bottom: 1px solid rgba(116, 28, 88, .35);
}

.entry-content ul,
.entry-content ol {
  padding-inline-start: 1.25em;
}

.entry-content blockquote {
  margin: 34px 0;
  padding: 28px 32px;
  color: var(--riki-primary);
  background: #f8eef3;
  border-right: 3px solid var(--riki-primary);
  font-family: var(--riki-serif);
  font-size: 23px;
  line-height: 1.65;
}

.page-aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
}

.page-aside > img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border: 1px solid rgba(58, 42, 40, .10);
  box-shadow: 0 18px 46px rgba(73, 43, 44, .10);
}

.aside-panel,
.article-cta {
  padding: 28px;
  color: var(--riki-ink);
  background: #f8f1f4;
  border: 1px solid rgba(116, 28, 88, .13);
  box-shadow: 0 14px 34px rgba(73, 43, 44, .08);
}

.article-cta {
  margin-top: 40px;
}

.aside-panel h2,
.article-cta h2 {
  margin: 0 0 10px;
  font-family: var(--riki-sans);
  font-size: 22px;
  font-weight: 900;
}

.aside-panel p,
.article-cta p {
  color: var(--riki-muted);
}

.side-link-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-link-list li + li {
  border-top: 1px solid rgba(116, 28, 88, .13);
}

.side-link-list a {
  display: block;
  padding: 13px 0;
  color: var(--riki-primary);
  font-weight: 800;
}

.service-grid,
.article-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.article-card,
.gallery-card,
.testimonial-card,
.listing-item,
.material-item,
.faq-list details {
  overflow: hidden;
  color: var(--riki-ink);
  background: #fff;
  border: 1px solid rgba(58, 42, 40, .10);
  border-radius: 0;
  box-shadow: 0 7px 22px rgba(71, 44, 38, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover,
.service-card:focus-within,
.article-card:hover,
.article-card:focus-within,
.gallery-card:hover,
.gallery-card:focus-within,
.testimonial-card:hover,
.listing-item:hover,
.material-item:hover,
.faq-list details[open] {
  transform: translateY(-6px);
  border-color: rgba(116, 28, 88, .20);
  box-shadow: 0 18px 46px rgba(73, 43, 44, .12);
}

.service-card-image,
.service-card-image img,
.gallery-card img {
  display: block;
  width: 100%;
}

.service-card-image {
  height: 248px;
  overflow: hidden;
  background: #eee6dd;
}

.service-card-image img,
.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.service-card:hover img,
.service-card:focus-within img,
.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.06);
}

.service-card-body,
.article-card,
.testimonial-card,
.listing-item {
  padding: 24px;
}

.service-card h3,
.article-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.service-card h3 a,
.article-card h3 a,
.listing-item h1 a {
  color: var(--riki-ink);
}

.service-card p,
.article-card p,
.testimonial-card blockquote,
.listing-item p {
  color: var(--riki-muted);
}

.article-card > span,
.section-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--riki-aqua);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.article-card .text-link,
.service-card .text-link {
  margin-top: 8px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.gallery-card img {
  position: absolute;
  inset: 0;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(33, 27, 27, .76), rgba(33, 27, 27, 0));
  pointer-events: none;
}

.gallery-card figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  left: 18px;
  bottom: 16px;
  color: #fff;
  max-height: none;
  padding: 0;
  background: transparent;
  opacity: 1;
  transform: none;
}

.gallery-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.gallery-card span {
  display: block;
  max-height: 3.4em;
  margin-top: 6px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1.55;
  opacity: 1;
  transform: none;
  overflow: hidden;
}

.gallery-card:hover figcaption,
.gallery-card:focus figcaption,
.gallery-card:focus-visible figcaption,
.gallery-card:hover span,
.gallery-card:focus span,
.gallery-card:focus-visible span {
  opacity: 1;
  transform: none;
}

.gallery-showcase-list {
  display: grid;
  gap: 42px;
}

.gallery-showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(58, 42, 40, .10);
  box-shadow: 0 18px 46px rgba(73, 43, 44, .08);
}

.gallery-showcase-card:nth-child(even) {
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
}

.gallery-showcase-card:nth-child(even) .gallery-showcase-media {
  order: 2;
}

.gallery-showcase-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-showcase-figure {
  margin: 0;
  overflow: hidden;
  background: #eee6dd;
  border: 1px solid rgba(58, 42, 40, .10);
}

.gallery-showcase-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-showcase-figure--source img {
  object-fit: contain;
  background: #f8f1ee;
}

.gallery-showcase-figure figcaption {
  padding: 10px 12px;
  color: var(--riki-muted);
  background: #fffdfb;
  font-size: 12px;
  line-height: 1.45;
}

.gallery-showcase-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
}

.gallery-showcase-copy p {
  color: #4f4647;
  font-size: 16px;
  line-height: 1.75;
}

.gallery-showcase-note {
  padding: 14px 16px;
  background: #f8f1f4;
  border-right: 3px solid var(--riki-primary);
  font-size: 14px !important;
}

.entry-content--gallery {
  width: 100%;
}

.entry-content--gallery .gallery-showcase-list {
  width: min(100%, 1540px);
  margin-inline: auto;
  gap: clamp(42px, 5vw, 86px);
}

.entry-content--gallery .gallery-showcase-card {
  position: relative;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr);
  padding: clamp(24px, 3.5vw, 54px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 251, .96), rgba(246, 238, 234, .86)),
    radial-gradient(circle at 8% 12%, rgba(116, 28, 88, .09), transparent 36%);
  border: 1px solid rgba(116, 28, 88, .14);
  border-radius: 0;
  box-shadow: 0 30px 88px rgba(73, 43, 44, .11);
}

.entry-content--gallery .gallery-showcase-card:nth-child(even) {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.55fr);
}

.entry-content--gallery .gallery-showcase-media {
  grid-template-columns: minmax(240px, .86fr) minmax(320px, 1.14fr);
  gap: clamp(16px, 2.2vw, 30px);
}

.entry-content--gallery .gallery-showcase-figure {
  min-height: clamp(360px, 35vw, 610px);
  border-radius: 0;
  background: #fff;
  border-color: rgba(116, 28, 88, .14);
  box-shadow: 0 18px 48px rgba(73, 43, 44, .10);
}

.entry-content--gallery .gallery-showcase-figure img {
  min-height: clamp(318px, 31vw, 560px);
}

.entry-content--gallery .gallery-showcase-figure--source {
  background:
    linear-gradient(180deg, #fff 0%, #fbf7f3 100%);
}

.entry-content--gallery .gallery-showcase-figure--source img {
  object-fit: contain;
  padding: clamp(18px, 2.4vw, 38px);
  background: #fff;
}

.entry-content--gallery .gallery-showcase-figure--space img {
  object-fit: cover;
}

.entry-content--gallery .gallery-showcase-figure figcaption {
  min-height: 54px;
  display: flex;
  align-items: center;
  color: var(--riki-primary);
  background: #fffdfb;
  border-top-color: rgba(116, 28, 88, .13);
}

.entry-content--gallery .gallery-showcase-copy {
  align-self: center;
}

.entry-content--gallery .gallery-showcase-copy h3 {
  color: var(--riki-ink);
}

.entry-content--gallery .gallery-showcase-note {
  background: #f8f1f4;
  border-right-color: var(--riki-primary);
}

.entry-content--gallery .gallery-showcase-figure figcaption,
.entry-content--gallery .gallery-showcase-note {
  display: none !important;
}

.testimonial-card {
  min-height: 210px;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  font-family: var(--riki-serif);
  font-size: 20px;
  line-height: 1.65;
}

.testimonial-card figcaption {
  color: var(--riki-primary);
  font-weight: 900;
}

.materials-section,
.faq-section {
  background: #fffdfb;
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
  gap: 46px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.material-item {
  padding: 24px;
}

.material-item span {
  color: var(--riki-aqua);
  font-family: var(--riki-serif);
  font-size: 30px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  padding: 20px 24px;
  color: var(--riki-ink);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--riki-muted);
}

.listing-item {
  margin-bottom: 22px;
}

.listing-item h1 {
  margin: 0 0 10px;
  font-size: 30px;
}

.pagination {
  margin-top: 32px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin: 3px;
  color: var(--riki-primary);
  background: #fff;
  border: 1px solid rgba(116, 28, 88, .18);
}

.pagination .current {
  color: #fff;
  background: var(--riki-primary);
}

.riki-chat-toggle {
  gap: 12px;
  min-height: 62px;
  min-width: 62px;
  padding: 8px 17px 8px 10px;
  color: #fff;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .32), transparent 33%),
    linear-gradient(135deg, #8d2d6c 0%, var(--riki-primary) 52%, #492b2c 100%);
  border-color: rgba(255, 255, 255, .20);
  box-shadow: 0 18px 46px rgba(73, 43, 44, .26);
  isolation: isolate;
}

.riki-chat-toggle:hover,
.riki-chat-toggle:focus-visible {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .36), transparent 35%),
    linear-gradient(135deg, var(--riki-deep), var(--riki-primary));
}

.riki-chat-toggle-text {
  display: block;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.riki-chat-dot {
  display: none;
}

.riki-chat-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, #fff8ec 0 18%, transparent 19%),
    linear-gradient(145deg, #fff3df 0%, #f3d2a6 48%, #d7a169 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 -8px 18px rgba(116, 28, 88, .13),
    0 10px 24px rgba(50, 22, 32, .22);
  transition: transform .22s ease, box-shadow .22s ease;
}

.riki-chat-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(116, 28, 88, .16);
  border-radius: inherit;
}

.riki-chat-icon svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 35px;
  height: 35px;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(73, 43, 44, .13));
}

.riki-chat-bubble {
  fill: #fffdfb;
}

.riki-chat-stem {
  stroke: var(--riki-primary);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.riki-chat-petal {
  stroke: #fffdfb;
  stroke-width: 1;
  stroke-linejoin: round;
}

.riki-chat-petal-a {
  fill: #d99730;
}

.riki-chat-petal-b {
  fill: #e85f35;
}

.riki-chat-petal-c {
  fill: #c24c86;
}

.riki-chat-core {
  fill: var(--riki-primary);
}

.riki-chat-toggle:hover .riki-chat-icon,
.riki-chat-toggle:focus-visible .riki-chat-icon {
  transform: translateY(-1px) rotate(-4deg) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .82),
    inset 0 -8px 18px rgba(116, 28, 88, .15),
    0 12px 28px rgba(50, 22, 32, .27);
}

.riki-chat-panel {
  overflow: hidden;
  background: #fffdfb;
  border: 1px solid rgba(116, 28, 88, .18);
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(73, 43, 44, .22);
}

.riki-chat-head,
.riki-chat-header {
  color: #fff;
  background: linear-gradient(135deg, var(--riki-deep), var(--riki-primary));
}

.riki-chat-close,
.riki-chat-quick button,
.riki-chat-form button {
  border-radius: 0;
}

.riki-chat-quick button {
  color: var(--riki-primary);
  background: #f8f1f4;
  border-color: rgba(116, 28, 88, .18);
}

.riki-chat-message.is-bot,
.riki-chat-message--bot {
  background: #f8f1f4;
  border-color: rgba(116, 28, 88, .14);
}

@media (max-width: 980px) {
  .section { padding: 82px 0; }
  .page-layout,
  .materials-layout,
  .gallery-showcase-card,
  .gallery-showcase-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
    order: 0;
  }

  .entry-content--gallery .gallery-showcase-card,
  .entry-content--gallery .gallery-showcase-card:nth-child(even),
  .entry-content--gallery .gallery-showcase-media {
    grid-template-columns: 1fr;
  }

  .page-aside {
    position: static;
  }

  .service-grid,
  .article-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .inner-hero {
    min-height: 420px;
    padding-top: 110px;
  }

  .inner-hero h1 {
    font-size: 40px;
  }

  .entry-content:not(.entry-content--gallery),
  .not-found-section .entry-content,
  .gallery-showcase-card,
  .aside-panel,
  .article-cta {
    padding: 22px;
  }

  .service-grid,
  .article-grid,
  .gallery-grid,
  .testimonial-grid,
  .materials-grid,
  .gallery-showcase-media {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    aspect-ratio: 4 / 4.6;
  }

  .page-layout--gallery {
    width: min(100% - 28px, 1480px);
  }

  .entry-content--gallery .gallery-showcase-card {
    padding: 18px;
  }

  .entry-content--gallery .gallery-showcase-figure,
  .entry-content--gallery .gallery-showcase-figure img {
    min-height: 300px;
  }

  .riki-chat-toggle {
    gap: 9px;
    min-height: 56px;
    padding: 8px 14px 8px 9px;
  }

  .riki-chat-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .riki-chat-icon svg {
    width: 32px;
    height: 32px;
  }

  .riki-chat-toggle-text {
    font-size: 14px;
  }
}

/* Riki 1.4.72: stable WCAG reading planes and accessible content contrast. */
.hero {
  isolation: isolate;
}

.hero-background {
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(58%, 780px);
  background: rgba(255, 253, 251, .92);
  pointer-events: none;
}

.hero-grid {
  z-index: 2;
}

.hero-copy,
.hero-copy h1 {
  color: #211b1b;
}

.hero-lead {
  color: #4c4442;
}

.hero .eyebrow {
  color: #741c58;
}

.inner-hero {
  isolation: isolate;
}

.inner-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(251, 249, 246, .90);
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  color: #211b1b;
}

.inner-hero-content h1,
.inner-hero .eyebrow.light {
  color: #211b1b;
}

.inner-hero-content > p:not(.eyebrow) {
  color: #4c4442;
}

.entry-content,
.entry-content p,
.entry-content li,
.entry-content blockquote,
.service-card-body p,
.article-card-body p,
.gallery-showcase-copy p,
.gallery-card span,
.aside-panel p,
.section-copy p,
.section-head p,
.collection-copy p,
.transform-copy p,
.testimonial-card p {
  color: #51474a;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.aside-panel h2,
.service-card-body h3,
.article-card-body h3,
.gallery-showcase-copy h3 {
  color: #211b1b;
}

.entry-content a:not(.button):not(.btn),
.aside-panel a:not(.button):not(.btn),
.service-card-body a:not(.button):not(.btn),
.article-card-body a:not(.button):not(.btn) {
  color: #741c58;
  text-decoration-color: currentColor;
  text-decoration-thickness: .1em;
  text-underline-offset: .16em;
}

.entry-content label,
.contact-form label,
.ngf-form label {
  color: #211b1b;
}

.entry-content input::placeholder,
.entry-content textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5a4f52;
  opacity: 1;
}

.button-primary,
.btn-primary,
.gallery-showcase-cta {
  color: #fff;
  background: #741c58;
  border-color: #741c58;
}

.button-secondary,
.btn-light {
  color: #741c58;
  background: rgba(255, 253, 251, .96);
  border-color: #741c58;
}

@media (max-width: 860px) {
  .hero::after {
    width: 100%;
    background: rgba(255, 253, 251, .94);
  }

  .inner-hero::after {
    background: rgba(251, 249, 246, .94);
  }
}

/* Compact privacy consent and legal contact details. */
.form-privacy-notice {
  margin: 4px 0 18px;
  padding: 0;
  color: var(--riki-ink);
  background: transparent;
  border: 0;
  font-size: 14px;
  line-height: 1.55;
}

.form-privacy-notice a { color: var(--riki-primary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.contact-form .form-privacy-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
}

.contact-form .form-privacy-consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--riki-primary);
}

.contact-form .form-privacy-consent__text { margin: 0; font: inherit; }
.contact-form .form-privacy-consent__text label {
  display: inline;
  margin: 0 0 0 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.riki-legal-contact { margin: 22px 0; padding: 20px; background: var(--riki-soft); border-right: 4px solid var(--riki-primary); }
.riki-legal-contact p { margin-top: 0; }
.riki-legal-contact ul { margin-bottom: 0; }

.footer-privacy-settings,
.riki-consent-text-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-privacy-settings { color: #d1c5c5; font-size: 13px; }
.footer-privacy-settings:hover,
.footer-privacy-settings:focus-visible { color: #fff; }

.riki-consent-banner {
  position: fixed;
  z-index: 1210;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
  padding: 20px 22px;
  color: var(--riki-ink);
  background: #fff;
  border: 1px solid var(--riki-line);
  border-top: 4px solid var(--riki-primary);
  box-shadow: 0 18px 55px rgba(35, 20, 27, .25);
}

.riki-consent-banner[hidden],
.riki-consent-modal[hidden] { display: none !important; }
.riki-consent-banner h2,
.riki-consent-modal h2 { margin: 0 0 6px; font-size: 21px; }
.riki-consent-banner p,
.riki-consent-modal p { margin: 0; font-size: 14px; line-height: 1.65; }
.riki-consent-banner a,
.riki-consent-modal a { color: var(--riki-primary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.riki-consent-banner__actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; justify-content: flex-end; }
.riki-consent-banner .btn { min-height: 44px; padding: 9px 15px; white-space: nowrap; }
.riki-consent-text-button { min-height: 44px; padding: 7px; color: var(--riki-primary); font-weight: 800; }

body.riki-consent-open { overflow: hidden; }
.riki-consent-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 14, 20, .62);
}

.riki-consent-modal__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 28px;
  color: var(--riki-ink);
  background: #fff;
  border-top: 5px solid var(--riki-primary);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
}

.riki-consent-modal__close {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--riki-ink);
  background: var(--riki-soft);
  border: 1px solid var(--riki-line);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.riki-consent-options { display: grid; gap: 10px; margin: 22px 0; }
.riki-consent-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: var(--riki-soft);
  border: 1px solid var(--riki-line);
  cursor: pointer;
}

.riki-consent-option input { width: 21px; height: 21px; margin: 1px 0 0; accent-color: var(--riki-primary); }
.riki-consent-option span { display: grid; gap: 4px; }
.riki-consent-option small { color: var(--riki-muted); font-size: 13px; line-height: 1.55; }
.riki-consent-option.is-required { cursor: default; }
.riki-consent-modal__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

@media (max-width: 760px) {
  .riki-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
  }

  .riki-consent-banner__actions { justify-content: stretch; }
  .riki-consent-banner__actions .btn { flex: 1 1 130px; }
  .riki-consent-text-button { flex: 1 1 100%; }
  .riki-consent-modal { padding: 10px; }
  .riki-consent-modal__panel { padding: 24px 18px 20px; }
}

/* QA 1.4.41: content must stay visible even if delayed JS or Rocket Loader blocks reveal animations. */
.reveal {
  opacity: 1;
  transform: none;
}

body.riki-js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

body.riki-js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.riki-js-ready .entry-content.reveal,
body.riki-js-ready .entry-content--gallery.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.entry-content--gallery .gallery-showcase-card {
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.entry-content--gallery .gallery-showcase-media {
  align-items: stretch;
}

.entry-content--gallery .gallery-showcase-figure {
  min-height: clamp(280px, 28vw, 460px);
}

.entry-content--gallery .gallery-showcase-figure img {
  min-height: clamp(240px, 24vw, 410px);
}

.entry-content--gallery .gallery-showcase-figure--source img {
  max-height: clamp(280px, 28vw, 440px);
}

@media (max-width: 760px) {
  .entry-content--gallery .gallery-showcase-card {
    contain-intrinsic-size: 980px;
  }

  .entry-content--gallery .gallery-showcase-figure,
  .entry-content--gallery .gallery-showcase-figure img {
    min-height: 260px;
  }
}

/* QA 1.4.49: mobile hero/gallery overlap fixes from live Android screenshots. */
@media (max-width: 860px) {
  .primary-nav:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }

  .primary-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 116px 0 58px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding-top: 0;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 50px;
    line-height: 1.04;
  }

  .hero-lead {
    max-width: 360px;
  }

  .hero-visual {
    position: relative;
    z-index: 1;
    inset: auto;
    width: 100%;
    height: 300px;
    min-height: 300px;
    margin: 4px auto 0;
    opacity: 1;
    pointer-events: none;
  }

  .hero-frame {
    inset: 22px 18px 0;
  }

  .hero-arrangement {
    right: 50%;
    bottom: -6px;
    width: min(430px, 88vw);
    max-width: none;
    transform: translateX(50%);
  }

  .gallery-showcase-copy .gallery-showcase-note {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 84px;
  }

  .hero {
    padding: 108px 0 46px;
  }

  .hero .eyebrow {
    max-width: 310px;
    font-size: 10px;
    line-height: 1.45;
  }

  .hero h1 {
    max-width: 300px;
    font-size: 42px;
  }

  .hero-lead {
    max-width: 310px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 315px);
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    height: 236px;
    min-height: 236px;
  }

  .hero-arrangement {
    width: min(340px, 82vw);
    bottom: 0;
  }

  .page-section--gallery {
    padding-bottom: 96px;
  }

  .entry-content--gallery {
    padding: 22px 16px 112px;
  }

  .entry-content--gallery > h2,
  .entry-content--gallery > p {
    text-align: right;
  }

  .entry-content--gallery .gallery-showcase-list {
    gap: 34px;
  }

  .entry-content--gallery .gallery-showcase-card {
    padding: 14px;
    border-radius: 0;
  }

  .entry-content--gallery .gallery-showcase-media {
    gap: 12px;
  }

  .entry-content--gallery .gallery-showcase-figure,
  .entry-content--gallery .gallery-showcase-figure img {
    min-height: 300px;
  }

  .entry-content--gallery .gallery-showcase-figure--source img {
    max-height: none;
    padding: 0;
    transform: none;
  }

  .gallery-showcase-copy {
    text-align: right;
  }

  .gallery-showcase-copy h3 {
    font-size: 25px;
  }

  .gallery-showcase-copy p {
    font-size: 15px;
    line-height: 1.72;
  }

  .riki-chat {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .riki-chat-toggle {
    min-height: 46px;
    padding: 7px 11px 7px 8px;
  }

  .riki-chat-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .riki-chat-icon svg {
    width: 29px;
    height: 29px;
  }

  .riki-chat-toggle-text {
    font-size: 13px;
  }
}

/* QA 1.4.50: full mobile image fit pass for product vases and gallery cards. */
@media (max-width: 860px) {
  .hero-visual {
    max-width: 420px;
  }

  .hero-frame {
    display: none;
  }

  .gallery-showcase-card,
  .entry-content--gallery .gallery-showcase-card {
    align-items: start;
  }

  .gallery-showcase-media,
  .entry-content--gallery .gallery-showcase-media {
    align-items: start;
  }

  .gallery-showcase-figure,
  .entry-content--gallery .gallery-showcase-figure {
    min-height: 0;
  }

  .gallery-showcase-figure img,
  .entry-content--gallery .gallery-showcase-figure img {
    min-height: 0;
    height: auto;
  }

  .gallery-showcase-figure--source,
  .entry-content--gallery .gallery-showcase-figure--source {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #fff;
  }

  .gallery-showcase-figure--source img,
  .entry-content--gallery .gallery-showcase-figure--source img {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: contain;
    padding: 14px;
    transform: none;
  }

  .gallery-showcase-figure--space img,
  .entry-content--gallery .gallery-showcase-figure--space img {
    width: 100%;
    height: 320px;
    min-height: 0;
    object-fit: cover;
  }
}

@media (max-width: 620px) {
  .hero {
    overflow: hidden;
  }

  .hero-copy {
    text-align: right;
  }

  .hero-visual {
    height: 180px;
    min-height: 180px;
    max-width: 300px;
    margin-top: 12px;
    margin-inline: auto 0;
  }

  .hero-arrangement {
    right: 50%;
    bottom: -4px;
    width: min(255px, 66vw);
    transform: translateX(50%);
  }

  .collection-visual {
    height: 250px;
  }

  .collection-visual img {
    max-height: 96%;
    object-fit: contain;
  }

  .arrangement-orange img,
  .arrangement-orange.rose img {
    width: 118%;
    right: -9%;
    bottom: -2%;
  }

  .arrangement-purple img,
  .arrangement-purple.small img,
  .arrangement-purple.dark img {
    height: 96%;
    right: -12%;
    bottom: 0;
  }

  .entry-content--gallery .gallery-showcase-list {
    margin-top: 24px;
  }

  .gallery-showcase-card,
  .entry-content--gallery .gallery-showcase-card {
    gap: 16px;
  }

  .gallery-showcase-media,
  .entry-content--gallery .gallery-showcase-media {
    gap: 10px;
  }

  .gallery-showcase-figure--source,
  .entry-content--gallery .gallery-showcase-figure--source {
    min-height: 176px;
    max-height: 176px;
  }

  .gallery-showcase-figure--source img,
  .entry-content--gallery .gallery-showcase-figure--source img {
    height: 176px;
    max-height: 176px;
    padding: 10px;
  }

  .gallery-showcase-figure--space,
  .entry-content--gallery .gallery-showcase-figure--space {
    min-height: 218px;
  }

  .gallery-showcase-figure--space img,
  .entry-content--gallery .gallery-showcase-figure--space img {
    height: 218px;
  }

  .gallery-showcase-copy {
    padding-top: 2px;
  }

  .gallery-showcase-copy .section-eyebrow {
    margin-bottom: 7px;
  }

  .gallery-showcase-copy h3 {
    margin-bottom: 8px;
  }

  .gallery-showcase-copy p {
    margin-bottom: 8px;
  }
}

@media (max-width: 430px) {
  .hero-visual {
    height: 164px;
    min-height: 164px;
    max-width: 260px;
  }

  .hero-arrangement {
    width: min(232px, 62vw);
  }

  .gallery-showcase-figure--source,
  .entry-content--gallery .gallery-showcase-figure--source {
    min-height: 154px;
    max-height: 154px;
  }

  .gallery-showcase-figure--source img,
  .entry-content--gallery .gallery-showcase-figure--source img {
    height: 154px;
    max-height: 154px;
  }

  .gallery-showcase-figure--space img,
  .entry-content--gallery .gallery-showcase-figure--space img {
    height: 198px;
  }
}

/* QA 1.4.51: accessible floating WhatsApp conversion button. */
.riki-floating-whatsapp {
  position: fixed;
  z-index: 1195;
  right: 22px;
  bottom: 104px;
  direction: ltr;
  font-family: var(--riki-sans);
}

.riki-floating-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 15px 8px 9px;
  color: #ffffff;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .34), transparent 32%),
    linear-gradient(135deg, #2ed46f 0%, #17a958 55%, #087a3a 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(6, 96, 45, .26);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.riki-floating-whatsapp-link:hover,
.riki-floating-whatsapp-link:focus-visible {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(6, 96, 45, .34);
  filter: saturate(1.06);
}

.riki-floating-whatsapp-link:focus-visible {
  outline: 3px solid #f6d46f;
  outline-offset: 4px;
}

.riki-floating-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: inset 0 -5px 10px rgba(6, 96, 45, .10), 0 7px 18px rgba(6, 72, 36, .20);
}

.riki-floating-whatsapp-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.riki-floating-whatsapp-bubble {
  fill: #20bf63;
}

.riki-floating-whatsapp-mark {
  fill: #ffffff;
}

.riki-floating-whatsapp-text {
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .riki-floating-whatsapp {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .riki-floating-whatsapp-link {
    min-width: 48px;
    min-height: 48px;
    padding: 6px;
  }

  .riki-floating-whatsapp-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .riki-floating-whatsapp-icon svg {
    width: 27px;
    height: 27px;
  }

  .riki-floating-whatsapp-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 430px) {
  .riki-floating-whatsapp {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

/* QA 1.4.52: premium accessible mobile menu trigger inspired by Equality-style utility buttons. */
@media (max-width: 1180px) {
  .header-shell .menu-toggle,
  .site-header .menu-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    overflow: hidden;
    color: var(--riki-primary);
    background:
      radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 34%),
      linear-gradient(145deg, rgba(255, 253, 251, .98), rgba(245, 237, 240, .96));
    border: 1px solid rgba(116, 28, 88, .24);
    border-radius: 18px;
    box-shadow:
      0 14px 34px rgba(73, 43, 44, .12),
      inset 0 0 0 1px rgba(255, 255, 255, .62);
    cursor: pointer;
    touch-action: manipulation;
    transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .header-shell .menu-toggle::before,
  .site-header .menu-toggle::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(116, 28, 88, .12);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .50), rgba(212, 138, 180, .10));
    pointer-events: none;
  }

  .header-shell .menu-toggle::after,
  .site-header .menu-toggle::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle, #d48ab4 0 36%, rgba(212, 138, 180, .28) 38% 100%);
    box-shadow: 0 0 0 5px rgba(212, 138, 180, .08);
    pointer-events: none;
  }

  .header-shell .menu-toggle span:not(.screen-reader-text),
  .site-header .menu-toggle span:not(.screen-reader-text) {
    position: absolute;
    left: 15px;
    right: 15px;
    display: block;
    width: auto;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .55);
    transform-origin: center;
    transition: top .2s ease, transform .22s ease, opacity .18s ease, width .2s ease;
  }

  .header-shell .menu-toggle span:nth-child(1),
  .site-header .menu-toggle span:nth-child(1) {
    top: 19px;
  }

  .header-shell .menu-toggle span:nth-child(2),
  .site-header .menu-toggle span:nth-child(2) {
    top: 26px;
    left: 20px;
  }

  .header-shell .menu-toggle span:nth-child(3),
  .site-header .menu-toggle span:nth-child(3) {
    top: 33px;
  }

  .header-shell .menu-toggle:hover,
  .site-header .menu-toggle:hover,
  .header-shell .menu-toggle:focus-visible,
  .site-header .menu-toggle:focus-visible {
    color: #ffffff;
    background:
      radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0) 36%),
      linear-gradient(145deg, var(--riki-primary), #9c3e77);
    border-color: rgba(116, 28, 88, .42);
    box-shadow:
      0 18px 42px rgba(116, 28, 88, .22),
      inset 0 0 0 1px rgba(255, 255, 255, .18);
    transform: translateY(-1px);
  }

  .header-shell .menu-toggle:focus-visible,
  .site-header .menu-toggle:focus-visible {
    outline: 3px solid #f1d39b;
    outline-offset: 4px;
  }

  .header-shell .menu-toggle.is-active,
  .site-header .menu-toggle.is-active {
    color: #ffffff;
    background: linear-gradient(145deg, var(--riki-primary), var(--riki-deep));
    border-color: rgba(116, 28, 88, .48);
    box-shadow: 0 18px 44px rgba(80, 17, 61, .22);
  }

  .header-shell .menu-toggle.is-active span:nth-child(1),
  .site-header .menu-toggle.is-active span:nth-child(1) {
    top: 26px;
    transform: rotate(45deg);
  }

  .header-shell .menu-toggle.is-active span:nth-child(2),
  .site-header .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.15);
  }

  .header-shell .menu-toggle.is-active span:nth-child(3),
  .site-header .menu-toggle.is-active span:nth-child(3) {
    top: 26px;
    transform: rotate(-45deg);
  }
}

@media (max-width: 430px) {
  .header-shell .menu-toggle,
  .site-header .menu-toggle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 16px;
  }

  .header-shell .menu-toggle span:not(.screen-reader-text),
  .site-header .menu-toggle span:not(.screen-reader-text) {
    left: 14px;
    right: 14px;
  }

  .header-shell .menu-toggle span:nth-child(1),
  .site-header .menu-toggle span:nth-child(1) {
    top: 18px;
  }

  .header-shell .menu-toggle span:nth-child(2),
  .site-header .menu-toggle span:nth-child(2) {
    top: 25px;
    left: 19px;
  }

  .header-shell .menu-toggle span:nth-child(3),
  .site-header .menu-toggle span:nth-child(3) {
    top: 32px;
  }

  .header-shell .menu-toggle.is-active span:nth-child(1),
  .site-header .menu-toggle.is-active span:nth-child(1),
  .header-shell .menu-toggle.is-active span:nth-child(3),
  .site-header .menu-toggle.is-active span:nth-child(3) {
    top: 25px;
  }
}

/* QA 1.4.53: safe full-width page template for NGF-created Elementor pages. */
.ngf-elementor-page {
  min-height: 70vh;
  padding-top: 96px;
  background: var(--riki-paper);
}

.ngf-elementor-entry {
  min-width: 0;
}

.ngf-elementor-fallback {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 110px) 0;
}

.ngf-elementor-fallback__box {
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(116, 28, 88, .13);
  box-shadow: 0 22px 54px rgba(73, 43, 44, .10);
}

.ngf-elementor-fallback h1 {
  margin: 0 0 14px;
  color: var(--riki-ink);
  font-size: clamp(36px, 5vw, 64px);
}

.ngf-elementor-fallback p {
  max-width: 680px;
  margin: 0;
  color: var(--riki-muted);
  font-size: 18px;
  line-height: 1.75;
}

@media (max-width: 620px) {
  .ngf-elementor-page {
    padding-top: 84px;
  }

  .ngf-elementor-fallback {
    width: min(100% - 28px, 980px);
    padding: 42px 0;
  }
}

/* Gallery quality pass 1.4.55: original Riki product photos are the main visual; weak pasted room composites are no longer exposed by default. */
.entry-content--gallery .gallery-showcase-list {
  gap: clamp(30px, 4.2vw, 58px);
}

.entry-content--gallery .gallery-showcase-card,
.entry-content--gallery .gallery-showcase-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(250, 244, 240, .90)),
    radial-gradient(circle at 8% 12%, rgba(171, 67, 128, .11), transparent 34%);
  border: 1px solid rgba(116, 28, 88, .12);
  box-shadow: 0 22px 54px rgba(64, 33, 45, .10);
}

.entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
  order: 2;
}

.entry-content--gallery .gallery-showcase-media {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr !important;
  min-height: clamp(360px, 40vw, 610px);
  padding: clamp(18px, 3.5vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .95), transparent 34%),
    linear-gradient(145deg, #fffaf7 0%, #f6ebe6 54%, #ead8d5 100%);
  border: 1px solid rgba(116, 28, 88, .14);
}

.entry-content--gallery .gallery-showcase-media::before,
.entry-content--gallery .gallery-showcase-media::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

.entry-content--gallery .gallery-showcase-media::before {
  width: 46%;
  height: 68%;
  left: 6%;
  bottom: -12%;
  background: rgba(116, 28, 88, .08);
  transform: rotate(-12deg);
}

.entry-content--gallery .gallery-showcase-media::after {
  width: 62%;
  height: 1px;
  right: 18%;
  bottom: 14%;
  background: linear-gradient(90deg, transparent, rgba(116, 28, 88, .20), transparent);
}

.entry-content--gallery .gallery-showcase-media > .gallery-showcase-figure:only-child {
  grid-column: 1 / -1;
}

.entry-content--gallery .gallery-showcase-figure--source,
.entry-content--gallery .gallery-showcase-figure--source:only-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 34vw, 530px);
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.entry-content--gallery .gallery-showcase-figure--source img,
.entry-content--gallery .gallery-showcase-figure--source:only-child img {
  width: 100%;
  height: clamp(280px, 32vw, 520px);
  max-height: none;
  min-height: 0;
  padding: clamp(8px, 1.5vw, 20px);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 26px 26px rgba(58, 42, 40, .17));
  transform: none;
}

.entry-content--gallery .gallery-showcase-figure--space {
  display: none !important;
}

.entry-content--gallery .gallery-showcase-copy {
  text-align: right;
}

.entry-content--gallery .gallery-showcase-copy h3 {
  color: var(--riki-primary);
  letter-spacing: 0;
}

.entry-content--gallery .gallery-showcase-copy p {
  color: #4f4647;
}

.entry-content--gallery .gallery-showcase-note {
  display: block !important;
  background: #fff7fb;
  border-right: 3px solid var(--riki-primary);
  color: var(--riki-primary);
}

@media (max-width: 980px) {
  .entry-content--gallery .gallery-showcase-card,
  .entry-content--gallery .gallery-showcase-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
    order: 0;
  }
}

@media (max-width: 640px) {
  .entry-content--gallery .gallery-showcase-card {
    padding: 14px;
  }

  .entry-content--gallery .gallery-showcase-media {
    min-height: 250px;
    padding: 14px;
  }

  .entry-content--gallery .gallery-showcase-figure--source,
  .entry-content--gallery .gallery-showcase-figure--source:only-child {
    min-height: 220px;
  }

  .entry-content--gallery .gallery-showcase-figure--source img,
  .entry-content--gallery .gallery-showcase-figure--source:only-child img {
    height: 220px;
    max-height: 220px;
    padding: 8px;
  }
}

/* QA 1.4.56: realistic gallery composites and correct mobile menu placement. */
.entry-content--gallery .gallery-showcase-media {
  background: #fffaf7;
  padding: 0;
}

.entry-content--gallery .gallery-showcase-figure--space,
.entry-content--gallery .gallery-showcase-figure--feature {
  display: block !important;
  grid-column: 1 / -1;
  min-height: clamp(320px, 38vw, 560px);
  background: #efe5dc;
  border: 0;
}

.entry-content--gallery .gallery-showcase-figure--space img,
.entry-content--gallery .gallery-showcase-figure--feature img {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 560px);
  min-height: 0;
  object-fit: cover;
  padding: 0;
  background: transparent;
  filter: none;
}

.entry-content--gallery .gallery-showcase-figure--source {
  display: none !important;
}

@media (max-width: 1180px) {
  .header-shell {
    position: relative;
    grid-template-columns: auto 1fr auto;
    padding-left: 62px;
  }

  .site-brand--exact-logo {
    grid-column: 1;
    justify-self: start;
  }

  .header-shell .menu-toggle,
  .site-header .menu-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    grid-column: auto;
    justify-self: auto;
    margin: 0;
    transform: translateY(-50%);
  }

  .header-shell .menu-toggle:hover,
  .site-header .menu-toggle:hover,
  .header-shell .menu-toggle:focus-visible,
  .site-header .menu-toggle:focus-visible,
  .header-shell .menu-toggle.is-active,
  .site-header .menu-toggle.is-active {
    transform: translateY(-50%);
  }

  .header-actions {
    grid-column: 2;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .entry-content--gallery .gallery-showcase-figure--space,
  .entry-content--gallery .gallery-showcase-figure--feature {
    min-height: 230px;
  }

  .entry-content--gallery .gallery-showcase-figure--space img,
  .entry-content--gallery .gallery-showcase-figure--feature img {
    height: 230px;
  }

  .header-shell {
    width: min(100% - 24px, 1360px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-left: 58px;
  }

  .header-actions {
    justify-self: center;
  }
}

/* QA 1.4.57: honest editorial image mode. Do not fake product-in-room composites unless a true retouched asset exists. */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(390px, 38vw, 540px);
  margin-top: 0;
}

.hero-frame {
  inset: 5% 7% 7%;
  background:
    radial-gradient(circle at 45% 20%, rgba(255, 255, 255, .92), rgba(255, 247, 241, .62) 58%, rgba(239, 222, 217, .52)),
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(246, 235, 229, .70));
  border: 1px solid rgba(116, 28, 88, .13);
  box-shadow: 0 28px 60px rgba(65, 38, 33, .13);
}

.hero-arrangement {
  position: relative;
  z-index: 2;
  right: auto;
  bottom: auto;
  width: min(560px, 92%);
  max-width: 92%;
  filter: drop-shadow(0 22px 18px rgba(45, 31, 27, .16));
}

.art-arrangement {
  display: none !important;
}

.collection-visual img {
  background: transparent;
}

.entry-content--gallery .gallery-showcase-media {
  padding: clamp(18px, 3.5vw, 48px);
  background:
    radial-gradient(circle at 42% 22%, rgba(255, 255, 255, .95), transparent 40%),
    linear-gradient(145deg, #fffaf7 0%, #f4e8e2 100%);
}

.entry-content--gallery .gallery-showcase-figure--space,
.entry-content--gallery .gallery-showcase-figure--feature {
  display: none !important;
}

.entry-content--gallery .gallery-showcase-figure--source {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 34vw, 530px);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.entry-content--gallery .gallery-showcase-figure--source img {
  width: 100%;
  height: clamp(280px, 32vw, 520px);
  max-height: none;
  min-height: 0;
  object-fit: contain;
  padding: clamp(8px, 1.6vw, 22px);
  background: transparent;
  filter: drop-shadow(0 22px 18px rgba(58, 42, 40, .14));
}

.transformation .compare {
  display: none;
}

.transformation .transform-grid {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  text-align: center;
}

.transformation .transform-copy {
  margin-inline: auto;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-bottom: 46px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    min-height: 300px;
    width: min(100%, 430px);
    margin: 8px auto 0;
    opacity: 1;
    pointer-events: auto;
  }

  .hero-frame {
    inset: 7% 3% 4%;
  }

  .hero-arrangement {
    width: min(94vw, 390px);
    max-width: 94%;
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 640px) {
  .entry-content--gallery .gallery-showcase-media {
    padding: 14px;
  }

  .entry-content--gallery .gallery-showcase-figure--source {
    min-height: 220px;
  }

  .entry-content--gallery .gallery-showcase-figure--source img {
    height: 220px;
    max-height: 220px;
    padding: 8px;
  }
}

/* QA 1.4.58: final Riki image set supplied by client. Keep original filenames and render as real scene photography. */
.hero-visual--scene {
  min-height: clamp(380px, 36vw, 560px);
}

.hero-visual--scene .hero-frame {
  inset: 0;
  border: 1px solid rgba(116, 28, 88, .14);
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 24px 54px rgba(65, 38, 33, .15);
}

.hero-scene-image {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  height: clamp(330px, 34vw, 530px);
  object-fit: cover;
  object-position: center;
  border: 10px solid rgba(255, 255, 255, .72);
  box-shadow: 0 28px 60px rgba(65, 38, 33, .18);
}

.hero-visual--scene .visual-label {
  z-index: 3;
  right: 18px;
  top: 18px;
}

.collection-visual.scene-photo {
  height: 255px;
  background: #f7f1ed;
}

.collection-visual.scene-photo img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.art-image::after {
  background: linear-gradient(90deg, rgba(238, 230, 221, .45), transparent 48%);
}

.transformation .compare {
  display: block;
}

.transformation .transform-grid {
  grid-template-columns: .76fr 1.24fr;
  justify-content: initial;
  text-align: initial;
}

.transformation .transform-copy {
  margin-inline: 0;
}

.entry-content--gallery .gallery-showcase-figure--source img {
  object-fit: cover;
  border: 1px solid rgba(116, 28, 88, .08);
  box-shadow: 0 18px 46px rgba(73, 43, 44, .10);
}

@media (max-width: 860px) {
  .hero-visual--scene {
    min-height: auto;
    width: min(100%, 520px);
  }

  .hero-scene-image {
    width: 100%;
    height: clamp(230px, 62vw, 380px);
    border-width: 7px;
  }

  .collection-visual.scene-photo {
    height: 230px;
  }

  .transformation .transform-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .transformation .transform-copy {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-scene-image {
    height: 235px;
    object-position: center;
  }

  .space-image {
    height: 235px;
  }

  .collection-visual.scene-photo {
    height: 220px;
  }

  .entry-content--gallery .gallery-showcase-figure--source img {
    width: 100%;
    height: 260px;
    max-height: 260px;
    object-fit: cover;
    padding: 0;
  }
}

/* Riki 1.4.68: client-created product scenes with text kept outside every image. */
.entry-content--gallery .gallery-showcase-list {
  gap: clamp(34px, 5vw, 72px);
}

.entry-content--gallery .gallery-showcase-card,
.entry-content--gallery .gallery-showcase-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  align-items: start;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(82, 42, 65, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(68, 40, 45, .10);
}

.entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
  order: 0;
}

.entry-content--gallery .gallery-showcase-media {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #efe8e1;
}

.entry-content--gallery .gallery-showcase-media::before,
.entry-content--gallery .gallery-showcase-media::after {
  display: none;
}

.entry-content--gallery .gallery-showcase-figure--source,
.entry-content--gallery .gallery-showcase-figure--source:only-child {
  display: block !important;
  min-height: 0;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.entry-content--gallery .gallery-showcase-figure--source img,
.entry-content--gallery .gallery-showcase-figure--source:only-child img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  filter: none;
  box-shadow: none;
}

.entry-content--gallery .gallery-showcase-copy {
  align-self: center;
  padding: clamp(28px, 4vw, 58px);
}

.entry-content--gallery .gallery-showcase-copy h3 {
  margin-bottom: 14px;
  color: var(--riki-primary);
  font-size: clamp(29px, 3.2vw, 46px);
  line-height: 1.08;
}

.entry-content--gallery .gallery-showcase-copy > p {
  max-width: 40ch;
}

.gallery-showcase-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 12px 18px;
  border: 1px solid var(--riki-primary);
  border-radius: 4px;
  background: var(--riki-primary);
  color: #fff;
  text-decoration: none;
}

.gallery-showcase-cta:hover,
.gallery-showcase-cta:focus-visible {
  border-color: var(--riki-ink);
  background: var(--riki-ink);
  color: #fff;
}

.gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: auto;
  border: 1px solid rgba(82, 42, 65, .12);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(68, 40, 45, .09);
}

.gallery-card::after {
  display: none;
}

.gallery-card img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: none;
}

.gallery-card figcaption,
.gallery-card:hover figcaption,
.gallery-card:focus figcaption,
.gallery-card:focus-visible figcaption {
  position: static;
  display: block;
  padding: 18px 20px 21px;
  background: #fff;
  color: var(--riki-ink);
  opacity: 1;
  transform: none;
}

.gallery-card strong {
  color: var(--riki-primary);
  font-size: 19px;
}

.gallery-card span,
.gallery-card:hover span,
.gallery-card:focus span,
.gallery-card:focus-visible span {
  display: block;
  max-height: none;
  margin-top: 7px;
  color: var(--riki-muted);
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .entry-content--gallery .gallery-showcase-card,
  .entry-content--gallery .gallery-showcase-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .entry-content--gallery .gallery-showcase-media,
  .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
    order: 0;
  }

  .entry-content--gallery .gallery-showcase-copy {
    padding: 26px 24px 30px;
  }

  .entry-content--gallery .gallery-showcase-copy h3 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

@media (max-width: 640px) {
  .entry-content--gallery .gallery-showcase-list {
    gap: 28px;
  }

  .entry-content--gallery .gallery-showcase-media {
    padding: 0;
  }

  .entry-content--gallery .gallery-showcase-figure--source,
  .entry-content--gallery .gallery-showcase-figure--source:only-child {
    min-height: 0;
  }

  .entry-content--gallery .gallery-showcase-figure--source img,
  .entry-content--gallery .gallery-showcase-figure--source:only-child img {
    width: 100%;
    height: auto;
    max-height: 72svh;
    min-height: 0;
    padding: 0;
    object-fit: contain;
  }
}

/* Final contrast lock: keep these declarations after every visual compatibility layer. */
.riki-redesign-home .hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(58%, 780px);
  background: rgba(255, 253, 251, .92);
  pointer-events: none;
}

.riki-redesign-home .hero-grid {
  position: relative;
  z-index: 2;
}

.riki-redesign-home .hero-copy,
.riki-redesign-home .hero-copy h1 {
  color: #211b1b;
}

.riki-redesign-home .hero-lead {
  color: #4c4442;
}

#main .inner-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(251, 249, 246, .90);
  pointer-events: none;
}

#main .inner-hero-content {
  position: relative;
  z-index: 1;
  color: #211b1b;
}

#main .inner-hero-content h1,
#main .inner-hero .eyebrow.light {
  color: #211b1b;
}

#main .inner-hero-content > p:not(.eyebrow) {
  color: #4c4442;
}

#main .entry-content,
#main .entry-content p,
#main .entry-content li,
#main .entry-content blockquote,
#main .gallery-showcase-copy p,
#main .gallery-card span,
#main .aside-panel p {
  color: #51474a;
}

#main .entry-content h1,
#main .entry-content h2,
#main .entry-content h3,
#main .entry-content h4,
#main .gallery-showcase-copy h3,
#main .aside-panel h2 {
  color: #211b1b;
}

@media (max-width: 860px) {
  .riki-redesign-home .hero::after {
    width: 100%;
    background: rgba(255, 253, 251, .94);
  }

  #main .inner-hero::after {
    background: rgba(251, 249, 246, .94);
  }
}

/* Riki 1.4.73: stable gallery geometry and readable gallery actions. */
#main .entry-content--gallery .gallery-showcase-card {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

#main .entry-content--gallery .gallery-showcase-figure--source,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child {
  max-height: none;
}

#main .entry-content--gallery .gallery-showcase-figure--source img,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

#main .entry-content a.gallery-showcase-cta,
#main .entry-content a.gallery-showcase-cta:visited,
#main .entry-content a.gallery-showcase-cta:hover,
#main .entry-content a.gallery-showcase-cta:focus-visible {
  color: #fff;
}

/* Riki 1.4.74: preserve the supplied artwork and keep editorial copy inside its layout. */
.riki-redesign-home .art-grid {
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 5vw, 72px);
}

.riki-redesign-home .art-copy {
  width: 100%;
  min-width: 0;
}

.riki-redesign-home .art-visual {
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 548 / 477;
}

.riki-redesign-home .art-image {
  inset: 0;
}

.riki-redesign-home .art-image img {
  object-fit: cover;
  object-position: center;
}

.riki-redesign-home .art-note {
  top: clamp(24px, 3.5vw, 44px);
  right: 0;
  z-index: 2;
  width: min(216px, 44%);
  padding: clamp(17px, 2vw, 24px);
  text-align: right;
}

.riki-redesign-home .transform-grid {
  direction: ltr;
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, .66fr);
  gap: clamp(36px, 5vw, 72px);
}

.riki-redesign-home .compare {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 5 / 4;
}

.riki-redesign-home .transform-copy {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  max-width: 410px;
  direction: rtl;
  justify-self: end;
}

.riki-redesign-home .compare-base img {
  object-position: center 52%;
}

.riki-redesign-home .compare-overlay img {
  object-position: center;
}

@media (max-width: 1100px) {
  .riki-redesign-home .art-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .riki-redesign-home .art-copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .riki-redesign-home .art-visual {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 1024px) {
  .riki-redesign-home .transform-grid {
    direction: rtl;
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .riki-redesign-home .transform-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 640px;
    margin-inline: auto;
    justify-self: center;
  }

  .riki-redesign-home .compare {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 860px);
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .riki-redesign-home .art-grid,
  .riki-redesign-home .transform-grid {
    gap: 30px;
  }

  .riki-redesign-home .art-note {
    top: 16px;
    right: 0;
    width: min(168px, 49%);
    padding: 12px 14px;
  }

}

/* Riki 1.4.89: unique client arrangements with native editorial copy. */
#main .entry-content--gallery .gallery-showcase-list {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

#main .entry-content--gallery .gallery-showcase-card,
#main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
  position: relative;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(42px, 5vw, 84px);
  width: min(100%, 1360px);
  max-width: 1360px;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 104px) clamp(24px, 4vw, 64px);
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(76, 48, 58, .13);
  border-radius: 0;
  background: #fbf8f6;
  box-shadow: none;
}

#main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
  background: #f8f1f4;
}

#main .entry-content--gallery .gallery-showcase-media,
#main .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
  grid-column: 1;
  grid-row: 1;
  order: initial;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

#main .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
  grid-column: 2;
}

#main .entry-content--gallery .gallery-showcase-media::before,
#main .entry-content--gallery .gallery-showcase-media::after {
  display: none;
}

#main .entry-content--gallery .gallery-showcase-figure--source,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child {
  position: relative;
  display: block !important;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #e9e0dc;
  box-shadow: 0 26px 70px rgba(60, 38, 43, .16);
}

#main .entry-content--gallery .gallery-showcase-figure--source img,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  object-fit: cover !important;
  object-position: center;
  filter: none;
  transform: none;
}

#main .entry-content--gallery .gallery-showcase-card--space .gallery-showcase-figure--source {
  aspect-ratio: 16 / 10;
}

#main .entry-content--gallery .gallery-showcase-card--portrait .gallery-showcase-figure--source {
  aspect-ratio: 4 / 5;
  background: #171313;
}

#main .entry-content--gallery .gallery-showcase-card--portrait .gallery-showcase-figure--source img {
  object-fit: contain !important;
}

#main .entry-content--gallery .gallery-showcase-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  padding: 8px 0 8px clamp(22px, 3vw, 42px);
  border-inline-start: 1px solid rgba(116, 28, 88, .24);
  direction: rtl;
  text-align: right;
}

#main .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-copy {
  grid-column: 1;
}

#main .entry-content--gallery .gallery-showcase-copy .section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  color: #8f3d6d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

#main .entry-content--gallery .gallery-showcase-copy .section-eyebrow span:last-child {
  color: #8b7c80;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

#main .entry-content--gallery .gallery-showcase-copy h3 {
  max-width: 12ch;
  margin: 0 0 18px;
  color: #211b1b;
  font-family: var(--riki-serif);
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
}

#main .entry-content--gallery .gallery-showcase-copy .gallery-showcase-intro {
  max-width: 39ch;
  margin: 0;
  color: #453d3f;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.75;
}

#main .entry-content--gallery .gallery-showcase-context {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  max-width: 470px;
  margin: 28px 0 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(76, 48, 58, .15);
  border-bottom: 1px solid rgba(76, 48, 58, .15);
}

#main .entry-content--gallery .gallery-showcase-context > span {
  color: #8f3d6d;
  font-size: 13px;
  font-weight: 800;
}

#main .entry-content--gallery .gallery-showcase-context p {
  margin: 0;
  color: #352e30;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

#main .entry-content--gallery .gallery-showcase-copy .gallery-showcase-detail {
  max-width: 43ch;
  margin: 0 0 20px;
  color: #62575a;
  font-size: 15px;
  line-height: 1.75;
}

#main .entry-content--gallery a.gallery-showcase-cta,
#main .entry-content--gallery a.gallery-showcase-cta:visited {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 4px 0 0;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid #741c58;
  border-radius: 0;
  background: transparent;
  color: #741c58;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
}

#main .entry-content--gallery a.gallery-showcase-cta:hover,
#main .entry-content--gallery a.gallery-showcase-cta:focus-visible {
  border-color: #211b1b;
  background: transparent;
  color: #211b1b;
}

@media (max-width: 940px) {
  #main .entry-content--gallery .gallery-showcase-card,
  #main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
    direction: rtl;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px clamp(20px, 5vw, 44px);
  }

  #main .entry-content--gallery .gallery-showcase-media,
  #main .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-media {
    grid-column: 1;
    grid-row: 1;
  }

  #main .entry-content--gallery .gallery-showcase-copy,
  #main .entry-content--gallery .gallery-showcase-card:nth-child(even) .gallery-showcase-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    border-inline-start: 0;
  }

  #main .entry-content--gallery .gallery-showcase-copy h3 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  #main .entry-content--gallery .gallery-showcase-card,
  #main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
    gap: 24px;
    padding: 34px 18px 42px;
  }

  #main .entry-content--gallery .gallery-showcase-figure--source,
  #main .entry-content--gallery .gallery-showcase-figure--source:only-child,
  #main .entry-content--gallery .gallery-showcase-card--space .gallery-showcase-figure--source {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  #main .entry-content--gallery .gallery-showcase-card--portrait .gallery-showcase-figure--source {
    aspect-ratio: 4 / 5;
    max-height: 72svh;
  }

  #main .entry-content--gallery .gallery-showcase-copy h3 {
    font-size: clamp(31px, 10vw, 42px);
  }

  #main .entry-content--gallery .gallery-showcase-context {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 22px;
  }
}

/* Riki 1.4.90: show each catalog scene in full inside the existing balanced frame. */
#main .entry-content--gallery .gallery-showcase-card--catalog .gallery-showcase-figure--source img,
#main .entry-content--gallery .gallery-showcase-card--catalog .gallery-showcase-figure--source:only-child img {
  object-fit: contain !important;
  object-position: center;
  background: #efe8e1;
}

/* Riki 1.4.98: keep every arrangement fully visible at a balanced, consistent size. */
#main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
}

#main .entry-content--gallery .gallery-showcase-figure--source img,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child img {
  object-fit: contain !important;
  object-position: center;
  background: #efe8e1;
}

@media (max-width: 940px) {
  #main .entry-content--gallery .gallery-showcase-card,
  #main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #main .entry-content--gallery .gallery-showcase-card,
  #main .entry-content--gallery .gallery-showcase-card:nth-child(even) {
    padding-inline: 10px;
  }
}

/* Riki 1.4.99: one uncropped 4:3 presentation frame for every gallery product. */
#main .entry-content--gallery .gallery-showcase-figure--source,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child,
#main .entry-content--gallery .gallery-showcase-card--portrait .gallery-showcase-figure--source {
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;
  background: #efe8e1;
}

#main .entry-content--gallery .gallery-showcase-figure--source img,
#main .entry-content--gallery .gallery-showcase-figure--source:only-child img,
#main .entry-content--gallery .gallery-showcase-card--portrait .gallery-showcase-figure--source img {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center;
}

/* Riki 1.5.00: show the complete arrangement in the home story and About page. */
.riki-redesign-home .art-visual {
  aspect-ratio: 5 / 4;
}

.riki-redesign-home .art-image img {
  object-fit: contain;
  object-position: center center;
  background: #e0d5c9;
}

.page-aside--about > img {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: #e0d5c9;
}
