/* ============================================================
   抹茶 茂平 / matcha mohei  —  Brand & EC
   Design: LIGHT base (白の地) × matcha green × vermilion (朱)
   Tokens synced from Claude Design — styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Shippori+Mincho+B1:wght@600;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --paper:      #f5f6f2;   /* page floor */
  --bg:         #fafbf7;   /* base */
  --bg-2:       #ffffff;   /* lifted */
  --surface:    #ffffff;   /* card */
  --surface-2:  #f1f3ec;   /* raised / inset */

  --green-deep: #3c6a2b;   /* deep accent / text on light */
  --green:      #5b9a40;   /* primary accent */
  --matcha:     #8cc262;
  --matcha-bright:#a9d97f;
  --matcha-wash:#eaf2da;   /* soft tint field */

  --ink:        #1d2a16;   /* heading */
  --text:       #43503a;   /* body */
  --text-soft:  #8a8d77;   /* muted */

  --shu:        #d6512b;   /* vermilion — hanko accent */
  --shu-deep:   #b23e1e;

  --line:       rgba(29,42,22,.10);
  --line-2:     rgba(29,42,22,.18);

  --radius:     6px;

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --mincho: 'Shippori Mincho B1', serif;
  --display:'Jost', sans-serif;
  --sans:   'Zen Kaku Gothic New', sans-serif;
  --mono:   'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  background-image: radial-gradient(120% 80% at 88% 0%, #ffffff 0%, var(--paper) 62%);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--matcha-wash); color: var(--green-deep); }

/* ---------- helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; color: var(--green); font-size: .78rem; font-weight: 600; }
.section-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--green); }

.alink { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--ink); position: relative; padding-bottom: 5px; }
.alink::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background:var(--green); transform-origin:left; transition: transform .35s var(--ease); }
.alink:hover::after { transform: scaleX(.4); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: rgba(245,246,242,.82); backdrop-filter: blur(12px);
  transition: padding .4s var(--ease), box-shadow .4s, background .4s;
}
.site-header.scrolled { padding: 12px 28px; box-shadow: 0 1px 0 var(--line); background: rgba(245,246,242,.92); }
.brand-mark { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark .brand-logo { height: 34px; width: auto; }
.brand-mark .brand-wordmark { height: 22px; width: auto; object-fit: contain; }
.brand-mark .latin { font-family: var(--display); font-size: .82rem; letter-spacing: .14em; text-transform: lowercase; color: var(--green); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--display); color: var(--ink); font-size: .8rem; letter-spacing: .14em; font-weight: 500; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1.5px; background: var(--green); transition: width .35s var(--ease); }
.nav a:hover::after { width: 100%; }
.nav .lang { text-transform: none; color: var(--green); }

/* language switch (JA / EN / 中) */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang-switch button { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .08em; color: var(--text-soft); background: transparent; border: none; padding: 6px 11px; cursor: pointer; transition: background .25s var(--ease), color .25s; line-height: 1; }
.lang-switch button + button { border-left: 1px solid var(--line-2); }
.lang-switch button:hover { color: var(--green-deep); }
.lang-switch button.active { background: var(--green); color: #fff; }

.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border: none; padding: 10px 20px; border-radius: 3px; font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.cart-btn:hover { transform: translateY(-2px); background: var(--green-deep); }
.cart-count { background: var(--shu); color: #fff; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: .7rem; line-height: 20px; text-align: center; }
.menu-toggle { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .03em; padding: 15px 30px; border-radius: 3px; cursor: pointer; border: 1.5px solid transparent; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); background: var(--green-deep); box-shadow: 0 12px 24px rgba(60,106,43,.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--green); color: var(--green-deep); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { transform: translateY(-3px); background: #27381c; }
.btn-shu { background: var(--shu); color: #fff; }
.btn-shu:hover { transform: translateY(-3px); background: var(--shu-deep); box-shadow: 0 12px 24px rgba(214,81,43,.25); }

/* ============================================================
   Hero  (immersive photographic — stays dark image w/ light text)
   ============================================================ */
.hero { position: relative; background: var(--ink); overflow: hidden; min-height: 100vh; display: flex; align-items: flex-start; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% top; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13,22,11,.7) 0%, rgba(13,22,11,.32) 32%, rgba(13,22,11,.1) 55%, rgba(13,22,11,.5) 100%),
    linear-gradient(90deg, rgba(13,22,11,.66) 0%, rgba(13,22,11,.18) 45%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: block; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 25vh 28px 100px; }
.hero-copy { max-width: 600px; }
.hero-kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 500; color: var(--matcha-bright); margin-bottom: 26px; opacity: 0; animation: rise .9s var(--ease) .2s forwards; }
.hero h1 { font-family: var(--sans); font-weight: 900; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.18; letter-spacing: .01em; color: #fff; margin-bottom: 28px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; opacity: 0; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(1) span { animation-delay: .35s; }
.hero h1 .line:nth-child(2) span { animation-delay: .5s; }
.hero h1 .accent { color: var(--matcha-bright); }
.hero-lead { font-size: 1rem; line-height: 2.1; color: rgba(255,255,255,.86); margin-bottom: 12px; opacity: 0; animation: rise .9s var(--ease) .7s forwards; }
.hero-en { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--matcha-bright); margin-bottom: 38px; opacity: 0; animation: rise .9s var(--ease) .85s forwards; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; opacity: 0; animation: rise .9s var(--ease) 1s forwards; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-cta .btn-ghost:hover { border-color: var(--matcha-bright); color: var(--matcha-bright); background: rgba(255,255,255,.08); }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--matcha-bright); font-family: var(--mono); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .bar { width: 1px; height: 42px; background: linear-gradient(var(--matcha-bright), transparent); animation: scrollbar 2s ease-in-out infinite; }

/* ============================================================
   Intro Hero (crest + wordmark lockup, animated) — from Claude Design
   ============================================================ */
.intro-hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: var(--paper); background-image: radial-gradient(70% 60% at 50% 42%, #ffffff 0%, #f4f6ef 64%, #eef1e7 100%); }
.intro-hero .intro-bg { position: absolute; inset: 0; display: block; z-index: 0; pointer-events: none; opacity: .24; animation: introbg 2.4s .2s var(--ease) backwards; }
.intro-hero .intro-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-hero .veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(58% 56% at 50% 45%, rgba(245,246,242,.62), rgba(245,246,242,.34) 70%, rgba(245,246,242,.5)), radial-gradient(42% 38% at 50% 46%, rgba(124,184,106,.08), transparent 70%); opacity: 0; animation: veil 2.6s .1s var(--ease) forwards; }
.intro-hero .stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 38px; padding: 116px 40px 60px; text-align: center; }
.intro-hero .lockup { display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 7vh, 76px); }
.intro-hero .crest-wrap { position: relative; display: grid; place-items: center; width: clamp(60px, 10vh, 100px); aspect-ratio: 1/1; }
.intro-hero .ring { position: absolute; inset: -6%; border: 1px solid var(--line-2); border-radius: 50%; opacity: 0; transform: scale(.86); animation: introring 1.6s .25s var(--ease) forwards; }
.intro-hero .crest { width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.92); filter: blur(8px); animation: introcrest 1.7s .5s var(--ease) forwards; }
.intro-hero .logo { height: clamp(150px, 26vh, 250px); width: auto; object-fit: contain; opacity: 0; transform: translateY(14px); filter: blur(5px); animation: intrologo 1.4s 1.1s var(--ease) forwards; }
.intro-hero .cue { position: absolute; left: 50%; bottom: 30px; transform: translate(-50%, 8px); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-soft); opacity: 0; animation: cuerise 1s 2.6s var(--ease) forwards; }
.intro-hero .cue .bar { width: 1px; height: 34px; background: var(--line-2); position: relative; overflow: hidden; }
.intro-hero .cue .bar::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--green); animation: introdrip 2.2s 3s var(--ease) infinite; }
@keyframes veil { to { opacity: 1; } }
@keyframes introbg { from { opacity: 0; } to { opacity: .24; } }
@keyframes introring { 0% { opacity: 0; transform: scale(.86); } 40% { opacity: 1; } 100% { opacity: .55; transform: scale(1); } }
@keyframes introcrest { 0% { opacity: 0; transform: scale(.92); filter: blur(8px); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes intrologo { 0% { opacity: 0; transform: translateY(14px); filter: blur(5px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes introdrip { 0% { top: -100%; } 60%,100% { top: 100%; } }
@media (max-width: 680px) { .intro-hero .lockup { gap: 36px; } }
@media (prefers-reduced-motion: reduce) { .intro-hero .veil, .intro-hero .ring, .intro-hero .crest, .intro-hero .logo, .intro-hero .cue { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; } }

/* ============================================================
   Marquee
   ============================================================ */
.marquee { background: var(--green); color: #fff; padding: 15px 0; overflow: hidden; white-space: nowrap; }
.marquee .track { display: inline-block; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 24px; }
.marquee .dot { opacity: .6; }

/* ============================================================
   Section heads
   ============================================================ */
.section-head { margin-bottom: 56px; position: relative; }
.section-head .label-row, .section-head h2 { position: relative; z-index: 1; }
.section-head .label-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section-head .big-num { position: absolute; top: -34px; right: 0; z-index: 0; font-family: var(--mincho); font-weight: 800; font-size: 9rem; line-height: 1; color: rgba(91,154,64,.10); letter-spacing: -.02em; pointer-events: none; }
.section-head h2 { font-family: var(--mincho); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.4; letter-spacing: .03em; color: var(--ink); }
.section-head .sub-en { font-family: var(--display); font-style: italic; color: var(--green); font-size: 1.05rem; margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.section-head .sub-en::before { content:""; width: 40px; height: 1px; background: var(--green); }

/* ============================================================
   Concept
   ============================================================ */
.concept { padding: 140px 0; background: var(--bg); }
.lead-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 72px; }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.concept-copy p { color: var(--text); margin-bottom: 22px; font-size: 1rem; }
.concept-visual { position: relative; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; box-shadow: 0 30px 60px rgba(29,42,22,.12); border: 1px solid var(--line); }
.concept-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.concept-visual .v-jp { font-family: var(--mincho); font-weight: 700; font-size: 2.4rem; letter-spacing: .3em; color: var(--green-deep); writing-mode: vertical-rl; z-index: 2; }

/* ============================================================
   Story
   ============================================================ */
.story { padding: 140px 0; background: var(--surface-2); }
.story-banner { margin-bottom: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(29,42,22,.16); }
.story-banner img { width: 100%; height: auto; display: block; }
.story-banner figcaption { padding: 20px 32px; color: var(--text); text-align: center; font-family: var(--mincho); font-size: .92rem; letter-spacing: .03em; line-height: 1.8; background: var(--bg-2); border-top: 1px solid var(--line); }
.story-lead { max-width: 820px; margin: 56px auto 0; color: var(--text); font-size: 1.02rem; line-height: 2.05; letter-spacing: .02em; text-align: center; }
.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.story-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px 36px; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; box-shadow: 0 1px 0 rgba(29,42,22,.04); }
.story-card::before { content:""; position:absolute; left:0; top:34px; bottom:34px; width:2px; background:var(--green); transform:scaleY(0); transform-origin:top; transition: transform .45s var(--ease); }
.story-card:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 24px 44px rgba(29,42,22,.10); }
.story-card:hover::before { transform: scaleY(1); }
.story-card .kanji-ghost { position: absolute; right: -12px; top: -18px; font-family: var(--mincho); font-weight: 800; font-size: 6rem; color: rgba(91,154,64,.09); line-height: 1; pointer-events: none; }
.story-card .era { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--green-deep); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.story-card .era .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--shu); }
.story-card h3 { font-family: var(--mincho); font-weight: 800; font-size: 1.45rem; margin-bottom: 16px; color: var(--ink); letter-spacing: .04em; }
.story-card p { color: var(--text); font-size: .93rem; line-height: 1.9; }

/* ============================================================
   People
   ============================================================ */
.people { padding: 140px 0; background: var(--bg); }
.person { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; margin-bottom: 110px; }
.person:last-child { margin-bottom: 0; }
.person.reverse { grid-template-columns: 1.15fr .85fr; }
.person.reverse .person-visual { order: 2; }
.person-visual { position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(29,42,22,.18); border: 1px solid var(--line); }
.portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-visual::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(13,22,11,0) 45%, rgba(13,22,11,.78) 100%); pointer-events:none; }
.portrait-badge { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: #fff; }
.portrait-badge .v-name { font-family: var(--mincho); font-weight: 800; font-size: 1.9rem; letter-spacing: .1em; text-shadow: 0 4px 14px rgba(0,0,0,.5); }
.portrait-badge .role { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; opacity: .92; }

.person-copy .tagline { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--green); font-size: .68rem; font-weight: 500; margin-bottom: 16px; border: 1px solid var(--line-2); padding: 6px 13px; border-radius: 3px; }
.person-copy .tagline .seal { width: 18px; height: 18px; display: grid; place-items: center; background: var(--shu); color: #fff; font-family: var(--mincho); font-size: .68rem; border-radius: 3px; }
.person-copy h3 { font-family: var(--mincho); font-weight: 800; font-size: 2.1rem; color: var(--ink); letter-spacing: .04em; margin-bottom: 4px; }
.person-copy h3 .en { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--green); margin-left: 12px; font-weight: 400; }
.person-copy .lead { color: var(--text); margin: 18px 0 24px; font-size: 1rem; }
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.cred-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .94rem; color: var(--text); }
.cred-list li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-top: 11px; }
.highlight-stat { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-left: 2px solid var(--green); border-radius: 4px; padding: 18px 22px; margin-bottom: 24px; }
.highlight-stat .ratio { display: flex; align-items: baseline; gap: 4px; font-family: var(--display); color: var(--ink); }
.highlight-stat .ratio .big { font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--green-deep); }
.highlight-stat .ratio .unit { font-family: var(--sans); font-weight: 700; font-size: .95rem; color: var(--green-deep); margin-right: 6px; }
.highlight-stat .ratio .of { font-family: var(--mono); font-size: .82rem; color: var(--text-soft); letter-spacing: .04em; align-self: center; }
.highlight-stat .ratio .total { font-size: 1.5rem; font-weight: 600; color: var(--text); }
.highlight-stat .ratio .total .unit { font-size: .85rem; color: var(--text-soft); font-weight: 500; }
.highlight-stat .cap { font-size: .78rem; line-height: 1.7; color: var(--text-soft); margin-top: 9px; }
.highlight-stat .cap b { color: var(--green-deep); font-weight: 700; }

/* ============================================================
   Artworks
   ============================================================ */
.artworks { padding: 140px 0; background: var(--bg-2); }
.art-gallery { display: flex; flex-direction: column; gap: 80px; margin-bottom: 56px; }
.art-piece { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.art-piece.reverse { grid-template-columns: 1fr 1.5fr; }
.art-piece.reverse figcaption { order: -1; }
.art-frame { border-radius: 8px; overflow: hidden; box-shadow: 0 36px 64px rgba(29,42,22,.18); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.art-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-piece:hover .art-frame { transform: scale(1.02); }
.art-piece figcaption .no { font-family: var(--mono); color: var(--green); letter-spacing: .12em; font-size: .82rem; text-transform: uppercase; }
.art-piece figcaption h3 { font-family: var(--mincho); font-weight: 800; font-size: 2rem; letter-spacing: .04em; margin: 8px 0 14px; color: var(--ink); }
.art-piece figcaption p { color: var(--text); font-size: .98rem; }
.art-piece figcaption .to { display: block; margin-top: 14px; color: var(--green-deep); font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }

/* ============================================================
   Grades
   ============================================================ */
.grades { padding: 140px 0; background: var(--surface-2); }
.grade-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grade-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 32px; text-align: center; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; box-shadow: 0 1px 0 rgba(29,42,22,.04); }
.grade-card:hover { transform: translateY(-10px); border-color: var(--line-2); box-shadow: 0 26px 48px rgba(29,42,22,.12); }
.grade-card .ribbon { position: absolute; top: 0; left: 24px; background: var(--green); color: #fff; font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border-radius: 0 0 4px 4px; }
.grade-card .ribbon.shu { background: var(--shu); }
.grade-card .tier { position: absolute; top: 18px; right: 22px; font-family: var(--mincho); font-weight: 800; font-size: 1rem; color: var(--green-deep); letter-spacing: .2em; }
.grade-card .can-mini { position: relative; display: flex; justify-content: center; margin: 14px 0 22px; border-radius: 5px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1/1; }
.grade-card .can-mini img { width: 100%; height: 100%; object-fit: cover; }
.grade-card .can-mini .seal { position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--shu); color: var(--shu); font-family: var(--mincho); font-size: .85rem; border-radius: 4px; background: rgba(255,255,255,.78); }
.grade-card h3 { font-family: var(--sans); font-weight: 900; font-size: 1.65rem; color: var(--ink); margin: 4px 0 2px; letter-spacing: .04em; }
.grade-card .en-grade { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--green); font-size: .68rem; }
.grade-card .taste { color: var(--text); font-size: .86rem; line-height: 1.8; margin: 16px 0 20px; min-height: 88px; }
.grade-card .from-price { font-family: var(--display); color: var(--text-soft); font-size: .8rem; padding-top: 16px; border-top: 1px solid var(--line); }
.grade-card .from-price b { font-size: 1.5rem; font-weight: 700; color: var(--ink); }

/* ============================================================
   CTA band (matcha accent)
   ============================================================ */
.cta-band { padding: 120px 0; text-align: center; color: #fff; background: linear-gradient(150deg, var(--green), var(--green-deep)); }
.cta-band h2 { font-family: var(--mincho); font-weight: 800; font-size: clamp(1.8rem,3.6vw,2.6rem); margin-bottom: 14px; letter-spacing: .04em; color: #fff; }
.cta-band .en { font-family: var(--display); font-style: italic; color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 34px; }
.cta-band .btn-primary { background: #fff; color: var(--green-deep); }
.cta-band .btn-primary:hover { background: var(--matcha-wash); box-shadow: none; }

/* ============================================================
   Footer (dark anchor)
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 80px 0 38px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-brand .footer-logo { height: 54px; width: auto; margin-bottom: 8px; }
.footer-brand .latin { font-family: var(--display); color: var(--matcha-bright); margin-bottom: 16px; letter-spacing: .1em; }
.footer-brand .footer-wordmark { height: 26px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 280px; line-height: 1.9; }
.footer-col h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; color: #fff; font-size: .82rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a:hover { color: var(--matcha-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .76rem; letter-spacing: .03em; font-family: var(--display); }

/* ============================================================
   Cart drawer
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(29,42,22,.4); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s; z-index: 200; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 92vw); background: var(--bg); z-index: 201; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(29,42,22,.2); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer header { padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: var(--ink); color: #fff; }
.cart-drawer header h3 { font-family: var(--sans); font-weight: 700; letter-spacing: .08em; font-size: 1.1rem; }
.cart-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }
.cart-empty { text-align: center; color: var(--text-soft); padding: 60px 0; font-family: var(--mincho); }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 56px; height: 70px; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info .nm { font-family: var(--sans); font-weight: 700; color: var(--ink); }
.cart-line .info .vr { font-size: .78rem; color: var(--text-soft); }
.cart-line .qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-line .qty button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--green); background: none; color: var(--green); cursor: pointer; font-size: .9rem; line-height: 1; }
.cart-line .price { font-family: var(--display); font-size: 1rem; white-space: nowrap; font-weight: 600; color: var(--ink); }
.cart-line .remove { background: none; border: none; color: var(--text-soft); font-size: .72rem; cursor: pointer; margin-top: 6px; letter-spacing: .03em; text-decoration: underline; }
.cart-foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); background: var(--bg-2); }
.cart-foot .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .9rem; color: var(--text-soft); }
.cart-foot .row.total { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.2rem; margin: 12px 0 16px; }
.cart-foot .note { font-size: .76rem; color: var(--green-deep); margin-bottom: 14px; }
.cart-foot .btn { width: 100%; justify-content: center; }

/* ============================================================
   Shop
   ============================================================ */
.shop-hero { padding: 168px 0 64px; text-align: center; background: var(--matcha-wash); position: relative; }
.shop-hero h1 { font-family: var(--mincho); font-weight: 800; font-size: clamp(2.2rem,4.5vw,3.4rem); letter-spacing: .05em; color: var(--ink); margin: 12px 0 10px; }
.shop-hero p { color: var(--text); max-width: 540px; margin: 0 auto; }

.shop-main { padding: 64px 0 110px; background: var(--bg); }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }
.filter-bar button { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 20px; border-radius: 3px; cursor: pointer; border: 1px solid var(--line-2); background: none; color: var(--text-soft); transition: background .25s, color .25s, border-color .25s; }
.filter-bar button.active, .filter-bar button:hover { background: var(--green); color: #fff; border-color: var(--green); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; box-shadow: 0 1px 0 rgba(29,42,22,.04); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 28px 52px rgba(29,42,22,.12); border-color: var(--line-2); }
.product-media { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; }
.product-media.tone-light { background: #eef4df; }
.product-media.tone-dark  { background: #1d2c16; }
.product-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-photo { transform: scale(1.06); }
.product-media .corner-tag { position: absolute; top: 0; left: 0; z-index: 3; font-family: var(--mono); font-weight: 500; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--shu); color: #fff; padding: 7px 14px; border-radius: 0 0 var(--radius) 0; }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body .grade-line { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.product-body .grade-line .jp { font-family: var(--mincho); font-weight: 800; color: var(--green-deep); letter-spacing: .2em; font-size: .92rem; }
.product-body .grade-line .bar { width: 16px; height: 1px; background: var(--green); }
.product-body .grade-line .en { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--green); font-size: .66rem; }
.product-body h3 { font-family: var(--sans); font-weight: 900; font-size: 1.4rem; color: var(--ink); letter-spacing: .03em; margin-bottom: 8px; }
.product-body h3 .np-en { font-family: var(--display); font-style: italic; color: var(--green); font-size: .64em; margin-left: 8px; font-weight: 400; }
.product-body .desc { font-size: .85rem; line-height: 1.8; color: var(--text); margin-bottom: 20px; flex: 1; }
.variant-select { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.variant-select label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.variant-select select { font-family: var(--sans); font-size: .9rem; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg); color: var(--ink); cursor: pointer; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-foot .price { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.product-foot .price .yen { font-family: var(--mono); font-size: .78rem; color: var(--text-soft); margin-right: 1px; }
.add-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--green); color: #fff; border: none; padding: 12px 18px; border-radius: 3px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .03em; transition: background .25s, transform .25s; }
.add-btn:hover { background: var(--green-deep); transform: translateY(-2px); }

/* gift feature */
.gift-feature { padding: 0 0 110px; background: var(--bg); }
.gift-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(29,42,22,.16); border: 1px solid var(--line); }
.gift-art { background: linear-gradient(150deg, #ffffff, var(--surface-2)); display: grid; place-items: center; padding: 50px; position: relative; min-height: 420px; }
.gift-set-photo { max-height: 380px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(29,42,22,.2)); transition: transform .5s var(--ease); }
.gift-art:hover .gift-set-photo { transform: translateY(-8px) scale(1.03); }
.gift-copy { background: var(--ink); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.gift-copy .eyebrow { color: var(--matcha-bright); }
.gift-copy h2 { font-family: var(--mincho); font-weight: 800; font-size: 2.1rem; letter-spacing: .05em; margin: 12px 0 18px; }
.gift-copy p { color: rgba(255,255,255,.82); margin-bottom: 24px; }
.gift-copy .price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.gift-copy .price-row .now { font-family: var(--display); font-size: 2.3rem; font-weight: 700; color: var(--matcha-bright); }
.gift-copy .price-row .was { text-decoration: line-through; opacity: .5; }
.gift-copy .btn-primary { background: #fff; color: var(--green-deep); }
.gift-copy .btn-primary:hover { background: var(--matcha-wash); box-shadow: none; }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 3px; font-size: .85rem; letter-spacing: .03em; box-shadow: 0 14px 30px rgba(29,42,22,.28); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--matcha-bright); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes cuerise { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollbar { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 140px; }
  .concept-grid, .person, .person.reverse { grid-template-columns: 1fr; gap: 40px; }
  .person.reverse .person-visual { order: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .art-piece, .art-piece.reverse { grid-template-columns: 1fr; gap: 24px; }
  .art-piece.reverse figcaption { order: 0; }
  .product-grid, .grade-row { grid-template-columns: repeat(2,1fr); }
  .gift-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; height: 100vh; width: 76vw; background: var(--bg-2); padding: 90px 32px; gap: 22px; z-index: 150; box-shadow: -20px 0 50px rgba(29,42,22,.15); }
  .menu-toggle { display: block; background: none; border: none; cursor: pointer; z-index: 160; }
  .menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s; }
  .product-grid, .grade-row, .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .person-copy h3 { font-size: 1.8rem; }
}
