/* The OmeME page blocks (hero, gallery, reviews) on a WordPress page: the f0 page's design
   (omeme-figure.html), with its design-system tokens defined here since the theme has none of them. */

.omeme-section {
  --color-primary: #455f60;
  --color-primary-hover: #364b4c;
  --color-text: #000000;
  --color-text-muted: #5c6466;
  --color-text-on-primary: #ffffff;
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #e4d2d3;
  --color-border: #d7d8dc;
  --color-studio: #efece8;
  --font-body: "Noto Sans Hebrew", "Noto Sans", system-ui, sans-serif;
  --text-size-display: clamp(4.5rem, 8.6vw, 9.25rem);
  --text-size-small: 0.8125rem;
  --letter-spacing-wide: 0.06em;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --spacing-md: 16px;
  --spacing-xl: 40px;
  --spacing-2xl: 56px;
  direction: rtl;
  color: var(--color-text);
  font-family: var(--font-body);
  box-sizing: border-box;
  /* the theme spaces page blocks apart; these sections run edge to edge, one into the next */
  margin-block: 0 !important;
  max-width: none !important;
}
.omeme-section *, .omeme-section *::before, .omeme-section *::after { box-sizing: border-box; }
.omeme-section :where(h1, h2, p, ul, figure, blockquote) { margin: 0; }
.omeme-section :where(h1, h2) { font-family: inherit; color: inherit; }
.omeme-section a { text-decoration: none; }

/* the site's header sits flush on the hero (her theme's CSS gives every page a gap under it) */
body:has(.omeme-section) .wp-site-blocks > header { margin-bottom: 0; }

/* ---------- hero: full-bleed turntable ---------- */
.omeme-hero {
  position: relative; overflow: hidden;
  /* one screen under the site's sticky header (--omeme-head, measured by omeme-page.js), so the
     figure picker at its foot shows */
  min-height: max(560px, calc(100vh - var(--omeme-head, 64px) - var(--wp-admin--admin-bar--height, 0px)));
  min-height: max(560px, calc(100dvh - var(--omeme-head, 64px) - var(--wp-admin--admin-bar--height, 0px)));
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 64px var(--spacing-2xl) var(--spacing-xl);
  background: var(--color-studio); /* the turntable clips' backdrop: the picker's swap dips through it */
}
.omeme-hero .omeme-hero-stage { position: absolute; inset: 0; z-index: 0; }
.omeme-hero .tt-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.omeme-hero .tt-clip-1 { z-index: 1; }
.omeme-hero .omeme-hero-wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to left, rgba(239,236,232,0.94) 0%, rgba(239,236,232,0.72) 30%, rgba(239,236,232,0) 52%),
    linear-gradient(to top, var(--color-background) 0, rgba(239,236,232,0) 16%);
}
.omeme-hero .omeme-hero-copy { position: relative; z-index: 1; width: min(470px, 100%); min-width: 0; container-type: inline-size; text-align: right; }
.omeme-hero .hero-eyebrow { font-size: var(--text-size-small); letter-spacing: var(--letter-spacing-wide); color: var(--color-text-muted); margin-bottom: 18px; }
.omeme-hero .hero-title {
  font-size: clamp(52px, 24cqw, 148px); font-weight: 700; max-width: 100%; white-space: nowrap;
  line-height: 0.84; letter-spacing: -0.045em; margin-bottom: 10px; direction: ltr; text-align: right;
}
.omeme-hero .hero-sub { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.3; margin-bottom: 20px; }
.omeme-hero .hero-lead { font-size: 17px; line-height: 1.65; color: var(--color-text-muted); max-width: 36ch; margin-bottom: 28px; }
.omeme-hero .hero-cta {
  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full);
  background: var(--color-primary); color: var(--color-text-on-primary); padding: 14px 26px; font-size: 15px; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}
.omeme-hero .hero-cta:hover { background: var(--color-primary-hover); color: var(--color-text-on-primary); }
.omeme-hero .hero-cta:active { transform: scale(0.98); }
.omeme-hero .hero-cta:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.omeme-hero .hero-facts { display: flex; margin-top: 34px; padding: 0; list-style: none; font-size: var(--text-size-small); color: var(--color-text-muted); }
.omeme-hero .hero-fact { padding-inline: 14px; border-inline-start: 1px solid var(--color-border); }
.omeme-hero .hero-fact:first-child { padding-inline-start: 0; border-inline-start: 0; }
.omeme-hero .hero-fact-value { display: block; color: var(--color-text); font-size: 15px; font-weight: 600; }
/* the note under the call to action: what the wizard is (a general sketch) and what happens after ordering */
.omeme-hero .hero-note { font-size: 14px; line-height: 1.6; color: var(--color-text-muted); max-width: 42ch; margin: 16px 0 0; }
/* the photographed figures, one row running right to left (the track is two copies: it loops at half its length).
   Each photo stands like a small object on a shelf: a soft floor shadow, a lift and a tilt toward the pointer on
   hover (omeme-page.js sets --rx/--ry/--gx), and a tap opens it large in .omeme-viewer. Pressing holds the row,
   dragging moves it (omeme-page.js). The button never moves (only its card does), and it takes the gap beside the
   photo too, so a press always lands on a photo: a lifting, tilting hit area slid out from under the pointer.
   Left to right inside (the page is right to left): the track starts at the left edge and slides left, so its far
   end is always past the right edge. */
.omeme-strip { direction: ltr; overflow: hidden; padding: 30px 0 34px; background: var(--color-background); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.omeme-strip .strip-track { display: flex; width: max-content; direction: ltr; animation: omeme-strip calc(var(--strip-n, 8) * 7.5s) linear infinite; }
.omeme-strip:hover .strip-track, .omeme-strip:has(.strip-item:focus-visible) .strip-track, .omeme-strip.is-held .strip-track { animation-play-state: paused; }
.omeme-strip.is-dragging { cursor: grabbing; }
.omeme-strip .strip-item {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --gx: 50%;
  --strip-h: 210px; flex: none; height: var(--strip-h); margin: 0; padding: 0 8px; border: 0; background: none; cursor: zoom-in; perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}
.omeme-strip.is-dragging .strip-item { cursor: grabbing; }
.omeme-strip .strip-card {
  position: relative; display: block; height: var(--strip-h); width: calc(var(--strip-h) * .8); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--color-studio);
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 16px 22px -16px rgba(70, 45, 45, .45), 0 2px 6px rgba(70, 45, 45, .08);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s cubic-bezier(.2, .8, .2, 1);
}
.omeme-strip .strip-card img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .6s cubic-bezier(.2, .8, .2, 1); -webkit-user-drag: none; pointer-events: none; }
/* a soft sheen that follows the pointer across the photo, like light on a glossy print */
.omeme-strip .strip-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(circle at var(--gx) 20%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%);
}
.omeme-strip:not(.is-dragging) .strip-item:hover .strip-card, .omeme-strip .strip-item:focus-visible .strip-card {
  --lift: -10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 30px 34px -20px rgba(70, 45, 45, .5), 0 4px 10px rgba(70, 45, 45, .1);
}
.omeme-strip:not(.is-dragging) .strip-item:hover img, .omeme-strip .strip-item:focus-visible img { transform: scale(1.06); }
.omeme-strip:not(.is-dragging) .strip-item:hover .strip-card::after, .omeme-strip .strip-item:focus-visible .strip-card::after { opacity: 1; }
.omeme-strip .strip-item:focus-visible { outline: none; }
.omeme-strip .strip-item:focus-visible .strip-card { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@keyframes omeme-strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .omeme-strip { overflow-x: auto; }
  .omeme-strip .strip-track { animation: none; }
  .omeme-strip .strip-card, .omeme-strip .strip-card img { transition: none; transform: none; }
}

/* one photo, large: a native <dialog> (Esc, focus kept inside, the page behind inert) */
.omeme-viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; color: #fff; }
.omeme-viewer::backdrop { background: rgba(28, 22, 22, .72); backdrop-filter: blur(6px); }
.omeme-viewer .viewer-frame { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.omeme-viewer .viewer-img {
  display: block; background: #f4f2ef; max-width: min(88vw, 900px); max-height: 80vh; width: auto; height: auto;
  border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.omeme-viewer .viewer-cap { font-size: 15px; line-height: 1.5; text-align: center; max-width: 60ch; color: rgba(255, 255, 255, .92); }
.omeme-viewer .viewer-cap:empty { display: none; }
.omeme-viewer button {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: #2b2526; cursor: pointer; font: inherit;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); transition: transform .2s, background-color .2s;
}
.omeme-viewer button:hover { transform: scale(1.06); background: #fff; }
.omeme-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.omeme-viewer button svg { width: 20px; height: 20px; }
.omeme-viewer .viewer-close { top: -16px; inset-inline-end: -16px; }
.omeme-viewer .viewer-prev, .omeme-viewer .viewer-next { top: calc(50% - 24px - 20px); }
.omeme-viewer .viewer-prev { inset-inline-start: -76px; }
.omeme-viewer .viewer-next { inset-inline-end: -76px; }
@media (prefers-reduced-motion: no-preference) {
  .omeme-viewer[open] .viewer-frame { animation: omeme-viewer-in .38s cubic-bezier(.2, .8, .2, 1); }
  .omeme-viewer[open]::backdrop { animation: omeme-viewer-fade .3s ease-out; }
  .omeme-viewer .viewer-img.is-swap { animation: omeme-viewer-swap .32s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes omeme-viewer-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes omeme-viewer-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes omeme-viewer-swap { from { opacity: .2; transform: scale(.97); } to { opacity: 1; transform: none; } }
/* the picker places itself (omeme-hero.js: .omeme-hero-picker-box) over the figure's side */
.omeme-hero .omeme-hero-picker-slot { position: absolute; z-index: 2; left: 8%; width: 44%; bottom: 36px; }

/* ---------- gallery ---------- */
.omeme-gallery { display: flex; flex-direction: column; padding: 110px 0; background: var(--color-surface); }
.omeme-section .section-head { padding-inline: var(--spacing-xl); max-width: 1260px; width: 100%; margin-inline: auto; margin-bottom: 28px; }
.omeme-section .section-title { font-size: clamp(36px, 4vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.omeme-section .section-lead { font-size: 17px; color: var(--color-text-muted); }
.omeme-gallery .gallery-strip { display: flex; gap: 14px; overflow-x: auto; padding: 8px var(--spacing-xl) 20px; scroll-padding-inline: var(--spacing-xl); scroll-snap-type: x mandatory; }
.omeme-gallery .gallery-item { flex: none; height: 300px; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; background: var(--color-studio); }
.omeme-gallery .gallery-item-tall { aspect-ratio: 9 / 16; }
.omeme-gallery .gallery-media { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the arrows over the strip's two ends, in the page's right-to-left order: previous on the right */
.omeme-gallery .gallery-scroller { position: relative; }
.omeme-gallery .gallery-arrow {
  position: absolute; z-index: 2; top: calc(50% - 6px); transform: translateY(-50%); display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--color-accent, #8d6a71); color: #fff; box-shadow: 0 8px 20px -8px rgba(60, 40, 40, .55);
  transition: transform .2s, opacity .2s, background-color .2s;
}
.omeme-gallery .gallery-arrow[hidden] { display: none; }
.omeme-gallery .gallery-arrow:hover { transform: translateY(-50%) scale(1.06); }
.omeme-gallery .gallery-arrow:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.omeme-gallery .gallery-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.omeme-gallery .gallery-prev { right: 18px; }
.omeme-gallery .gallery-next { left: 18px; }

/* ---------- reviews ---------- */
.omeme-reviews { display: flex; flex-direction: column; padding: 0 0 110px; background: var(--color-surface); }
.omeme-gallery + .omeme-reviews { padding-top: 0; }
.omeme-reviews .reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.omeme-reviews .reviews-note { font-size: var(--text-size-small); color: var(--color-text-muted); max-width: 46ch; }
.omeme-reviews .review-grid { display: flex; flex-wrap: wrap; gap: 16px; padding-inline: var(--spacing-xl); max-width: 1260px; width: 100%; margin-inline: auto; }
.omeme-reviews .review-card { flex: 1 1 300px; max-width: 420px; min-width: 280px; background: var(--color-studio); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.omeme-reviews .review-photo { width: 64px; height: 64px; border-radius: var(--radius-full); object-fit: cover; }
.omeme-reviews .review-quote { font-size: 18px; line-height: 1.55; color: var(--color-text-muted); flex: 1; border: 0; padding: 0; font-style: normal; }
.omeme-reviews .review-meta { display: flex; flex-direction: column; gap: 2px; font-size: var(--text-size-small); color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 12px; }
.omeme-reviews .review-stars { letter-spacing: 3px; color: var(--color-text); }
.omeme-reviews .review-name { color: var(--color-text); font-size: 15px; font-weight: 600; }

/* ---------- FAQ: the questions as a quiet accordion, the studio's contact beside them ---------- */
.omeme-faq { padding: 110px 0; background: var(--color-surface); interpolate-size: allow-keywords; --accent: #8d6a71; --ease: cubic-bezier(0.22, 1, 0.36, 1); }
.omeme-faq .faq-wrap {
  max-width: 1260px; margin-inline: auto; padding-inline: var(--spacing-xl);
  display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr); gap: 72px; align-items: start;
}
.omeme-faq .faq-side { position: sticky; top: calc(var(--omeme-head, 0px) + var(--wp-admin--admin-bar--height, 0px) + 40px); display: grid; gap: 28px; }
.omeme-faq .faq-contact { background: var(--color-studio); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 14px; }
.omeme-faq .faq-contact p { font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }
.omeme-faq .faq-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.omeme-faq .faq-btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-full); padding: 11px 18px;
  font-size: 14px; font-weight: 500; transition: background 0.2s, color 0.2s, transform 0.15s;
}
.omeme-faq .faq-btn:active { transform: scale(0.98); }
.omeme-faq .faq-btn svg { width: 16px; height: 16px; flex: none; }
.omeme-faq .faq-btn-solid { background: var(--color-primary); color: var(--color-text-on-primary); }
.omeme-faq .faq-btn-solid:hover { background: var(--color-primary-hover); color: var(--color-text-on-primary); }
.omeme-faq .faq-btn-ghost { border: 1px solid var(--color-text); color: var(--color-text); }
.omeme-faq .faq-btn-ghost:hover { background: var(--color-surface); color: var(--color-text); }
.omeme-faq .faq-btn:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }

.omeme-faq .faq-list { border-top: 1px solid var(--color-border); }
.omeme-faq .faq-item { border-bottom: 1px solid var(--color-border); margin: 0; }
.omeme-faq .faq-q {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; color: var(--color-text);
}
.omeme-faq .faq-q::-webkit-details-marker { display: none; }
.omeme-faq .faq-q:hover .faq-icon { background: var(--color-studio); }
.omeme-faq .faq-q:focus-visible { outline: 2px solid var(--color-text); outline-offset: 4px; border-radius: 6px; }
.omeme-faq .faq-item[open] .faq-q { font-weight: 600; }
/* a plus that folds into a minus */
.omeme-faq .faq-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border); transition: background 0.2s, border-color 0.3s; }
.omeme-faq .faq-icon::before, .omeme-faq .faq-icon::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px;
  background: var(--color-text); border-radius: 2px; transition: transform 0.45s var(--ease);
}
.omeme-faq .faq-icon::after { transform: rotate(90deg); }
.omeme-faq .faq-item[open] .faq-icon { border-color: var(--color-text); }
.omeme-faq .faq-item[open] .faq-icon::after { transform: rotate(0deg); }
/* the answer: the height opens smoothly (instant where unsupported), its lines settle in after */
@supports selector(::details-content) {
  .omeme-faq .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
  .omeme-faq .faq-item[open]::details-content { block-size: auto; }
}
/* without ::details-content the author's display:grid on .faq-a beats the browser's hiding of closed content */
@supports not selector(::details-content) {
  .omeme-faq .faq-item:not([open]) > .faq-a { display: none; }
}
.omeme-faq .faq-a { padding: 0 4px 30px; max-width: 64ch; display: grid; gap: 14px; font-size: 16px; line-height: 1.75; color: var(--color-text-muted); }
.omeme-faq .faq-a > * { margin: 0; }
.omeme-faq .faq-a a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.omeme-faq .faq-a strong { color: var(--color-text); font-weight: 600; }
.omeme-faq .faq-steps { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.omeme-faq .faq-steps li { counter-increment: s; position: relative; padding-inline-start: 42px; }
.omeme-faq .faq-steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 600; line-height: 1;
}
.omeme-faq .faq-ideas { list-style: none; padding: 0; display: grid; gap: 8px; }
.omeme-faq .faq-ideas li { position: relative; padding-inline-start: 20px; }
.omeme-faq .faq-ideas li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.omeme-faq .faq-note { background: var(--color-studio); border-radius: 10px; padding: 14px 16px; color: var(--color-text); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .omeme-faq .faq-a > * { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
  .omeme-faq .faq-item[open] .faq-a > * { opacity: 1; transform: none; transition-delay: calc(0.12s + var(--i, 0) * 0.05s); }
}
@media (prefers-reduced-motion: reduce) {
  .omeme-faq .faq-item::details-content, .omeme-faq .faq-icon::before, .omeme-faq .faq-icon::after { transition: none; }
}

/* ---------- entrances (omeme-page.js adds .omeme-reveal on the site only, never in the editor) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .omeme-reveal :is(.hero-item, .gallery-item, .review-card, .omeme-faq .section-title, .faq-contact, .faq-item) {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .omeme-reveal.is-in :is(.hero-item, .gallery-item, .review-card, .omeme-faq .section-title, .faq-contact, .faq-item) { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .omeme-hero { justify-content: flex-end; padding: 72px var(--spacing-md) 28px; }
  .omeme-hero .omeme-hero-stage { bottom: auto; height: 62vh; }
  .omeme-hero .tt-clip { object-position: 23% 50%; }
  .omeme-hero .omeme-hero-wash { background: linear-gradient(to top, var(--color-background) 0, rgba(239,236,232,0.92) 40%, rgba(239,236,232,0) 62%); }
  .omeme-hero .hero-eyebrow { display: none; }
  .omeme-hero .hero-sub { margin-bottom: 10px; }
  .omeme-hero .hero-lead { font-size: 15px; margin-bottom: 18px; }
  .omeme-hero .hero-facts { margin-top: 20px; }
  .omeme-hero .omeme-hero-picker-slot { left: var(--spacing-md); right: var(--spacing-md); width: auto; bottom: auto; top: 16px; }
  /* Centre the complete mobile introduction, including its wordmark and action. */
  .omeme-hero { align-items: center; text-align: center; }
  .omeme-hero .omeme-hero-copy { margin-inline: auto; text-align: center; }
  .omeme-hero .hero-title { text-align: center; }
  .omeme-hero .hero-facts { justify-content: center; }
  .omeme-hero .tt-clip { object-position: 16% 50%; }
  .omeme-hero .hero-lead, .omeme-hero .hero-note { margin-inline: auto; }
  .omeme-hero .hero-note { font-size: 13px; }
  .omeme-strip { padding: 16px 0 22px; }
  .omeme-strip .strip-item { --strip-h: 140px; padding: 0 5px; }
  .omeme-strip .strip-card { border-radius: 14px; }
  .omeme-viewer .viewer-img { max-width: calc(100vw - 32px); max-height: 72vh; border-radius: 16px; }
  .omeme-viewer .viewer-close { top: -58px; inset-inline-end: 0; }
  .omeme-viewer .viewer-prev, .omeme-viewer .viewer-next { top: auto; bottom: -64px; }
  .omeme-viewer .viewer-prev { inset-inline-start: calc(50% - 56px); }
  .omeme-viewer .viewer-next { inset-inline-end: calc(50% - 56px); }
  .omeme-viewer .viewer-frame { padding-bottom: 60px; }
  .omeme-gallery { padding: 72px 0; }
  .omeme-section .section-head, .omeme-gallery .gallery-strip, .omeme-reviews .review-grid { padding-inline: var(--spacing-md); }
  .omeme-gallery .gallery-strip { scroll-padding-inline: var(--spacing-md); }
  .omeme-gallery .gallery-item { height: 220px; }
  .omeme-gallery .gallery-arrow { width: 40px; height: 40px; }
  .omeme-gallery .gallery-prev { right: 8px; }
  .omeme-gallery .gallery-next { left: 8px; }
  .omeme-reviews { padding-bottom: 72px; }
  .omeme-faq { padding: 72px 0; }
  /* one rhythm between neighbouring sections (they share a background): the FAQ's top padding and any theme block gap are not added to the section above */
  .omeme-gallery + .omeme-faq, .omeme-reviews + .omeme-faq, .omeme-gallery + .omeme-reviews { padding-top: 0; margin-block-start: 0; }
  .omeme-gallery:has(+ .omeme-faq) { padding-bottom: 52px; }
  .omeme-faq .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-inline: var(--spacing-md); }
  .omeme-faq .faq-side { position: static; display: contents; }
  .omeme-faq .section-title { order: 0; margin-bottom: 0; }
  .omeme-faq .faq-list { order: 1; }
  .omeme-faq .faq-contact { order: 2; margin-top: 8px; }
  .omeme-faq .faq-q { padding: 18px 2px; gap: 12px; grid-template-columns: minmax(0, 1fr) 32px; }
  .omeme-faq .faq-icon { width: 32px; height: 32px; }
  .omeme-faq .faq-a { font-size: 15px; }
}

/* Both photo galleries share the same cards, hover drawing and lightbox. */
.omeme-strip { position: relative; }
.omeme-strip .strip-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-border, #d7d8dc); border-radius: 50%; color: #fff; background: #000; transform: translateY(-50%); cursor: pointer; box-shadow: 0 4px 16px #0002; }
.omeme-strip .strip-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.omeme-strip .strip-prev { right: 16px; }
.omeme-strip .strip-next { left: 16px; }
.omeme-strip .strip-arrow:focus-visible { outline: 2px solid #455f60; outline-offset: 3px; }
.omeme-strip .strip-card video { display: block; width: 100%; height: 100%; object-fit: cover; }
.omeme-gallery > .omeme-strip { padding-top: 24px; }
@media (max-width: 767px) { .omeme-strip .strip-arrow { display: none; } }

.omeme-viewer [hidden] { display: none !important; }
