    :root {
      --bg: #FFFFFF;
      --bg-warm: #FFFFFF;
      --bg-s: #FFFFFF;
      --dark: #0D0C0A;
      --text: #1A1A1A;
      --muted: #7A7470;
      --blue: #D22B2B;
      --blue-deep: #A01E1E;
      --btn: #D22B2B;
      --red: #D22B2B;
      --cream: #EEE2D4;
      --border: rgba(26, 18, 18, .09);
      --ff-body: 'Inter', system-ui, sans-serif;
      --ff-heading: 'Outfit', system-ui, sans-serif;
      --ff-jp: "YuMincho", "Yu Mincho", serif;
      --ease: cubic-bezier(.16, 1, .3, 1);
      --section-pad: clamp(60px, 8vw, 120px);

      /* Yui Specific */
      --yui-radius: 4px;
      --yui-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      -webkit-font-smoothing: antialiased
    }

    body {
      font-family: var(--ff-body);
      background: #fff;
      color: var(--text);
      overflow-x: hidden;
      cursor: none;
    }

    a {
      text-decoration: none;
      color: inherit
    }

    ul {
      list-style: none
    }

    img {
      display: block;
      max-width: 100%
    }

    button {
      cursor: none;
      border: none;
      background: none;
      font-family: var(--ff-body)
    }

    input,
    textarea,
    select {
      font-family: var(--ff-body);
      cursor: none
    }

    /* CURSOR */
    #cur-dot {
      position: fixed;
      width: 4px;
      height: 4px;
      background: #E53935;
      border-radius: 50%;
      pointer-events: none;
      z-index: 20000;
      transform: translate(-50%, -50%);
      will-change: left, top
    }

    #cur-ring {
      position: fixed;
      width: 44px;
      height: 44px;
      border: 1.5px solid #E53935;
      border-radius: 50%;
      pointer-events: none;
      z-index: 20000;
      transform: translate(-50%, -50%);
      will-change: left, top;
      background: transparent
    }

    .cur-trail {
      position: fixed;
      pointer-events: none;
      z-index: 20000;
      width: 3px;
      border-radius: 2px;
      opacity: 0;
      transform-origin: top center
    }

    body.on-link #cur-ring {
      width: 52px;
      height: 52px;
      border-color: #E53935;
      transition: width .28s var(--ease), height .28s var(--ease)
    }

    body.on-link #cur-dot {
      background: #E53935;
      transform: translate(-50%, -50%) scale(1.2)
    }

    /* NAV LOGIC */
    /* NAV LOGIC - REFINED SPACING */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 800;
      height: auto; /* Allow padding to define height */
      min-height: 88px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 32px 80px; /* Increased top and horizontal padding */
      background: #fff;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: all .5s var(--ease);
      overflow: visible
    }

    .nav.scrolled {
      height: 64px;
      background: #fff;
    }

    .nav-logo {
      position: relative;
      width: 88px;
      height: 104px;
      flex-shrink: 0;
      margin-top: 12px; /* Slight offset for logo breathing room */
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all .5s var(--ease)
    }

    .nav.scrolled .nav-logo {
      margin-top: 0;
      width: 26px;
      height: 46px
    }

    /* Logo Crossfade */
    .nav-logo-full {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 1;
      transition: opacity .35s cubic-bezier(.16, 1, .3, 1);
      pointer-events: auto;
      will-change: opacity
    }

    .nav-logo-full svg {
      width: 88px;
      height: auto;
      display: block
    }

    .nav.scrolled .nav-logo-full {
      opacity: 0;
      pointer-events: none
    }

    .nav-logo-mark {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity .35s cubic-bezier(.16, 1, .3, 1);
      pointer-events: none;
      will-change: opacity
    }

    .nav-logo-mark svg {
      width: 26px;
      height: 46px;
      display: block
    }

    .nav.scrolled .nav-logo-mark {
      opacity: 1;
      pointer-events: auto
    }

    .nav-logo-word {
      display: none
    }

    .nav-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 32px;
      margin-top: -8px;
      transition: margin-top .5s cubic-bezier(.16, 1, .3, 1)
    }

    .nav-center a {
      font-size: 11.5px;
      font-weight: 500;
      letter-spacing: .1em;
      text-transform: lowercase;
      color: var(--muted);
      position: relative;
      padding-left: 0;
      transition: color .2s, font-weight .2s
    }

    .nav-center a:hover {
      color: var(--text)
    }

    .nav-center a.active {
      color: var(--text);
      font-weight: 700
    }

    .nav-center a.active::before {
      content: '●';
      position: absolute;
      left: -13px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 5px;
      color: var(--red);
      line-height: 1
    }

    .nav-cta {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: lowercase;
      color: #fff;
      background: var(--btn);
      padding: 10px 22px;
      border-radius: 2px;
      transition: opacity .2s;
      white-space: nowrap; /* Single line enforcement */
    }

    .nav-cta:hover {
      opacity: .8
    }

    /* SCROLL REVEAL */
    .r {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .72s var(--ease), transform .72s var(--ease)
    }

    .r.up {
      opacity: 1;
      transform: translateY(0)
    }

    .r.d1 {
      transition-delay: .08s
    }

    .r.d2 {
      transition-delay: .16s
    }

    .r.d3 {
      transition-delay: .24s
    }

    .r.d4 {
      transition-delay: .32s
    }

    /* MARQUEE — RED with Japanese text */
    .marquee {
      margin-top: 0; /* Anchored to section above */
      padding: 13px 0;
      background: var(--red);
      overflow: hidden
    }

    .marquee-inner {
      display: flex;
      width: max-content;
      animation: mqRun 32s linear infinite
    }

    .marquee-item {
      font-size: 12px;
      font-weight: 400;
      letter-spacing: .18em;
      color: rgba(255, 255, 255, .6);
      padding: 0 32px;
      display: flex;
      align-items: center;
      gap: 32px;
      white-space: nowrap
    }

    .marquee-sep {
      width: 2px;
      height: 2px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .35);
      flex-shrink: 0
    }

    @keyframes mqRun {
      from {
        transform: translateX(0)
      }

      to {
        transform: translateX(-50%)
      }
    }

    /* FOOTER */
    .footer {
      background: var(--dark);
      padding: 80px 52px 40px;
      position: relative;
      overflow: hidden
    }

    .footer-grain {
      position: absolute;
      inset: 0;
      opacity: .04;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
    }

    .footer-body {
      position: relative;
      display: grid;
      grid-template-columns: 260px 1fr 1fr 1fr;
      gap: 60px;
      padding-bottom: 56px;
      border-bottom: 1px solid rgba(238, 226, 212, .07)
    }

    .fl-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px
    }

    .fl-logo svg {
      width: 48px;
      height: auto
    }

    .fl-logo-word {
      font-size: 14px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: none;
      color: var(--cream)
    }

    .fl-tag {
      font-size: 12px;
      line-height: 1.7;
      color: rgba(238, 226, 212, .38);
      max-width: 190px;
      margin-bottom: 24px
    }

    .fl-socials {
      display: flex;
      gap: 10px
    }

    .fl-soc {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(238, 226, 212, .06);
      border: 1px solid rgba(238, 226, 212, .09);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s
    }

    .fl-soc:hover {
      background: rgba(238, 226, 212, .12)
    }

    .fl-soc svg {
      width: 13px;
      height: 13px;
      fill: rgba(238, 226, 212, .55)
    }

    .fc-title {
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: .22em;
      text-transform: none;
      color: rgba(238, 226, 212, .3);
      margin-bottom: 18px
    }

    .fc-links {
      display: flex;
      flex-direction: column;
      gap: 11px
    }

    .fc-link {
      font-size: 13px;
      color: rgba(238, 226, 212, .5);
      transition: color .2s;
      line-height: 1.45
    }

    .fc-link:hover {
      color: var(--cream)
    }

    .footer-bottom {
      position: relative;
      padding-top: 28px;
      border-top: none !important;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .f-copy {
      font-size: 11px;
      color: rgba(238, 226, 212, .22);
      letter-spacing: .04em
    }

    .f-city {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: none;
      color: rgba(238, 226, 212, .35)
    }

    .f-city-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(238, 226, 212, .25)
    }

    /* YUI ASSISTANT UI - REDESIGN */
    :root {
      --yui-primary: var(--red);
      --yui-bg: #fff;
      --yui-radius: 12px; /* Sharper than reference image */
      --yui-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
    }

    .yui-wrapper {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 10000;
      font-family: var(--ff);
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 16px;
      pointer-events: none; /* Allow clicking through the wrapper overlay */
    }

    .yui-launcher {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 72px;
      height: 72px;
      background: transparent;
      cursor: none;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .4s var(--ease);
      z-index: 10000;
      border: none;
      pointer-events: auto;
      padding: 0;
    }

    .yui-launcher:hover {
      transform: scale(1.05);
    }

    .yui-launcher img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      pointer-events: none;
      filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3)); /* Just a clean drop shadow */
    }

    /* Listening Pulse */
    .yui-listening-pulse {
      position: absolute;
      inset: -4px;
      background: var(--yui-primary);
      border-radius: 50%;
      opacity: 0.4;
      z-index: -1;
      display: none;
    }

    .yui-wrapper.listening .yui-listening-pulse {
      display: block;
      animation: yuiPulse 1.5s infinite;
    }

    @keyframes yuiPulse {
      0% { transform: scale(1); opacity: 0.4; }
      100% { transform: scale(1.8); opacity: 0; }
    }

    /* Panel */
    .yui-panel {
      width: 380px;
      height: 520px;
      background: var(--yui-bg);
      border-radius: var(--yui-radius);
      box-shadow: var(--yui-shadow);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      opacity: 0;
      transform: translateY(20px) scale(0.98);
      pointer-events: none;
      transition: opacity .5s var(--ease), transform .5s var(--ease);
      transform-origin: bottom right;
    }

    .yui-panel.open {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .yui-back {
      display: none;
      background: none;
      border: none;
      padding: 0;
      margin-left: -8px;
      color: var(--text);
      cursor: pointer;
      align-items: center;
      justify-content: center;
    }

    .yui-back svg {
      width: 22px;
      height: 22px;
    }

    /* Header - Style */
    .yui-header {
      padding: 24px;
      display: flex;
      align-items: center;
      gap: 16px;
      background: #fff;
      border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .yui-name {
      font-weight: 500;
      font-size: 1.1rem;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .yui-jp {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 300;
      opacity: 0.4;
      font-size: 0.9rem;
    }

    .yui-avatar {
      width: 44px;
      height: 44px;
      background: transparent;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--yui-primary);
    }

    .yui-avatar svg {
      width: 18px;
      height: auto;
      fill: currentColor;
    }

    .yui-avatar img {
      width: 28px;
      height: auto;
      display: block;
    }

    .yui-header-info {
      display: flex;
      flex-direction: column;
    }

    .yui-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
    }

    .yui-status-area {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 4px;
    }

    .yui-status-text {
      font-size: 11px;
      color: var(--muted);
      opacity: 0.6;
    }

    .yui-status-indicator {
      display: flex;
      align-items: center;
      gap: 3px;
      height: 12px;
    }

    .yui-status-indicator span {
      width: 4px;
      height: 4px;
      background: var(--red);
      border-radius: 50%;
      opacity: 0.2;
      transition: all 0.3s ease;
    }

    .yui-panel.listening .yui-status-indicator span {
      opacity: 0.8;
      animation: yuiListening 1.5s infinite ease-in-out;
    }

    .yui-panel.thinking .yui-status-indicator span {
      opacity: 0.8;
      animation: yuiThinking 1s infinite;
    }
    .yui-panel.thinking .yui-status-indicator span:nth-child(2) { animation-delay: 0.2s; }
    .yui-panel.thinking .yui-status-indicator span:nth-child(3) { animation-delay: 0.4s; }
    .yui-panel.thinking .yui-status-indicator span:nth-child(4) { animation-delay: 0.6s; }

    .yui-panel.speaking .yui-status-indicator span {
      opacity: 0.9;
      width: 3px;
      border-radius: 2px;
      animation: yuiSpeaking 0.4s infinite alternate;
    }
    .yui-panel.speaking .yui-status-indicator span:nth-child(1) { animation-duration: 0.45s; }
    .yui-panel.speaking .yui-status-indicator span:nth-child(2) { animation-duration: 0.35s; }
    .yui-panel.speaking .yui-status-indicator span:nth-child(3) { animation-duration: 0.5s; }
    .yui-panel.speaking .yui-status-indicator span:nth-child(4) { animation-duration: 0.4s; }

    @keyframes yuiListening {
      0%, 100% { transform: scale(1); opacity: 0.3; }
      50% { transform: scale(1.3); opacity: 0.8; }
    }

    @keyframes yuiThinking {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

    @keyframes yuiSpeaking {
      0% { height: 4px; }
      100% { height: 12px; }
    }


    .yui-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      color: var(--text);
      padding: 4px;
      opacity: 0.55;
      transition: opacity 0.25s, transform 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }

    .yui-close:hover { opacity: 1; transform: scale(1.1); }
    .yui-close svg { display: block; }

    /* Messages / Empty State */
    .yui-messages {
      flex: 1;
      padding: 24px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      justify-content: center; /* Center empty state */
      align-items: center;
      gap: 16px;
      text-align: center;
      background: #fdfdfd;
    }

    .yui-empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .yui-empty-icon {
      width: 24px;
      height: 24px;
      opacity: 0.1;
      margin-bottom: 8px;
    }

    .yui-instruction {
      font-size: 14px;
      color: var(--text);
      opacity: 0.8;
    }

    .yui-placeholder-text {
      font-size: 13px;
      color: var(--muted);
      max-width: 200px;
    }

    /* Central Mic Area */
    .yui-action-area {
      padding: 32px 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #fff;
      border-top: 1px solid rgba(0,0,0,0.03);
    }

    .yui-mic-large {
      width: 64px;
      height: 64px;
      background: var(--yui-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      box-shadow: 0 8px 25px rgba(230, 57, 70, 0.25);
      cursor: pointer;
      transition: transform 0.3s var(--ease);
      margin-bottom: 16px;
    }

    .yui-mic-large:hover {
      transform: scale(1.05);
    }

    .yui-mic-large svg {
      width: 24px;
      height: 24px;
      fill: #fff;
    }

    .yui-powered {
      font-size: 9px;
      color: var(--muted);
      text-transform: none;
      letter-spacing: 0.1em;
      opacity: 0.4;
    }

    .yui-input-wrapper {
      width: 100%;
      display: flex;
      gap: 12px;
      margin-bottom: 24px;
      padding: 0 4px;
      pointer-events: auto;
    }

    .yui-text-input {
      flex: 1;
      padding: 14px 18px;
      border: 1.5px solid var(--border);
      border-radius: 24px;
      font-size: 14px;
      outline: none;
      transition: all 0.3s var(--ease);
      background: #fafafa;
      color: var(--text);
    }

    .yui-text-input:focus {
      border-color: var(--yui-primary);
      background: #fff;
      box-shadow: 0 4px 12px rgba(210, 43, 43, 0.05);
    }

    .yui-btn-send {
      width: 44px;
      height: 44px;
      background: var(--yui-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
      cursor: pointer;
      transition: all 0.3s var(--ease);
      border: none;
      flex-shrink: 0;
    }

    .yui-btn-send:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
    }

    .yui-btn-send svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
    }

    /* Messages - Bubbles (for future) */
    .yui-msg {
      max-width: 85%;
      padding: 12px 16px;
      font-size: 14px;
      line-height: 1.5;
      border-radius: 14px;
      margin-bottom: 8px;
      text-align: left;
    }

    .yui-msg.bot {
      background: #f5f5f5;
      color: var(--text);
      align-self: flex-start;
      border-bottom-left-radius: 4px;
    }

    .yui-msg.user {
      background: var(--yui-primary);
      color: #fff;
      align-self: flex-end;
      border-bottom-right-radius: 4px;
    }

    .yui-typing {
      display: none;
      align-self: flex-start;
      gap: 4px;
      padding: 12px 16px;
      background: var(--cream);
      border-radius: 12px;
      margin-top: 8px;
    }
    .yui-dot {
      width: 6px;
      height: 6px;
      background: var(--muted);
      border-radius: 50%;
      animation: yui-bounce 1.4s infinite ease-in-out both;
    }
    .yui-dot:nth-child(1) { animation-delay: -0.32s; }
    .yui-dot:nth-child(2) { animation-delay: -0.16s; }
    @keyframes yui-bounce {
      0%, 80%, 100% { transform: scale(0); }
      40% { transform: scale(1.0); }
    }

    .yui-panel.has-messages .yui-messages {
      justify-content: flex-start;
      text-align: left;
      align-items: stretch;
    }

    .yui-panel.has-messages .yui-empty-state {
      display: none;
    }
    /* HERO FIX - EDITORIAL REBUILD */
    /* HERO FIX - EDITORIAL RESTORATION */
    .hero {
      height: 250vh; /* Scroll Depth Track */
      background: #fff;
      position: relative;
    }

    .hero-sticky-track {
      position: sticky;
      top: 0;
      height: 100vh;
      display: grid;
      grid-template-columns: 30% 70%;
      overflow: hidden;
      width: 100%;
    }

    .hero-sticky-track::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(var(--red) 0.8px, transparent 0.8px);
      background-size: 60px 60px;
      opacity: 0.04;
      pointer-events: none;
      z-index: 1;
    }

    .hero-left {
      padding: 180px 60px 80px 80px; /* Reduced vertical padding to prevent button clipping */
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      position: relative;
      z-index: 10;
    }

    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 56px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .4em;
      text-transform: lowercase;
      color: var(--text);
    }

    .hero-eyebrow-line {
      display: none;
    }

    /* ── REUSABLE GLITCH HEADING SYSTEM ──────────────── */
    .glitch-hed-wrapper {
      display: inline-block;
      width: fit-content;
      cursor: crosshair;
      margin-bottom: 56px;
    }

    .glitch-hed {
      display: grid;
      /* Adjusted scale for 30% column width */
      font-family: var(--ff-heading);
      font-size: clamp(60px, 8vw, 100px) !important;
      line-height: 0.85 !important;
      font-weight: 900 !important;
      letter-spacing: -0.04em !important;
      text-transform: none !important;
      position: relative;
      user-select: none;
      white-space: nowrap;
    }

    .hed-layer {
      grid-area: 1 / 1;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hed-layer.active {
      opacity: 1;
      pointer-events: auto;
    }

    .glitch-hed.is-glitching {
      animation: hero-glitch .3s linear infinite;
      filter: blur(0.4px);
      opacity: 0.8;
      transform: translateX(1px);
    }

    @keyframes hero-glitch {
      0% { transform: translate(0); }
      20% { transform: translate(-2px, 1px); }
      40% { transform: translate(-2px, -1px); }
      60% { transform: translate(2px, 1px); }
      80% { transform: translate(2px, -1px); }
      100% { transform: translate(0); }
    }

    .glitch-hed.is-settling {
      animation: settle-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes settle-in {
      0% {
        opacity: 0.6;
        transform: translateY(6px);
        filter: blur(0.6px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
      }
    }

    .glitch-hed span.red-text {
      color: var(--red);
    }

    .hero-sub {
      font-family: var(--ff-body);
      font-size: 20px;
      line-height: 1.6;
      color: var(--secondary);
      max-width: 440px;
      margin-bottom: 56px;
      opacity: 0.9;
    }

    .hero-cta-group {
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .hero-cta-group .fc-link {
      color: var(--red);
      font-weight: 600;
      font-size: 14px;
      letter-spacing: 0.05em;
      text-transform: lowercase;
      padding-bottom: 4px;
      transition: all 0.3s var(--ease);
      white-space: nowrap; /* Prevent wrapping */
    }

    .hero-cta-group .fc-link:hover {
      color: var(--red);
      opacity: 0.8;
    }

    /* Hero CTA Uppercase Overrides */
    .hero-cta-group .nav-cta,
    .hero-cta-group .fc-link {
      text-transform: uppercase !important;
    }

    .hero-right {
      position: relative;
      height: 100%;
      background: #fff;
      z-index: 5;
    }

    .hero-visual-container {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff; /* Ensure clean base */
    }

    #heroCanvas {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      z-index: 10;
    }

    /* index-page-art-style as base art */
    .hero-pattern-layer {
      position: absolute;
      inset: 0;
      background-image: url('images/yui/IndexPage%20-%20ArtStyle.jpg');
      background-size: cover;
      background-position: right center;
      opacity: 1;
    }

    /* human layered within composition */
    .hero-human-layer {
      position: absolute;
      height: 100%;
      width: auto;
      right: 0;
      bottom: 0;
      z-index: 2;
    }

    .hero-human-img {
      height: 100%;
      width: auto;
      object-fit: contain;
      object-position: bottom right;
    }

    @media (max-width: 1024px) {
      .hero {
        height: auto;
        min-height: 100vh;
      }
      .hero-sticky-track {
        position: relative;
        height: auto;
        grid-template-columns: 1fr;
        padding-top: 160px;
        display: block;
      }
      .hero-left {
        padding: 60px 24px;
        width: 100%;
      }
      .hero-right {
        display: none; /* Removed animation to preserve whitespace and prevent overlap */
      }
      .hero-eyebrow, .hero-hed {
        margin-bottom: 32px;
      }
      .hero-sub {
        margin-bottom: 40px;
      }
      .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
      }
    }

    /* Testimonials on home */
    .whispers {
      padding: 120px 0;
      background: #fff;
      overflow: hidden
    }

    .whispers-top {
      padding: 0 52px 60px
    }

    .w-hed {
      font-size: clamp(28px, 3.2vw, 44px);
      font-weight: 900;
      letter-spacing: -.025em;
      color: var(--text);
      line-height: 1.1;
      margin-top: 10px
    }

    .w-desc {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
      max-width: 280px;
      margin-top: 10px
    }

    .w-cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 0 52px;
      height: 520px;
      overflow: hidden;
      position: relative
    }

    .w-cols::before,
    .w-cols::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      height: 100px;
      z-index: 2;
      pointer-events: none
    }

    .w-cols::before {
      top: 0;
      background: linear-gradient(to bottom, #fff, transparent)
    }

    .w-cols::after {
      bottom: 0;
      background: linear-gradient(to top, #fff, transparent)
    }

    .w-col {
      display: flex;
      flex-direction: column;
      gap: 14px
    }

    /* Premium soft cards — no borders */
    .rc {
      background: var(--bg-s);
      border-radius: 12px;
      padding: 26px 28px;
      box-shadow: 0 2px 16px rgba(26, 22, 18, .05), 0 1px 3px rgba(26, 22, 18, .04)
    }

    .rc-stars {
      display: flex;
      gap: 3px;
      margin-bottom: 12px
    }

    .rc-star {
      width: 10px;
      height: 10px;
      clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
      background: var(--blue)
    }

    .rc-text {
      font-size: 13px;
      line-height: 1.68;
      color: var(--text);
      margin-bottom: 16px;
      font-weight: 400
    }

    .rc-name {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: lowercase;
      color: var(--muted)
    }

    .rc-dish {
      font-size: 11px;
      color: var(--red);
      margin-top: 3px
    }

    /* ── EXTERIOR FEATURE ────────────────────────────────── */
    .exterior-feature {
      position: relative;
      min-height: 100vh;
      width: 100%;
      background: var(--dark);
      display: flex;
      align-items: center;
      justify-content: flex-start;
      overflow: hidden;
      padding: 0 52px;
    }

    .exterior-feature::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("images/yui/exterior-main.jpg");
      background-size: cover;
      background-position: center;
      filter: brightness(0.7) contrast(1.1);
      z-index: 1;
    }

    /* Red Overlay Layer */
    .exterior-feature::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(210, 43, 43, 0.08); /* Low opacity brand red */
      z-index: 2;
    }

    /* White Grid Lines */
    .exterior-feature .layer-grid {
      position: absolute;
      inset: 0;
      z-index: 3;
      pointer-events: none;
      background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
      background-size: 12.5% 100%, 100% 20vh;
    }

    .exterior-content {
      position: relative;
      z-index: 10;
      max-width: 600px;
      color: #fff;
    }

    .exterior-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .4em;
      text-transform: lowercase;
      color: var(--red);
      margin-bottom: 24px;
    }

    .exterior-title {
      font-family: var(--ff-heading);
      font-size: clamp(48px, 6vw, 92px);
      font-weight: 900;
      letter-spacing: -.03em;
      color: #fff;
      margin-bottom: 32px;
      line-height: 0.95;
    }

    .exterior-feature .editorial-body p {
      color: rgba(255, 255, 255, 0.7);
      font-size: 16px;
      line-height: 1.8;
      max-width: 480px;
    }


    /* DOODLE BANNER */
    .doodle-banner {
      width: 100%;
      overflow: hidden;
      line-height: 0;
      margin: 0
    }

    .doodle-banner-img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover
    }

    .nav-cta-wrap {
      margin-top: -8px;
      transition: margin-top .5s cubic-bezier(.16, 1, .3, 1)
    }

    .nav.scrolled .nav-cta-wrap {
      margin-top: 0
    }

    .nav.scrolled .nav-center {
      margin-top: 0
    }

    /* HAMBURGER BUTTON */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      gap: 4px;
      padding: 8px;
      cursor: pointer;
      z-index: 900
    }

    .nav-hamburger span {
      border-radius: 50%;
      background: var(--text);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Unselected: Top/Bottom LARGE, Middle SMALL */
    .nav-hamburger span:nth-child(1),
    .nav-hamburger span:nth-child(3) { width: 5px; height: 5px; }
    .nav-hamburger span:nth-child(2) { width: 3px; height: 3px; }

    /* Selected (Active): Top/Bottom SMALL, Middle LARGE */
    .nav-hamburger.active span {
      background: var(--red);
    }
    .nav-hamburger.active span:nth-child(1),
    .nav-hamburger.active span:nth-child(3) { width: 3px; height: 3px; }
    .nav-hamburger.active span:nth-child(2) { width: 5px; height: 5px; }

    /* MOBILE NAV DRAWER */
    .nav-drawer {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, .98);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 20px 24px;
      z-index: 799;
      flex-direction: column;
      gap: 16px;
      transform: translateY(-100%);
      opacity: 0;
      transition: transform .35s var(--ease), opacity .35s var(--ease)
    }

    .nav-drawer.open {
      transform: translateY(0);
      opacity: 1
    }

    .nav-drawer a {
      font-size: 14px;
      font-weight: 500;
      letter-spacing: .06em;
      text-transform: lowercase;
      color: var(--text);
      padding: 12px 0;
      border-bottom: none;
      position: relative;
    }

    .nav-drawer a.active {
      color: var(--text);
      font-weight: 700;
      padding-left: 18px; /* Make space for the dot */
    }

    .nav-drawer a.active::before {
      content: '●';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 5px;
      color: var(--red);
      line-height: 1
    }

    /* ── RESPONSIVE: TABLET (≤768px) ──────────────────── */
    @media(max-width:768px) {
      .about-editorial {
        grid-template-columns: 1fr;
        min-height: auto;
      }
      .editorial-visual {
        min-height: 400px;
      }
      .editorial-content {
        padding: 40px 24px;
      }
      .editorial-stats {
        gap: 32px;
        flex-wrap: wrap;
      }
      .nav {
        padding: 0 20px;
        height: 64px
      }

      .nav-logo {
        margin-top: 0;
        width: 26px;
        height: 46px
      }

      .nav-logo-full {
        opacity: 0;
        pointer-events: none
      }

      .nav-logo-mark {
        opacity: 1;
        pointer-events: auto
      }

      .nav-center {
        display: none
      }

      .nav-cta {
        display: flex !important;
        font-size: 11px;
        padding: 8px 16px;
      }
      .nav-cta-wrap {
        display: flex !important;
        margin-right: 12px;
      }

      .nav-hamburger {
        display: flex
      }

      .nav-drawer {
        display: flex
      }

      .glitch-hed {
        white-space: normal;
        font-size: clamp(48px, 8vw, 64px);
        line-height: 1.1;
      }
      .p-title {
        white-space: normal;
        display: block;
      }


      .whispers {
        padding: 40px 0
      }

      .whispers-top {
        padding: 0 24px 40px
      }

      .w-cols {
        grid-template-columns: 1fr;
        padding: 0 24px;
        height: auto
      }

      .footer {
        padding: 32px 24px 28px
      }

      .footer-body {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding-bottom: 32px
      }

      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start
      }

      .marquee-item {
        font-size: 10px;
        padding: 0 20px;
        gap: 20px
      }
    }

    /* ── RESPONSIVE: MOBILE (≤480px) ──────────────────── */
    @media(max-width:480px) {
      .nav {
        padding: 0 14px
      }


      .whispers-top {
        padding: 0 16px 28px
      }

      .w-hed {
        font-size: clamp(22px, 5vw, 32px)
      }

      .w-cols {
        padding: 0 16px;
        gap: 10px
      }

      .rc {
        padding: 18px 16px
      }

      .footer {
        padding: 32px 16px 20px
      }

      .footer-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 24px
      }

      .marquee-item {
        font-size: 9px;
        padding: 0 14px;
        gap: 14px
      }

      .doodle-banner {
        margin: 0
      }
    }



    /* ── RESERVATION SECTION ─────────────────────────────── */
    .sp-res{position:relative}
    .res-wrap{min-height:calc(100vh - 40px);display:grid;grid-template-columns:1fr 1fr;background:var(--bg)}
    .res-left{background:var(--btn);position:relative;overflow:hidden;padding:120px 80px;display:flex;flex-direction:column;justify-content:center}
    .res-left-grain{position:absolute;inset:0;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
    .res-kanji{position:absolute;bottom:-32px;right:-24px;font-size:220px;font-weight:900;color:rgba(238,226,212,.05);pointer-events:none;user-select:none;line-height:1}
    
    /* NEW EDITORIAL LAYOUT */
    .res-editorial-container { position: relative; z-index: 5; }
    .res-left .eb-label { color: rgba(238,226,212,0.6); margin-bottom: 12px; display: block; }
    .res-left .glitch-hed { color: var(--cream); font-size: clamp(54px, 6vw, 84px) !important; margin-bottom: 32px; letter-spacing: -0.03em !important; }
    .res-left .glitch-hed .red-text { color: #fff; }
    .res-logo-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; opacity: 0.04; pointer-events: none; z-index: 1; filter: brightness(0) invert(1); }
    
    .res-body{font-size:16px;line-height:1.7;color:rgba(238,226,212,.7);max-width:400px;margin-bottom:48px}
    .res-details{display:flex;flex-direction:column;gap:32px;margin-top:20px}
    .rd{display:flex;align-items:flex-start;gap:20px}
    .rd-icon{width:40px;height:40px;flex-shrink:0;border-radius:50%;background:rgba(238,226,212,.07);border:1px solid rgba(238,226,212,.11);display:flex;align-items:center;justify-content:center}
    .rd-icon svg{width:18px;height:18px;fill:rgba(238,226,212,.6)}
    .rd-lbl{font-size:10px;font-weight:700;letter-spacing:.25em;text-transform:uppercase;color:rgba(238,226,212,.4);margin-bottom:4px}
    .rd-val{font-size:14px;font-weight:500;color:rgba(238,226,212,.85);line-height:1.6}
    .res-right{background:var(--bg);padding:96px 72px;display:flex;flex-direction:column;justify-content:center}
    .cf-title{font-size:clamp(28px,3vw,38px);font-weight:900;letter-spacing:-.03em;color:var(--text);margin-bottom:8px}
    .cf-sub{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:40px}
    .fg{margin-bottom:22px}
    .fl{display:block;font-size:9.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
    .fi{width:100%;font-size:14px;color:var(--text);background:transparent;border:none;border-bottom:1px solid var(--border);padding:10px 0;outline:none;transition:border-color .2s;font-family:var(--ff)}
    .fi:focus{border-color:var(--red-accent);box-shadow:0 0 0 3px rgba(210,43,43,0.05)}
    .fi::placeholder{color:rgba(122,116,112,.32)}
    .fi-textarea{width:100%;font-size:14px;color:var(--text);background:transparent;border:1px solid var(--border);padding:12px;outline:none;transition:border-color .2s;resize:vertical;min-height:80px;border-radius:4px;line-height:1.6;font-family:var(--ff)}
    .fi-textarea:focus{border-color:var(--red-accent);box-shadow:0 0 0 3px rgba(210,43,43,0.05)}
    .fi-textarea::placeholder{color:rgba(122,116,112,.32)}
    .f2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
    .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
    .chip{font-family:var(--ff);font-size:11px;font-weight:500;letter-spacing:.05em;color:var(--text);background:transparent;border:1px solid var(--border);padding:7px 16px;border-radius:3.5px;transition:background .2s,color .2s,border-color .2s;cursor:pointer}
    .chip.on,.chip:hover{background:var(--btn);color:#fff;border-color:var(--btn)}
    .cf-submit{margin-top:32px;display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:#D22B2B;padding:15px 30px;border-radius:6px;transition:opacity .2s,transform .2s;cursor:pointer;position:relative;border:none;font-family:var(--ff)}
    .cf-submit:hover{opacity:.85;transform:translateY(-1px)}
    .cf-submit:disabled{opacity:.55;pointer-events:none;transform:none}
    .cf-submit svg{width:15px;height:15px}
    .cf-submit .spinner{display:none;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}
    .cf-submit.loading .spinner{display:block}
    .cf-submit.loading .btn-label{opacity:0}
    @keyframes spin{to{transform:rotate(360deg)}}
    .cf-toast{margin-bottom:24px;padding:16px 20px;border-radius:8px;font-size:13.5px;font-weight:500;line-height:1.5;opacity:0;display:none;transition:opacity .4s var(--ease);pointer-events:none}
    .cf-toast.show{opacity:1;display:block;pointer-events:auto}
    .cf-toast.success{background:rgba(46,125,50,.06);border:1px solid rgba(46,125,50,.15);color:#2E7D32}
    .cf-toast.error{background:rgba(210,43,43,.06);border:1px solid rgba(210,43,43,.15);color:var(--red);border-left:4px solid var(--red);box-shadow:0 4px 12px rgba(210,43,43,0.05)}
    /* Custom Dropdowns */
    .custom-time-picker,.custom-date-picker{position:relative}
    .time-trigger,.date-trigger{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:44px}
    .time-dropdown,.date-dropdown{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid var(--border);border-radius:12px;z-index:2000;display:none;box-shadow:0 20px 40px rgba(0,0,0,0.08);margin-top:8px;overflow:hidden;animation:dropIn 0.3s var(--ease)}
    @keyframes dropIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
    .time-dropdown.show,.date-dropdown.show{display:block}
    .time-dropdown-inner{max-height:280px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--red) #F9F7F4}
    .time-dropdown-inner::-webkit-scrollbar{width:4px}
    .time-dropdown-inner::-webkit-scrollbar-track{background:#F9F7F4}
    .time-dropdown-inner::-webkit-scrollbar-thumb{background:var(--red);border-radius:10px}
    .time-slot{padding:12px 20px;cursor:pointer;font-size:14px;transition:all 0.2s;color:var(--text);text-align:center;font-variant-numeric:tabular-nums;border-bottom:1px solid rgba(0,0,0,0.03)}
    .time-slot:last-child{border-bottom:none}
    .time-slot:hover{background:#FDF2F2;color:var(--red)}
    .time-slot.active{background:var(--red)!important;color:white!important;font-weight:600}
    .date-dropdown{width:320px;padding:20px}
    @media(max-width:480px){.date-dropdown{width:100%}}
    .cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
    .cal-title{font-size:14px;font-weight:700;color:var(--text);letter-spacing:0.02em}
    .cal-nav{display:flex;gap:4px}
    .cal-btn{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background 0.2s;color:var(--muted);background:none;border:none;cursor:pointer}
    .cal-btn:hover{background:#F5EFE4;color:var(--text)}
    .cal-btn svg{width:14px;height:14px}
    .cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
    .cal-day-lbl{font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;text-align:center;padding-bottom:10px;letter-spacing:0.05em}
    .cal-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--text);border-radius:50%;cursor:pointer;transition:all 0.2s;position:relative}
    .cal-day:hover:not(.disabled){background:#FDF2F2;color:var(--red)}
    .cal-day.today::after{content:'';position:absolute;bottom:4px;width:3px;height:3px;background:var(--red);border-radius:50%}
    .cal-day.selected{background:var(--red)!important;color:white!important;font-weight:700}
    .cal-day.disabled{color:rgba(26,22,18,0.15);cursor:default}
    .cal-day.other-month{opacity:0.3}
    .custom-date-picker.is-active,.custom-time-picker.is-active{z-index:3001}
    @media(max-width:768px){.res-wrap{grid-template-columns:1fr;min-height:auto}.res-left{padding:60px 24px 40px;min-height:auto}.res-hed{font-size:clamp(28px,5vw,40px)}.res-right{padding:32px 24px}.f2{grid-template-columns:1fr;gap:16px}}

    /* ── YUI CHATBOT HIDE TRANSITION ─────────────────────── */
    .yui-wrapper.yui-hidden{opacity:0;pointer-events:none;transform:translateY(20px);transition:opacity .4s var(--ease),transform .4s var(--ease)}
    .yui-wrapper{transition:opacity .4s var(--ease),transform .4s var(--ease)}

    /* ── EDITORIAL ABOUT SECTION ──────────────────────────── */
    .about-editorial {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: #fff;
      position: relative;
      overflow: hidden;
    }

    .editorial-visual {
      position: relative;
      overflow: hidden;
      background-color: #D22B2B;
      min-height: 500px;
    }

    /* Red Pattern Overlay for Editorial Look */
    .editorial-visual::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      background-image: 
        linear-gradient(to bottom, rgba(210, 43, 43, 0.4), rgba(160, 30, 30, 0.6)),
        url('https://images.unsplash.com/photo-1579027989536-b7b1f11568bd?auto=format&fit=crop&q=80&w=2000');
      background-size: cover;
      background-position: center;
      mix-blend-mode: multiply;
      opacity: 0.9;
    }

    /* Doodle Pattern Layer */
    .editorial-doodle {
      position: absolute;
      inset: 0;
      z-index: 2;
      opacity: 0.15;
      background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-71c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm63 31c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM37 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm54 36c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-58 33c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM32 9c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm0 43c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm65 43c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM28 24c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm33 21c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM40 76c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23ffffff' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

    .editorial-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 100px 80px;
      background: #fff;
    }

    .editorial-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .3em;
      text-transform: lowercase;
      color: var(--red);
      margin-bottom: 24px;
      display: block;
    }

    .editorial-title {
      font-family: var(--ff-heading);
      font-size: clamp(40px, 5vw, 68px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -.04em;
      color: #0D0C0A;
      margin-bottom: 32px;
      max-width: 540px;
    }

    .editorial-body {
      font-size: 15px;
      line-height: 1.8;
      color: var(--muted);
      max-width: 500px;
      margin-bottom: 48px;
    }

    .editorial-stats {
      display: flex;
      gap: 48px;
      margin-bottom: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid var(--border);
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .stat-value {
      font-family: var(--ff-heading);
      font-size: 32px;
      font-weight: 700;
      color: #0D0C0A;
      line-height: 1;
    }

    .stat-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: lowercase;
      color: var(--muted);
    }

    .editorial-footer {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      border-top: none !important;
      padding-top: 32px;
      gap: 20px;
    }

    .chef-sig {
      font-family: 'Outfit', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: #0D0C0A;
      letter-spacing: -0.02em;
    }

    .branding-group {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .branding-stamp {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin: 0;
    }

    .hanko-seal {
      width: 44px;
      height: 44px;
      background: var(--red);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-weight: 900;
      border-radius: 4px;
      transform: rotate(-5deg);
      box-shadow: 0 4px 10px rgba(210, 43, 43, 0.2);
      user-select: none;
      border: 2px solid rgba(255, 255, 255, 0.1);
      position: relative;
    }

    .hanko-seal::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");
      opacity: 0.3;
    }

    .editorial-stats {
      display: flex;
      gap: 60px;
      border-top: 1px solid var(--border);
      padding-top: 40px;
    }

    .estat-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .estat-num {
      font-family: var(--ff-heading);
      font-size: 32px;
      font-weight: 900;
      color: var(--red);
      line-height: 1;
    }

    .estat-label {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: .05em;
      text-transform: lowercase;
      color: var(--muted);
    }

    /* ── CHEF SECTION ───────────────────────────────────── */
    .chef-section {
      position: relative;
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      overflow: hidden;
      background: #fff;
    }

    .chef-section.reverse {
      direction: rtl;
    }

    .chef-section.reverse>* {
      direction: ltr;
    }

    .chef-photo {
      position: relative;
      overflow: hidden;
      min-height: 100vh;
    }

    .chef-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
      filter: contrast(1.05) saturate(0.9);
      transition: transform 1.2s var(--ease);
    }

    .chef-section:hover .chef-photo img {
      transform: scale(1.03);
    }

    .chef-photo::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, rgba(0, 0, 0, 0) 70%, rgba(255, 255, 255, .1));
      pointer-events: none;
    }

    .chef-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 120px 100px;
      background: #fff;
      position: relative;
    }

    .chef-num {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .4em;
      text-transform: none;
      color: var(--red);
      margin-bottom: 40px;
      opacity: 0.6;
    }

    .chef-name {
      font-family: var(--ff-heading);
      font-size: clamp(40px, 5vw, 72px);
      font-weight: 900;
      letter-spacing: -.04em;
      line-height: 1;
      color: var(--text);
      margin-bottom: 12px;
    }

    .fc-title {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .2em;
      text-transform: none;
      color: var(--cream);
      margin-bottom: 24px
    }

    .chef-title {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .25em;
      text-transform: none;
      color: var(--muted);
      margin-bottom: 48px;
    }

    .chef-body {
      font-family: var(--ff-body);
      font-size: 16px;
      line-height: 1.8;
      color: var(--text);
      max-width: 420px;
      margin-bottom: 32px;
      opacity: 0.8;
    }

    .chef-divider {
      width: 40px;
      height: 2px;
      background: var(--red);
      margin-bottom: 32px;
    }

    .chef-kanji {
      font-size: 180px;
      font-weight: 900;
      color: rgba(210, 43, 43, 0.03);
      position: absolute;
      bottom: -10px;
      right: 40px;
      line-height: 1;
      pointer-events: none;
      letter-spacing: -.05em;
      user-select: none;
    }

    .chef-section.reverse .chef-kanji {
      right: auto;
      left: 40px;
    }

    /* ── RESPONSIVE INTEGRATION ──────────────────────── */
    @media(max-width:768px) {
      .about-hero {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .about-editorial {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .editorial-visual {
        min-height: 400px;
      }

      .editorial-content {
        padding: 40px 24px;
      }

      .editorial-stats {
        gap: 32px;
        flex-wrap: wrap;
      }

      .about-hero-text {
        padding: 40px 24px 32px
      }

      .about-hed {
        font-size: clamp(36px, 7vw, 56px)
      }

      .about-logo-panel {
        min-height: 320px
      }

      .chef-section {
        grid-template-columns: 1fr;
        min-height: auto
      }

      .chef-section.reverse {
        direction: ltr
      }

      .chef-photo {
        min-height: 320px
      }

      .chef-info {
        padding: 48px 24px
      }

      .chef-section.reverse .chef-info {
        padding: 48px 24px
      }

      .chef-kanji {
        font-size: 72px;
        bottom: -10px;
        right: 20px
      }

      .chef-section.reverse .chef-kanji {
        left: 20px
      }
    }

    @media(max-width:480px) {
      .about-hero-text {
        padding: 28px 16px 24px
      }

      .about-hed {
        font-size: clamp(28px, 8vw, 42px)
      }

      .about-logo-panel {
        min-height: 240px
      }

      .chef-photo {
        min-height: 240px
      }

      .chef-info {
        padding: 32px 16px
      }

      .chef-section.reverse .chef-info {
        padding: 32px 16px
      }

      .chef-name {
        font-size: clamp(28px, 6vw, 42px)
      }

      .chef-body {
        font-size: 14px
      }

      .chef-kanji {
        font-size: 56px
      }
    }

    .ms {
      padding: 20px 32px 60px; /* Reduced top gap to anchor red marquee */
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px; /* Added gap to prevent overlap */
      align-items: center;
      background: #FFFFFF;
      border: none;
      overflow: visible;
      position: relative;
      isolation: auto;
    }
    .ms.alt .ms-vis {
      order: 2
    }
    .ms.alt .ms-content {
      order: 1
    }
    .ms-content {
      padding: 40px 52px;
      position: relative;
      z-index: 10; /* Increased to stay above scaled images */
    }
    .ms-hed {
      font-size: clamp(44px, 5.5vw, 68px);
      font-weight: 900;
      letter-spacing: -.04em;
      line-height: .92;
      color: var(--text);
      margin-bottom: 8px;
      text-transform: none;
    }
    .ms-eyebrow {
      font-family: var(--ff-body);
      font-size: 11px; /* Match Space Within */
      font-weight: 700; /* Match Space Within */
      letter-spacing: 0.3em; /* Match Space Within */
      text-transform: none;
      color: var(--red); /* Match Space Within */
      margin-bottom: 24px;
      display: block;
    }
    .ms-vis-lbl {
      text-transform: none !important;
    }
    .ms-note {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .1em;
      color: var(--muted);
      text-transform: none;
      margin-bottom: 44px
    }
    .mi-name {
      text-transform: none;
    }
    .mi {
      padding: 17px 0;
      border-bottom: 1px solid rgba(26, 22, 18, .065);
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: start;
      gap: 20px
    }
    .mi:last-child {
      border-bottom: none
    }
    .mi-name {
      font-size: 20px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.2;
      margin-bottom: 2px
    }
    .mi-jp {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: .05em;
      margin-bottom: 4px
    }
    .mi-desc {
      font-size: 12px;
      color: rgba(122, 116, 112, .8);
      line-height: 1.55
    }
    .mi-veg {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 9px;
      font-weight: 600;
      letter-spacing: .08em;
      color: #4A8A35;
      margin-top: 5px;
      text-transform: uppercase
    }
    .mi-veg-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #5DB145
    }
    .mi-price {
      font-size: 15px;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
      padding-top: 1px
    }
    .ms.alt {
      background: #FFFFFF;
    }
    #menu {
      background: transparent !important;
      position: relative;
      z-index: 1;
    }
    .ms-vis {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0px 16px;
      min-height: 680px;
      z-index: 1;
      overflow: hidden; /* Prevent scaled images from interfering with text */
    }
    .ms-vis img {
      width: 100%;
      max-width: 820px;
      height: auto;
      object-fit: contain;
      display: block;
      mix-blend-mode: normal;
      filter: contrast(1.04) saturate(1.06);
      transform: scale(1.24);
      transition: transform .7s var(--ease);
    }
    .ms-vis:hover img {
      transform: scale(1.28)
    }
    .ms-vis--crop img {
      transform: scale(1.0);
      object-fit: contain;
    }
    .ms-vis--crop:hover img {
      transform: scale(1.04)
    }
    .ms-wm {
      position: absolute;
      bottom: 28px;
      left: 36px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .16em;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      color: rgba(60, 43, 34, .22);
      pointer-events: none;
      user-select: none;
      z-index: 2;
      line-height: 1;
    }
    .ms.alt .ms-wm {
      left: 36px;
      right: auto
    }
    .ms-vis-lbl {
      position: absolute;
      top: 28px;
      left: 36px;
      font-size: 9px;
      font-weight: 400;
      letter-spacing: .11em;
      color: rgba(60, 43, 34, .22);
      pointer-events: none;
      user-select: none;
      z-index: 2;
      text-transform: lowercase;
    }
    .ms.alt .ms-vis-lbl {
      left: 36px;
      right: auto
    }

    /* RESERVATION SECTION */
    .res-wrap {
      min-height: calc(100vh - 40px);
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--bg)
    }
    .res-left {
      background: var(--btn);
      position: relative;
      overflow: hidden;
      padding: 96px 68px;
      display: flex;
      flex-direction: column;
      justify-content: space-between
    }
    .res-left-grain {
      position: absolute;
      inset: 0;
      opacity: .05;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
    }
    .res-kanji {
      position: absolute;
      bottom: -32px;
      right: -24px;
      font-size: 220px;
      font-weight: 900;
      color: rgba(238, 226, 212, .05);
      pointer-events: none;
      user-select: none;
      line-height: 1
    }
    .res-body {
      font-size: 16px;
      line-height: 1.7;
      color: rgba(238, 226, 212, .7);
      max-width: 400px;
      margin-bottom: 48px
    }
    .res-details {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 40px
    }
    .rd {
      display: flex;
      align-items: flex-start;
      gap: 14px
    }
    .rd-icon {
      width: 34px;
      height: 34px;
      flex-shrink: 0;
      border-radius: 50%;
      background: rgba(238, 226, 212, .07);
      border: 1px solid rgba(238, 226, 212, .11);
      display: flex;
      align-items: center;
      justify-content: center
    }
    .rd-icon svg {
      width: 14px;
      height: 14px;
      fill: rgba(238, 226, 212, .55)
    }
    .rd-lbl {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: lowercase;
      color: rgba(238, 226, 212, .32)
    }
    .rd-val {
      font-size: 13px;
      font-weight: 500;
      color: rgba(238, 226, 212, .72);
      margin-top: 3px;
      line-height: 1.5
    }
    .res-right {
      background: var(--bg);
      padding: 96px 72px;
      display: flex;
      flex-direction: column;
      justify-content: center
    }
    .cf-title {
      font-size: clamp(28px, 3vw, 38px);
      font-weight: 900;
      letter-spacing: -.03em;
      color: var(--text);
      margin-bottom: 8px
    }
    .cf-sub {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
      margin-bottom: 40px
    }
    .fg {
      margin-bottom: 22px
    }
    .fl {
      display: block;
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: lowercase;
      color: var(--muted);
      margin-bottom: 8px
    }
    .fi {
      width: 100%;
      font-size: 15px;
      color: var(--text);
      background: transparent;
      border: none;
      border-bottom: 1px solid rgba(26, 22, 18, 0.1);
      padding: 12px 0;
      outline: none;
      transition: all .3s var(--ease);
      border-radius: 0;
    }
    .fi:focus {
      border-color: var(--red-accent);
      box-shadow: 0 0 0 3px rgba(210, 43, 43, 0.05);
    }
    .fi::placeholder {
      color: rgba(122, 116, 112, .32)
    }
    .fi-textarea {
      width: 100%;
      font-size: 14px;
      color: var(--text);
      background: transparent;
      border: 1px solid var(--border);
      padding: 12px;
      outline: none;
      transition: border-color .2s;
      resize: vertical;
      min-height: 80px;
      border-radius: 4px;
      line-height: 1.6
    }
    .fi-textarea:focus {
      border-color: var(--red-accent);
      box-shadow: 0 0 0 3px rgba(210, 43, 43, 0.05);
    }
    .fi-textarea::placeholder {
      color: rgba(122, 116, 112, .32)
    }
    .f2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px
    }
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px
    }
    .chip {
      font-family: var(--ff);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .05em;
      color: var(--text);
      background: transparent;
      border: 1px solid var(--border);
      padding: 7px 16px;
      border-radius: 3.5px;
      transition: background .2s, color .2s, border-color .2s;
      cursor: none
    }
    .chip.on,
    .chip:hover {
      background: var(--btn);
      color: #fff;
      border-color: var(--btn)
    }
    .cf-submit {
      margin-top: 32px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: lowercase;
      color: #fff;
      background: #D22B2B;
      padding: 15px 30px;
      border-radius: 6px;
      transition: opacity .2s, transform .2s;
      cursor: none;
      position: relative
    }
    .cf-submit:hover {
      opacity: .85;
      transform: translateY(-1px)
    }
    .cf-submit:disabled {
      opacity: .55;
      pointer-events: none;
      transform: none
    }
    .cf-submit svg {
      width: 15px;
      height: 15px
    }
    .cf-submit .spinner {
      display: none;
      width: 14px;
      height: 14px;
      border: 2px solid rgba(255, 255, 255, .3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin .6s linear infinite
    }
    .cf-submit.loading .spinner {
      display: block
    }
    .cf-submit.loading .btn-label {
      opacity: 0
    }
    @keyframes spin {
      to {
        transform: rotate(360deg)
      }
    }
    /* Picker Styles */
    .custom-time-picker,
    .custom-date-picker {
      position: relative;
    }
    .time-trigger,
    .date-trigger {
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 44px;
    }
    .time-dropdown,
    .date-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      z-index: 2000;
      display: none;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
      margin-top: 8px;
      overflow: hidden;
      animation: dropIn 0.3s var(--ease);
    }
    .time-dropdown.show,
    .date-dropdown.show {
      display: block;
    }
    .time-dropdown-inner {
      max-height: 280px;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: thin;
      scrollbar-color: var(--red) #F9F7F4;
    }
    .time-dropdown-inner::-webkit-scrollbar {
      width: 4px;
    }
    .time-dropdown-inner::-webkit-scrollbar-track {
      background: #F9F7F4;
    }
    .time-dropdown-inner::-webkit-scrollbar-thumb {
      background: var(--red);
      border-radius: 10px;
    }
    .time-slot {
      padding: 12px 20px;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.2s;
      color: var(--text);
      text-align: center;
      font-variant-numeric: tabular-nums;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }
    .time-slot:last-child {
      border-bottom: none;
    }
    .time-slot:hover {
      background: #FDF2F2;
      color: var(--red);
    }
    .time-slot.active {
      background: var(--red) !important;
      color: white !important;
      font-weight: 600;
    }
    .date-dropdown {
      width: 320px;
      padding: 20px;
    }
    .cal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .cal-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      letter-spacing: 0.02em;
    }
    .cal-nav {
      display: flex;
      gap: 4px;
    }
    .cal-btn {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
      color: var(--muted);
    }
    .cal-btn:hover {
      background: #F5EFE4;
      color: var(--text);
    }
    .cal-btn svg {
      width: 14px;
      height: 14px;
    }
    .cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 2px;
    }
    .cal-day-lbl {
      font-size: 10px;
      font-weight: 700;
      color: var(--muted);
      text-transform: lowercase;
      text-align: center;
      padding-bottom: 10px;
      letter-spacing: 0.05em;
    }
    .cal-day {
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      color: var(--text);
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
    }
    .cal-day:hover:not(.disabled) {
      background: #FDF2F2;
      color: var(--red);
    }
    .cal-day.today::after {
      content: '';
      position: absolute;
      bottom: 4px;
      width: 3px;
      height: 3px;
      background: var(--red);
      border-radius: 50%;
    }
    .cal-day.selected {
      background: var(--red) !important;
      color: white !important;
    }
    .cal-day.disabled {
      opacity: 0.2;
      cursor: not-allowed;
    }
    .cal-day.other-month {
      opacity: 0.3;
    }

    /* RESPONSIVE */
    @media(max-width:768px) {
      .menu-header {
        min-height: 320px
      }
      .menu-header-content {
        padding: 80px 24px 36px;
        max-width: 100%
      }
      .menu-header-hed {
        font-size: clamp(36px, 8vw, 60px)
      }
      .ms {
        grid-template-columns: 1fr;
        padding: 40px 24px
      }
      .ms.alt .ms-vis {
        order: 0
      }
      .ms.alt .ms-content {
        order: 0
      }
      .ms-vis {
        min-height: 360px;
        padding: 0 8px
      }
      .ms-vis img {
        transform: scale(1.0)
      }
      .ms-vis:hover img {
        transform: scale(1.04)
      }
      .ms-content {
        padding: 28px 0
      }
      .ms-hed {
        font-size: clamp(32px, 6vw, 48px)
      }
      .res-wrap {
        grid-template-columns: 1fr;
        min-height: auto
      }
      .res-left {
        padding: 80px 24px 48px;
        min-height: auto
      }
      .res-hed {
        font-size: clamp(32px, 6vw, 48px)
      }
      .res-right {
        padding: 40px 24px
      }
      .f2 {
        grid-template-columns: 1fr;
        gap: 16px
      }
    }
    @media(max-width:480px) {
      .menu-header {
        min-height: 240px
      }
      .menu-header-content {
        padding: 60px 16px 24px
      }
      .menu-header-hed {
        font-size: clamp(28px, 10vw, 44px)
      }
      .ms {
        padding: 28px 16px
      }
      .ms-vis {
        min-height: 260px
      }
      .ms-content {
        padding: 20px 0
      }
      .ms-hed {
        font-size: clamp(26px, 7vw, 38px)
      }
      .res-left {
        padding: 72px 16px 36px
      }
      .res-hed {
        font-size: clamp(28px, 7vw, 40px)
      }
      .res-right {
        padding: 28px 16px
      }
      .res-kanji {
        font-size: 140px
      }
    }

    html {
      scroll-padding-top: 64px;
    }

/* --- LAYOUT STABILIZATION --- */
#home, #about, #menu, #reservation {
  position: relative !important;
  width: 100% !important;
  display: block !important;
  scroll-margin-top: 64px;
  background: #fff;
}

#home { background: var(--bg); }
#about { background: #fafafa; }
/* #menu { /* background: #fff; */ } */
#reservation { background: var(--bg); }

/* --- EDITORIAL REFINEMENTS --- */
.section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: lowercase;
    color: var(--muted);
    margin-bottom: 12px;
    font-family: var(--ff-body);
}

.w-hed {
    font-family: var(--ff-heading);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 16px;
}

#home, #about, #menu, #reservation {
    scroll-margin-top: 80px;
}

.rc-name {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.chef-name {
    font-family: var(--ff-heading);
}

.res-title {
    font-family: var(--ff-heading);
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* ── ABOUT INTRO — Premium Japanese-Inspired Editorial Section ── */
.about-intro {
  background: #fff;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.intro-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.intro-title {
  font-family: var(--ff-heading);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 40px;
}

.about-intro .editorial-body {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  opacity: 1; /* Override any global opacity if necessary */
}

@media (max-width: 768px) {
  .about-intro {
    padding: 100px 0 60px;
  }
  .intro-title {
    font-size: clamp(36px, 10vw, 56px);
  }
  .about-intro .editorial-body {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════════════
   GALLERY REVEAL — Scroll-Driven Interior Gallery
   ═══════════════════════════════════════════════════════ */

.gallery-reveal {
  background: #fff;
  color: var(--text);
  padding: var(--section-pad) 0;
  overflow: hidden;
  position: relative;
}

/* ── Gallery Header ──────────────────────────────────── */
.gallery-header {
  text-align: left;
  max-width: 800px;
  margin: 0 0 100px 0;
  padding: 0 10vw; /* Unified 10vw alignment */
  position: relative;
  z-index: 2;
}

.gallery-header .glitch-hed {
    margin-bottom: 24px; /* Space after glitch title */
}

.gallery-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 24px;
  display: block; /* Ensure it stays above the glitch-hed */
}

/* ── Gallery Masonry (Pinterest-Style) ────────────────── */
.gallery-collapsible-wrapper {
  position: relative;
  width: 100%;
}

.gallery-masonry {
  column-count: 7; /* Ultra-wide default */
  column-gap: 20px;
  max-width: 100%; /* Fluid edge-to-edge */
  margin: 0 auto;
  padding: 0 10vw; /* Sync with editorial standard */
  position: relative;
  z-index: 2;
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Collapse (restricted to 768px and below) */
@media (max-width: 768px) {
  .gallery-collapsible-wrapper.collapsed {
    max-height: 1000px;
    overflow: hidden;
  }
  .gallery-mobile-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.98) 70%, #fff 100%);
    z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .gallery-collapsible-wrapper:not(.collapsed) .gallery-mobile-fade {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .see-more-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-family: var(--ff-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
  }
  .see-more-btn:hover {
    background: var(--red);
    transform: translateY(-4px);
  }
  .see-more-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
  }
}

/* On Desktop, ensure no collapse happens even if class is present */
@media (min-width: 769px) {
  .gallery-collapsible-wrapper.collapsed {
    max-height: none !important;
    overflow: visible !important;
  }
  .gallery-mobile-fade {
    display: none !important;
  }
}

/* Expansive Breakpoints */
@media (max-width: 1800px) { .gallery-masonry { column-count: 6; } }
@media (max-width: 1500px) { .gallery-masonry { column-count: 5; } }
@media (max-width: 1200px) { .gallery-masonry { column-count: 4; } }
@media (max-width: 900px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 768px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 480px) { .gallery-masonry { column-count: 1; } }

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 2px;
  overflow: hidden;
  background: #f8f8f8;
  
  /* Preserve the site's reveal animation */
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translateY(20px);
  transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.8s ease, 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.revealed {
  clip-path: inset(0 0% 0 0%);
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ── Gallery Attribution ────────────────────────────── */
.gallery-attribution {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.4s ease;
  z-index: 3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gallery-item:hover .gallery-attribution {
  opacity: 0.9;
  transform: translateY(0);
}

.gallery-title {
  font-family: var(--ff-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text);
}

.gallery-subtitle {
  font-family: var(--ff-body);
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 500px;
  margin: 0 0 40px;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.gallery-badge .branding-stamp {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0;
  opacity: 0.5;
}

.gallery-badge .hanko-seal {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

/* ── Gallery Grid ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 0 0 52px;
  padding: 0 24px 0 0;
  position: relative;
  z-index: 2;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-col-right {
  margin-top: 60px;
}

/* ── Gallery Panel ───────────────────────────────────── */
.gallery-panel {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #f8f8f8;
  /* Initial hidden state – left-to-right horizontal reveal */
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: scale(0.95);
  transition: clip-path 0.1s linear, opacity 0.1s linear, transform 0.1s linear;
  will-change: clip-path, opacity, transform;
}

.gallery-panel.revealed {
  clip-path: inset(0 0% 0 0%);
  opacity: 1;
}

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.gallery-panel:hover img {
  transform: scale(1.04);
}

/* Panel caption overlay */
.gallery-panel .panel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-panel:hover .panel-caption {
  opacity: 1;
  transform: translateY(0);
}

.panel-caption span {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.85);
}

/* Varying heights for editorial masonry feel */
.gallery-panel:nth-child(1) { height: 380px; }
.gallery-panel:nth-child(2) { height: 300px; }
.gallery-panel:nth-child(3) { height: 420px; }
.gallery-panel:nth-child(4) { height: 340px; }

.gallery-col-right .gallery-panel:nth-child(1) { height: 320px; }
.gallery-col-right .gallery-panel:nth-child(2) { height: 400px; }
.gallery-col-right .gallery-panel:nth-child(3) { height: 340px; }
.gallery-col-right .gallery-panel:nth-child(4) { height: 380px; }

/* ── RESPONSIVE: TABLET (≤768px) ─────────────────────── */
@media (max-width: 768px) {
  .gallery-header {
    margin: 0 0 48px 24px;
    padding: 0 24px 0 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 0 24px;
    padding: 0 24px 0 0;
  }
  .gallery-reveal::before,
  .gallery-reveal::after {
    height: 60px;
  }
}

/* ── RESPONSIVE: MOBILE (≤480px) ──────────────────────── */
@media (max-width: 480px) {
  .gallery-panel:nth-child(n) {
    height: 220px;
  }
  .gallery-col-right .gallery-panel:nth-child(n) {
    height: 220px;
  }
  .gallery-title {
    font-size: 32px;
  }
}



/* ── Editorial Divider — Transition Elements ────────── */
.editorial-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 24px;
}

.editorial-divider::before,
.editorial-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
  opacity: 0.3;
}

.editorial-divider .hanko-seal {
  position: static;
  width: 44px;
  height: 44px;
  font-size: 20px;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
  box-shadow: none;
  opacity: 0.8;
  margin: 0;
  font-family: var(--ff-jp);
}

@media (max-width: 768px) {
  .editorial-divider {
    margin: 60px auto;
    gap: 20px;
  }
  .editorial-divider .hanko-seal {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* ── Chef Profile — Narrative Feature ────────────────── */
.chef-profile {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  gap: 120px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 120px 80px !important;

  position: relative;
}

.chef-imagery {
  flex: 0 0 45%;
  position: relative;
}

.image-large {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-small {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 250px;
  aspect-ratio: 1;
  border: 10px solid #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 2;
}

.image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-profile .editorial-card {
  flex: 1;
  max-width: 600px;
  margin: 0;
  z-index: 10;
}

/* Specific Tweak for Profile Header */
.chef-profile .editorial-title {
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .chef-profile {
    flex-direction: column-reverse;
    padding: 80px 24px !important;
    gap: 60px;
  }
  .chef-imagery {
    width: 100%;
    max-width: 500px;
  }
  .image-small {
    width: 180px;
    bottom: -30px;
    right: -20px;
  }
  .chef-profile .editorial-card {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
}

/* ── NEW EDITORIAL SCROLL BLOCKS ───────────────────────── */

.editorial-scroll-blocks {
  background: #fff;
  padding: 40px 0 120px; /* Reduced top padding to minimize gap after Precision section */
  overflow: hidden;
}

.chef-editorial-block {
  --reveal: 0; /* Managed via JS */
  display: flex;
  align-items: center;
  gap: 0; /* Full-bleed split */
  width: 100%;
  margin: 0 0 200px 0;
  padding: 0;
}

.chef-editorial-block:last-child {
  margin-bottom: 0;
}

.chef-editorial-block.reverse {
  flex-direction: row-reverse;
}

.eb-imagery {
  flex: 1.2;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fff; /* Blended with background */
}

.eb-image-reveal {
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% * (1 - var(--reveal))) 0 0);
  transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

.chef-editorial-block.reverse .eb-image-reveal {
  clip-path: inset(0 0 0 calc(100% * (1 - var(--reveal))));
}

.eb-image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.1 - (0.05 * var(--reveal))));
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.eb-content {
  flex: 1;
  opacity: var(--reveal);
  transform: translateY(calc(40px * (1 - var(--reveal))));
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 10vw; /* Typography safe area in full-bleed split */
}

.eb-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--red);
  /* Lowercase and standard English per request */
  text-transform: lowercase;
  opacity: 0.8;
}

.eb-body {
  font-size: 20px;
  line-height: 1.7;
  color: var(--secondary);
}

.reveal-char {
  opacity: 0.1;
  transition: opacity 0.3s ease;
  display: inline; /* Ensure it doesn't break line flow */
}

.reveal-char.active {
  opacity: 1;
}

.eb-title {
  font-family: var(--ff-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
}

.eb-body {
  font-family: var(--ff-body);
  font-size: 20px;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.8;
  max-width: 480px;
}

.hanko-seal.small {
  font-size: 32px;
  margin-top: 20px;
  width: 50px;
  height: 50px;
  border-width: 2px;
}

.chef-section-header {
  margin: 0 0 80px 0;
  padding: 0 10vw; /* Aligning with content padding */
}

.chef-section-header h2 {
  /* Matching Hero Scale */
  font-family: var(--ff-heading);
  font-size: clamp(80px, 10vw, 120px);
  font-weight: 900; /* Uniform Black weight */
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--text);
  position: relative;
  padding-bottom: 24px;
  display: grid;
  /* Fixed height to prevent layout shift during glitch animations */
  min-height: 0.9em; 
  align-items: baseline;
}

.chef-section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--red);
}

.eb-japanese-overlay {
  position: absolute;
  top: 80px;
  left: 10vw; /* Aligned with section heading padding */
  writing-mode: vertical-rl;
  font-family: serif; 
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; /* Bolder as requested */
  color: #FFFFFF !important;
  opacity: var(--reveal); /* Fully tied to scroll reveal */
  transform: translateY(calc(60px * (1 - var(--reveal))));
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  pointer-events: none;
  z-index: 5;
  letter-spacing: 0.3em;
  text-shadow: 0 0 20px rgba(0,0,0,0.5); /* Boosted contrast */
}

.chef-editorial-block.reverse .eb-japanese-overlay {
  left: auto;
  right: 10vw;
}

.eb-watermark {
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 600px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
  filter: grayscale(1);
}

@media (max-width: 768px) {
  .chef-editorial-block {
    flex-direction: column !important;
    padding: 0; /* Full-bleed for imagery stacks */
    margin-bottom: 80px;
    gap: 32px;
  }
  
  .eb-content {
    padding: 0 24px; /* Text safety on mobile */
  }
  
  .eb-imagery {
    width: 100%;
    aspect-ratio: 3/2;
  }

  .eb-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  
  .eb-body {
    max-width: 100%;
  }
}


    /* ── REDESIGNED PARALLAX HERO (JAPANESE PRECISION) ──────────────── */
    .px-container {
      margin: 0; /* Anchored to marquee below */
    }

    .parallax-outer {
      position: relative;
      height: 80vh;
      overflow: hidden;
      background: #000;
    }

    .parallax-viewport {
      position: relative;
      height: 100%;
      width: 100%;
      clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
    }

    .parallax-bg-layer {
      position: absolute;
      top: -8vh;
      height: 116vh;
      width: 100%;
      pointer-events: none;
      z-index: 1;
      /* removed transition for smoother JS updates */
    }

    .parallax-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
      filter: brightness(0.9) contrast(1.05);
    }

    .parallax-content {
      position: relative;
      z-index: 10;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 120px 10vw; /* Unified with Chef section alignment */
      color: #fff;
      mix-blend-difference: difference;
    }

    .p-desc {
      width: 45vw;
      align-self: flex-end;
      font-size: 20px;
      line-height: 1.5;
      font-weight: 500;
      letter-spacing: 0.05em;
      opacity: 1;
    }

    .p-desc .reveal-char {
        opacity: 0; /* Completely invisible until active */
        transition: opacity 0.3s var(--ease);
    }

    .p-desc .reveal-char.active {
        opacity: 1;
    }

    .p-title {
      /* Matching Hero Scale */
      font-family: var(--ff-heading);
      font-size: clamp(60px, 8vw, 100px) !important;
      font-weight: 900; /* Uniform Black weight */
      line-height: 0.85;
      letter-spacing: -0.04em;
      display: grid;
      color: #ffffff; /* Contrast against black parallax */
    }

    @media (max-width: 1024px) {
      .parallax-content {
        padding: 40px;
      }
      .p-desc {
        width: 100%;
        font-size: 14px;
        margin-bottom: 40px;
      }
      .p-title {
        font-size: 12vw;
      }
      .parallax-outer {
        height: 60vh;
      }
    }

/* ── FOOD IMAGE SWIPE REVEAL ──────────────── */
.food-reveal {
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}

.food-reveal.active {
  clip-path: inset(0 0% 0 0%);
}

/* Override glitch heading for menu specifically to keep massive scale */
.menu-header .glitch-hed {
    font-size: clamp(60px, 8vw, 100px) !important;
    color: #000 !important;
    margin: 0 0 30px -5px !important;
    line-height: 0.9 !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
}
/* Ensure layers inherit the size */
.menu-header .glitch-hed .hed-layer {
    font-size: inherit;
    line-height: inherit;
}

/* FINAL MENU PRECISION OVERRIDE - BOTTOM OF FILE */
.menu-precision-section {
  position: relative;
  background: #fff !important;
  color: #000 !important;
}

#menu.menu-precision-section {
    background: #fff !important;
    color: #000 !important;
    margin-bottom: 0 !important;
}

.menu-precision-section .precision-track {
  height: 250vh; 
  position: relative;
  margin-bottom: 0 !important;
}

.menu-precision-section .precision-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-precision-section canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-precision-section .precision-overlay {
  position: absolute;
  inset: 0;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 0 0 0 10vw !important;
  z-index: 999;
  pointer-events: none;
}

.menu-precision-section .precision-content {
  max-width: none;
  width: auto !important;
  height: auto !important;
  display: flex;
  flex-direction: column !important; /* Override column-reverse that pushes text to bottom */
  justify-content: flex-start !important;
  align-items: flex-start;
  text-align: left;
}

.menu-precision-section .menu-kicker {
  color: var(--red) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  margin-bottom: 24px !important;
  display: block !important;
  text-transform: none !important;
}

.menu-precision-section .menu-kicker::after {
  display: none;
}

.menu-precision-section .glitch-hed .hed-layer {
  color: var(--text) !important; 
}

.menu-precision-section .glitch-hed {
  font-size: clamp(60px, 8vw, 100px) !important; /* Match other headings */
  color: var(--text) !important;
  margin: 0 !important; 
  line-height: 0.85 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.menu-precision-section .precision-typewriter {
  display: none !important;
}


/* GLOBAL CTA STANDARDIZATION */
.nav-cta, .fc-link, .cf-submit, .btn-label, .nav-drawer a, .nav-center a {
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
}

/* Uniform sizing for primary Hero and Reservation buttons */
.hero-cta-group .nav-cta, 
.hero-cta-group .fc-link, 
.cf-submit {
    min-width: 200px !important;
    height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}


/* ==========================================================================
   FINAL BRAND REFINEMENTS - MASTER OVERRIDES
   ========================================================================== */

/* 1. ANCHORING: Remove all gaps around the marquee and the precision sections */
.marquee {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
}

.px-container, 
.menu-precision-section, 
.precision-track,
.precision-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Fix for the white gap / chevron button area */
.gallery-mobile-fade {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.see-more-btn {
    margin-top: 0 !important;
    text-transform: none !important;
    letter-spacing: 0.1em !important;
}

.fc-title, 
.footer-body .fc-title,
.section-label, 
.rd-lbl, 
.fl,
.mi-name, 
.chef-title, 
.eb-eyebrow, 
.eb-label, 
.nav-link, 
.eb-japanese-overlay,
.cf-label,
.f-copy,
.f-city,
.mi-veg {
    text-transform: none !important;
    letter-spacing: 0.05em !important; /* Standardized tracking for sentence case */
}

/* 3. CLEANUP: Remove all remaining horizontal dividers and borders */
.footer, 
.footer-bottom, 
.editorial-footer {
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.fc-title,
.editorial-divider,
.gallery-mobile-fade::before {
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    background: transparent !important;
}

/* MOBILE RESPONSIVENESS & CLICK FIXES */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }

    /* 1. Disable custom cursor on mobile to fix click issues */
    #cur-dot, #cur-ring, .cur-trail {
        display: none !important;
    }
    body, button, a, input, textarea, select {
        cursor: auto !important;
    }

    /* 2. Full Screen Chat Bot for mobile */
    .yui-panel {
        position: fixed !important;
        width: 100vw !important;
        max-width: none !important;
        height: 100vh !important;
        height: -webkit-fill-available !important; /* Mobile safari fix */
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: 0 !important;
        transform: translateY(100%) !important; /* Slide up animation */
        transform-origin: bottom center !important;
        border-radius: 0 !important;
        z-index: 10000;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .yui-panel.open {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .yui-back {
        display: flex !important; /* Show back button on mobile */
    }
    .yui-header {
        padding: 16px 20px !important;
    }
    .yui-btn-close {
        display: none !important; /* Hide close 'X' on mobile in favor of 'Back' */
    }
    .yui-launcher {
        width: 64px !important;
        height: 64px !important;
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        transform: none !important;
        z-index: 10001;
    }
    
    /* Center the launcher logo */
    .yui-launcher svg {
        width: 24px !important;
    }

    /* 3. Improve button hit areas and visibility */
    .yui-mic-large {
        width: 72px !important;
        height: 72px !important;
        margin-bottom: 20px !important;
    }
    .yui-btn-send {
        width: 44px !important;
        height: 44px !important;
    }
    .yui-input-wrapper {
        gap: 8px !important;
        padding: 0 10px !important;
    }
    
    /* 4. Ensure sections don't overflow & reduce white space */
    :root {
        --section-pad: 40px !important; /* Smaller padding on mobile */
    }

    .section-pad {
        padding: 40px 20px !important;
    }

    .ms-content {
        padding: 12px 20px 40px !important; /* Reduced top padding to move text up */
    }

    .ms-hed {
        font-size: clamp(32px, 8vw, 48px) !important;
        margin-bottom: 4px !important;
    }

    .ms-eyebrow {
        margin-bottom: 12px !important;
    }

    .menu-precision-section .precision-overlay {
        padding: 40px 20px !important; /* Center/tighten precision text */
        justify-content: flex-start !important; /* Move text up */
        top: 15% !important; /* Offset from top */
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px) !important;
        line-height: 1.1 !important;
    }
    .p-title {
        font-size: clamp(40px, 12vw, 60px) !important;
    }
    .p-desc {
        font-size: 13px !important;
        padding: 0 20px !important;
    }
}

/* Ensure mic is clickable and interactive */
.yui-mic-large, .yui-btn-send, .yui-launcher, .yui-btn-close {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Fix for potential footer/scroll issues */
.main-wrap {
    overflow: hidden;
}


/* RESERVATION TICKET MODAL */
.res-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.res-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.res-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 12, 10, 0.8);
  backdrop-filter: blur(8px);
}
.res-ticket-container {
  position: relative;
  width: 90%;
  max-width: 440px;
  transform: translateY(20px);
  transition: transform 0.6s var(--ease);
  z-index: 10;
}
.res-modal.open .res-ticket-container {
  transform: translateY(0);
}
.res-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  opacity: 0.7;
}
.res-modal-close:hover { opacity: 1; }

.res-ticket {
  background: #F4F0E8;
  color: #2D241E;
  padding: 60px 40px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.res-thankyou {
  display: block;
  font-family: var(--ff-body);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}
.res-guest-title {
  font-family: var(--ff-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--red);
  margin-bottom: 8px;
}
.res-status-sub {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 16px;
  opacity: 0.7;
}

.res-qr-section {
  margin: 40px 0;
}
.res-qr-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.res-qr-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}
.res-qr-svg {
  width: 100%;
  height: 100%;
}
.res-conf-code {
  font-family: var(--ff-heading);
  font-size: 14px;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

.res-info-grid {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.res-info-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.res-info-item.detail {
  margin-top: 10px;
}
.res-info-lbl {
  font-size: 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.res-info-val {
  font-family: var(--ff-heading);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.res-ticket-footer {
  margin-top: 50px;
  display: flex;
  justify-content: flex-end;
}
.res-save-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--red);
  opacity: 0.8;
}
.res-save-btn:hover { opacity: 1; }

@media (max-width: 480px) {
  .res-ticket { padding: 40px 24px; }
  .res-guest-title { font-size: 24px; }
}

/* STATUS TICKET VARIANT */
.status-ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px 50px;
}
.status-ticket-icon {
  margin-bottom: 30px;
}
.status-ticket .status-title {
  font-family: var(--ff-heading);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  color: #2D241E;
}
.status-ticket .status-message {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.6;
  margin-bottom: 40px;
  max-width: 320px;
}
.status-ticket.is-error .status-title {
  color: var(--red);
}
.status-action-btn {
  padding: 14px 48px;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s var(--ease);
}
.status-action-btn:hover {
  background: #B91C1C;
}

.res-change-btn {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  margin-right: auto;
  opacity: 0.6;
}
.res-change-btn:hover { opacity: 1; color: var(--red); }
