/* ==========================================================================
   Bicol & Bee — product showcase
   ========================================================================== */

:root {
  --ivory: #fbf5e9;
  --ivory-2: #f4e9d4;
  --cream: #fffcf5;
  --honey: #d49b33;
  --honey-2: #e7bd6a;
  --honey-deep: #b57a1f;
  --caramel: #9c6128;
  --brown: #3a2413;
  --brown-2: #5a3a22;
  --brown-deep: #1f130a;
  --ink: #2a1a0e;
  --muted: rgba(58, 36, 19, 0.68);
  --line: rgba(181, 122, 31, 0.42);
  --line-soft: rgba(58, 36, 19, 0.14);
  --error: #9a3b22;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --eve: 0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.is-film) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(212, 155, 51, 0.35); color: var(--brown-deep); }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--brown); color: var(--ivory); text-decoration: none;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 0.86rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s, opacity .3s;
}
.btn--honey {
  color: var(--brown-deep);
  background: linear-gradient(180deg, #ecc26c 0%, #d49b33 100%);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .65), 0 12px 26px -14px rgba(150, 95, 20, .75);
}
.btn--honey:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 246, 220, .75), 0 16px 30px -14px rgba(150, 95, 20, .85); }
.btn--ghost {
  color: var(--brown);
  background: rgba(251, 245, 233, 0.55);
  border-color: rgba(181, 122, 31, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(251, 245, 233, 0.85); }
.btn--lg { --h: 54px; padding: 0 30px; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Film layer (fixed background)
   -------------------------------------------------------------------------- */
.film { display: none; }

.is-film .film {
  display: block;
  position: fixed; inset: 0; z-index: 0;
  background: #e9d7b6;
  overflow: hidden;
}
.film__poster, .film__poster img, .film__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.film__poster img { object-fit: cover; }
.film__canvas { opacity: 0; transition: opacity .6s var(--ease); }
.film.is-ready .film__canvas { opacity: 1; }
.film__warmth {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255, 170, 70, .35), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: calc(var(--eve) * 0.9);
}
.film__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(31, 19, 10, .32) 100%);
}
.film__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .3 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.frame-corners { display: none; }
.is-film .frame-corners { display: block; position: fixed; inset: 14px; z-index: 5; pointer-events: none; }
.frame-corners i {
  position: absolute; width: 22px; height: 22px;
  border: 0 solid rgba(233, 194, 122, .7);
  transition: border-color .6s;
}
.frame-corners i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.frame-corners i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.frame-corners i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.frame-corners i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  position: fixed; z-index: 20; left: 0; right: 0; top: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(18px + env(safe-area-inset-top)) calc(var(--gutter) + 8px) 0;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand {
  justify-self: start;
  display: block; padding: 8px 14px 9px;
  background: rgba(251, 245, 233, 0.82);
  border: 1px solid rgba(181, 122, 31, 0.28);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(58, 36, 19, .45);
}
.brand img { height: 56px; width: auto; }
.topbar__chapter {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font: 500 0.72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--brown);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(251, 245, 233, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color .6s, background-color .6s, opacity .5s, visibility .5s;
}
.topbar__num { color: var(--honey-deep); }
.topbar__name { min-width: 9.5em; text-align: left; }
.topbar__cta { justify-self: end; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, opacity .5s, visibility .5s; }
html:not(.is-film) .topbar__chapter { visibility: hidden; }

.is-evening .topbar__chapter { color: var(--ivory); background: rgba(31, 19, 10, .38); }
.is-evening .topbar__num { color: var(--honey-2); }
.is-evening .topbar__cta { color: var(--ivory); background: rgba(31, 19, 10, .35); border-color: rgba(231, 189, 106, .6); }
.is-evening .topbar__cta:hover { background: rgba(31, 19, 10, .55); }
.is-evening .frame-corners i { border-color: rgba(231, 189, 106, .55); }

/* --------------------------------------------------------------------------
   Progress rail
   -------------------------------------------------------------------------- */
.progress { display: none; }
.is-film .progress {
  display: block; position: fixed; z-index: 15;
  right: calc(var(--gutter) - 6px); top: 50%; transform: translateY(-50%);
  height: min(46vh, 380px); width: 24px;
}
.is-film .progress { transition: opacity .5s var(--ease), visibility .5s; }
.is-past .progress, .is-past .topbar__chapter, .is-past .topbar__cta { opacity: 0; visibility: hidden; }
.progress__track {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
  background: rgba(58, 36, 19, .22);
  transition: background-color .6s;
}
.progress__fill {
  position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: linear-gradient(var(--honey-2), var(--honey));
  transform-origin: top; transform: scaleY(var(--p, 0));
}
.progress__bee {
  position: absolute; left: 50%; top: 0; width: 22px; height: auto;
  transform: translate(-50%, calc(var(--p, 0) * min(46vh, 380px) - 50%));
  filter: drop-shadow(0 2px 6px rgba(58, 36, 19, .35));
}
.progress__stops { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.progress__stops li { position: absolute; left: 0; right: 0; height: 0; top: var(--at, 0%); }
.progress__stops a {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 24px; height: 24px; text-decoration: none;
}
.progress__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ivory); border: 1px solid rgba(181, 122, 31, .8);
  transition: transform .4s var(--ease), background-color .4s;
}
.progress__stops a.is-passed .progress__dot { background: var(--honey); }
.progress__stops a.is-current .progress__dot { transform: scale(1.35); }
.progress__label {
  position: absolute; right: 28px; top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font: 500 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown); opacity: 0; pointer-events: none;
  padding: 6px 10px; border-radius: 999px; background: rgba(251, 245, 233, .75);
  transition: opacity .35s, transform .35s var(--ease);
}
.progress__stops a:hover .progress__label,
.progress__stops a:focus-visible .progress__label { opacity: 1; transform: translate(0, -50%); }
.is-evening .progress__track { background: rgba(251, 245, 233, .28); }
.is-evening .progress__label { color: var(--ivory); background: rgba(31, 19, 10, .55); }

/* --------------------------------------------------------------------------
   Panels
   -------------------------------------------------------------------------- */
.panel {
  --t: 1;
  position: relative; z-index: 10;
  width: min(348px, calc(100vw - 2 * var(--gutter)));
  padding: 24px 26px 22px;
  color: var(--ink);
  background: rgba(251, 245, 233, 0.76);
  border: 1px solid rgba(181, 122, 31, 0.34);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px) saturate(1.08); backdrop-filter: blur(16px) saturate(1.08);
  box-shadow: 0 30px 60px -34px rgba(58, 36, 19, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.panel--dark {
  color: var(--ivory);
  background: rgba(31, 19, 10, 0.5);
  border-color: rgba(231, 189, 106, 0.32);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 230, 180, .08);
}
.panel__kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--caramel);
}
.panel--dark .panel__kicker { color: var(--honey-2); }
.panel__index { font-variant-numeric: tabular-nums; }
.panel__rule { display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.panel__title {
  margin: 0;
  font: 500 clamp(2.2rem, 1.4rem + 1.9vw, 3.15rem)/0.98 var(--serif);
  letter-spacing: -0.012em;
  color: var(--brown-deep);
}
.panel--dark .panel__title { color: var(--cream); }
.panel__title .line { display: inline-block; }
.panel__title em { font-style: italic; font-weight: 400; color: var(--caramel); }
.panel--dark .panel__title em { color: var(--honey-2); }
.panel__text {
  margin: 14px 0 0; max-width: 30ch;
  font-size: .98rem; line-height: 1.55; color: var(--muted);
}
.panel--dark .panel__text { color: rgba(251, 245, 233, .78); }
.panel__meta, .panel__list { margin: 18px 0 0; padding: 0; }
.panel__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-soft); }
.panel__meta div { padding-top: 12px; }
.panel__meta div + div { padding-left: 16px; border-left: 1px solid var(--line-soft); }
.panel__meta dt, .panel__list dt {
  font: 500 .64rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--caramel);
}
.panel__meta dd { margin: 4px 0 0; font: italic 400 1.2rem/1.2 var(--serif); color: var(--brown); }
.panel__list div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line-soft);
}
.panel__list div:last-child { border-bottom: 1px solid var(--line-soft); }
.panel__list dt::before { content: "✦"; margin-right: 9px; color: var(--honey); letter-spacing: 0; }
.panel__list dd { margin: 0; font: 500 1.35rem/1.1 var(--serif); color: var(--brown-deep); }
.panel__quote { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(231, 189, 106, .28); }
.panel__quote p { margin: 0; font: italic 400 1.55rem/1.2 var(--serif); color: var(--honey-2); }
.panel .btn { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Static (reduced motion / no JS) layout
   -------------------------------------------------------------------------- */
html:not(.is-film) .stage {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) 64px;
  overflow: hidden;
}
html:not(.is-film) .stage:has(.panel--right) { justify-content: flex-end; align-items: center; }
.stage__poster, .inquire__poster { position: absolute; inset: 0; z-index: 0; }
.stage__poster img, .inquire__poster img { width: 100%; height: 100%; object-fit: cover; }
html:not(.is-film) .scroll-cue { display: none; }
.panel__cue { display: none; }

/* --------------------------------------------------------------------------
   Film layout
   -------------------------------------------------------------------------- */
.is-film .journey { position: relative; z-index: 2; }
.is-film .stage { position: absolute; left: 0; right: 0; height: 100vh; pointer-events: none; }
.is-film .stage__poster, .is-film .inquire__poster { display: none; }

.is-film .panel {
  position: fixed;
  opacity: var(--t);
  transform: translate3d(0, calc((1 - var(--t)) * 26px), 0);
  visibility: hidden;
  will-change: opacity, transform;
}
.is-film .panel.is-on { visibility: visible; }
.is-film .panel.is-live { pointer-events: auto; }
.is-film .panel--left { left: calc(var(--gutter) + 8px); }
.is-film .panel--right { right: calc(var(--gutter) + 52px); }
.is-film .panel--low { bottom: calc(10vh + env(safe-area-inset-bottom)); }
.is-film .panel:not(.panel--low) { top: 50%; margin-top: -120px; }
.is-film .panel > * {
  opacity: clamp(0, calc(var(--t) * 1.8 - var(--d, 0) * 0.8), 1);
  transform: translate3d(0, calc((1 - clamp(0, calc(var(--t) * 1.8 - var(--d, 0) * 0.8), 1)) * 12px), 0);
}
.is-film .panel > :nth-child(2) { --d: .25; }
.is-film .panel > :nth-child(3) { --d: .5; }
.is-film .panel > :nth-child(4) { --d: .7; }
.is-film .panel > :nth-child(5) { --d: .85; }

.scroll-cue {
  position: fixed; z-index: 10; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 .66rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brown);
  opacity: var(--cue, 1); pointer-events: none;
}
.scroll-cue__line { position: relative; width: 1px; height: 44px; background: rgba(58, 36, 19, .22); overflow: hidden; }
.scroll-cue__line i {
  position: absolute; left: -1px; top: -12px; width: 3px; height: 12px; border-radius: 3px; background: var(--honey-deep);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }

/* --------------------------------------------------------------------------
   Inquiry section
   -------------------------------------------------------------------------- */
.inquire {
  position: relative; z-index: 3;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 112px calc(var(--gutter) + 20px) 72px var(--gutter);
}
.is-film .inquire::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 30%, rgba(31, 19, 10, .38) 100%);
}
.inquire__card {
  position: relative; z-index: 1;
  width: min(580px, 100%);
  padding: clamp(26px, 3vw, 42px);
  background: rgba(251, 245, 233, 0.94);
  border: 1px solid rgba(181, 122, 31, .38);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -40px rgba(20, 10, 2, .75), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.inquire__head { text-align: center; margin-bottom: 26px; }
.inquire__bee { width: 58px; height: auto; margin: 0 auto 10px; }
.inquire__head .panel__kicker { justify-content: center; margin-bottom: 14px; }
.inquire__title {
  margin: 0 auto; max-width: 16ch;
  font: 500 clamp(2.05rem, 1.5rem + 1.9vw, 3rem)/1.02 var(--serif); letter-spacing: -.01em; color: var(--brown-deep);
}
.inquire__lede { margin: 12px auto 0; max-width: 40ch; color: var(--muted); font-size: 1rem; }

/* Form */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label {
  margin: 0 0 6px 2px;
  font: 500 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brown-2);
}
.field__opt { margin-left: 6px; letter-spacing: .08em; text-transform: none; font-weight: 400; color: rgba(58, 36, 19, .5); }
.field input, .field textarea {
  width: 100%; margin: 0;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 13px 14px;
  background: var(--cream);
  border: 1px solid rgba(58, 36, 19, .2);
  border-radius: 12px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(58, 36, 19, .38); }
.field input:hover, .field textarea:hover { border-color: rgba(181, 122, 31, .55); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(212, 155, 51, .25);
  background: #fff;
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(154, 59, 34, .12); }
.field__error { margin: 5px 0 0 2px; min-height: 0; font-size: .8rem; line-height: 1.35; color: var(--error); }
.field__error:empty { display: none; }
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__notice {
  margin: 18px 0 0; padding: 12px 14px;
  border-radius: 12px; background: rgba(212, 155, 51, .12); border: 1px dashed rgba(181, 122, 31, .5);
  font-size: .88rem; color: var(--brown-2);
}
.form__notice p { margin: 0; }
.form__actions { margin-top: 20px; }
.form__submit { width: 100%; position: relative; }
.btn__spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(42, 26, 14, .25); border-top-color: var(--brown-deep);
  animation: spin .8s linear infinite;
}
.form.is-sending .btn__spinner { display: inline-block; }
.form.is-sending .form__submit { cursor: progress; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status:empty { display: none; }
.form__status {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  font-size: .92rem; line-height: 1.5;
}
.form__status[data-tone="error"] { background: rgba(154, 59, 34, .08); border: 1px solid rgba(154, 59, 34, .35); color: #6f2a16; }
.form__status[data-tone="info"] { background: rgba(212, 155, 51, .12); border: 1px solid rgba(181, 122, 31, .45); color: var(--brown); }
.form__status p { margin: 0; }
.form__status p + p, .form__status .btn { margin-top: 10px; }
.form__status a { font-weight: 500; text-underline-offset: 3px; }

.form-success { text-align: center; padding: 18px 0 8px; }
.form-success:focus { outline: none; }
.form-success img { width: 64px; height: auto; margin: 0 auto 12px; }
.form-success h3 { margin: 0; font: 500 2.2rem/1.05 var(--serif); color: var(--brown-deep); }
.form-success p { margin: 10px auto 18px; max-width: 36ch; color: var(--muted); }
.form-success strong { color: var(--brown); font-weight: 500; overflow-wrap: anywhere; }

/* Direct contact */
.direct { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.direct__title {
  margin: 0 0 12px; text-align: center;
  font: 500 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--caramel);
}
.direct__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.direct__list li { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; background: rgba(255, 252, 245, .7); border: 1px solid var(--line-soft); min-width: 0; }
.direct__k { font: 500 .62rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(58, 36, 19, .55); }
.direct__list a, .direct__soon {
  font: 500 1.14rem/1.35 var(--serif); color: var(--brown-deep); overflow-wrap: anywhere;
  font-variant-numeric: lining-nums;
}
.direct__list a { text-decoration: underline; text-decoration-color: rgba(181, 122, 31, .5); text-underline-offset: 4px; }
.direct__list a:hover { color: var(--caramel); text-decoration-color: currentColor; }
.direct__soon { color: rgba(58, 36, 19, .55); font-style: italic; }

/* Footer */
.footer {
  position: relative; z-index: 3;
  padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  background: var(--ivory); text-align: center; color: var(--muted);
  border-top: 1px solid rgba(181, 122, 31, .3);
}
.footer__logo { width: 150px; height: auto; margin: 0 auto 14px; }
.footer p { margin: 4px 0; font-size: .9rem; }
.footer__small { font-size: .78rem !important; letter-spacing: .06em; }
.footer a { text-decoration: none; border-bottom: 1px solid rgba(181, 122, 31, .5); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .topbar__chapter { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .panel { width: 300px; padding: 20px 22px 18px; }
  .panel__title { font-size: 2.2rem; }
  .panel__text { font-size: .92rem; }
  .is-film .panel--right { right: calc(var(--gutter) + 36px); }
  .panel__list dd { font-size: 1.2rem; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --radius: 18px; }
  .brand { padding: 6px 10px 7px; border-radius: 12px; }
  .brand img { height: 44px; }
  .topbar { padding-top: calc(12px + env(safe-area-inset-top)); padding-left: 16px; padding-right: 16px; }
  .topbar__cta { --h: 38px; padding: 0 14px; font-size: .74rem; letter-spacing: .06em; }
  .is-film .frame-corners { inset: 8px; }
  .frame-corners i { width: 14px; height: 14px; }

  .is-film .progress { right: 6px; height: 30vh; top: 46%; }
  .progress__label { display: none; }
  .progress__bee { width: 16px; transform: translate(-50%, calc(var(--p, 0) * 30vh - 50%)); }

  .panel { padding: 18px 20px 18px; width: calc(100vw - 32px); }
  .panel__kicker { margin-bottom: 10px; }
  .panel__title { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .panel__text { margin-top: 10px; font-size: .94rem; max-width: none; }
  .panel__meta { margin-top: 12px; }
  .panel__meta dd { font-size: 1.08rem; }
  .panel__list { margin-top: 12px; }
  .panel__list div { padding: 8px 0; }
  .panel__list dd { font-size: 1.18rem; }
  .panel__quote { margin-top: 12px; padding-top: 12px; }
  .panel__quote p { font-size: 1.35rem; }
  .panel .btn { margin-top: 14px; }

  html:not(.is-film) .stage,
  html:not(.is-film) .stage:has(.panel--right) { align-items: flex-end; justify-content: center; padding: 96px 16px 20px; }

  .inquire { display: block; padding: 96px 12px 28px; min-height: 0; }
  .is-film .inquire { padding-top: 70vh; }
  .is-film .inquire::before { background: linear-gradient(180deg, transparent 40vh, rgba(31, 19, 10, .45) 75vh); }
  .inquire__card { padding: 26px 18px 22px; border-radius: 20px; }
  .inquire__head { margin-bottom: 20px; }
  .form__grid { grid-template-columns: 1fr; gap: 12px; }
  .direct__list { grid-template-columns: 1fr; }
}

@media (max-width: 720px), (max-aspect-ratio: 9/10) {
  .is-film .panel,
  .is-film .panel--left,
  .is-film .panel--right,
  .is-film .panel:not(.panel--low) {
    left: 16px; right: auto; width: min(520px, calc(100vw - 32px)); top: auto; margin-top: 0;
    bottom: calc(18px + env(safe-area-inset-bottom));
  }
  .is-film .scroll-cue { display: none; }
  .is-film .panel__cue {
    display: flex; align-items: center; gap: 10px; margin-top: 14px;
    font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--caramel);
  }
  .panel__cue .scroll-cue__line { width: 32px; height: 1px; }
  .panel__cue .scroll-cue__line i { top: -1px; left: -10px; width: 10px; height: 3px; animation-name: cue-x; }
}
@keyframes cue-x { 0% { transform: translateX(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(44px); opacity: 0; } }

@media (max-height: 560px) and (min-width: 721px) {
  .panel { padding: 16px 20px; }
  .panel__title { font-size: 2.1rem; }
  .panel__meta, .panel__list { display: none; }
  .brand img { height: 42px; }
}
