  /* ===================================================================
   KS HIMAWARI Co., Ltd. — Stylesheet
   Theme: "Solar Company" — warmth, energy and hospitality, inspired
   by himawari (sunflower). Pure vanilla CSS3. No frameworks.
   =================================================================== */

  /* -------------------------------------------------------------------
   1. DESIGN TOKENS
   A single source of truth for color, type, spacing and motion so the
   rest of the file (and any future redesign) only has to change values
   in one place.
   ------------------------------------------------------------------- */
  :root {
    /* --- Brand palette (per brief) --- */
    --color-primary: #E5A93B;
    /* Deep Amber / Warm Gold        */
    --color-primary-light: #F4C766;
    /* lighter gold — gradient stop  */
    --color-primary-deep: #C8821F;
    /* burnt amber — depth & contrast*/
    --color-charcoal: #22252A;
    /* Charcoal / Dark Slate         */
    --color-charcoal-soft: #3A3F47;
    /* softer charcoal for body text */
    --color-white: #FFFFFF;
    /* Pure White                    */
    --color-sand: #F9F8F6;
    /* Light Sand background         */
    --color-sand-deep: #F1ECE3;
    /* deeper sand — cards / borders */

    /* --- Semantic aliases --- */
    --bg-page: var(--color-white);
    --bg-alt: var(--color-sand);
    --bg-dark: var(--color-charcoal);
    --text-body: var(--color-charcoal-soft);
    --text-heading: var(--color-charcoal);
    --text-on-dark: #F3EFE7;
    --border-soft: var(--color-sand-deep);

    /* --- Typography --- */
    --font-display: "Fraunces", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
      "Yu Gothic", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    /* Fluid type scale: clamp() keeps layouts robust across EN / JA / ID
     text-length differences and across viewport sizes. */
    --fs-h1: clamp(2.1rem, 4.6vw + 1rem, 4rem);
    --fs-h2: clamp(1.6rem, 2.6vw + 1rem, 2.5rem);
    --fs-h3: clamp(1.05rem, 0.8vw + 0.9rem, 1.3rem);
    --fs-lead: clamp(1.05rem, 0.7vw + 0.95rem, 1.25rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-eyebrow: 0.8rem;

    /* --- Spacing scale --- */
    --space-2xs: 0.4rem;
    --space-xs: 0.75rem;
    --space-sm: 1.25rem;
    --space-hero: 1rem;
    --space-md: 2rem;
    --space-lg: 3.25rem;
    --space-xl: 5.5rem;
    --space-2xl: 8rem;

    /* --- Layout --- */
    --container-w: 1180px;
    --container-pad: clamp(1.25rem, 4vw, 2.5rem);
    --header-h: 78px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    /* --- Motion --- */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 180ms;
    --dur-med: 360ms;
    --dur-slow: 600ms;

    /* --- Elevation --- */
    --shadow-sm: 0 2px 10px rgba(34, 37, 42, 0.06);
    --shadow-md: 0 14px 34px rgba(34, 37, 42, 0.1);
    --shadow-glow: 0 10px 32px rgba(229, 169, 59, 0.35);
  }

  /* -------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------- */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  blockquote,
  figure {
    margin: 0;
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

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

  button {
    font: inherit;
  }

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

  input,
  textarea,
  button {
    font-family: inherit;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    /* Whole-page fade used by the JS language switcher */
    transition: opacity var(--dur-med) var(--ease);
  }

  body.lang-fading {
    opacity: 0;
  }

  h1,
  h2,
  h3 {
    font-family: var(--font-display);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.18;
  }

  h1 {
    font-size: var(--fs-h1);
    font-weight: 680;
    letter-spacing: -0.01em;
  }

  h2 {
    font-size: var(--fs-h2);
  }

  h3 {
    font-size: var(--fs-h3);
  }

  p {
    max-width: 62ch;
  }

  :focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--color-charcoal);
    color: var(--text-on-dark);
    padding: 0.7rem 1.2rem;
    z-index: 200;
    border-radius: 0 0 var(--radius-sm) 0;
  }

  .skip-link:focus {
    left: 0;
  }

  .container {
    width: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  section {
    position: relative;
  }

  /* Reusable label that sits above a heading and names the section's role */
  .eyebrow {
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary-deep);
    margin-bottom: var(--space-xs);
  }

  .eyebrow-light {
    color: var(--color-primary-light);
  }

  .section-head {
    max-width: 56ch;
    margin-bottom: var(--space-lg);
  }

  .section-head h2 {
    margin-top: 0.2rem;
  }

  /* -------------------------------------------------------------------
   3. BUTTONS
   ------------------------------------------------------------------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.97rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
      background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
    white-space: nowrap;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary) 55%, var(--color-primary-deep));
    color: var(--color-charcoal);
    box-shadow: var(--shadow-glow);
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(229, 169, 59, 0.48);
  }

  .btn-ghost {
    background: transparent;
    border-color: rgba(34, 37, 42, 0.22);
    color: var(--color-charcoal);
  }

  .btn-ghost:hover,
  .btn-ghost:focus-visible {
    border-color: var(--color-primary);
    background: rgba(229, 169, 59, 0.1);
  }

  .btn-form {
    width: 100%;
    margin-top: 0.4rem;
  }

  /* -------------------------------------------------------------------
   4. HEADER
   ------------------------------------------------------------------- */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--header-h);
    background: rgba(249, 248, 246, 0.7);
    transition: background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), height var(--dur-med) var(--ease);
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    height: 100%;
  }

  /* Logo: sun-emblem mark + wordmark, used in header and footer */
  .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
  }

  /*Logo size*/
  .logo-mark {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .hero-sun svg {
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
  }

  .sun-core {
    fill: var(--color-primary);
  }

  .sun-rays {
    stroke: var(--color-primary);
    stroke-width: 7;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .logo-name {
    font-family: var(--font-display);
    font-weight: 680;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    color: var(--text-heading);
  }

  .logo-suffix {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--color-primary-deep);
    text-transform: uppercase;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-heading);
    position: relative;
    padding: 0.3rem 0.1rem;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: var(--color-primary);
    transition: width var(--dur-fast) var(--ease);
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    width: 100%;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }

  .lang-switch {
    display: flex;
    gap: 0.25rem;
    background: var(--color-sand-deep);
    padding: 0.25rem;
    border-radius: var(--radius-pill);
  }

  /*teks "EN" bentuknya lebih lebar daripada keduabahasa lainnya */
  .lang-btn {
    border: none;
    background: transparent;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-heading);
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  }

  .lang-btn[aria-pressed="true"] {
    background: var(--color-charcoal);
    color: var(--color-primary-light);
  }

  .lang-btn:hover {
    background: rgba(34, 37, 42, 0.12);
  }

  .lang-btn[aria-pressed="true"]:hover {
    background: var(--color-charcoal);
  }

  /* Hamburger (mobile only) */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 2px;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
    margin-inline: auto;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* -------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------- */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-h);
    padding-bottom: var(--space-2xl);
    /* room for the feature-strip card to overlap into */
    background: var(--bg-page);
    overflow: hidden;
    isolation: isolate;
  }

  .hero-before {
    font-family: var(--font-display);
    font-size: var(--fs-lead);
    letter-spacing: 0.3em;
    font-weight: 600;
    color: var(--color-primary-deep);
    margin: 0 auto var(--space-2xs);
    margin-top: var(--space-sm);
    max-width: 46ch;
  }

  /* Full-bleed background photo. object-fit: cover keeps the illustration
   filling the section at every viewport size without distortion; it sits
   at z-index -2, behind the legibility overlay. */
  .hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }

  /* Gradient wash that fades the photo out toward the CENTER (where the
   centered text sits) while leaving its left and right edges visible,
   echoing the reference design's sunset-haze effect behind its text
   column. A short fade at the very bottom hands off cleanly into the
   floating feature-strip card / next section below. */
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg,
        rgba(249, 248, 246, 0.12) 0%,
        rgba(249, 248, 246, 0.74) 24%,
        rgba(249, 248, 246, 0.93) 50%,
        rgba(249, 248, 246, 0.74) 76%,
        rgba(249, 248, 246, 0.12) 100%),
      linear-gradient(to top, var(--bg-page) 0%, rgba(249, 248, 246, 0) 22%);
  }

  .hero-inner {
    position: relative;
    width: 100%;
  }

  .hero-content {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-content h1 {
    font-size: var(--fs-h1);
    margin-bottom: var(--space-hero);
  }

  /* Small sun-mark divider between the heading and the tagline line —
   reuses the shared .sun-core / .sun-rays classes already defined for
   the header logo, so it inherits the same brand color automatically. */
  .hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    max-width: 280px;
    margin: 0 auto var(--space-sm);
  }

  .hero-divider-line {
    flex: 1;
    height: 3px;
    background: rgba(34, 37, 42, 0.2);
  }

  .hero-divider-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .hero-divider-mark svg {
    width: 100%;
    height: 100%;
  }

  .hero-subtitle {
    font-family: var(--font-display);
    font-size: var(--fs-lead);
    font-weight: 600;
    color: var(--color-primary-deep);
    margin: 0 auto var(--space-sm);
    max-width: 40ch;
  }

  .hero-body {
    font-size: var(--fs-body);
    margin: 0 auto var(--space-sm);
    height: auto;
  }


  .hero-body:last-of-type {
    margin-bottom: var(--space-lg);
  }

  .hero-extra {
    font-size: var(--fs-body);
    color: var(--text-body);
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -1.5rem;
  }

  .scroll-cue {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid rgba(34, 37, 42, 0.18);
    background: rgba(249, 248, 246, 0.7);
    /* sits on the photo now, so give it a backing chip for contrast */
    color: var(--color-charcoal);
    animation: bob 2.6s var(--ease) infinite;
  }

  .scroll-cue svg {
    width: 16px;
    height: 16px;
  }

  @keyframes bob {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }

    50% {
      transform: translateX(-50%) translateY(6px);
    }
  }

  .sun-petals {
    fill: var(--color-primary);
  }

  /* -------------------------------------------------------------------
   6. ABOUT
   ------------------------------------------------------------------- */
  .about {
    padding-block: var(--space-2xl);
    background: var(--bg-page);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  .about-text h2 {
    margin-bottom: var(--space-md);
    max-width: 18ch;
  }

  .about-paragraphs {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }

  .about-paragraphs p {
    max-width: 56ch;
  }

  /* Signature "orbit" motif: the hero's four words (Food / Community /
   Culture / Hospitality) placed around a small sun — a recurring
   visual echo of the opening tagline, not a decorative add-on. */
  .about-visual {
    display: flex;
    justify-content: center;
  }

  .orbit {
    position: relative;
    width: min(360px, 100%);
    aspect-ratio: 1;
  }

  .orbit::before {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1.5px dashed var(--border-soft);
  }

  .orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
  }

  .orbit-core svg {
    width: 60%;
    height: 60%;
  }

  .orbit-point {
    position: absolute;
    transform: translate(-50%, -50%);
    background: var(--color-white);
    border: 1.5px solid var(--border-soft);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--text-heading);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
  }

  .point-top {
    top: 2%;
    left: 50%;
  }

  .point-right {
    top: 50%;
    left: 98%;
  }

  .point-bottom {
    top: 98%;
    left: 50%;
  }

  .point-left {
    top: 50%;
    left: 2%;
  }

  /* -------------------------------------------------------------------
   7. OUR BRANDS (custom tab system)
   ------------------------------------------------------------------- */
  .brands {
    padding-block: var(--space-2xl);
    background: var(--bg-alt);
  }

  /* Brand tab = a circular logo button with a text caption beneath it,
   replacing the previous icon+label pill. Inactive logos are dimmed via
   grayscale/opacity; hover and the active state restore full color and
   add an amber ring so the selected brand is unmistakable at a glance. */
  .brand-tabs {
    display: flex;
    gap: 1.6rem;
    margin-bottom: var(--space-md);
    overflow-x: auto;
    padding: 0.3rem 0.1rem 0.5rem;
    scrollbar-width: thin;
  }

  .brand-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    border: none;
    background: transparent;
    padding: 0.2rem;
    cursor: pointer;
  }

  .brand-tab-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .brand-tab-logo img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    filter: grayscale(1) opacity(0.5);
    transition: filter var(--dur-fast) var(--ease);
  }

  .brand-tab-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    text-align: center;
    max-width: 92px;
    transition: color var(--dur-fast) var(--ease);
  }

  .brand-tab:hover .brand-tab-logo {
    border-color: var(--color-primary);
    transform: translateY(-2px);
  }

  .brand-tab:hover .brand-tab-logo img {
    filter: grayscale(0) opacity(1);
  }

  .brand-tab.is-active .brand-tab-logo {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
  }

  .brand-tab.is-active .brand-tab-logo img {
    filter: grayscale(0) opacity(1);
  }

  .brand-tab.is-active .brand-tab-label {
    color: var(--color-primary-deep);
  }

  .brand-panel {
    display: none;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-2xl);
    align-items: center;
  }
  

  .brand-panel.is-active {
    display: grid;
    animation: panelIn 0.5s var(--ease) both;
  }

  @keyframes panelIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .brand-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-white);
  }

  .brand-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(229, 169, 59, 0.16);
    color: var(--color-primary-deep);
    font-size: var(--fs-small);
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-sm);
  }

  .badge svg {
    width: 14px;
    height: 14px;
  }

  .brand-info h3 {
    margin-bottom: 0.5rem;
  }

  .brand-location {
    display: block;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-primary-deep);
    margin-bottom: var(--space-xs);
  }

  .brand-tagline {
    font-family: var(--font-display);
    color: var(--color-primary-deep);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
  }

  .brand-desc {
    margin-bottom: var(--space-xs);
  }

  .brand-desc:last-of-type {
    margin-bottom: var(--space-sm);
  }

  .brand-dish {
    font-weight: 700;
    color: var(--text-heading);
  }

  .brand-highlights {
    display: grid;
    gap: 0.55rem;
    margin-top: var(--space-xs);
    padding: 0;
  }

  .brand-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--text-body);
  }

  .brand-highlights li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.2em;
    stroke: var(--color-primary-deep);
    fill: none;
    stroke-width: 2.2;
  }

  .brand-social {
    display: flex;
    gap: 0.6rem;
    margin-top: var(--space-sm);
  }

  .brand-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
      transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  }

  .brand-social-btn svg {
    width: 16px;
    height: 16px;
  }

  .brand-social-btn:hover, .brand-social-btn:focus-visible {
    border-color: var(--color-primary);
    background: rgba(229, 169, 59, 0.12);
    color: var(--color-primary-deep);
    transform: translateY(-2px);
  }

  /* "Read More" link-button at the bottom of each brand panel */
  .brand-readmore-wrap {
    margin-top: var(--space-sm);
  }

  .brand-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .brand-readmore-btn svg {
    flex-shrink: 0;
  }

  /* form-error: same pill as .form-success but red-tinted for failure */
  .form-error {
    background: rgba(224, 101, 79, 0.14) !important;
    color: #F0917F !important;
  }

  /* Mobile-only language switcher inside the full-screen nav overlay.
   Hidden on desktop (the header's .lang-switch handles that context).
   Revealed only when the breakpoint collapses the nav to the overlay
   — see the @media (max-width: 860px) block further down for display:flex. */
  .nav-lang-switch {
    display: none;
  }

  /* -------------------------------------------------------------------
   8. SERVICES
   ------------------------------------------------------------------- */
  .services {
    padding-block: var(--space-2xl);
    background: var(--bg-page);
  }

  /* Carousel wrapper: positions the prev/next arrows relative to the
     scrollable card track. On mobile the arrows are hidden (see the
     max-width: 860px override) and native touch/swipe scrolling is used
     instead, matching the rest of the site's mobile patterns. */
  .services-carousel {
    position: relative;
  }

  .services-grid {
    display: flex;
    overflow-x: auto;
    gap: var(--space-md);
    padding-bottom: var(--space-sm);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox: arrows drive desktop navigation, so the scrollbar is redundant */
    -ms-overflow-style: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari / Edge: same reasoning as scrollbar-width above */
  }

  .service-card {
    flex: 0 0 340px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    scroll-snap-align: start;
    transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  }

  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }

  .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
  }

  .service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-primary-deep);
    fill: none;
    stroke-width: 1.7;
  }

  .service-card h3 {
    margin-bottom: 0.5rem;
  }

  /* Prev/next arrows for the desktop infinite-loop carousel.
     Hidden by default on touch/mobile widths — see the max-width: 860px
     override further down — where native swipe scrolling is used instead. */
  .carousel-arrow {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border-soft);
    background: var(--color-white);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--ease), box-shadow var(--dur-fast) var(--ease),
      border-color var(--dur-fast) var(--ease);
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .carousel-arrow--prev {
    left: -95px;
  }

  .carousel-arrow--next {
    right: -80px;
  }

  .carousel-arrow:hover,
  .carousel-arrow:focus-visible {
    border-color: var(--color-primary);
    background: var(--color-charcoal);
    color: var(--color-primary-light);
  }


  /* -------------------------------------------------------------------
   9. FOOTER + CONTACT FORM
   ------------------------------------------------------------------- */
  .site-footer {
    background: var(--color-charcoal);
    color: var(--text-on-dark);
    padding-block: var(--space-2xl) var(--space-md);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr ;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(243, 239, 231, 0.12);
  }

  .footer-brand .logo-name {
    color: var(--text-on-dark);
  }

  .footer-brand .logo-suffix {
    color: var(--color-primary-light);
  }

  .footer-tagline {
    margin-top: var(--space-sm);
    color: rgba(243, 239, 231, 0.72);
    max-width: 32ch;
  }

  .footer-social-label {
    margin-top: var(--space-md);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary-light);
  }

  .social-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.6rem;
  }

  .social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(243, 239, 231, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .social-btn svg {
    width: 17px;
    height: 17px;
  }

  .social-btn:hover {
    border-color: var(--color-primary);
    background: rgba(229, 169, 59, 0.14);
    transform: translateY(-2px);
  }

  .footer-contact address p {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: var(--space-sm);
    font-style: normal;
  }

  .footer-contact strong {
    font-size: var(--fs-small);
    color: var(--color-primary-light);
    font-weight: 700;
  }

  .footer-contact span {
    color: rgba(243, 239, 231, 0.82);
  }

  .form-field {
    margin-bottom: var(--space-sm);
  }

  .form-field label {
    display: block;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: rgba(243, 239, 231, 0.85);
  }

  .form-field input,
  .form-field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(243, 239, 231, 0.22);
    background: rgba(243, 239, 231, 0.06);
    color: var(--text-on-dark);
    resize: vertical;
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  }

  .form-field input::placeholder,
  .form-field textarea::placeholder {
    color: rgba(243, 239, 231, 0.4);
  }

  .form-field input:focus,
  .form-field textarea:focus {
    border-color: var(--color-primary);
    background: rgba(243, 239, 231, 0.1);
    outline: none;
  }

  .form-field input[aria-invalid="true"],
  .form-field textarea[aria-invalid="true"] {
    border-color: #E0654F;
  }

  .field-error {
    display: block;
    min-height: 1.1em;
    font-size: 0.78rem;
    color: #F0917F;
    margin-top: 0.3rem;
  }

  .form-success {
    margin-top: var(--space-sm);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(229, 169, 59, 0.16);
    color: var(--color-primary-light);
    font-size: 0.9rem;
    font-weight: 600;
  }

  .footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
  }

  .footer-bottom p {
    margin: 0 auto;
    font-size: 0.85rem;
    color: rgba(243, 239, 231, 0.6);
  }

  /* -------------------------------------------------------------------
   10. BRAND DETAIL PAGES (brands/cafe-bintang.html etc.)
   These pages link to this stylesheet via ../ so their classes live
   here rather than in separate per-page <style> blocks, keeping the
   design token system and component styles consistent.
   All new classes are prefixed bp- (brand-page) to prevent collisions.
   ------------------------------------------------------------------- */

  /* Hero banner — full-bleed with the hero photo reused as a bg, a dark
   overlay so the white text on top always reads at WCAG AA contrast,
   and the brand's circular logo displayed large in the centre. */
  .bp-hero {
    position: relative;
    isolation: isolate;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding-top: var(--header-h);
    overflow: hidden;
  }

  .bp-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
  }

  .bp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }

  .bp-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(34, 37, 42, 0.86) 0%, rgba(34, 37, 42, 0.4) 55%, transparent 100%);
  }

  .bp-hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    width: 100%;
  }

  .bp-hero-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 0 6px rgba(229, 169, 59, 0.2);
    background: var(--color-charcoal);
  }

  .bp-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bp-hero-content h1 {
    color: var(--color-white);
    font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  }

  .bp-hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-primary-light);
  }

  .bp-hero-location svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-primary-light);
    fill: none;
    stroke-width: 2;
  }

  /* Breadcrumb — thin row below the hero, provides "back" navigation */
  .bp-breadcrumb {
    padding-block: var(--space-sm);
    border-bottom: 1px solid var(--border-soft);
  }

  .bp-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-primary-deep);
    transition: gap var(--dur-fast) var(--ease);
  }

  .bp-breadcrumb a:hover {
    gap: 0.7rem;
  }

  .bp-breadcrumb svg {
    width: 14px;
    height: 14px;
  }

  /* Generic content section wrapper */
  .bp-section {
    padding-block: var(--space-xl);
  }

  .bp-section-alt {
    background: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: var(--space-xl);
  }

  .bp-section-menu {
    background: var(--color-sand-deep);
    padding-block: var(--space-lg);
  }

  .bp-section .section-head {
    margin-bottom: var(--space-md);
  }

  /* Two-column story grid: illustration left, text right */
  .bp-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-xl);
    align-items: center;
  }

  .bp-story-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }


 /* verifikasi {red,8} */
/* Verifikasi */
  .bp-story-text p {
    text-align: left; /*"center"-->"Left"*/
    max-width: 70ch; /*"65"-->"70"*/
    margin-inline: auto;
    /* display: grid;
  gap: var(--space-sm); */
  }

  .bp-story-ayamya {
    padding-left: 2rem;
  }


  /* Menu / extra content: two-column definition-style grid */
  .bp-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
  }

  .bp-menu-cat h4 {
    font-size: 1rem;
    color: var(--color-primary-deep);
    margin-bottom: 0.5rem;
  }

  .bp-menu-cat ul {
    list-style: disc;
    padding-left: 1.2rem;
  }

  .bp-menu-cat li {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 0.3rem;
  }

  .eyebrow-2 {
    margin-top: var(--space-md);
  }

  /* Location & Hours card */
  .bp-location-card {
    background: var(--color-charcoal);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    gap: var(--space-md);
  }

  .bp-location-item h4 {
    color: var(--color-primary-light);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* margin-bottom: 0.4rem; */
  }

  .bp-location-item p {
    color: rgba(243, 239, 231, 0.88);
    font-size: 0.95rem;
  }

  .address_href {
    transition: color var(--dur-fast) var(--ease);
  }

  .address_href:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
  }

  /* Social section at the bottom of each brand page */
  .bp-social {
    padding-block: var(--space-lg);
    border-top: 1px solid var(--border-soft);
  }

  .bp-social h3 {
    margin-bottom: var(--space-sm);
  }

  .bp-social-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .bp-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .bp-social-btn svg {
    width: 18px;
    height: 18px;
  }

  .bp-social-btn:hover, .bp-social-btn:focus-visible {
    border-color: var(--color-primary);
    background: rgba(229, 169, 59, 0.1);
    transform: translateY(-2px);
  }

  .bp-social-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    align-self: center;
  }

  /* Minimal brand-page footer */
  .bp-footer {
    background: var(--color-charcoal);
    color: rgba(243, 239, 231, 0.6);
    padding-block: var(--space-md);
    text-align: center;
    font-size: 0.85rem;
  }

  .bp-footer a {
    color: var(--color-primary-light);
  }

  .bp-footer a:hover {
    text-decoration: underline;
  }

  /* ===================================================================
   11.BRAND-SPECIFIC LAYOUT OVERRIDES
   (Cafe Bintang, Ayam Ya, HIMAWARI-YA)
   =================================================================== */

  /* -------- Our Story: no image card, centered text --------
   Used by Cafe Bintang and HIMAWARI-YA, both of which drop the
   illustration/photo panel next to the story copy. */
  body[data-brand="bintang"] .bp-story-grid,
  body[data-brand="himawariya"] .bp-story-grid {
    display: block;
  }

  body[data-brand="bintang"] .bp-story-img,
  body[data-brand="himawariya"] .bp-story-img {
    display: none;
  }

  body[data-brand="bintang"] .bp-story-text,
  body[data-brand="himawariya"] .bp-story-text {
    text-align: center;
    max-width: 68ch;
    margin-inline: auto;
  }

  body[data-brand="bintang"] .bp-story-text .eyebrow,
  body[data-brand="himawariya"] .bp-story-text .eyebrow {
    display: block;
    text-align: center;
  }

  /* -------- Cafe Bintang: menu as horizontal-scrolling photo cards -------- */
  .bp-menu-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-block: var(--space-sm) var(--space-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .bp-menu-photo-card {
    flex: 0 0 auto;
    width: 180px;
    scroll-snap-align: start;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .bp-menu-photo-card .bp-menu-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--bg-alt), var(--border-soft));
  }

  .bp-menu-photo-card .bp-menu-photo-fallback {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--border-soft));
  }

  .bp-menu-name {
    display: block;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: center;
  }

  /* -------- Cafe Bintang: two location cards side-by-side -------- */
  .bp-location-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .bp-location-photo-card {
    background: var(--color-charcoal);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
  }

  .bp-location-photo-card .bp-location-photo-fallback {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background-size: cover;
    color: var(--color-charcoal);
  }

  .bp-location-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .bp-location-card-body h4 {
    color: var(--color-primary-light);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .bp-location-card-body p {
    color: rgba(243, 239, 231, 0.85);
    font-size: 0.9rem;
    white-space: pre-line;
  }

  .bp-maps-btn {
    margin-top: 0.3rem;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: var(--color-charcoal);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .bp-maps-btn:hover, .bp-maps-btn:focus-visible {
    background: var(--color-primary-light);
    transform: translateY(-2px);
  }

  /* -------- Ayam Ya: text on the left, location card on the right -------- */

  .bp-location-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
  }

  .bp-location-split .bp-location-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .bp-location-split .bp-location-text h4 {
    color: var(--color-primary-deep);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
  }

  .bp-location-split .bp-location-text p {
    color: var(--text-body);
    font-size: 0.95rem;
    white-space: pre-line;
  }

  .bp-location-split .bp-location-map-card {
    background: var(--color-charcoal);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .bp-location-split .bp-location-map-card h4 {
    color: var(--color-primary-light);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .bp-location-map-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-sm);
  }

  .bp-location-split .bp-location-map-card p {
    color: rgba(243, 239, 231, 0.88);
    font-size: 0.95rem;
    white-space: pre-line;
  }

  

  /* -------- HIMAWARI-YA: zig-zag "What We Offer" rows -------- */
  .bp-zigzag {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-md);
  }

  .bp-zigzag-row {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: center;
  }

  .bp-zigzag-row.is-reversed {
    flex-direction: row-reverse;
  }

  /* .bp-zigzag-row.is-reversed {
    direction: ltr;
  } */

  .bp-zigzag-text h2 {
    text-align: center;
  }

  .bp-zigzag-text h4 {
    font-size: 1.15rem;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
  }

  .bp-zigzag-text p {
    color: var(--text-body);
    font-size: 1rem;
  }

  .bp-zigzag-card {
    /* background: var(--color-white); */
    border-radius: var(--radius-md);
    /* padding: var(--space-lg); */
    border-top: 3px solid var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    /* box-shadow: var(--shadow-sm); */
    text-align: center;
    max-width: 400px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }

  .bp-zigzag-card:hover{
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
  }

  .bp-zigzag-card .bp-zigzag-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    /* margin-bottom: 0.3rem; */
  }

  /* Photo support for zigzag cards */
  .bp-zigzag-card {
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    background-color: var(--color-white);
    /* gap: var(--space-md); */
  }

  .bp-zigzag-photo-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 2px);
  }

  .bp-zigzag-card .bp-zigzag-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--bg-alt), var(--border-soft));
  }

  .bp-zigzag-card .bp-zigzag-photo-fallback {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--border-soft));
    border-radius: calc(var(--radius-md) - 2px);
  }

   /* Body scroll lock while the full-screen mobile nav is open (added/removed
   by initMobileNav() in script.js). Lives outside the media query since
   the class itself is only ever added on mobile, but the rule is harmless
   anywhere else. */
  body.nav-lock {
    overflow: hidden;
  }


  /* -------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   Text length varies a great deal between English, Japanese and
   Indonesian, so layouts rely on min-height / grid wrapping rather
   than fixed heights to stay robust at every breakpoint.
   ------------------------------------------------------------------- */
  @media (max-width: 1024px) {

    .lang-switch {
      display: none;
    }

    .logo-mark {
      width: 40px;
      height: 40px;
    }

    .logo-name {
      font-size: 1rem;
    }

    .lang-switch {
      gap: 0;
      padding: 0;
    }

    .about-grid,
    .message-grid {
      grid-template-columns: 1fr;
    }

    .about-visual {
      order: -1;
      max-width: 320px;
      margin-inline: auto;
    }

    .orbit {
      width: 280px;
    }

    .message-portrait {
      width: 160px;
      margin-inline: auto;
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }



  }

  @media (max-width: 860px) {

    /* --- Mobile nav: full-screen takeover panel ---
     Changed from "starts below header + slides/fades via transition"
     to a true full-screen overlay (inset: 0) that centers its content
     with flexbox, so all nav links are visible at once without an
     inner scrollbar. Open/close now play explicit @keyframes animations
     (navFadeIn / navFadeOut) driven by JS adding/removing the
     .is-open / .is-closing classes — see initMobileNav() in script.js. */
    .main-nav {
      position: fixed;
      inset: 0;
      background: var(--color-sand);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: var(--space-lg) var(--container-pad);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      /* not clickable while fully closed */
      overflow-y: auto;
      /* safety net only — kept in case of very small screens */
    }

    .main-nav.is-open {
      visibility: visible;
      pointer-events: auto;
      animation: navFadeIn var(--dur-med) var(--ease) forwards;
    }

    .main-nav.is-closing {
      visibility: visible;
      pointer-events: none;
      /* fading out — no longer interactive */
      animation: navFadeOut var(--dur-med) var(--ease) forwards;
    }

    @keyframes navFadeIn {
      from {
        opacity: 0;
        transform: scale(0.97);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes navFadeOut {
      from {
        opacity: 1;
        transform: scale(1);
      }

      to {
        opacity: 0;
        transform: scale(0.97);
      }
    }

    .main-nav ul {
      flex-direction: column;
      align-items: center;
      gap: var(--space-md);
    }

    .main-nav a {
      font-size: 1.15rem;
    }

    .nav-toggle {
      display: flex;
    }

    .brand-media {
      margin-bottom: -5rem;
    }


    /* Language switcher revealed at the bottom of the full-screen nav overlay */
    .nav-lang-switch {
      display: flex;
      gap: 0.3rem;
      margin-top: var(--space-lg);
      background: var(--color-sand-deep);
      padding: 0.25rem;
      border-radius: var(--radius-pill);
    }

    .brand-panel.is-active {
      grid-template-columns: 1fr;
    }

    .brand-panel.is-active .brand-media {
      order: -1;
    }

    /* Arrows are a desktop affordance; below this width visitors already
       have native touch/swipe scrolling on .services-grid. */
    .carousel-arrow {
      display: none;
    }

    /* Brand-page responsive */
    .bp-menu-grid {
      display: grid;
      grid-template-columns: 2fr 2fr;
    }

    .bp-story-grid {
      display: flex;
      flex-direction: column;
    }

    .bp-story-ayamya {
      padding-left: 0;
    }

    .bp-story-img {
      order: -1;
    }

    .bp-location-card {
      flex-direction: column;
      gap: var(--space-sm);
    }
    /* Cafe-Bintang */
    .bp-location-cards {
      grid-template-columns: 1fr;
    }
    /* Ayam ya */
    .bp-location-split {
      grid-template-columns: 1fr;
    }
    /* Himawari */
    .bp-zigzag-row,
    .bp-zigzag-row.is-reversed {
      display: flex;
      flex-direction: column;
    }

    .bp-menu-grid {
      display: flex;
      flex-direction: column;
    }
  }

  @media (max-width: 640px) {
    .bp-hero {
      min-height: 44vh;
    }

    .bp-hero-content h1 {
      font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .footer-grid {
      grid-template-columns: 1fr;
    }

    .hero {
      min-height: auto;
      padding-block: calc(var(--header-h) + var(--space-lg)) var(--space-2xl);
    }

    /* On narrow screens the text column spans nearly the full width, so the
     overlay needs to be far more opaque overall (and simplified to a
     vertical wash) for the text to stay legible against the photo —
     the desktop center-fade leaves too much exposed detail at the edges
     for how little horizontal margin remains here. */
    .hero-overlay {
      background:
        linear-gradient(180deg, rgba(249, 248, 246, 0.95) 0%, rgba(249, 248, 246, 0.88) 60%, rgba(249, 248, 246, 0.7) 100%);
    }

    .hero-cta {
      flex-direction: column;
      align-items: stretch;
    }

    .header-actions {
      gap: 0.5rem;
    }

    .lang-btn {
      min-width: 2.4rem;
      padding: 0.4rem 0.3rem;
    }

    .bp-zigzag-card {
      max-width: 300px;
    }

    /* keep the slim header from crowding on very narrow screens */
  }

  /* -------------------------------------------------------------------
   13. ACCESSIBILITY: reduced motion
   ------------------------------------------------------------------- */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }

    .scroll-cue {
      animation: none;
    }
  }