/* Jacara Meadows — shared stylesheet (product006, DEC-082)
   Two portals, one house: body.bakery = warm daylight, body.tech = studio dark. */

:root {
  --serif: "Palatino", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Bakery palette ---------- */
body.bakery {
  --bg: #faf4ec;
  --bg-soft: #f3e7d8;
  --card: #fffdf9;
  --ink: #43302a;
  --ink-soft: #7d6357;
  --accent: #b4552d;
  --accent-deep: #8a3c1e;
  --gold: #c99a4e;
  --line: #e8d9c6;
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Tech palette ---------- */
body.tech {
  --bg: #0e1217;
  --bg-soft: #131a22;
  --card: #171f29;
  --ink: #e8edf2;
  --ink-soft: #93a1b0;
  --accent: #4fd1a5;
  --accent-deep: #2ea883;
  --gold: #e8c268;
  --line: #24303d;
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Shared structure ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body.bakery .topbar { background: rgba(250, 244, 236, 0.88); }
body.tech .topbar { background: rgba(14, 18, 23, 0.88); }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.wordmark { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em; text-decoration: none; font-weight: 700; }
.wordmark .mk { color: var(--accent); }
.topnav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.topnav a { text-decoration: none; color: var(--ink-soft); }
.topnav a:hover { color: var(--ink); }
.topnav a.portal-switch {
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  padding: 6px 14px; border-radius: 999px; font-weight: 600;
}
body.tech .topnav a.portal-switch { color: var(--accent); }
.topnav a.portal-switch:hover { background: var(--accent); color: #fff; }
body.tech .topnav a.portal-switch:hover { color: #0e1217; }

.hero { padding: 84px 0 60px; }
.hero .eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px;
}
body.tech .hero .eyebrow { color: var(--accent); }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.12; letter-spacing: -0.01em;
  max-width: 17ch;
}
.hero p.lede { max-width: 56ch; margin-top: 20px; font-size: 1.12rem; color: var(--ink-soft); }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 650; font-size: 0.98rem;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--accent); color: #fff; }
body.tech .btn-solid { color: #0b1310; }
.btn-solid:hover { box-shadow: 0 8px 22px -10px var(--accent); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }

section.block { padding: 58px 0; }
section.block.alt { background: var(--bg-soft); }
.block h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.block .sub { color: var(--ink-soft); max-width: 62ch; margin-bottom: 34px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font-family: var(--serif); font-size: 1.18rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card .price { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 0.85rem; color: var(--accent-deep); }
body.tech .card .price { color: var(--accent); }
.card .emoji { font-size: 1.7rem; line-height: 1; }

.notice {
  border: 1.5px solid var(--accent); border-radius: 16px;
  background: var(--card); padding: 26px 28px; max-width: 760px;
}
.notice h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; color: var(--accent-deep); }
body.tech .notice h3 { color: var(--accent); }
.notice p { color: var(--ink-soft); font-size: 0.97rem; }
.notice p + p { margin-top: 10px; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); color: var(--accent); font-size: 0.85rem;
  display: block; margin-bottom: 10px; letter-spacing: 0.12em;
}
.step h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.94rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink-soft);
  text-decoration: none;
}
a.pill:hover { border-color: var(--accent); color: var(--ink); }

footer.site { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 30px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: baseline; }
footer.site p { font-size: 0.88rem; color: var(--ink-soft); }
footer.site .fine { font-size: 0.8rem; max-width: 62ch; }

/* homepage hero with logo badge */
.hero .wrap.hero-flex { display: flex; align-items: center; gap: 48px; justify-content: space-between; }
.hero-badge { width: clamp(130px, 17vw, 200px); flex-shrink: 0; }
@media (max-width: 720px) {
  .hero .wrap.hero-flex { flex-direction: column-reverse; align-items: flex-start; gap: 26px; }
  .hero-badge { width: 110px; }
}

/* tech-desk cross-promo on the homepage */
.crosspromo {
  background: linear-gradient(200deg, #131a22 0%, #0e1217 60%, #0b0f14 100%);
  color: #e8edf2; border-radius: 20px; padding: 40px 42px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.crosspromo .kicker { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: #4fd1a5; }
.crosspromo h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 8px 0 6px; color: #e8edf2; }
.crosspromo p { color: #93a1b0; max-width: 52ch; font-size: 0.98rem; }
.crosspromo .btn { background: #4fd1a5; color: #0b1310; }
.crosspromo .btn:hover { box-shadow: 0 8px 22px -10px #4fd1a5; }

.placeholder-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: 6px; padding: 3px 8px; color: var(--ink-soft);
}

/* project slot cards on the tech portal */
.card.slot { border-style: dashed; align-items: flex-start; justify-content: center; min-height: 150px; }
.card.slot p { font-family: var(--mono); font-size: 0.82rem; }

/* ---------- Logo ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark img.logo-mini { width: 34px; height: 34px; }

/* ---------- Expanded site footer ---------- */
footer.site .foot-grid {
  display: grid; gap: 32px; width: 100%;
  grid-template-columns: 1.4fr 1fr 1fr;
}
footer.site h4 {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px;
}
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 7px; }
footer.site ul a { text-decoration: none; color: var(--ink); font-size: 0.92rem; opacity: 0.85; }
footer.site ul a:hover { color: var(--accent); opacity: 1; }
footer.site .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
footer.site .brandline img { width: 56px; height: 56px; }
footer.site .brandline strong { font-family: var(--serif); font-size: 1.1rem; }
footer.site .legalbar {
  border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px;
  width: 100%; font-size: 0.8rem; color: var(--ink-soft);
}
@media (max-width: 720px) { footer.site .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / content pages ---------- */
.page-head { padding: 56px 0 8px; }
.page-head .crumb {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.page-head .crumb a { color: var(--accent-deep); text-decoration: none; }
body.tech .page-head .crumb a { color: var(--accent); }
.page-head h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.01em; }
.page-head .meta { margin-top: 10px; color: var(--ink-soft); font-size: 0.9rem; font-family: var(--mono); }

article.legal { max-width: 760px; padding: 26px 0 70px; }
article.legal h2 { font-family: var(--serif); font-size: 1.35rem; margin: 34px 0 10px; }
article.legal h3 { font-family: var(--serif); font-size: 1.1rem; margin: 22px 0 8px; }
article.legal p { margin: 0 0 14px; color: var(--ink); }
article.legal p.soft, article.legal li { color: var(--ink-soft); }
article.legal ul, article.legal ol { margin: 0 0 16px 22px; }
article.legal li { margin-bottom: 8px; }
article.legal .statement {
  font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 1rem;
  border: 1.5px solid var(--accent); border-radius: 12px; padding: 16px 18px;
  background: var(--bg-soft); margin: 16px 0;
}
article.legal a { color: var(--accent-deep); }
body.tech article.legal a { color: var(--accent); }
article.legal .kv { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 16px 0; }
article.legal .kv div { display: flex; border-bottom: 1px solid var(--line); }
article.legal .kv div:last-child { border-bottom: none; }
article.legal .kv dt {
  flex: 0 0 220px; padding: 10px 14px; font-family: var(--mono); font-size: 0.8rem;
  background: var(--bg-soft); color: var(--ink-soft);
}
article.legal .kv dd { padding: 10px 14px; font-size: 0.92rem; }
@media (max-width: 560px) { article.legal .kv dt { flex-basis: 130px; } }

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .topnav { gap: 14px; font-size: 0.88rem; }
  .topnav a.hide-sm { display: none; }
}

/* ============ Enhancement pass (2026-08-17) ============ */

/* scroll-reveal motion (classes applied by site.js; inert without JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* topbar shadow once scrolled */
.topbar { transition: box-shadow 0.25s ease; }
.topbar.scrolled { box-shadow: 0 6px 24px -18px rgba(67, 48, 42, 0.55); }
body.tech .topbar.scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, 0.85); }

/* card lift + emoji chips */
.card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(138, 60, 30, 0.4); border-color: var(--gold); }
body.tech .card:hover { box-shadow: 0 16px 32px -20px rgba(79, 209, 165, 0.4); border-color: var(--accent-deep); }
.card .emoji { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); border-radius: 14px; }

/* hero glow + floating badge */
body.bakery .hero { background: radial-gradient(900px 420px at 85% 8%, rgba(201, 154, 78, 0.18), transparent 65%); }
body.tech .hero { background: radial-gradient(900px 420px at 85% 8%, rgba(79, 209, 165, 0.1), transparent 65%); }
.hero-badge { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }

/* tech hero cursor */
body.tech .hero h1::after { content: "▌"; color: var(--accent); margin-left: 8px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body.tech .hero h1::after { animation: none; } }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust > div { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--ink-soft); }
.trust .t-ico { font-size: 1.25rem; }
.trust strong { color: var(--ink); font-weight: 650; display: block; }
.trust a { color: inherit; }

/* FAQ accordions (native details/summary) */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s ease; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; font-family: var(--serif); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.15rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; color: var(--ink-soft); font-size: 0.95rem; }
.faq details[open] { border-color: var(--gold); }

/* license chip */
.license-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--gold); background: var(--card); border-radius: 999px; padding: 7px 16px; font-family: var(--mono); font-size: 0.8rem; color: var(--accent-deep); }

/* keyboard focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ============ Commerce + concierge + media pass (2026-08-17) ============ */

/* ---- order page ---- */
.order-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 860px) { .order-layout { grid-template-columns: 1fr; } }
.order-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.qty-btn { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--card); color: var(--accent-deep); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease; }
.qty-btn:hover { background: var(--accent); color: #fff; }
.qty-btn:active { transform: scale(0.92); }
.qty-num { font-family: var(--mono); font-size: 1rem; min-width: 20px; text-align: center; }
.cart-panel { position: sticky; top: 86px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 18px 44px -30px rgba(138, 60, 30, 0.35); }
.cart-panel h2 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 12px; }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.94rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.cart-total-line { font-weight: 700; color: var(--ink); border-bottom: none; font-size: 1.05rem; margin-bottom: 8px; }
.field-label { display: block; font-size: 0.84rem; font-weight: 650; margin: 14px 0 6px; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: var(--bg); color: var(--ink); }
.field:focus { border-color: var(--accent); outline: none; }
.soft-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.pay-btn { width: 100%; text-align: center; margin-top: 16px; font-size: 1.05rem; padding: 14px 24px; cursor: pointer; border: none; }
#checkout-fallback h3 { font-family: var(--serif); font-size: 1.05rem; margin: 16px 0 10px; }
#checkout-fallback .btn { display: block; text-align: center; margin-top: 10px; }

/* ---- Meadow concierge ---- */
#meadow-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; border: none; cursor: pointer; background: var(--accent, #b4552d); color: #fff; font: 650 0.95rem var(--sans); padding: 13px 20px; border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(138, 60, 30, 0.6); transition: transform 0.15s ease, box-shadow 0.15s ease; }
#meadow-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(138, 60, 30, 0.7); }
body.tech #meadow-fab { background: #4fd1a5; color: #0b1310; box-shadow: 0 14px 34px -12px rgba(79, 209, 165, 0.5); }
#meadow-panel { position: fixed; right: 20px; bottom: 84px; z-index: 60; width: min(380px, calc(100vw - 40px)); max-height: min(560px, 78vh); display: flex; flex-direction: column; background: var(--card, #fffdf9); color: var(--ink, #43302a); border: 1px solid var(--line, #e8d9c6); border-radius: 20px; box-shadow: 0 30px 70px -30px rgba(40, 25, 15, 0.5); overflow: hidden; animation: meadow-in 0.25s ease; }
@keyframes meadow-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { #meadow-panel { animation: none; } }
#meadow-panel .m-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--bg-soft, #f3e7d8); border-bottom: 1px solid var(--line); }
#meadow-panel .m-head strong { font-family: var(--serif); font-size: 1.05rem; display: block; }
#meadow-panel .m-sub { font-size: 0.74rem; color: var(--ink-soft); }
#meadow-close { border: none; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 4px 8px; }
.m-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.m-msg { max-width: 90%; padding: 10px 14px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; }
.m-msg.bot { background: var(--bg-soft); border-bottom-left-radius: 4px; align-self: flex-start; }
.m-msg.me { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.m-msg a { color: var(--accent-deep); }
.m-msg.me a { color: #fff; }
.m-msg .m-cta { display: inline-block; margin: 6px 6px 2px 0; font-size: 0.88rem; padding: 9px 16px; }
.m-msg .m-cta.btn-solid { color: #fff; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.m-chip { border: 1px solid var(--accent); background: var(--card); color: var(--accent-deep); border-radius: 999px; padding: 7px 14px; font: 600 0.84rem var(--sans); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.m-chip:hover { background: var(--accent); color: #fff; }
.m-inrow { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.m-inrow input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: inherit; background: var(--bg); color: var(--ink); }
.m-inrow input:focus { border-color: var(--accent); outline: none; }
.m-send { border: none; background: var(--accent); color: #fff; width: 42px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }

/* ---- "A peek inside" media vignettes ---- */
.peek-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.vignette { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.vignette:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -24px rgba(138, 60, 30, 0.45); }
.vignette .scene { aspect-ratio: 16 / 10; display: block; width: 100%; background: linear-gradient(165deg, #f7ecdd, #f0ddc3); }
.vignette figcaption { padding: 16px 20px 18px; }
.vignette figcaption strong { font-family: var(--serif); font-size: 1.08rem; display: block; margin-bottom: 4px; }
.vignette figcaption span { font-size: 0.88rem; color: var(--ink-soft); }

/* vignette animations — slow, calm, reduced-motion aware */
.v-steam path { stroke: #c8a276; stroke-width: 3; fill: none; stroke-linecap: round; opacity: 0; animation: steam 5s ease-in-out infinite; }
.v-steam path:nth-child(2) { animation-delay: 1.6s; }
.v-steam path:nth-child(3) { animation-delay: 3.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 25% { opacity: 0.7; } 60% { opacity: 0.25; } 100% { opacity: 0; transform: translateY(-16px); } }
.v-cloche { animation: cloche 6s ease-in-out infinite; transform-origin: 50% 40%; }
@keyframes cloche { 0%, 55%, 100% { transform: translateY(0); } 70%, 85% { transform: translateY(-14px); } }
.v-spark { fill: #c99a4e; opacity: 0; animation: spark 6s ease-in-out infinite; }
.v-spark.s2 { animation-delay: 0.4s; } .v-spark.s3 { animation-delay: 0.8s; }
@keyframes spark { 68%, 90% { opacity: 1; } 0%, 55%, 100% { opacity: 0; } }
.v-step-ico { opacity: 0.25; animation: stepglow 7.5s ease-in-out infinite; }
.v-step-ico.p2 { animation-delay: 2.5s; } .v-step-ico.p3 { animation-delay: 5s; }
@keyframes stepglow { 0%, 30%, 100% { opacity: 0.25; transform: scale(1); } 8%, 20% { opacity: 1; transform: scale(1.08); } }
.v-arrow { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash 7.5s ease-in-out infinite; }
.v-arrow.a2 { animation-delay: 2.5s; }
@keyframes dash { 8%, 30% { stroke-dashoffset: 0; opacity: 1; } 0% { stroke-dashoffset: 60; opacity: 0; } 40%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .v-steam path, .v-cloche, .v-spark, .v-step-ico, .v-arrow { animation: none; opacity: 1; stroke-dashoffset: 0; }
}

/* ---- card tilt + shimmer (pointer devices only; applied by site.js) ---- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card.tiltable { transform-style: preserve-3d; will-change: transform; position: relative; overflow: hidden; }
  .card.tiltable::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%); transform: translateX(-120%); transition: none; pointer-events: none; }
  .card.tiltable:hover::after { transform: translateX(120%); transition: transform 0.7s ease; }
  body.tech .card.tiltable::after { background: linear-gradient(105deg, transparent 40%, rgba(79, 209, 165, 0.12) 50%, transparent 60%); }
}
#meadow-panel[hidden] { display: none; }

/* photo-capable menu cards (media brief assets drop in via site-config MENU.photo) */
.card img.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 4px; }
#pp-message { margin: 12px 0 4px; min-height: 20px; }

/* ---- real media pass (2026-08-17) ---- */
.hero-photo { width: clamp(280px, 34vw, 460px); border-radius: 20px; box-shadow: 0 26px 60px -28px rgba(138, 60, 30, 0.5); flex-shrink: 1; object-fit: cover; aspect-ratio: 16 / 11; }
@media (max-width: 720px) { .hero-photo { width: 100%; aspect-ratio: 16 / 9; } }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.photo-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr; } }
video.scene { object-fit: cover; background: #f0ddc3; }
.hero-video { width: clamp(280px, 32vw, 440px); border-radius: 20px; box-shadow: 0 26px 60px -26px rgba(79, 209, 165, 0.35); aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 720px) { .hero-video { width: 100%; } }
.about-photo { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 22px; }
@media (prefers-reduced-motion: reduce) { video.scene, .hero-video { display: none; } }
