/* Demo additions on top of the A4 design system — inner pages, video hero, gallery, lightbox, concierge */

/* ---- Video hero (homepage split hero) ---- */
.hero-image video { width: 100%; height: 100%; object-fit: cover; }

/* ---- Inner-page banner ---- */
.crumb { padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { margin: 0 8px; opacity: .5; }
.pbanner { padding: 32px 0 var(--section); }
.pbanner-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.pbanner-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pbanner-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); }
.pbanner h1 { margin-bottom: 18px; }
.pbanner h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.pbanner .lede { font-size: 19px; color: var(--ink-soft); line-height: 1.55; max-width: 560px; }
.pbanner-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.pbanner-img { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); aspect-ratio: 4/5; background: var(--canvas-deeper); }
.pbanner-img img { width: 100%; height: 100%; object-fit: cover; }
.pbanner-img .caption { position: absolute; left: 14px; bottom: 14px; background: rgba(29,29,29,0.85); color: var(--canvas); font-size: 12px; padding: 8px 12px; border-radius: 6px; }
@media (max-width: 900px) { .pbanner-grid { grid-template-columns: 1fr; } .pbanner-img { aspect-ratio: 4/3; } }

/* ---- Trust strip ---- */
.trust-strip { background: var(--canvas-deeper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.ts-cell { padding: 24px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.ts-cell:last-child { border-right: 0; }
.ts-cell .label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ts-cell .val { font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 500; }
.ts-cell .val a { color: var(--accent); }
.ts-cell .stars { color: #c08a2a; letter-spacing: 1px; font-size: 14px; }
@media (max-width: 900px) { .trust-strip-inner { grid-template-columns: repeat(2, 1fr); } .ts-cell { border-bottom: 1px solid var(--rule); } .ts-cell:nth-child(2) { border-right: 0; } }
@media (max-width: 540px) { .trust-strip-inner { grid-template-columns: 1fr; } .ts-cell { border-right: 0; } }

/* ---- Article / prose ---- */
.article { padding: var(--section) 0; background: var(--canvas); }
.article.alt { background: var(--canvas-deeper); }
.wrap-narrow { max-width: 820px; margin: 0 auto; }
.prose section { margin-bottom: 48px; }
.prose section:last-child { margin-bottom: 0; }
.prose h2 { margin: 0 0 18px; }
.prose .eyebrow { display: block; margin-bottom: 14px; }
.prose p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 20px; font-size: 17.5px; }
.prose p strong { color: var(--ink); font-weight: 700; }
.prose p em { font-style: italic; color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }

/* ---- Key points ---- */
.keypoints { background: var(--canvas-deeper); padding: var(--section) 0; }
.kp-head { max-width: 680px; margin-bottom: 40px; }
.kp-head .eyebrow { display: block; margin-bottom: 14px; }
.kp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kp-card { background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 12px; padding: 28px; }
.kp-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.kp-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.kp-card li { font-size: 15px; color: var(--ink-soft); line-height: 1.6; padding-left: 18px; position: relative; }
.kp-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .kp-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq { padding: var(--section) 0; background: var(--canvas); }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head .eyebrow { display: block; margin-bottom: 14px; }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-num { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent); font-weight: 400; line-height: 1; }
.faq-q { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.faq-a { color: var(--ink-soft); line-height: 1.7; font-size: 16px; }

/* ---- Testimonials ---- */
.testim { padding: var(--section) 0; background: var(--canvas-deeper); }
.testim-head { max-width: 560px; margin-bottom: 40px; }
.testim-head .eyebrow { display: block; margin-bottom: 14px; }
.testim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testim-card { background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 12px; padding: 36px 32px; position: relative; overflow: hidden; }
.testim-card::before { content: "\201C"; position: absolute; left: 18px; top: -10px; font-family: var(--serif); font-size: 130px; color: var(--accent-soft); line-height: 1; font-weight: 500; pointer-events: none; }
.testim-quote { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--ink); margin: 0 0 18px; position: relative; }
.testim-attrib { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .testim-grid { grid-template-columns: 1fr; } }

/* ---- Related list ---- */
.related-band { padding: var(--section) 0; background: var(--canvas); }
.related-wrap { max-width: 820px; margin: 0 auto; }
.related-wrap h2 { margin-bottom: 28px; }
.related-wrap .eyebrow { display: block; margin-bottom: 14px; }
.related-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.related-list a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule-soft); text-decoration: none; color: var(--ink); transition: padding .15s ease; }
.related-list li:last-child a { border-bottom: 0; }
.related-list a .label { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.related-list a .arrow { color: var(--accent); font-weight: 700; font-size: 18px; transition: transform .15s ease; }
.related-list a:hover { padding-left: 14px; text-decoration: none; }
.related-list a:hover .arrow { transform: translateX(6px); }

/* ---- CTA band ---- */
.cta-band { padding: var(--section) 0; background: var(--canvas); }
.cta-inner { max-width: var(--maxw); margin: 0 auto; background: var(--ink); color: #f3ead7; border-radius: 14px; padding: clamp(36px,5vw,64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.cta-inner h2 { color: #f7eddf; margin-bottom: 14px; }
.cta-inner h2 em { font-style: italic; color: #7fbdc9; font-weight: 500; }
.cta-inner p { color: rgba(243,234,223,.78); line-height: 1.7; max-width: 520px; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.btn-cream { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.btn-cream:hover { background: #fff; text-decoration: none; }
.btn-outline-cream { background: transparent; color: var(--canvas); border-color: var(--canvas); }
.btn-outline-cream:hover { background: var(--canvas); color: var(--ink); text-decoration: none; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---- Steps (numbered) ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.steps li .n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent); line-height: 1; }
.steps li b { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 500; }
.steps li p { color: var(--ink-soft); line-height: 1.7; margin-top: 6px; }

/* ---- Video interstitial ---- */
.video-interstitial { padding: var(--section) 0; background: var(--canvas-deeper); }
.video-frame-interstitial { border: 1px solid var(--rule); background: var(--canvas-deeper); aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; }
.video-frame-interstitial video { width: 100%; height: 100%; object-fit: cover; }

/* ---- Gallery grid ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--canvas-deeper); cursor: zoom-in; border: 1px solid var(--rule-soft); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .3s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--canvas); background: linear-gradient(180deg, rgba(29,29,29,0) 0%, rgba(29,29,29,0.72) 100%); opacity: 0; transition: opacity .3s ease; }
.gallery-grid figure:hover figcaption { opacity: 1; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(29,29,29,0.92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s linear 0s; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(250,243,230,0.3); background: rgba(250,243,230,0.08); color: var(--canvas); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Concierge ---- */
.concierge-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); font-family: var(--sans); font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 40px rgba(0,0,0,0.3); transition: transform .15s ease, background .15s ease; }
.concierge-launcher:hover { background: var(--accent-deep); }
.concierge-launcher:active { transform: scale(0.97); }
.concierge-launcher .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--on-accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(250,243,230,0.4); } 70% { box-shadow: 0 0 0 10px rgba(250,243,230,0); } 100% { box-shadow: 0 0 0 0 rgba(250,243,230,0); } }
.concierge-panel { position: fixed; right: 22px; bottom: 84px; z-index: 91; width: min(380px, calc(100vw - 32px)); height: min(560px, 70vh); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,0.3); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.concierge-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s; }
.concierge-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule-soft); background: var(--canvas); }
.concierge-head .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.concierge-head b { display: block; font-size: 14px; color: var(--ink); }
.concierge-head small { color: var(--muted); font-size: 12px; }
.concierge-close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; }
.concierge-close:hover { color: var(--accent); }
.concierge-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.concierge-msg { max-width: 82%; padding: 10px 14px; border-radius: 12px; line-height: 1.5; }
.concierge-msg.bot { background: var(--canvas-deeper); color: var(--ink); border-bottom-left-radius: 3px; align-self: flex-start; }
.concierge-msg.user { background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 3px; align-self: flex-end; }
.concierge-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; }
.concierge-chip { border: 1px solid var(--rule); background: none; color: var(--ink); font-size: 12.5px; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.concierge-chip:hover { border-color: var(--accent); color: var(--accent); }
.concierge-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule-soft); background: var(--canvas); }
.concierge-input-row input { flex: 1; min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; font-size: 14px; }
.concierge-input-row input:focus { outline: none; border-color: var(--accent); }
.concierge-send { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 0 18px; cursor: pointer; font-weight: 700; }
.concierge-send:active { transform: scale(0.96); }

@media (prefers-reduced-motion: reduce) {
  .concierge-launcher .pulse { animation: none; }
  .gallery-grid img, .gallery-grid figure:hover img { transition: none; transform: none; }
}
