/* ─── Vertical video reviews (9:16) ───────────────────── */
#video-examples {
  background: linear-gradient(175deg, #fffdfb 0%, #faf6f0 58%, #f8f0e7 100%);
  position: relative;
  overflow: clip;
  border-top: 1px solid #eadfd2;
  border-bottom: 1px solid #eadfd2;
}
#video-examples .video-section-shell { max-width: 1440px; margin-inline: auto; }
#video-examples .video-heading-row {
  display:flex; align-items:end; justify-content:space-between; gap: 32px;
  margin-bottom:30px;
}
#video-examples .video-eyebrow {
  display:flex; gap:10px; align-items:center; text-transform:uppercase;
  color:var(--gold); font-size:10px; letter-spacing:.19em; font-weight:500; margin-bottom:10px;
}
#video-examples .video-eyebrow::before {
  content:''; display:inline-block; width:17px; height:1px; background:var(--gold);
}
#video-examples .video-h2 {
  font:500 clamp(36px,4vw,58px)/1.05 'Cormorant Garamond',Georgia,serif;
  letter-spacing:-.02em; color:var(--espresso); margin:0 0 12px;
}
#video-examples .video-demo-tag {
  display:inline-flex; align-items:center; gap:7px; flex:0 0 auto;
  padding:9px 13px; border-radius:100px; background:#f6ede0; border:1px solid #dbc9b1;
  color:#97744c; font:500 9px/1.2 'Inter',sans-serif; letter-spacing:.1em;
  text-transform:uppercase; white-space:nowrap;
}
#video-examples .video-demo-tag::before {
  content:''; width:6px; height:6px; border-radius:50%; background:#b8935a;
}
#video-examples .vertical-videos-wrap { position:relative; }
#video-examples .vertical-videos-viewport {
  display:flex; gap:17px; overflow-x:auto; scrollbar-width:none;
  scroll-snap-type:x mandatory; overscroll-behavior-x:contain;
  padding:4px 1px 18px; -webkit-overflow-scrolling:touch;
}
#video-examples .vertical-videos-viewport::-webkit-scrollbar { display:none; }
#video-examples .vertical-video-card {
  flex:0 0 calc((100% - 51px)/4); min-width:0; scroll-snap-align:start;
}
#video-examples .vertical-video-trigger {
  display:block; width:100%; border:0; padding:0; cursor:pointer;
  border-radius:13px; overflow:hidden; background:#e8dfd6; position:relative;
  aspect-ratio:9/16; isolation:isolate; box-shadow:0 8px 24px rgba(26,20,16,.08);
  text-align:left; transition: transform .24s ease, box-shadow .24s ease;
}
#video-examples .vertical-video-trigger:hover {
  transform:translateY(-4px); box-shadow:0 16px 30px rgba(26,20,16,.13);
}
#video-examples .vertical-video-trigger:focus-visible {
  outline:3px solid var(--gold); outline-offset:4px;
}
#video-examples .vertical-video-trigger img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
}
#video-examples .vertical-video-trigger::after {
  content:''; position:absolute; inset:48% 0 0;
  background:linear-gradient(transparent, rgba(20,14,10,.6)); pointer-events:none;
}
#video-examples .vertical-video-play {
  position:absolute; z-index:2; top:50%; left:50%; transform:translate(-50%,-50%);
  width:58px; height:58px; border:1px solid rgba(255,255,255,.72); border-radius:50%;
  background:rgba(255,255,255,.22); backdrop-filter:blur(14px);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 18px rgba(0,0,0,.08); transition:background .2s, transform .2s;
}
#video-examples .vertical-video-play svg {
  width:19px; height:19px; fill:#fff; transform:translateX(2px);
}
#video-examples .vertical-video-trigger:hover .vertical-video-play {
  background:rgba(255,255,255,.34); transform:translate(-50%,-50%) scale(1.06);
}
#video-examples .video-controls {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px;
}
#video-examples .video-controls-left { display:flex; align-items:center; gap:15px; }
#video-examples .video-count {
  color:var(--muted); font:400 11px 'Inter',sans-serif; min-width:56px;
  font-variant-numeric:tabular-nums; letter-spacing:.1em;
}
#video-examples .video-progress {
  height:2px; width:125px; background:#e0d5c8; position:relative; overflow:hidden;
}
#video-examples .video-progress > span {
  display:block; height:100%; background:var(--gold); width:14%; transition:width .25s ease;
}
#video-examples .video-arrows { display:flex; gap:8px; }
#video-examples .video-nav-btn {
  height:39px; width:39px; border:1px solid var(--border); border-radius:50%;
  background:#fffaf4; color:var(--bark); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s;
}
#video-examples .video-nav-btn:hover { background:#ece2d6; border-color:#c7ad89; }
#video-examples .video-nav-btn:disabled { opacity:.28; cursor:default; }
#video-examples .video-nav-btn svg {
  width:18px; height:18px; stroke:currentColor; stroke-width:1.5; fill:none;
}
#video-examples .video-footnote {
  border-top:1px solid var(--border); margin-top:22px; padding-top:15px;
  font:400 11px/1.7 'Inter',sans-serif; color:var(--hint);
}
#video-demo-modal {
  border:0; border-radius:14px; padding:0; max-width:min(420px, calc(100vw - 28px));
  width:100%; max-height:90dvh; overflow:hidden; background:#111;
  box-shadow:0 28px 90px rgba(0,0,0,.25);
  margin: auto;
}
#video-demo-modal::backdrop {
  background:rgba(20,17,14,.65); backdrop-filter:blur(6px);
}
#video-demo-modal .video-modal-content {
  display:flex; flex-direction:column; max-height:90dvh;
}
#video-demo-modal .video-modal-image {
  width:100%; height:auto; max-height:min(70dvh, 620px);
  object-fit:cover; display:block; background:#111;
}
#video-demo-modal .video-modal-player {
  display:block; width:min(100%, calc((90dvh - 120px) * 9 / 16));
  max-width:100%; max-height:calc(90dvh - 120px);
  aspect-ratio:9/16; object-fit:contain; background:#000; margin:0 auto;
}
#video-demo-modal .video-modal-image[hidden],
#video-demo-modal .video-modal-player[hidden] {
  display:none !important;
  height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
#video-demo-modal .video-modal-body {
  padding:16px 20px 18px; background:var(--cream); flex:0 0 auto;
}
#video-demo-modal .video-modal-body strong {
  display:block; font:500 26px/1.1 'Cormorant Garamond',Georgia,serif; margin-bottom:6px;
}
#video-demo-modal .video-modal-body p {
  color:var(--muted); font:400 12px/1.6 'Inter',sans-serif; margin:0;
}
#video-demo-modal .video-modal-close {
  position:absolute; right:10px; top:10px; width:35px; height:35px;
  display:flex; align-items:center; justify-content:center; border-radius:50%;
  background:rgba(255,255,255,.92); color:#362e25; border:0; cursor:pointer;
  font-size:22px; z-index:10; line-height:1; padding:0;
}
@media (max-width:1050px) {
  #video-examples .vertical-video-card { flex-basis:calc((100% - 34px)/3); }
}
@media (max-width:720px) {
  #video-examples .video-heading-row { align-items:start; flex-direction:column; gap:14px; margin-bottom:20px; }
  #video-examples .video-demo-tag { align-self:flex-start; }
  #video-examples .video-h2 { font-size:36px; }
  #video-examples .vertical-videos-viewport { gap:12px; margin-right:-16px; padding-right:16px; }
  #video-examples .vertical-video-card { flex-basis:72%; }
  #video-examples .video-arrows { display:none; }
  #video-examples .video-footnote { font-size:10px; }
  #video-examples .video-controls { margin-top:12px; }
  #video-demo-modal { max-height: 92dvh; max-width: min(420px, calc(100vw - 20px)); }
  #video-demo-modal .video-modal-player {
    width: min(100%, calc((92dvh - 110px) * 9 / 16));
    max-height: calc(92dvh - 110px);
  }
  #video-demo-modal .video-modal-body { padding: 12px 14px 14px; }
  #video-demo-modal .video-modal-body strong { font-size: 22px; margin-bottom: 4px; }
  #video-demo-modal .video-modal-body p { font-size: 11px; line-height: 1.5; }
}
@media (min-width:721px) and (max-width:920px) {
  #video-examples .vertical-video-card { flex-basis:41%; }
}
@media (prefers-reduced-motion:reduce) {
  #video-examples .vertical-video-trigger { transition:none; }
}

/* ─── Reviews highlight quote ─────────────────────────── */
.reviews-highlight {
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 8px;
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.reviews-highlight-card {
  flex: 1 1 280px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(184,147,90,.22);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 34px rgba(26,20,16,.06);
}
.reviews-highlight-card.is-accent {
  background: linear-gradient(135deg, #fff8ef 0%, #f3e6d4 100%);
  border-color: rgba(184,147,90,.4);
}
.reviews-highlight-label {
  font: 500 10px/1 'Inter', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dk, #8A6A38);
  margin-bottom: 8px;
}
.reviews-highlight-quote {
  font: 500 clamp(20px, 2.4vw, 28px)/1.15 'Cormorant Garamond', Georgia, serif;
  color: var(--espresso);
  margin: 0;
}
.reviews-highlight-quote em {
  font-style: italic;
  color: var(--gold-dk, #8A6A38);
}
.reviews-highlight-copy {
  margin: 8px 0 0;
  font: 400 13px/1.65 'Inter', sans-serif;
  color: var(--muted);
}
@media (max-width: 720px) {
  .reviews-highlight { width: min(100%, calc(100% - 28px)); margin: 14px auto 4px; }
}

/* ─── Review image lightbox ───────────────────────────── */
.reviews-carousel-slide {
  cursor: zoom-in;
}
.reviews-carousel-slide:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
#review-lightbox {
  border: 0;
  padding: 0;
  max-width: min(920px, calc(100vw - 24px));
  width: 100%;
  max-height: 92dvh;
  background: transparent;
  overflow: visible;
}
#review-lightbox::backdrop {
  background: rgba(18,14,11,.78);
  backdrop-filter: blur(8px);
}
#review-lightbox .review-lightbox-inner {
  position: relative;
  background: #faf6f0;
  border-radius: 18px;
  overflow: auto;
  max-height: 92dvh;
  min-height: min(280px, 50dvh);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
#review-lightbox .review-lightbox-inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88dvh;
  object-fit: contain;
  background: transparent;
  padding: 28px 18px;
  box-sizing: border-box;
}
#review-lightbox .review-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #2c241c;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

#video-demo-modal .video-modal-close {
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
#reviews .reviews-carousel {
  margin-top: 28px;
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Stage keeps arrows centered on cards, not on cards+progress */
#reviews .reviews-carousel-stage {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  align-items: center !important;
  column-gap: 10px !important;
  width: 100% !important;
}
#reviews .reviews-carousel-stage .reviews-carousel-viewport {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}
#reviews .reviews-carousel-stage .reviews-carousel-prev,
#reviews .reviews-carousel-stage .reviews-carousel-next {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: grid !important;
  place-items: center !important;
}
#reviews .reviews-carousel-stage .reviews-carousel-prev { grid-column: 1 !important; }
#reviews .reviews-carousel-stage .reviews-carousel-next { grid-column: 3 !important; }
#reviews .reviews-progress {
  width: min(280px, 40%) !important;
  margin: 16px auto 0 !important;
}

@media (max-width: 980px) {
  #reviews .reviews-carousel-stage {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
  }
  #reviews .reviews-carousel-stage .reviews-carousel-viewport {
    grid-column: 1 !important;
  }
  /* Mobile: swipe only — arrows look off over tall cards */
  #reviews .reviews-carousel-stage .reviews-carousel-arrow {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .reviews-highlight-quote { font-size: 22px; }
  .reviews-highlight-card { padding: 16px 16px; }
  #review-lightbox { max-width: calc(100vw - 16px); }
  #review-lightbox .review-lightbox-inner img { padding: 22px 12px; }
}
