  :root{
    --white:#ffffff;
    --off:#fafaf8;
    --light-grey:#f2f2f0;
    --border:#e3e3e0;
    --text:#141414;
    --sub:#6b6b6b;
    --ink:#0d0d0d;
    --navy:#0d0d0d;
    --gold:#c9a95c;
    --gold-soft:#e8dcb8;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
    color:var(--text);
    background:var(--white);
    line-height:1.9;
    font-size:15px;
    -webkit-font-smoothing:antialiased;
    letter-spacing:.02em;
  }
  .sans{font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif}
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
  .container{max-width:1200px;margin:0 auto;padding:0 32px}

  /* B2B Ribbon */
  .ribbon{
    background:var(--ink);color:#fff;text-align:center;
    font-family:"Yu Gothic",sans-serif;font-size:11px;letter-spacing:3px;
    padding:10px 16px;
  }
  .ribbon b{color:var(--gold);margin-right:8px}

  /* Header */
  header{
    position:sticky;top:0;z-index:100;
    background:rgba(255,255,255,0.98);
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(8px);
  }
  .nav{
    display:flex;align-items:center;justify-content:space-between;
    height:80px;max-width:1200px;margin:0 auto;padding:0 32px;
  }
  .logo{font-family:"Yu Gothic",sans-serif;font-size:17px;font-weight:700;letter-spacing:4px;color:var(--ink)}
  .logo small{display:block;font-size:9px;letter-spacing:2px;color:var(--gold);margin-top:2px;font-weight:400}
  .nav ul{display:flex;gap:36px;list-style:none}
  .nav a{font-family:"Yu Gothic",sans-serif;font-size:12px;letter-spacing:2px;color:var(--text);transition:color .2s;font-weight:500}
  .nav a:hover{color:var(--gold)}
  .nav .right{display:flex;align-items:center;gap:24px}
  .lang{display:flex;gap:10px;font-family:"Yu Gothic",sans-serif;font-size:11px;color:var(--sub);letter-spacing:1px}
  .lang a{cursor:pointer;text-decoration:none;color:var(--sub);padding-bottom:2px;transition:color .2s ease}
  .lang a:hover{color:var(--ink)}
  .lang a.active{color:var(--ink);font-weight:700;border-bottom:1px solid var(--gold)}
  .nav-cta{
    display:inline-block;padding:12px 22px;
    background:var(--ink);color:#fff;
    font-family:"Yu Gothic",sans-serif;font-size:11px;
    letter-spacing:2px;transition:background .2s;font-weight:500;
  }
  .nav-cta:hover{background:var(--gold)}
  @media(max-width:980px){
    .nav ul,.lang{display:none}
    .nav{height:68px;padding:0 20px}
  }

  /* Hero */
  .hero{
    position:relative;
    min-height:88vh;
    display:flex;align-items:center;
    padding:120px 32px 100px;
    background:
      radial-gradient(ellipse at top right,#faf7ee 0%,#fff 40%,#f7f5f0 100%);
    overflow:hidden;
  }
  .hero::before{
    content:"";position:absolute;top:0;left:0;right:0;bottom:0;
    background:
      linear-gradient(135deg,transparent 60%,rgba(201,169,92,.04) 100%);
    pointer-events:none;
  }
  .hero-inner{max-width:1200px;margin:0 auto;position:relative;z-index:2}
  .hero .eyebrow{
    display:inline-block;
    font-family:"Yu Gothic",sans-serif;font-size:11px;letter-spacing:5px;
    color:var(--gold);margin-bottom:32px;
    padding:8px 20px;border:1px solid var(--gold);
  }
  .hero h1{
    font-size:64px;font-weight:500;color:var(--ink);
    letter-spacing:6px;margin-bottom:28px;line-height:1.35;
  }
  .hero h1 small{
    display:block;font-size:16px;letter-spacing:4px;
    color:var(--gold);margin-top:20px;font-weight:400;
    font-family:"Yu Gothic",sans-serif;
  }
  .hero-lead{
    max-width:620px;color:var(--sub);font-size:15px;
    margin-bottom:40px;line-height:2;
  }
  .hero-lead em{color:var(--ink);font-style:normal;font-weight:500;border-bottom:1px solid var(--gold);padding-bottom:1px}
  .hero-ctas{display:flex;gap:16px;flex-wrap:wrap}
  .btn{
    display:inline-block;padding:18px 38px;
    font-family:"Yu Gothic",sans-serif;font-size:12px;letter-spacing:3px;
    transition:all .3s;border:1px solid transparent;cursor:pointer;font-weight:500;
  }
  .btn-primary{background:var(--ink);color:#fff;border-color:var(--ink)}
  .btn-primary:hover{background:var(--gold);border-color:var(--gold)}
  .btn-outline{background:transparent;color:var(--ink);border-color:var(--ink)}
  .btn-outline:hover{background:var(--ink);color:#fff}
  @media(max-width:780px){
    .hero{min-height:auto;padding:80px 24px 70px}
    .hero h1{font-size:34px;letter-spacing:3px}
  }

  /* Stats strip */
  .stats{
    background:var(--ink);color:#fff;
    padding:56px 32px;
    display:grid;grid-template-columns:repeat(4,1fr);gap:48px;
    max-width:1200px;margin:-60px auto 0;position:relative;z-index:3;
  }
  .stats .stat{text-align:center}
  .stats .num{
    font-family:"Yu Gothic",sans-serif;
    font-size:46px;font-weight:300;color:var(--gold);
    display:block;line-height:1;margin-bottom:12px;
  }
  .stats .num span{font-size:20px;margin-left:4px;color:var(--gold)}
  .stats .label{font-family:"Yu Gothic",sans-serif;font-size:11px;letter-spacing:3px;opacity:.7}
  @media(max-width:800px){
    .stats{grid-template-columns:repeat(2,1fr);gap:32px;margin:0;padding:40px 24px}
    .stats .num{font-size:34px}
  }

  /* Section */
  section{padding:140px 0}
  .section-head{text-align:center;margin-bottom:80px}
  .section-head .en{
    display:block;font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:5px;color:var(--gold);
    margin-bottom:18px;text-transform:uppercase;
  }
  .section-head h2{
    font-size:38px;color:var(--ink);font-weight:500;letter-spacing:4px;
  }
  .section-head .line{width:30px;height:1px;background:var(--gold);margin:28px auto 0}
  .section-head .desc{
    max-width:600px;margin:24px auto 0;color:var(--sub);font-size:14px;
  }

  /* Philosophy */
  .philosophy-head{text-align:center;margin-bottom:80px}
  .philosophy-quote{
    font-size:30px;color:var(--ink);line-height:1.9;font-weight:500;
    letter-spacing:3px;margin:32px 0;
  }
  .philosophy-quote span{color:var(--gold)}
  .pillars{
    display:grid;grid-template-columns:repeat(4,1fr);gap:2px;
    background:var(--border);
  }
  .pillar{
    background:var(--white);padding:56px 36px;
    transition:background .3s;
  }
  .pillar:hover{background:var(--off)}
  .pillar .no{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:3px;color:var(--gold);
    margin-bottom:16px;display:block;
  }
  .pillar h3{
    font-size:22px;color:var(--ink);margin-bottom:6px;
    font-weight:500;letter-spacing:2px;
  }
  .pillar .jp{font-size:13px;color:var(--sub);margin-bottom:20px;font-family:"Yu Gothic",sans-serif}
  .pillar p{font-size:13px;color:var(--sub);line-height:1.9}
  @media(max-width:900px){.pillars{grid-template-columns:repeat(2,1fr)}}

  /* About */
  #about{background:var(--off)}
  .about-grid{
    display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center;
  }
  .about-visual{
    aspect-ratio:4/5;
    background:
      linear-gradient(160deg,#ede5cd 0%,#fff 40%,#f0ebd8 80%,#1f1f1f 220%);
    position:relative;
    border:1px solid var(--border);
  }
  .about-visual::before{
    content:"和";position:absolute;top:40px;left:40px;
    font-size:100px;color:rgba(31,31,31,.08);font-weight:500;
  }
  .about-visual::after{
    content:"GINZA・TOKYO";position:absolute;bottom:30px;left:40px;
    font-family:"Yu Gothic",sans-serif;font-size:11px;letter-spacing:3px;color:var(--ink);
  }
  .about-text h3{
    font-size:30px;color:var(--ink);margin-bottom:28px;
    font-weight:500;letter-spacing:3px;line-height:1.6;
  }
  .about-text p{color:var(--sub);margin-bottom:18px;font-size:14px;line-height:2}
  .about-text p em{color:var(--ink);font-style:normal;font-weight:500}
  .about-meta{
    margin-top:36px;padding-top:28px;border-top:1px solid var(--border);
    display:grid;grid-template-columns:1fr 1fr;gap:24px;
    font-family:"Yu Gothic",sans-serif;font-size:12px;
  }
  .about-meta dt{color:var(--gold);letter-spacing:2px;margin-bottom:4px}
  .about-meta dd{color:var(--ink);margin-bottom:14px}
  @media(max-width:900px){.about-grid{grid-template-columns:1fr;gap:48px}}

  /* Signature Ingredient */
  #ingredient{
    background:var(--ink);color:#fff;position:relative;overflow:hidden;
  }
  #ingredient::before{
    content:"L-LACTIC";position:absolute;
    font-family:"Yu Gothic",sans-serif;
    font-size:200px;font-weight:900;letter-spacing:30px;
    color:rgba(255,255,255,.03);
    top:50%;left:50%;transform:translate(-50%,-50%);
    white-space:nowrap;pointer-events:none;
  }
  #ingredient .section-head h2{color:#fff}
  #ingredient .section-head .desc{color:rgba(255,255,255,.6)}
  .ingredient-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
    background:rgba(255,255,255,.1);
    position:relative;z-index:2;
  }
  .ing-card{
    background:var(--ink);padding:48px 32px;
    transition:background .3s;
  }
  .ing-card:hover{background:rgba(201,169,92,.08)}
  .ing-card .icon{
    width:48px;height:48px;border:1px solid var(--gold);
    display:flex;align-items:center;justify-content:center;
    color:var(--gold);font-size:18px;margin-bottom:24px;
  }
  .ing-card h4{
    font-family:"Yu Gothic",sans-serif;
    font-size:15px;color:#fff;margin-bottom:12px;
    letter-spacing:2px;font-weight:700;
  }
  .ing-card p{font-size:13px;color:rgba(255,255,255,.6);line-height:1.9}
  @media(max-width:900px){.ingredient-grid{grid-template-columns:1fr 1fr}}

  /* Business / Brand Architecture */
  .brand-architecture{
    display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
    margin-bottom:80px;
  }
  .arch-card{
    background:#fff;border:1px solid var(--border);
    padding:44px 32px;transition:all .3s;position:relative;
  }
  .arch-card::after{
    content:"";position:absolute;bottom:0;left:0;width:0;height:2px;
    background:var(--gold);transition:width .4s;
  }
  .arch-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px rgba(0,0,0,.06)}
  .arch-card:hover::after{width:100%}
  .arch-card .no{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:3px;color:var(--gold);
    display:block;margin-bottom:18px;
  }
  .arch-card h4{
    font-size:20px;color:var(--ink);margin-bottom:8px;
    letter-spacing:2px;font-weight:500;
  }
  .arch-card .sub{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;color:var(--gold);letter-spacing:2px;
    margin-bottom:20px;
  }
  .arch-card p{font-size:12px;color:var(--sub);line-height:1.9}
  @media(max-width:900px){.brand-architecture{grid-template-columns:1fr 1fr}}

  .brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
  .brand-card{
    background:#fff;border:1px solid var(--border);
    padding:56px 48px;transition:all .3s;position:relative;
  }
  .brand-card:hover{border-color:var(--gold);transform:translateY(-4px)}
  .brand-card .kicker{
    font-family:"Yu Gothic",sans-serif;
    font-size:10px;letter-spacing:4px;color:var(--gold);
    margin-bottom:20px;display:block;
  }
  .brand-card h3{
    font-size:40px;color:var(--ink);margin-bottom:12px;
    letter-spacing:4px;font-weight:500;
  }
  .brand-card .tagline{
    font-family:"Yu Gothic",sans-serif;
    font-size:12px;color:var(--sub);margin-bottom:32px;letter-spacing:1px;
  }
  .brand-card p{color:var(--sub);font-size:13px;margin-bottom:28px;line-height:2}
  .brand-card ul{list-style:none;margin-bottom:32px;border-top:1px solid var(--border)}
  .brand-card ul li{
    font-family:"Yu Gothic",sans-serif;
    font-size:12px;color:var(--ink);padding:14px 0;
    border-bottom:1px solid var(--border);
    display:flex;justify-content:space-between;
  }
  .brand-card ul li span{color:var(--gold);font-size:10px;letter-spacing:2px}
  .brand-card a.more{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:3px;color:var(--ink);
    border-bottom:1px solid var(--ink);padding-bottom:3px;
  }
  .brand-card a.more:hover{color:var(--gold);border-color:var(--gold)}
  @media(max-width:900px){.brand-grid{grid-template-columns:1fr}}

  /* B2B Partnership */
  #b2b{
    background:
      linear-gradient(180deg,#fafaf8 0%,#fff 100%);
    position:relative;
  }
  .b2b-header{
    text-align:center;max-width:760px;margin:0 auto 72px;
  }
  .b2b-header h2{
    font-size:40px;color:var(--ink);font-weight:500;letter-spacing:3px;
    margin:20px 0 24px;line-height:1.5;
  }
  .b2b-header h2 em{color:var(--gold);font-style:normal}
  .b2b-header p{color:var(--sub);font-size:14px;line-height:2}

  .partnership-types{
    display:grid;grid-template-columns:repeat(3,1fr);gap:2px;
    background:var(--border);
    border:1px solid var(--border);
    margin-bottom:80px;
  }
  .pt-card{
    background:#fff;padding:56px 40px;transition:background .3s;
  }
  .pt-card:hover{background:var(--off)}
  .pt-card .icon{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:4px;color:var(--gold);
    margin-bottom:24px;display:block;
    border-bottom:1px solid var(--gold);
    padding-bottom:12px;width:fit-content;
  }
  .pt-card h4{
    font-size:22px;color:var(--ink);margin-bottom:16px;
    letter-spacing:2px;font-weight:500;
  }
  .pt-card .for{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;color:var(--sub);margin-bottom:20px;
    letter-spacing:1px;
  }
  .pt-card p{font-size:13px;color:var(--sub);margin-bottom:24px;line-height:2}
  .pt-card .benefits{list-style:none;margin-bottom:28px}
  .pt-card .benefits li{
    font-family:"Yu Gothic",sans-serif;font-size:12px;
    color:var(--ink);padding:6px 0 6px 18px;position:relative;
  }
  .pt-card .benefits li::before{
    content:"";position:absolute;left:0;top:14px;
    width:8px;height:1px;background:var(--gold);
  }
  .pt-card a{
    font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:3px;color:var(--ink);
    border-bottom:1px solid var(--ink);padding-bottom:2px;
  }
  .pt-card a:hover{color:var(--gold);border-color:var(--gold)}
  @media(max-width:900px){.partnership-types{grid-template-columns:1fr}}

  .journey{margin-top:20px}
  .journey-title{
    text-align:center;font-size:26px;color:var(--ink);
    font-weight:500;letter-spacing:3px;margin-bottom:56px;
  }
  .steps{
    display:grid;grid-template-columns:repeat(5,1fr);gap:16px;
    position:relative;
  }
  .step{position:relative;text-align:center;padding:36px 20px}
  .step .no{
    font-family:"Yu Gothic",sans-serif;
    font-size:12px;color:var(--gold);letter-spacing:3px;
    margin-bottom:16px;display:block;
  }
  .step .circle{
    width:72px;height:72px;border-radius:50%;
    border:1px solid var(--border);
    display:flex;align-items:center;justify-content:center;
    margin:0 auto 20px;font-family:"Yu Gothic",sans-serif;
    font-size:22px;color:var(--ink);font-weight:300;
  }
  .step h4{
    font-family:"Yu Gothic",sans-serif;font-size:13px;
    color:var(--ink);margin-bottom:8px;letter-spacing:1px;font-weight:700;
  }
  .step p{font-size:11px;color:var(--sub);font-family:"Yu Gothic",sans-serif}
  @media(max-width:900px){.steps{grid-template-columns:repeat(2,1fr);gap:8px}}

  /* Certification / Barriers */
  #certification{background:var(--off)}
  .cert-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:40px;
  }
  .cert-card{
    background:#fff;border:1px solid var(--border);
    padding:48px 40px;
  }
  .cert-card h4{
    font-size:18px;color:var(--ink);margin-bottom:16px;
    letter-spacing:2px;font-weight:500;
  }
  .cert-card .tag{
    display:inline-block;font-family:"Yu Gothic",sans-serif;
    font-size:10px;letter-spacing:2px;color:var(--gold);
    border:1px solid var(--gold);padding:4px 10px;margin-bottom:18px;
  }
  .cert-card p{font-size:13px;color:var(--sub);line-height:2}

  /* Market / Global */
  #global{background:var(--ink);color:#fff;position:relative;overflow:hidden}
  #global .section-head h2{color:#fff}
  #global .section-head .desc{color:rgba(255,255,255,.6)}
  .markets{
    display:grid;grid-template-columns:repeat(6,1fr);gap:2px;
    background:rgba(255,255,255,.08);
  }
  .market{
    background:var(--ink);padding:40px 24px;text-align:center;
    transition:background .3s;
  }
  .market:hover{background:rgba(201,169,92,.08)}
  .market .flag{font-size:28px;margin-bottom:16px;display:block}
  .market h5{
    font-family:"Yu Gothic",sans-serif;font-size:13px;
    color:#fff;margin-bottom:8px;letter-spacing:2px;
  }
  .market p{font-size:11px;color:rgba(255,255,255,.55);line-height:1.7}
  @media(max-width:900px){.markets{grid-template-columns:repeat(3,1fr)}}
  @media(max-width:600px){.markets{grid-template-columns:repeat(2,1fr)}}

  /* Contact */
  #contact{background:#fff;padding:140px 0 80px}
  .contact-intro{
    text-align:center;max-width:680px;margin:0 auto 72px;
  }
  .contact-intro p{color:var(--sub);line-height:2;font-size:14px}
  .contact-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:40px;
    margin-bottom:80px;
  }
  .contact-card{
    border:1px solid var(--border);padding:56px 36px;text-align:center;
    transition:all .3s;
  }
  .contact-card:hover{border-color:var(--gold);transform:translateY(-4px)}
  .contact-card .cat{
    font-family:"Yu Gothic",sans-serif;
    font-size:10px;letter-spacing:4px;color:var(--gold);
    margin-bottom:18px;display:block;
  }
  .contact-card h4{
    font-size:20px;color:var(--ink);margin-bottom:12px;
    letter-spacing:2px;font-weight:500;
  }
  .contact-card p{font-size:12px;color:var(--sub);margin-bottom:28px;line-height:1.9;font-family:"Yu Gothic",sans-serif}
  .notice{
    max-width:780px;margin:0 auto;
    border:1px solid var(--gold);padding:32px 40px;
    text-align:center;background:#faf7ee;
  }
  .notice h5{
    font-family:"Yu Gothic",sans-serif;
    font-size:12px;letter-spacing:3px;color:var(--gold);margin-bottom:12px;
  }
  .notice p{
    font-family:"Yu Gothic",sans-serif;
    font-size:12px;color:var(--ink);line-height:2;
  }
  @media(max-width:900px){.contact-grid{grid-template-columns:1fr;gap:20px}}

  /* Footer */
  footer{
    background:#0a0a0a;color:rgba(255,255,255,.6);
    padding:80px 32px 40px;
  }
  .footer-grid{
    max-width:1200px;margin:0 auto;
    display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:48px;
    padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.08);
  }
  .footer-grid h5{
    color:#fff;font-family:"Yu Gothic",sans-serif;
    font-size:11px;letter-spacing:3px;
    margin-bottom:24px;font-weight:700;
  }
  .footer-grid ul{list-style:none}
  .footer-grid ul li{margin-bottom:12px;font-size:12px;font-family:"Yu Gothic",sans-serif}
  .footer-grid ul li a:hover{color:var(--gold)}
  .footer-brand{
    font-family:"Yu Gothic",sans-serif;
    font-size:20px;color:#fff;font-weight:700;letter-spacing:4px;margin-bottom:8px;
  }
  .footer-brand small{display:block;font-size:9px;color:var(--gold);letter-spacing:2px;margin-top:4px;font-weight:400}
  .footer-grid p{font-size:11px;line-height:2;font-family:"Yu Gothic",sans-serif;margin-top:16px}
  .copy{
    max-width:1200px;margin:0 auto;padding-top:28px;
    display:flex;justify-content:space-between;font-size:10px;
    color:rgba(255,255,255,.35);font-family:"Yu Gothic",sans-serif;letter-spacing:1px;
  }
  @media(max-width:900px){
    .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
    .copy{flex-direction:column;gap:10px;text-align:center}
  }

/* ===================================================================
   Scroll-reveal & Interactive States (used by script.js)
=================================================================== */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .9s ease,transform .9s ease;}
.reveal.is-visible{opacity:1;transform:none;}
header.is-scrolled, nav.is-scrolled{box-shadow:0 2px 24px rgba(20,20,20,.06);}
.nav-links.is-open{display:flex !important;}

/* ===================================================================
   Readability Optimization Layer
   — Tighter rhythm, consistent measure, mobile-first responsive type
=================================================================== */

/* Section rhythm: give the page breathing room without feeling hollow */
section{padding:110px 0;}
.section-head{margin-bottom:64px;}
.section-head h2{line-height:1.5;}
.section-head .desc{line-height:2;max-width:640px;}

/* Constrain text measure for comfortable reading (Japanese ~30–38 char/line) */
.about-text p,
.b2b-header p,
.contact-intro p,
.philosophy-origin p,
.hero-lead{
  max-width:62ch;
}
.about-text p{margin-left:0;margin-right:0;}
.b2b-header p,.contact-intro p{margin-left:auto;margin-right:auto;}

/* Philosophy quote: slightly smaller, more airy */
.philosophy-quote{font-size:26px;line-height:2;letter-spacing:2px;}

/* Origin card: lighten the heavy shadow and tighten padding */
.philosophy-origin{
  box-shadow:0 4px 20px rgba(13,13,13,.04) !important;
  border-radius:4px !important;
}

/* Lineup cards: make heights consistent and tighten body text */
.lineup-card{display:flex;flex-direction:column;}
.lineup-card > div:last-child{flex:1;display:flex;flex-direction:column;}
.lineup-card p{flex:1;}
.lineup-card h4{line-height:1.45 !important;}

/* CSR cards: consistent vertical alignment */
.csr-card{display:flex;flex-direction:column;}
.csr-card p{line-height:1.95 !important;}

/* Hero: improve readability on all sizes */
.hero .eyebrow{font-size:10px;letter-spacing:4px;padding:7px 18px;}
.hero h1{letter-spacing:4px;line-height:1.4;}
.hero-lead{font-size:15.5px;line-height:2.1;}

/* Stats strip: more balanced weight */
.stats .num{font-size:42px;}
.stats .label{letter-spacing:2.5px;line-height:1.8;}

/* Pillars: ensure each pillar has room to breathe */
.pillar{padding:52px 32px;}
.pillar p{line-height:2;}

/* Partnership cards: align body text baseline */
.pt-card{display:flex;flex-direction:column;}
.pt-card p{flex:0 0 auto;}
.pt-card .benefits{flex:1;}

/* Journey steps: better horizontal rhythm on medium screens */
.steps{gap:20px;}
.step .circle{width:64px;height:64px;font-size:20px;}

/* Certification cards: softer padding */
.cert-card{padding:44px 36px;}
.cert-card p{line-height:2;}

/* Footer: comfortable baseline */
.footer-grid ul li{line-height:2;}
.footer-grid p{line-height:2;font-size:12px;}

/* ---------- Tablet (≤980px) ---------- */
@media(max-width:980px){
  section{padding:80px 0;}
  .section-head{margin-bottom:48px;}
  .section-head h2{font-size:30px;letter-spacing:3px;}
  .section-head .desc{font-size:13.5px;}
  .container{padding:0 24px;}
  .philosophy-quote{font-size:22px;letter-spacing:1.5px;}
  .philosophy-origin{padding:32px 28px !important;}
  .about-text h3{font-size:25px;line-height:1.5;}
  .brand-card h3{font-size:32px;}
  .brand-card{padding:44px 32px;}
  .b2b-header h2{font-size:30px;line-height:1.5;}
  .journey-title{font-size:22px;}
}

/* ---------- Mobile (≤680px) ---------- */
@media(max-width:680px){
  body{font-size:14.5px;line-height:1.95;}
  section{padding:64px 0;}
  .container{padding:0 20px;}
  .ribbon{font-size:10px;letter-spacing:2px;padding:8px 14px;}

  /* Hero */
  .hero{padding:64px 20px 56px;}
  .hero h1{font-size:30px;letter-spacing:2px;line-height:1.45;}
  .hero h1 small{font-size:12px;letter-spacing:2px;margin-top:14px;}
  .hero-lead{font-size:14.5px;line-height:2;margin-bottom:32px;}
  .hero-ctas{flex-direction:column;align-items:stretch;gap:12px;}
  .btn{width:100%;text-align:center;padding:16px 24px;}

  /* Stats */
  .stats{padding:32px 20px;gap:24px;}
  .stats .num{font-size:28px;}
  .stats .label{font-size:10px;letter-spacing:2px;}

  /* Section heads */
  .section-head{margin-bottom:40px;}
  .section-head .en{font-size:10px;letter-spacing:3px;margin-bottom:12px;}
  .section-head h2{font-size:24px;letter-spacing:2px;line-height:1.55;}
  .section-head .desc{font-size:13px;margin-top:18px;line-height:1.95;}

  /* Philosophy */
  .philosophy-quote{font-size:19px;line-height:1.95;letter-spacing:1px;margin:24px 0;}
  .philosophy-origin{padding:26px 22px !important;margin:32px auto 40px !important;}
  .philosophy-origin h3{font-size:20px !important;line-height:1.55 !important;margin-bottom:16px !important;}
  .philosophy-origin p{font-size:14px !important;line-height:2 !important;}
  .pillar{padding:36px 24px;}
  .pillar h3{font-size:19px;}

  /* About */
  .about-grid{gap:32px !important;}
  .about-visual{aspect-ratio:3/2;}
  .about-text h3{font-size:22px;letter-spacing:1px;line-height:1.55;}
  .about-text p{font-size:13.5px;line-height:1.95;}
  .about-meta{grid-template-columns:1fr;gap:12px;}

  /* Ingredient */
  .ing-card{padding:36px 26px;}
  .ing-card h4{font-size:14px;}
  #ingredient::before{font-size:90px;letter-spacing:10px;}

  /* Business */
  .brand-architecture{grid-template-columns:1fr !important;gap:16px !important;margin-bottom:56px;}
  .arch-card{padding:32px 26px;}
  .arch-card h4{font-size:18px;}
  .brand-card{padding:36px 26px;}
  .brand-card h3{font-size:26px;letter-spacing:2px;}
  .brand-card .tagline{font-size:11px;margin-bottom:22px;}

  /* Lineup */
  .lineup-feature{margin:0 auto 36px !important;}
  .lineup-feature > div > div:last-child{padding:28px 22px 32px !important;}
  .lineup-feature h3{font-size:22px !important;}
  .lineup-grid{gap:20px !important;}
  .lineup-card > div:last-child{padding:26px 22px 30px !important;}
  .lineup-card h4{font-size:18px !important;}

  /* B2B */
  .b2b-header{margin-bottom:48px;}
  .b2b-header h2{font-size:24px;line-height:1.55;letter-spacing:2px;}
  .b2b-header p{font-size:13.5px;}
  .pt-card{padding:40px 28px;}
  .pt-card h4{font-size:19px;}
  .steps{grid-template-columns:1fr 1fr;gap:12px;}
  .step{padding:24px 12px;}
  .step .circle{width:56px;height:56px;font-size:18px;}
  .journey-title{font-size:19px;letter-spacing:2px;margin-bottom:36px;}

  /* Certification */
  .cert-grid{grid-template-columns:1fr;gap:20px;}
  .cert-card{padding:36px 28px;}

  /* CSR */
  .csr-grid{gap:20px !important;}
  .csr-card{padding:32px 24px !important;}
  .csr-card div[style*="54px"]{font-size:42px !important;}
  .csr-card div[style*="38px"]{font-size:30px !important;}
  .csr-card h4{font-size:16px !important;}
  .csr-pledge{padding:28px 22px !important;margin-top:36px !important;}
  .csr-pledge p{font-size:15px !important;line-height:1.9 !important;}

  /* Global */
  .main-markets{grid-template-columns:1fr !important;gap:16px !important;}
  .main-markets .market{padding:36px 22px !important;}
  .main-markets h5{font-size:22px !important;}
  .market .flag{font-size:22px;margin-bottom:10px;}

  /* Contact */
  #contact{padding:64px 0 40px;}
  .contact-intro{margin-bottom:48px;}
  .contact-card{padding:40px 26px;}
  .contact-card h4{font-size:17px;}
  .notice{padding:24px 22px;}

  /* Footer */
  footer{padding:56px 20px 32px;}
  .footer-grid{gap:32px;padding-bottom:40px;}
  .footer-brand{font-size:17px;}
}

/* ---------- Small mobile (≤420px) ---------- */
@media(max-width:420px){
  .hero h1{font-size:26px;letter-spacing:1.5px;}
  .section-head h2{font-size:22px;}
  .stats{grid-template-columns:1fr 1fr;gap:20px;}
  .stats .num{font-size:26px;}
}

/* ===================================================================
   Typography Refinement Layer v2
   — 全体的な文字組の最適化 / Japanese-first readability pass
   ・letter-spacing を本文では抑え、見出しのみで広げる
   ・段落間の余白を統一（rhythm）
   ・text measure（行長）を日本語に最適化
   ・見出しと本文の階層差を明確化
=================================================================== */

/* --- Base rhythm ---------------------------------------------------- */
body{
  font-size:15.5px;
  line-height:1.95;
  letter-spacing:.03em;
  text-rendering:optimizeLegibility;
  font-feature-settings:"palt" 1; /* 日本語の詰め組み */
}

/* 段落の統一リズム */
p{margin-bottom:1.1em;}
p:last-child{margin-bottom:0;}

/* 見出しは広めに、本文は詰める */
h1,h2,h3,h4,h5{
  font-feature-settings:"palt" 1;
  text-wrap:balance;
}

/* --- Hero ----------------------------------------------------------- */
.hero{padding:116px 32px 104px;}
.hero-inner{padding:0 8px;}
.hero .eyebrow{margin-bottom:28px;}
.hero h1{
  font-size:58px;
  letter-spacing:.14em;
  line-height:1.42;
  margin-bottom:30px;
  max-width:18ch;
}
.hero h1 small{
  letter-spacing:.18em;
  line-height:1.7;
  margin-top:22px;
}
.hero-lead{
  font-size:15.5px;
  line-height:2.05;
  letter-spacing:.035em;
  max-width:34em;
  margin-bottom:42px;
}

/* --- Stats ---------------------------------------------------------- */
.stats{padding:54px 40px;gap:40px;}
.stats .num{font-size:44px;letter-spacing:.02em;}
.stats .label{
  font-size:11px;
  letter-spacing:.22em;
  line-height:1.8;
  opacity:.72;
}

/* --- Section heads -------------------------------------------------- */
.section-head{margin-bottom:68px;}
.section-head .en{
  font-size:10.5px;
  letter-spacing:.4em;
  margin-bottom:16px;
}
.section-head h2{
  font-size:36px;
  letter-spacing:.18em;
  line-height:1.5;
}
.section-head .line{margin:26px auto 0;}
.section-head .desc{
  font-size:14px;
  line-height:1.95;
  letter-spacing:.04em;
  max-width:36em;
  margin:22px auto 0;
}

/* --- Philosophy ----------------------------------------------------- */
.philosophy-quote{
  font-size:26px;
  line-height:1.95;
  letter-spacing:.14em;
  max-width:22em;
  margin:30px auto;
  text-align:center;
}
.philosophy-origin p{
  font-size:14.5px;
  line-height:2.05;
  letter-spacing:.035em;
}

/* Pillars */
.pillar{padding:54px 34px;}
.pillar .no{letter-spacing:.25em;margin-bottom:14px;}
.pillar h3{
  font-size:21px;
  letter-spacing:.12em;
  line-height:1.55;
  margin-bottom:6px;
}
.pillar .jp{font-size:12.5px;letter-spacing:.05em;margin-bottom:18px;}
.pillar p{
  font-size:13px;
  line-height:1.95;
  letter-spacing:.03em;
}

/* --- About ---------------------------------------------------------- */
.about-grid{gap:72px;}
.about-text h3{
  font-size:28px;
  letter-spacing:.14em;
  line-height:1.6;
  margin-bottom:26px;
  max-width:18em;
}
.about-text p{
  font-size:14px;
  line-height:2.05;
  letter-spacing:.035em;
  margin-bottom:16px;
  max-width:34em;
}
.about-meta{
  margin-top:34px;
  padding-top:26px;
  gap:22px;
  font-size:12px;
}
.about-meta dt{letter-spacing:.18em;margin-bottom:5px;}
.about-meta dd{margin-bottom:12px;line-height:1.7;}

/* --- Ingredient ----------------------------------------------------- */
.ing-card{padding:46px 32px;}
.ing-card h4{
  font-size:14.5px;
  letter-spacing:.14em;
  line-height:1.6;
  margin-bottom:14px;
}
.ing-card p{
  font-size:12.5px;
  line-height:1.95;
  letter-spacing:.03em;
}

/* --- Business / Architecture --------------------------------------- */
.brand-architecture{gap:22px;margin-bottom:72px;}
.arch-card{padding:42px 30px;}
.arch-card .no{letter-spacing:.25em;margin-bottom:16px;}
.arch-card h4{
  font-size:19px;
  letter-spacing:.12em;
  line-height:1.55;
  margin-bottom:8px;
}
.arch-card .sub{
  font-size:10.5px;
  letter-spacing:.2em;
  margin-bottom:18px;
}
.arch-card p{
  font-size:12.5px;
  line-height:2;
  letter-spacing:.03em;
}

.brand-grid{gap:28px;}
.brand-card{padding:54px 46px;}
.brand-card .kicker{letter-spacing:.35em;margin-bottom:18px;}
.brand-card h3{
  font-size:38px;
  letter-spacing:.22em;
  line-height:1.45;
  margin-bottom:10px;
}
.brand-card .tagline{
  font-size:12px;
  letter-spacing:.1em;
  line-height:1.75;
  margin-bottom:28px;
}
.brand-card p{
  font-size:13px;
  line-height:2.05;
  letter-spacing:.03em;
  margin-bottom:26px;
  max-width:34em;
}
.brand-card ul li{
  font-size:12px;
  letter-spacing:.05em;
  padding:13px 0;
  line-height:1.6;
}

/* --- B2B ------------------------------------------------------------ */
.b2b-header{margin-bottom:68px;}
.b2b-header h2{
  font-size:38px;
  letter-spacing:.14em;
  line-height:1.5;
  margin:20px 0 22px;
  max-width:20em;
  margin-left:auto;margin-right:auto;
}
.b2b-header p{
  font-size:14px;
  line-height:2.05;
  letter-spacing:.035em;
  max-width:36em;
}

.pt-card{padding:54px 40px;}
.pt-card .icon{
  font-size:10.5px;
  letter-spacing:.35em;
  margin-bottom:22px;
  padding-bottom:12px;
}
.pt-card h4{
  font-size:21px;
  letter-spacing:.12em;
  line-height:1.55;
  margin-bottom:14px;
}
.pt-card .for{
  font-size:11px;
  letter-spacing:.08em;
  line-height:1.7;
  margin-bottom:18px;
}
.pt-card p{
  font-size:13px;
  line-height:2.05;
  letter-spacing:.03em;
  margin-bottom:22px;
}
.pt-card .benefits li{
  font-size:12px;
  letter-spacing:.05em;
  line-height:1.75;
  padding:6px 0 6px 18px;
}

/* Journey steps */
.journey-title{
  font-size:25px;
  letter-spacing:.14em;
  line-height:1.55;
  margin-bottom:54px;
}
.step{padding:32px 18px;}
.step .no{letter-spacing:.25em;margin-bottom:14px;}
.step h4{
  font-size:13px;
  letter-spacing:.08em;
  line-height:1.55;
  margin-bottom:8px;
}
.step p{
  font-size:11px;
  line-height:1.75;
  letter-spacing:.02em;
}

/* --- Certification -------------------------------------------------- */
.cert-grid{gap:36px;}
.cert-card{padding:46px 38px;}
.cert-card h4{
  font-size:18px;
  letter-spacing:.12em;
  line-height:1.55;
  margin-bottom:16px;
}
.cert-card .tag{
  font-size:10px;
  letter-spacing:.2em;
  margin-bottom:18px;
}
.cert-card p{
  font-size:13px;
  line-height:2.05;
  letter-spacing:.03em;
}

/* --- Global / Markets ---------------------------------------------- */
.market{padding:40px 24px;}
.market .flag{margin-bottom:14px;}
.market h5{
  font-size:13px;
  letter-spacing:.14em;
  line-height:1.55;
  margin-bottom:8px;
}
.market p{
  font-size:11px;
  line-height:1.75;
  letter-spacing:.02em;
}

/* --- Contact -------------------------------------------------------- */
.contact-intro{margin-bottom:64px;}
.contact-intro p{
  font-size:14px;
  line-height:2.05;
  letter-spacing:.035em;
  max-width:36em;
  margin:0 auto;
  margin:0 auto;
}
.contact-grid{gap:32px;margin-bottom:72px;}
.contact-card{padding:54px 34px;}
.contact-card .cat{letter-spacing:.35em;margin-bottom:18px;}
.contact-card h4{
  font-size:19px;
  letter-spacing:.12em;
  line-height:1.55;
  margin-bottom:12px;
}
.contact-card p{
  font-size:12px;
  line-height:1.95;
  letter-spacing:.03em;
  margin-bottom:26px;
}
.notice{padding:30px 38px;}
.notice h5{
  font-size:11.5px;
  letter-spacing:.25em;
  line-height:1.6;
  margin-bottom:12px;
}
.notice p{
  font-size:12px;
  line-height:2.05;
  letter-spacing:.04em;
  max-width:52em;
  margin:0 auto;
}

/* --- Footer --------------------------------------------------------- */
.footer-grid{gap:44px;padding-bottom:52px;}
.footer-grid h5{
  font-size:11px;
  letter-spacing:.25em;
  line-height:1.7;
  margin-bottom:22px;
}
.footer-grid ul li{
  font-size:12px;
  letter-spacing:.03em;
  line-height:2;
  margin-bottom:10px;
}
.footer-grid p{
  font-size:11.5px;
  line-height:2;
  letter-spacing:.03em;
  margin-top:14px;
}
.footer-brand{
  font-size:19px;
  letter-spacing:.25em;
  line-height:1.5;
}

/* --- Tablet refinement --------------------------------------------- */
@media(max-width:980px){
  .hero{padding:90px 28px 78px;}
  .hero h1{font-size:42px;letter-spacing:.1em;}
  .hero-lead{font-size:15px;}
  .section-head h2{font-size:30px;letter-spacing:.14em;}
  .b2b-header h2{font-size:30px;}
  .brand-card h3{font-size:32px;letter-spacing:.18em;}
  .about-text h3{font-size:25px;}
  .philosophy-quote{font-size:22px;letter-spacing:.1em;}
}

/* --- Mobile refinement --------------------------------------------- */
@media(max-width:680px){
  body{font-size:14.5px;line-height:1.9;letter-spacing:.02em;}
  p{margin-bottom:1em;}

  .hero{padding:72px 22px 60px;}
  .hero h1{font-size:28px;letter-spacing:.08em;line-height:1.5;}
  .hero h1 small{font-size:11.5px;letter-spacing:.12em;margin-top:14px;}
  .hero-lead{font-size:14px;line-height:1.95;margin-bottom:32px;}

  .section-head{margin-bottom:44px;}
  .section-head .en{letter-spacing:.3em;}
  .section-head h2{font-size:23px;letter-spacing:.1em;line-height:1.55;}
  .section-head .desc{font-size:13px;line-height:1.9;}

  .philosophy-quote{font-size:18.5px;letter-spacing:.06em;line-height:1.9;}
  .pillar{padding:40px 26px;}
  .pillar h3{font-size:18px;letter-spacing:.08em;}
  .pillar p{font-size:12.5px;line-height:1.9;}

  .about-text h3{font-size:21px;letter-spacing:.08em;}
  .about-text p{font-size:13.5px;line-height:1.9;}

  .brand-card{padding:38px 26px;}
  .brand-card h3{font-size:26px;letter-spacing:.14em;}
  .brand-card p{font-size:12.5px;line-height:1.95;}

  .b2b-header h2{font-size:23px;letter-spacing:.08em;line-height:1.6;}
  .b2b-header p{font-size:13px;line-height:1.95;}
  .pt-card{padding:40px 26px;}
  .pt-card h4{font-size:18px;letter-spacing:.08em;}
  .pt-card p{font-size:12.5px;line-height:1.95;}

  .cert-card{padding:36px 26px;}
  .cert-card p{font-size:12.5px;line-height:1.95;}

  .contact-intro p{font-size:13px;line-height:1.95;max-width:100%;}
  .contact-card{padding:38px 24px;}
  .notice{padding:24px 22px;}
  .notice p{font-size:11.5px;line-height:1.95;}

  .footer-grid{gap:32px;padding-bottom:40px;}
  .footer-grid ul li{font-size:11.5px;line-height:1.9;}
}

/* --- Small mobile --------------------------------------------------- */
@media(max-width:420px){
  .hero h1{font-size:24px;letter-spacing:.06em;}
  .section-head h2{font-size:21px;letter-spacing:.08em;}
  .philosophy-quote{font-size:17px;}
  .brand-card h3{font-size:23px;}
}

/* B2B stat - uses #b2b-num ID to completely bypass .stats .num Yu Gothic rule */
#b2b-num{font-family:"Cormorant Garamond",Georgia,serif!important;}
@media(max-width:800px){
  #b2b-num{font-size:34px!important;}
}

/* Nav CTA - ensure white text */
.nav-cta{color:#fff!important;background:var(--ink)!important;}
@media(max-width:980px){
  .nav-cta{font-size:10px;padding:10px 16px;letter-spacing:1.5px;}
  .lang{display:flex!important;gap:8px;margin-left:12px;}
}

/* Contact section title/heading white text fix */
#contact .section-head h2{color:#0d0d0d;}
#contact .section-head .en{color:var(--gold);}

/* ===================================================================
   Layout Correction Layer v3
   — Fixes for nav wrapping, hero height, stats clipping,
     about visual, mobile menu, page rhythm
=================================================================== */

/* --- Nav: prevent awkward Japanese/CJK wrapping --- */
.logo small{ white-space:nowrap; }
.lang a{ white-space:nowrap; }
.nav-cta{ white-space:nowrap !important; line-height:1.2; }

/* Nav right cluster never collapses */
.nav .right{ flex-wrap:nowrap; flex-shrink:0; }

/* Desktop nav: tighten so 8 nav links + CTA + lang all fit in one line
   regardless of viewport width. Previous behavior caused the CTA to
   overlap the CONTACT link between ~1200–1500px. */
@media(min-width:981px){
  .nav{ max-width:1320px; gap:24px; }
  .nav ul{ gap:22px; }
  .nav a{ font-size:11.5px; letter-spacing:1.5px; }
  .nav .right{ gap:18px; }
  .nav-cta{ padding:11px 18px; font-size:10.5px; letter-spacing:1.5px; }
}
@media(min-width:981px) and (max-width:1180px){
  .nav ul{ gap:18px; }
  .nav a{ font-size:11px; letter-spacing:1.2px; }
}

/* --- Hamburger button (hidden on desktop) --- */
.nav-toggle{
  display:none;
  background:transparent; border:0; cursor:pointer;
  width:42px; height:42px; padding:8px;
  align-items:center; justify-content:center;
  margin-left:6px;
}
.nav-toggle span{
  display:block; width:24px; height:1.5px; background:var(--ink); position:relative;
  transition:background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after{
  content:""; position:absolute; left:0; width:24px; height:1.5px; background:var(--ink);
  transition:transform .25s ease, top .25s ease;
}
.nav-toggle span::before{ top:-7px; }
.nav-toggle span::after{ top:7px; }
.nav-toggle[aria-expanded="true"] span{ background:transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

/* --- Mobile menu (≤980px) --- */
@media(max-width:980px){
  .nav-toggle{ display:inline-flex; }

  /* The drawer is position:fixed and needs the viewport as its
     containing block. The base header rule (top of file) sets
     backdrop-filter:blur(8px), which in WebKit establishes a
     containing block and traps the drawer. Force it off here. */
  header{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-links{
    display:none !important;
    position:fixed; top:0; right:0; bottom:0;
    width:min(78vw, 340px);
    background:rgba(255,255,255,0.98); backdrop-filter:blur(12px);
    flex-direction:column; gap:0;
    padding:100px 28px 120px;  /* bottom padding leaves room for sticky CTA */
    list-style:none;
    box-shadow:-16px 0 40px rgba(0,0,0,.10);
    overflow-y:auto;
    z-index:120;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.is-open{
    display:flex !important;
    transform: translateX(0);
  }
  .nav-links li{ border-bottom:1px solid var(--border); }
  .nav-links li:last-child{ border-bottom:0; }
  .nav-links a{
    display:block; padding:16px 4px;
    font-size:13px; letter-spacing:2px;
    font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  }

  /* Mobile drawer CTA: pinned to the bottom of the drawer via
     position:absolute so it's always visible without scrolling,
     even when the nav-links list overflows the viewport. */
  .nav-links .nav-cta-mobile{
    position:absolute;
    left:28px; right:28px; bottom:28px;
    border-bottom:0 !important;
    margin:0;
    list-style:none;
  }
  .nav-links .nav-cta-mobile a{
    display:block;
    text-align:center;
    background:var(--ink);
    color:#fff !important;
    padding:18px 14px;
    letter-spacing:3px;
    font-size:12.5px;
    border:1px solid var(--ink);
    transition: background .25s ease, color .25s ease, transform .15s ease;
  }
  .nav-links .nav-cta-mobile a:active{
    transform: scale(0.98);
    background:var(--gold);
    color:#fff !important;
    border-color:var(--gold);
  }

  /* Backdrop that fades in when the drawer opens */
  .nav-backdrop{
    position:fixed; inset:0;
    background:rgba(8,8,12,.42);
    opacity:0; pointer-events:none;
    transition: opacity .28s ease;
    z-index:115;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .nav-backdrop.is-visible{
    opacity:1; pointer-events:auto;
  }

  /* Sticky header sits above the drawer so the close (×) button
     stays tappable while the drawer is open. */
  header{ z-index:130; }
}

/* Desktop never needs the cloned mobile CTA */
@media(min-width:981px){
  .nav-cta-mobile{ display:none !important; }
}

/* --- Mobile header refinement (≤680px) --- */
@media(max-width:680px){
  .ribbon{ font-size:9.5px; letter-spacing:1.5px; padding:7px 10px; }
  .nav{ height:60px; padding:0 14px; gap:8px; }
  .logo{ font-size:13.5px; letter-spacing:2.5px; }
  .logo small{ font-size:8px; letter-spacing:1.2px; margin-top:1px; }
  .nav .right{ gap:10px; }
  .nav-cta{ font-size:9.5px !important; padding:8px 11px !important; letter-spacing:1px !important; }
  .lang{ gap:7px !important; font-size:10px; margin-left:0 !important; }
}

/* --- Very small screens: drop the CTA (contact still reachable from menu/hero) --- */
@media(max-width:430px){
  .nav-cta{ display:none !important; }
}

/* --- Hero: tame the absurd vertical height --- */
.hero{ min-height:auto !important; padding:96px 32px 100px !important; }
@media(max-width:980px){ .hero{ padding:72px 24px 76px !important; } }
@media(max-width:680px){ .hero{ padding:56px 20px 60px !important; } }

/* --- Top banner: fullscreen hero video --- */
/* ribbon (~40px) + sticky header (80px) sit above the banner, so subtract
   their combined height so the banner fills exactly the remaining viewport. */
.top-banner > div{
  aspect-ratio:auto !important;
  height:calc(100vh - 120px) !important;
  height:calc(100dvh - 120px) !important;
  max-height:none !important;
  min-height:480px;
}
@media(max-width:980px){
  .top-banner > div{
    height:calc(100vh - 108px) !important;
    height:calc(100dvh - 108px) !important;
    min-height:440px;
  }
}
@media(max-width:680px){
  .top-banner > div{
    height:calc(100vh - 88px) !important;
    height:calc(100dvh - 88px) !important;
    min-height:380px;
  }
}

/* --- Stats: replace the brittle negative-margin overlap --- */
.stats{
  margin:56px auto 0 !important;
  padding:52px 40px !important;
  align-items:center;
}
@media(max-width:680px){
  .stats{ margin:24px auto 0 !important; padding:36px 22px !important; gap:22px !important; }
}

/* --- About visual: real photo instead of empty colored box --- */
.about-visual{
  position:relative;
  background:#1a1a1a;
  border:0;
  overflow:hidden;
}
.about-visual img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.about-visual::before{
  content:"和";
  position:absolute; top:32px; left:36px;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:96px; font-weight:500;
  color:rgba(255,255,255,0.22);
  z-index:2; line-height:1;
  text-shadow:0 2px 18px rgba(0,0,0,.25);
}
.about-visual::after{
  content:"GINZA・TOKYO";
  position:absolute; bottom:28px; left:36px;
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  font-size:11px; letter-spacing:.32em;
  color:#fff;
  z-index:2;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}

/* --- Section vertical rhythm: less hollow --- */
section{ padding:96px 0; }
@media(max-width:980px){ section{ padding:72px 0; } }
@media(max-width:680px){ section{ padding:54px 0; } }

/* --- Brand cards stack a bit earlier --- */
@media(max-width:980px){
  .brand-grid{ grid-template-columns:1fr; gap:24px; }
}

/* --- Pillars: 2x2 grid on tablets --- */
@media(max-width:980px) and (min-width:601px){
  .pillars{ grid-template-columns:repeat(2,1fr); }
}

/* --- Global section flags: tone down emoji color --- */
.market .flag{ filter:saturate(0.55) brightness(1.05); opacity:.92; }

/* --- Sakura Ritual Gallery: hover interaction ---
   Each image sits in a wrapper with overflow:hidden + border-radius.
   On hover: image scales up inside the frame (no layout shift) +
   wrapper lifts with a soft gold-tinted glow + subtle brightness boost. */
#ritual .container > div[style*="overflow:hidden"],
#ritual .container > div > div[style*="overflow:hidden"]{
  cursor: pointer;
  transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .55s ease;
  will-change: transform;
  position: relative;
}
#ritual .container img{
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .4s ease;
  will-change: transform;
}
#ritual .container > div[style*="overflow:hidden"]:hover img,
#ritual .container > div > div[style*="overflow:hidden"]:hover img{
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.05);
}
#ritual .container > div[style*="overflow:hidden"]:hover,
#ritual .container > div > div[style*="overflow:hidden"]:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(201,169,92,.18), 0 4px 14px rgba(0,0,0,.4);
  z-index: 2;
}

/* --- Partnership card actions: stack two CTA links --- */
.pt-actions{ display:flex; flex-direction:column; gap:10px; margin-top:auto; }
.pt-actions a{
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  font-size:11px; letter-spacing:.18em; line-height:1.5;
  padding-bottom:2px; border-bottom:1px solid var(--ink); color:var(--ink);
  align-self:flex-start;
}
.pt-actions a.pt-link-detail{
  color:var(--gold); border-bottom-color:var(--gold);
}
.pt-actions a:hover{ color:var(--gold); border-bottom-color:var(--gold); }

/* ===================================================================
   Subpage layout — partnership detail pages (salon-certification,
   overseas-buyers, etc.) sharing the main-site header/footer/styling.
=================================================================== */

/* Hero */
.subpage-hero{
  background:linear-gradient(180deg,#fafaf8 0%,#fff 100%);
  padding:84px 32px 60px;
  border-bottom:1px solid var(--border);
}
.subpage-hero .container{ max-width:980px; margin:0 auto; }
.breadcrumb{
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  font-size:10.5px; letter-spacing:.22em; color:var(--sub);
  margin-bottom:32px;
}
.breadcrumb a{ color:var(--sub); transition:color .2s; }
.breadcrumb a:hover{ color:var(--gold); }
.breadcrumb em{ color:var(--ink); font-style:normal; }
.breadcrumb span.sep{ margin:0 10px; color:var(--border); }
.subpage-hero .eyebrow{
  display:inline-block;
  font-family:"Yu Gothic",sans-serif;
  font-size:11px; letter-spacing:.42em; color:var(--gold);
  margin-bottom:20px;
}
.subpage-hero h1{
  font-size:34px; line-height:1.5; letter-spacing:.14em;
  color:var(--ink); font-weight:500; margin:0 0 18px;
}
.subpage-hero .lead{
  font-family:"Yu Gothic",sans-serif;
  font-size:13.5px; color:var(--sub); letter-spacing:.06em;
  margin:0;
}

/* Sections */
.subpage-section{ padding:64px 0; }
.subpage-section .container{ max-width:980px; margin:0 auto; padding:0 32px; }
.subpage-head{
  display:flex; align-items:baseline; gap:22px;
  margin-bottom:30px; padding-bottom:14px;
  border-bottom:1px solid var(--gold);
}
.subpage-head .sec-num{
  font-family:"Yu Gothic",sans-serif;
  font-size:11px; letter-spacing:.4em; color:var(--gold);
  flex-shrink:0;
}
.subpage-head h2{
  font-size:22px; font-weight:500; letter-spacing:.12em;
  color:var(--ink); margin:0;
}
.subpage-section > .container > p{
  color:var(--sub); font-size:14px; line-height:2;
  margin-bottom:16px; max-width:760px;
}
.subpage-section .note{
  font-size:12.5px; color:#999; font-style:italic;
  margin-top:8px;
}

/* Statement section (centered) */
.subpage-statement{
  text-align:center; padding:80px 0 56px;
  background:var(--off);
}
.subpage-statement h2{
  font-size:24px; font-weight:500; letter-spacing:.08em;
  line-height:1.8; color:var(--ink); margin:0 0 24px;
}
.subpage-statement p{
  max-width:720px; margin:0 auto;
  font-size:14px; color:var(--sub); line-height:2.05;
}

/* Callout */
.subpage-callout{
  background:#faf7ee;
  border-left:3px solid var(--gold);
  padding:22px 28px;
  font-size:13.5px; line-height:1.95; color:#444;
  margin:24px 0;
}
.subpage-callout .label{
  display:inline-block;
  font-family:"Yu Gothic",sans-serif;
  font-size:10.5px; font-weight:700; letter-spacing:.24em;
  color:var(--gold); margin-right:14px;
}
.subpage-callout.warn{ background:#fbf3f3; border-left-color:#8B2C2C; }
.subpage-callout.warn .label{ color:#8B2C2C; }

/* Table */
.subpage-table{
  width:100%; border-collapse:collapse;
  margin:20px 0 8px; font-size:13.5px; background:#fff;
  border:1px solid var(--border);
}
.subpage-table th{
  background:var(--ink); color:#fff;
  padding:14px 16px; text-align:center; font-weight:500;
  letter-spacing:.18em; font-size:12px;
  font-family:"Yu Gothic",sans-serif;
}
.subpage-table td{
  padding:14px 18px; border-bottom:1px solid #f0ebe0;
  color:var(--text); vertical-align:top; line-height:1.85;
}
.subpage-table td.label{
  width:30%; font-weight:600; background:var(--off);
  color:var(--ink);
  font-family:"Yu Gothic",sans-serif;
  font-size:12.5px; letter-spacing:.08em;
}
.subpage-table tr:last-child td{ border-bottom:0; }

/* 3-card grid */
.subpage-cards{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
  margin:24px 0 8px;
}
.subpage-card{
  background:#fff; padding:28px 26px;
  border:1px solid var(--border); border-top:3px solid var(--gold);
}
.subpage-card .n{
  font-family:"Yu Gothic",sans-serif;
  font-size:10.5px; color:var(--gold);
  letter-spacing:.32em; font-weight:600;
}
.subpage-card h4{
  font-size:16px; font-weight:500; letter-spacing:.08em;
  color:var(--ink); margin:10px 0 12px;
}
.subpage-card p{ font-size:12.5px; line-height:1.95; color:var(--sub); margin:0; }

/* Plans (3-up) */
.subpage-plans{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
  margin:32px 0 16px;
}
.subpage-plan{
  background:#fff; padding:38px 28px;
  border:1px solid var(--border);
  text-align:center; position:relative;
}
.subpage-plan.recommend{ border:2px solid var(--gold); }
.subpage-plan .plan-ribbon{
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:#fff;
  padding:5px 18px; font-size:10.5px; letter-spacing:.22em;
  font-family:"Yu Gothic",sans-serif;
}
.subpage-plan .name{
  font-family:"Yu Gothic",sans-serif;
  font-size:12px; letter-spacing:.32em; color:var(--gold);
  margin-bottom:18px;
}
.subpage-plan .position{
  font-size:18px; font-weight:500; letter-spacing:.06em; color:var(--ink);
  margin:8px 0 24px;
  min-height:56px; display:flex; align-items:center; justify-content:center;
  line-height:1.45;
}
.subpage-plan ul{
  list-style:none; padding:0; margin:0;
  text-align:left; font-size:12.5px;
  font-family:"Yu Gothic",sans-serif;
}
.subpage-plan ul li{
  padding:11px 0; border-top:1px solid #f0ebe0;
  color:var(--sub); line-height:1.6;
}
.subpage-plan ul li:first-child{ border-top:none; }

/* Ranks (2-up) */
.subpage-ranks{
  display:grid; grid-template-columns:repeat(2,1fr); gap:22px;
  margin:32px 0 16px;
}
.subpage-rank{
  background:#fff; padding:40px 32px;
  border:1px solid var(--border);
  text-align:center;
}
.subpage-rank.featured{ border:2px solid var(--gold); }
.subpage-rank .tag-row{
  font-family:"Yu Gothic",sans-serif;
  font-size:11px; letter-spacing:.32em; color:var(--gold);
  margin-bottom:12px;
}
.subpage-rank .name{
  font-size:20px; font-weight:500; letter-spacing:.1em; color:var(--ink);
  margin:8px 0 16px;
}
.subpage-rank .desc{
  font-size:13px; color:var(--sub); line-height:1.95;
  margin:0 0 22px;
}
.subpage-rank ul{
  list-style:none; padding:0; margin:0;
  text-align:left; font-size:12.5px;
  font-family:"Yu Gothic",sans-serif;
}
.subpage-rank ul li{
  padding:11px 0 11px 22px; border-top:1px solid #f0ebe0;
  position:relative; color:var(--sub); line-height:1.65;
}
.subpage-rank ul li::before{
  content:""; position:absolute; left:0; top:18px;
  width:10px; height:1px; background:var(--gold);
}
.subpage-rank ul li:first-child{ border-top:none; }

/* Bullets */
.subpage-bullets{
  list-style:none; padding:0; margin:20px 0;
}
.subpage-bullets li{
  padding:14px 0 14px 30px;
  position:relative;
  border-bottom:1px solid var(--border);
  color:var(--sub); font-size:13.5px; line-height:1.85;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
}
.subpage-bullets li::before{
  content:""; position:absolute; left:0; top:22px;
  width:14px; height:1px; background:var(--gold);
}
.subpage-bullets li:last-child{ border-bottom:0; }

/* CTA band */
.subpage-cta{
  background:var(--ink); color:#fff;
  padding:64px 32px; text-align:center;
  margin-top:48px;
}
.subpage-cta h3{
  font-size:22px; letter-spacing:.14em; color:#fff;
  margin-bottom:14px; font-weight:500;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
}
.subpage-cta p{
  color:rgba(255,255,255,0.7);
  font-size:13.5px; line-height:1.95;
  margin:0 auto 28px; max-width:580px;
  font-family:"Yu Gothic",sans-serif;
}
.subpage-cta .btn{
  display:inline-block;
  background:var(--gold); color:#fff;
  padding:15px 42px;
  font-family:"Yu Gothic",sans-serif;
  font-size:12px; letter-spacing:.28em;
  border:1px solid var(--gold);
  transition:background .25s, color .25s;
}
.subpage-cta .btn:hover{ background:transparent; color:var(--gold); }

/* Mobile breakpoints */
@media(max-width:900px){
  .subpage-cards,
  .subpage-plans{ grid-template-columns:1fr; }
  .subpage-ranks{ grid-template-columns:1fr; }
}
@media(max-width:680px){
  .subpage-hero{ padding:56px 20px 40px; }
  .subpage-hero h1{ font-size:23px; letter-spacing:.08em; line-height:1.6; }
  .subpage-section{ padding:48px 0; }
  .subpage-section .container{ padding:0 20px; }
  .subpage-statement{ padding:48px 0 32px; }
  .subpage-statement h2{ font-size:19px; line-height:1.7; }
  .subpage-head{ flex-direction:column; gap:6px; align-items:flex-start; }
  .subpage-head h2{ font-size:19px; letter-spacing:.08em; }
  .subpage-table{ font-size:12.5px; }
  .subpage-table th,
  .subpage-table td{ padding:11px 12px; }
  .subpage-table td.label{ width:38%; }
  .subpage-rank,
  .subpage-plan{ padding:32px 22px; }
  .subpage-callout{ padding:18px 20px; font-size:12.5px; }
  .subpage-cta{ padding:48px 22px; }
  .subpage-cta h3{ font-size:19px; }
}

/* ===================================================================
   REGISTRATION FORM (pages/salon-register.html)
=================================================================== */
.reg-form{
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  color:var(--text);
}
.reg-fieldset{
  background:#fff;
  border:1px solid var(--border);
  border-top:3px solid var(--gold);
  padding:36px 38px;
  margin-bottom:28px;
}
.reg-legend{
  display:flex; align-items:baseline; gap:18px;
  padding-bottom:14px; margin-bottom:24px;
  border-bottom:1px solid var(--gold);
}
.reg-legend .sec-num{
  font-family:"Yu Gothic",sans-serif;
  font-size:11px; letter-spacing:.4em; color:var(--gold);
  flex-shrink:0;
}
.reg-legend h3{
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:18px; font-weight:500; letter-spacing:.12em;
  color:var(--ink); margin:0;
}
.reg-row{ margin-bottom:22px; }
.reg-row:last-child{ margin-bottom:0; }

.reg-label{
  display:flex; align-items:center; gap:10px;
  font-size:12.5px; letter-spacing:.06em; color:var(--ink);
  margin-bottom:10px; font-weight:600;
}
.reg-sublabel{
  display:block;
  font-size:11.5px; letter-spacing:.08em; color:var(--sub);
  margin-bottom:6px; font-weight:500;
}
.reg-req{
  display:inline-block;
  font-size:10px; letter-spacing:.18em;
  color:#fff; background:#8B2C2C;
  padding:2px 8px; border-radius:2px;
}
.reg-opt{
  display:none;
}
.reg-help{
  font-size:11.5px; color:var(--sub);
  margin-top:6px; line-height:1.7;
}
.reg-help-block{
  background:#faf7ee; border-left:3px solid var(--gold);
  padding:12px 16px; margin:-6px 0 22px;
  font-size:12.5px; line-height:1.85; color:#555;
}
.reg-help-block strong{ color:#8B2C2C; }

.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form input[type="tel"],
.reg-form input[type="url"],
.reg-form input[type="number"],
.reg-form select,
.reg-form textarea{
  width:100%; box-sizing:border-box;
  font-family:inherit; font-size:14px; color:var(--ink);
  background:#fff;
  border:1px solid var(--border);
  padding:12px 14px; line-height:1.5;
  transition:border-color .15s, box-shadow .15s;
  border-radius:0;
  -webkit-appearance:none; appearance:none;
}
.reg-form textarea{ resize:vertical; min-height:120px; }
.reg-form select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23c9a95c' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center;
  padding-right:36px;
}
.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 2px rgba(201,169,92,.18);
}
.reg-form input[type="file"]{
  font-size:13px; color:var(--sub);
  padding:10px 0;
}

.reg-grid-2{
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}
.reg-phone{
  display:grid; grid-template-columns:160px 1fr; gap:10px;
}

.reg-agree-box{
  background:var(--off);
  border:1px solid var(--border);
  padding:22px 24px;
  margin-top:8px;
}
.reg-agree-title{
  font-size:13px; font-weight:600; color:var(--ink);
  letter-spacing:.08em; margin-bottom:10px;
}
.reg-agree-toggle{
  background:none; border:none; cursor:pointer;
  color:var(--gold); font-size:12px; letter-spacing:.06em;
  font-family:inherit; padding:4px 0;
  text-decoration:underline;
}
.reg-agree-body{
  margin-top:14px; padding:18px 20px;
  background:#fff; border:1px solid var(--border);
  font-size:12.5px; line-height:1.95; color:#444;
  max-height:300px; overflow-y:auto;
}
.reg-check{
  display:flex; align-items:flex-start; gap:10px;
  margin-top:18px;
  font-size:13px; color:var(--ink); cursor:pointer;
}
.reg-check input[type="checkbox"]{
  width:18px; height:18px; flex-shrink:0; margin-top:2px;
  accent-color:var(--gold);
}

.reg-submit-row{
  text-align:center; margin-top:24px; padding:0 0 24px;
}
.reg-submit-row .btn{
  min-width:280px;
}
.reg-submit-note{
  margin-top:14px; font-size:11.5px; color:var(--sub);
  letter-spacing:.04em;
}

.reg-status{
  margin-top:24px; padding:18px 22px;
  font-size:13px; line-height:1.8;
  border:1px solid;
}
.reg-status.is-success{
  background:#f3faf3; border-color:#a4caa4; color:#1f5b1f;
}
.reg-status.is-error{
  background:#fbf3f3; border-color:#d6a4a4; color:#7a2424;
}
.reg-status.is-loading{
  background:#faf7ee; border-color:var(--gold-soft); color:#6a6045;
}

/* Hide/show buyer vs salon sections based on cert type
   - default (cert-none): both visible, no required markers
   - cert-salon: only #sec-salon, salon required markers on
   - cert-buyer: only #sec-buyer, buyer required markers on
   - cert-other: hide both detail sections */
.reg-form #sec-salon .reg-req-salon,
.reg-form #sec-buyer .reg-req-buyer{ display:none; }
.reg-form.cert-salon #sec-buyer{ display:none; }
.reg-form.cert-buyer #sec-salon{ display:none; }
.reg-form.cert-other #sec-salon,
.reg-form.cert-other #sec-buyer{ display:none; }
.reg-form.cert-salon #sec-salon .reg-req-salon{ display:inline-block; }
.reg-form.cert-buyer #sec-buyer .reg-req-buyer{ display:inline-block; }

@media(max-width:680px){
  .reg-fieldset{ padding:26px 22px; }
  .reg-legend{ flex-direction:column; gap:6px; align-items:flex-start; }
  .reg-legend h3{ font-size:16px; }
  .reg-grid-2{ grid-template-columns:1fr; }
  .reg-phone{ grid-template-columns:130px 1fr; }
  .reg-agree-body{ max-height:220px; padding:14px 16px; }
  .reg-submit-row .btn{ min-width:0; width:100%; }
}

/* ====================================================================
   Mobile polish (added 2026-05-22)
   Prevents horizontal overflow caused by em-based max-widths colliding
   with narrow viewports, and reins in elements that became cramped or
   overflowed when audited at 393×852 / 360×800.
==================================================================== */

/* Safety net: never let the document scroll horizontally. */
html, body{ overflow-x:hidden; }

@media(max-width:680px){
  /* em-based max-widths on long copy can exceed a 360–400px viewport
     because the em unit doesn't shrink with the container. Cap them
     to the available width so they wrap instead of forcing scroll. */
  .hero-lead,
  .lead,
  .contact-intro p,
  .b2b-header p,
  .about-text p,
  .philosophy p,
  .pillar p,
  section p{
    max-width:100%;
  }

  /* Hide the long explanatory ribbon text on phones — the bold
     "PROFESSIONAL USE ONLY" tag alone communicates the gate, the rest
     is detail visible from ≥681px. */
  .ribbon > span{ display:none; }
  .ribbon b{ margin-right:0; }
}

@media(max-width:430px){
  /* Even tighter at iPhone-mini widths: drop the eyebrow lead-in
     completely and let the bold tag sit alone, centered. */
  .ribbon{ letter-spacing:1.5px; padding:7px 12px; }
}

/* ====================================================================
   Mobile polish pass — aesthetic / interactive / clean (2026-05-22)

   Goals:
   - Cut vertical sprawl (page was ~24,000px tall on a 393px viewport).
   - Add tactile feedback so the page feels alive under thumb taps.
   - Keep the luxury / editorial feel intact: more breath, not less.

   Desktop layout is untouched — everything sits inside ≤680px guards.
==================================================================== */

@media (max-width: 680px) {

  /* ───── Anchor scroll offset (sticky header height) ───── */
  html { scroll-padding-top: 76px; }
  section[id] { scroll-margin-top: 76px; }

  /* ───── Sticky header refinement ─────
     A near-opaque background keeps readability over the hero
     video. CRITICAL: backdrop-filter MUST be none on mobile —
     in WebKit it establishes a containing block, which would trap
     the .nav-links fixed-position drawer inside the header box.
     The base rule earlier in the file sets blur(8px); we override
     it here for ≤680px (and again at ≤980px below). */
  header{
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background .3s ease, box-shadow .3s ease;
  }
  header::after{
    content:"";
    position:absolute; left:0; right:0; bottom:0; height:1px;
    background: linear-gradient(90deg,
      transparent 0%, rgba(201,169,92,.45) 50%, transparent 100%);
    opacity:.65; pointer-events:none;
  }

  /* ───── Universal card tap feedback ─────
     One micro-interaction system for every clickable card surface. */
  .brand-card, .lineup-card, .contact-card,
  .partnership-card, .cert-card, .market{
    transition: transform .25s cubic-bezier(.2,.8,.2,1),
                box-shadow .25s ease,
                border-color .25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .brand-card:active, .lineup-card:active, .contact-card:active,
  .partnership-card:active, .cert-card:active, .market:active{
    transform: scale(0.985);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }

  /* ───── Lineup → horizontal swipe carousel ─────
     Was 7 cards stacked = 3800px of pure vertical scroll. Now a
     single-row, snap-scrolling lane that takes ~520px and rewards
     a thumb swipe. The 88% card width leaves a peek of the next
     card on the right, so users discover the carousel without
     needing an explicit cue. */
  .lineup-grid{
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding: 4px 20px 18px;
    margin: 0 -20px !important;
    scrollbar-width: none;
  }
  .lineup-grid::-webkit-scrollbar{ display: none; }
  .lineup-grid > .lineup-card{
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
    margin: 0 !important;
  }
  /* Match height across cards so the carousel doesn't visibly jump
     as the user pages through. The tallest card sets the rhythm. */
  .lineup-grid > .lineup-card{ min-height: 520px; }

  /* ───── Partnership types → same swipe-carousel pattern ─────
     3 stacked .pt-card was ~1,630px of scroll for content that's
     better experienced as parallel options to compare side-by-side. */
  .partnership-types{
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding: 4px 20px 18px;
    margin: 0 -20px !important;
    scrollbar-width: none;
  }
  .partnership-types::-webkit-scrollbar{ display: none; }
  .partnership-types > .pt-card{
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
    margin: 0 !important;
    min-height: 480px;
  }

  /* ───── Tighter section padding rhythm ─────
     64px top+bottom on every section is luxurious on desktop but
     produces dead zones on mobile. Drop to 48px on standard
     sections (hero + cert keep their existing tighter rules). */
  section{ padding: 48px 0 !important; }

  /* Hero keeps its fullscreen-minus-header rule from the base
     mobile breakpoint — the cinematic full-bleed video is the
     site's hero moment and shouldn't be cropped on phones. */

  /* ───── Lineup section head: tighter ───── */
  #lineup .section-head{ margin-bottom: 28px !important; }
  .lineup-feature{ margin: 0 auto 28px !important; }

  /* ───── Brand grid + partnership: subtle elevation on tap ───── */
  .brand-card, .partnership-card{
    border-radius: 4px;
  }

  /* ───── Lang switcher polish: equal touch targets ───── */
  .lang a{
    min-width: 26px; text-align:center;
    padding: 4px 2px; border-radius: 3px;
    transition: color .2s ease, background .2s ease;
  }
  .lang a.active{
    background: rgba(201,169,92,.12);
  }

  /* ───── Hamburger: larger tap area, subtle motion ───── */
  .nav-toggle{
    width: 40px; height: 40px;
    display:flex; align-items:center; justify-content:center;
    transition: transform .25s ease;
  }
  .nav-toggle:active{ transform: scale(0.92); }

  /* ───── Reveal animation: gentler, faster on mobile ───── */
  .reveal{
    transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1);
  }
}

/* ====================================================================
   Universal smooth scroll — feels much nicer with anchor nav
==================================================================== */
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* ====================================================================
   Contact cards: equal height + bottom-aligned buttons
   (text wraps to different line counts → without this the buttons
   land at different heights across the 3 cards)
==================================================================== */
.contact-grid{ align-items:stretch; }
.contact-card{
  display:flex; flex-direction:column;
}
.contact-card .cat,
.contact-card h4{ flex:0 0 auto; }
.contact-card p{
  flex:1 1 auto;
  margin-bottom:24px;
}
.contact-card .btn{
  margin-top:auto;
  align-self:center;
}

/* ====================================================================
   Page transitions — fade in on load, fade out on internal link click
==================================================================== */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageFadeIn 0.36s cubic-bezier(.4,0,.2,1) both;
  will-change: opacity;
}
body.is-leaving {
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1);
  animation: none;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  body{ animation: none; }
  body.is-leaving{ transition: none; transform: none; }
}
