/* Load after styles.css. V2: one coherent cat/bar/silk scene; no floating cutout.
   The BAR MISAKI wall sign is part of the hero images (behind the cat), not an HTML overlay. */
:root { --gutter: clamp(28px, 5vw, 78px); --ivory: #fff0d8; }
body::before { opacity: .8; }
.page-shell { max-width: 1480px; background: #070605; border-color: #d3b27e55; box-shadow: 0 0 70px #000c; }
.site-header { height: 86px; background: linear-gradient(#070605c9, #07060522); }
.brand-name { font-size: 38px; }
.brand-tag { color: #edc987; }
.hero { height: clamp(590px, 44vw, 660px); min-height: 0; padding: 13px var(--gutter) 50px; }
.hero-background {
  inset: -86px 0 -160px;
  background: #080706 url("assets/hero-desktop-v4.webp") center 48px / 100% auto no-repeat;
  opacity: 1;
  /* The cat, bar and occluding cloth stay in one physical scene. */
}
.hero-shade {
  inset: -86px 0 -160px;
  background: linear-gradient(90deg, #04030266 0%, transparent 44%), linear-gradient(0deg, #080706 0%, transparent 13%, transparent 92%, #08070644 100%);
}
.hero-orbit { opacity: .38; border-color: #d5ac5c; top: -212px; left: 24%; }
.hero-copy { max-width: 600px; }
h1 { font-size: clamp(138px, 12.1vw, 178px); line-height: .765; letter-spacing: -.02em; text-shadow: 0 3px 22px #0002; }
h1 .night { margin-top: 7px; transform: translateX(-8px) skewX(-5deg); }
.full-stop { color: var(--ivory); }
.hero-lead { margin: 23px 0 24px; font-size: clamp(24px, 2.7vw, 36px); letter-spacing: .11em; }
.hero-description, .hero-caption, .hero-eyebrow, .hero-note, .scroll-cue, .cat-parallax { display: none; }
.entry-button { min-width: 360px; padding: 17px 28px; background: linear-gradient(110deg,#9d6824,#e9c58a 20%,#ffe5b1 52%,#d0a05b 86%,#976122); box-shadow: 0 0 28px #e0a34c55, inset 0 0 15px #fff4cc88; font-size: 21px; letter-spacing: .1em; }
.ambient-particles i { box-shadow: 0 0 12px 3px #e9b55155; }
.opportunities { margin-top: -18px; padding: 0 28px; }
.long-ribbon { z-index: 0; width: 126%; right: -12%; top: -206px; opacity: .34; animation: none; transform: rotate(-7deg); pointer-events: none; }
.role-grid { gap: 25px; }
.role-card { min-height: 182px; justify-content: center; padding: 20px 35px; overflow: hidden; }
.role-topline, .role-description { display: none; }
.role-main { margin-top: 0; gap: 25px; }
.cast-card { transform: rotate(2deg); clip-path: polygon(2% 0, 100% 8%, 96% 100%, 0 92%); background-position: 0 70%; filter: brightness(1.1); }
.staff-card { transform: rotate(-2deg); clip-path: polygon(6% 0, 100% 8%, 94% 100%, 0 92%); border: 0; background-image: linear-gradient(90deg,#07050422,transparent), url("assets/staff-card-background.webp"); background-position: 72% 58%; }
.card-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.card-frame path { fill: none; stroke: #e7c78c; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.role-title { font-size: clamp(76px, 7.1vw, 104px); letter-spacing: -.035em; }
.role-name { font-size: 20px; padding-left: 22px; letter-spacing: .09em; white-space: nowrap; }
.role-arrow { flex-basis: 38px; height: 38px; margin-right: 6px; font-size: 21px; }
.staff-card .role-main { padding-left: 7px; }
.role-card:hover { transform: rotate(0) translateY(-5px); }
.journey { gap: 45px; padding: 44px var(--gutter) 32px; background: linear-gradient(180deg,transparent,#070605bb); }
.journey-heading { flex-basis: 210px; }
.step-number { font-size: 39px; }
.step-name { font-size: 14px; }
.site-footer { padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .site-header { height: 80px; }
  .brand-name { font-size: 32px; }
  .hero { height: 570px; padding-top: 16px; }
  .hero-background { inset: -80px -90px -120px -30px; background-size: auto 720px; background-position: 58% 16px; }
  .hero-shade { inset: -80px 0 -120px; }
  h1 { font-size: 143px; }
  .hero-lead { font-size: 27px; margin-top: 24px; margin-bottom: 25px; }
  .entry-button { min-width: 315px; font-size: 18px; }
  .role-card { min-height: 160px; padding: 20px 24px; }
  .role-main { gap: 14px; }
  .role-title { font-size: 72px; }
  .role-name { font-size: 15px; padding-left: 15px; }
  .role-arrow { flex-basis: 30px; height: 30px; margin-right: 0; font-size: 18px; }
  .journey-heading { flex-basis: 160px; }
}
@media (max-width: 760px) {
  :root { --gutter: 25px; }
  .page-shell { margin: 6px; }
  .site-header { height: 82px; background: #08070666; }
  .brand-name { font-size: 30px; }
  /* Copy starts below the cat's face (the background stays where it was). */
  .hero { height: 730px; min-height: 0; padding-top: 248px; padding-bottom: 42px; }
  .hero-background {
    inset: -82px -1px -100px;
    background-image: url("assets/hero-mobile-v4.webp");
    background-position: 100% -26px;
    background-size: auto 820px;
    opacity: 1;
  }
  .hero-shade { inset: -82px 0 -100px; background: linear-gradient(90deg,#03020166 0%,#03020122 45%,transparent 78%),linear-gradient(0deg,#080706 0,#080706 125px,transparent 270px,transparent 90%); }
  .hero-orbit { opacity: .3; top: -170px; left: 18%; }
  h1 { font-size: clamp(112px, 28.8vw, 160px); line-height: .78; letter-spacing: -.025em; }
  h1 .night { transform: translateX(-5px) skewX(-5deg); margin-top: 8px; }
  .hero-lead { margin: 30px 0 25px; font-size: clamp(20px, 5.4vw, 28px); letter-spacing: .07em; }
  .entry-button { min-width: 0; width: 100%; font-size: 17px; padding: 17px 23px; box-shadow: 0 0 26px #e0a34c55,inset 0 0 12px #fff4cc66; }
  .opportunities { margin-top: -29px; padding: 0 15px; }
  .long-ribbon { top: -140px; width: 200%; right: -40%; opacity: .27; }
  .role-grid { gap: 15px; }
  .role-card { min-height: 130px; padding: 20px 24px; }
  .cast-card { transform: rotate(-2deg); clip-path: polygon(2% 0,100% 8%,96% 100%,0 92%); }
  .staff-card { transform: rotate(1deg); }
  .role-main { gap: 16px; }
  .role-title { font-size: 64px; }
  .role-name { font-size: 15px; padding-left: 15px; }
  .role-arrow { flex-basis: 29px; height: 29px; font-size: 18px; margin-right: 0; }
  .staff-card .role-main { padding-left: 4px; }
  .journey { padding-top: 32px; padding-bottom: 25px; gap: 17px; }
  .journey-heading { flex-basis: auto; }
  .step-number { font-size: 31px; }
  .step-name { font-size: 10px; }
}
@media (max-width: 370px) {
  :root { --gutter: 20px; }
  .hero { height: 700px; padding-top: 236px; }
  h1 { font-size: 106px; }
  .role-card { padding-left: 20px; padding-right: 18px; min-height: 120px; }
  .role-main { gap: 10px; }
  .role-title { font-size: 54px; }
  .role-name { font-size: 13px; padding-left: 11px; }
}

/* Top page joins the entry flow's slide: background and header carry over,
   the hero copy slides out like a flow step (see flow.css). */
.hero-background { view-transition-name: night-bg; }
.site-header { view-transition-name: night-header; }
.hero-copy { view-transition-name: night-stage; }
/* Headline: "Bar Misaki" set in capitals, two lines. */
h1.brand-title { text-transform: uppercase; }
h1.brand-title .night { white-space: nowrap; }
.journey-body { flex: 1; }
