
/* TOMOSHIBI | 2026-11-23
   Homepage hero refresh: brighter activity photo, stronger editorial hierarchy,
   compact mobile layout, clean wordmark-only navigation. */
#header.site-header .brand{gap:0!important;min-width:0!important}
#header.site-header .brand .brand-mark{display:none!important}
#header.site-header .brand .brand-wordmark{
  display:inline-block!important;
  font-family:'Fraunces',Georgia,serif!important;
  font-weight:700!important;
  font-size:clamp(25px,2.15vw,31px)!important;
  letter-spacing:.025em!important;
  line-height:1!important;
  color:#3b2b28!important;
}
body:has(#top.hero--immersive) #header.site-header .brand .brand-wordmark{
  font-family:'Fraunces',Georgia,serif!important;
  font-size:clamp(25px,2.15vw,31px)!important;
  letter-spacing:.025em!important;
}
body:has(#top.hero--immersive) .site-header:not(.is-compact) .nav-shell{
  box-shadow:0 10px 36px rgba(25,15,15,.12)!important;
}
#top.hero.hero--immersive{
  background:#241e1a!important;
  min-height:min(850px,96svh)!important;
}
#top.hero.hero--immersive::before{
  display:block!important;content:""!important;
  filter:brightness(1.16) saturate(1.10) contrast(1.02)!important;
  background-position:53% 42%!important;
}
#top.hero.hero--immersive::after{
  display:block!important;content:""!important;
  background:
    linear-gradient(90deg,rgba(26,20,18,.73) 0%,rgba(27,20,18,.57) 37%,rgba(28,22,20,.21) 72%,rgba(22,20,18,.08) 100%),
    linear-gradient(0deg,rgba(23,18,18,.30),transparent 48%)!important;
}
#top.hero.hero--immersive .hero-inner{
  width:min(calc(100% - 130px),1320px)!important;
  min-height:min(850px,96svh)!important;
  justify-content:center!important;
  padding:160px 0 76px!important;
}
#top.hero.hero--immersive .hero-text{
  width:min(100%,800px)!important;
}
#top.hero.hero--immersive .hero-tag{
  gap:14px!important;
  font-family:'Noto Sans JP',sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.5!important;
  letter-spacing:.11em!important;
  color:#fff5ea!important;
  text-shadow:0 2px 10px rgba(0,0,0,.22)!important;
}
#top.hero.hero--immersive .hero-tag-rule{
  height:1px!important;
  flex:0 0 35px!important;
  background:#edcfb3!important;
}
#top.hero.hero--immersive .hero-title{
  margin:23px 0 26px!important;
  font-family:'Zen Old Mincho','Noto Serif CJK JP','Yu Mincho',serif!important;
  font-weight:700!important;
  letter-spacing:-.055em!important;
  line-height:1.35!important;
  font-size:clamp(43px,5.5vw,76px)!important;
  text-shadow:0 3px 18px rgba(0,0,0,.27)!important;
}
#top.hero.hero--immersive .hero-title .piece:first-child{
  font-size:.80em!important;
  letter-spacing:-.055em!important;
}
#top.hero.hero--immersive .hero-title .piece:last-child{
  position:relative!important;
  display:table!important;
  max-width:100%!important;
  font-size:1.09em!important;
  letter-spacing:-.075em!important;
}
#top.hero.hero--immersive .hero-title .piece:last-child::after{
  content:""!important;
  display:block!important;
  height:3px!important;
  width:76px!important;
  margin:8px 0 0!important;
  border-radius:999px!important;
  background:#edbf8f!important;
  box-shadow:0 1px 12px rgba(40,23,16,.2);
}
#top.hero.hero--immersive .hero-summary{
  max-width:590px!important;
  margin:0!important;
  padding-left:18px!important;
  border-left:2px solid #e6bc94!important;
  font:500 clamp(14px,1.3vw,17px)/1.9 'Zen Old Mincho','Noto Serif CJK JP','Yu Mincho',serif!important;
  letter-spacing:.025em!important;
  color:#fff8f0!important;
  text-shadow:0 2px 10px rgba(0,0,0,.32)!important;
}
#top.hero.hero--immersive .hero-buttons{
  margin-top:30px!important;
  width:min(100%,565px)!important;
  gap:12px!important;
}
#top.hero.hero--immersive .hero-buttons .cta{
  flex:1 1 0!important;
  min-height:59px!important;
  padding:15px 22px!important;
  font:800 14px/1.5 'Noto Sans JP',sans-serif!important;
  letter-spacing:0!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease!important;
}
#top.hero.hero--immersive .hero-buttons .cta-primary{
  background:#fffaf4!important;
  border:1px solid #fffaf4!important;
  color:#392b27!important;
}
#top.hero.hero--immersive .hero-buttons .cta-secondary{
  background:rgba(40,29,25,.18)!important;
  border:1.4px solid rgba(255,248,240,.83)!important;
  color:#fff!important;
  backdrop-filter:blur(5px)!important;
}
#top.hero.hero--immersive .hero-buttons .cta-primary:hover{
  background:#f9e6d3!important;
}
#top.hero.hero--immersive .hero-buttons .cta-secondary:hover{
  background:rgba(255,255,255,.14)!important;
}
@media(max-width:1050px){
  #top.hero.hero--immersive .hero-inner{
    width:calc(100% - 72px)!important;
  }
  #top.hero.hero--immersive .hero-title{font-size:clamp(42px,6.5vw,68px)!important}
}
@media(max-width:760px){
  #header.site-header .brand .brand-wordmark,
  body:has(#top.hero--immersive) #header.site-header .brand .brand-wordmark{
    font-size:clamp(24px,6.35vw,28px)!important;
    letter-spacing:.018em!important;
  }
  body:has(#top.hero--immersive) .site-header:not(.is-compact){
    padding:12px 13px 0!important;
  }
  body:has(#top.hero--immersive) .site-header:not(.is-compact) .nav-shell{
    min-height:62px!important;
    height:62px!important;
    padding:0 23px!important;
  }
  #top.hero.hero--immersive{
    min-height:clamp(560px,78svh,690px)!important;
    height:auto!important;
  }
  #top.hero.hero--immersive::before{
    background-position:63% 37%!important;
    filter:brightness(1.20) saturate(1.12) contrast(1.015)!important;
  }
  #top.hero.hero--immersive::after{
    background:
      linear-gradient(180deg,
        rgba(28,20,18,.07) 0%,
        rgba(28,20,18,.04) 20%,
        rgba(30,22,20,.25) 40%,
        rgba(30,22,20,.65) 60%,
        rgba(29,21,19,.81) 90%,
        rgba(29,21,19,.84) 100%),
      linear-gradient(90deg,rgba(27,22,20,.09),transparent 80%)!important;
  }
  #top.hero.hero--immersive .hero-inner{
    box-sizing:border-box!important;
    display:flex!important;
    justify-content:flex-end!important;
    width:calc(100% - 44px)!important;
    max-width:500px!important;
    min-height:clamp(560px,78svh,690px)!important;
    height:auto!important;
    margin:auto!important;
    padding:134px 0 43px!important;
  }
  #top.hero.hero--immersive .hero-text{
    width:100%!important;
    max-width:100%!important;
  }
  #top.hero.hero--immersive .hero-tag{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:9px!important;
    white-space:nowrap!important;
    font-size:clamp(10px,2.75vw,12px)!important;
    letter-spacing:.025em!important;
    text-shadow:0 2px 8px rgba(0,0,0,.3)!important;
  }
  #top.hero.hero--immersive .hero-tag-rule{
    flex:0 0 20px!important;
    width:20px!important;
  }
  #top.hero.hero--immersive .hero-title{
    font-size:clamp(35px,9.25vw,47px)!important;
    line-height:1.30!important;
    margin:18px 0 21px!important;
    text-shadow:0 2px 12px rgba(0,0,0,.38)!important;
    letter-spacing:-.055em!important;
  }
  #top.hero.hero--immersive .hero-title .piece:first-child{
    font-size:.79em!important;
    letter-spacing:-.055em!important;
    white-space:nowrap!important;
  }
  #top.hero.hero--immersive .hero-title .piece:last-child{
    font-size:1.19em!important;
    letter-spacing:-.075em!important;
    white-space:nowrap!important;
  }
  #top.hero.hero--immersive .hero-title .piece:last-child::after{
    width:60px!important;
    height:2px!important;
    margin-top:8px!important;
  }
  #top.hero.hero--immersive .hero-summary{
    max-width:97%!important;
    font-size:clamp(12px,3.45vw,14px)!important;
    line-height:1.87!important;
    padding:0 0 0 13px!important;
    border-left:2px solid #e8c5a4!important;
    text-shadow:0 2px 10px rgba(0,0,0,.4)!important;
  }
  #top.hero.hero--immersive .hero-buttons{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:340px!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    margin:25px 0 0!important;
  }
  #top.hero.hero--immersive .hero-buttons .cta{
    flex:0 0 auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:49px!important;
    padding:12px 18px!important;
    font-size:13px!important;
    border-radius:999px!important;
    gap:12px!important;
  }
  #top.hero.hero--immersive .hero-buttons .cta svg{
    width:17px!important;height:17px!important;
  }
}
@media(max-width:370px){
  #top.hero.hero--immersive .hero-inner{
    width:calc(100% - 34px)!important;
    padding-top:120px!important;
    padding-bottom:32px!important;
  }
  #top.hero.hero--immersive .hero-title{
    font-size:clamp(31px,9.1vw,35px)!important;
  }
  #top.hero.hero--immersive .hero-tag{
    font-size:9.5px!important;
    gap:6px!important;
  }
}
@media(max-width:760px) and (max-height:620px){
  #top.hero.hero--immersive .hero-inner{padding-top:108px!important;padding-bottom:30px!important;}
}
@media(prefers-reduced-motion:reduce){
  #top.hero.hero--immersive .hero-text>*{animation:none!important}
  #top.hero.hero--immersive .hero-buttons .cta{transition:none!important}
}

/* 2026-11-23 | Quieter text-only header: smaller, lighter TOMOSHIBI. */
#header.site-header .brand .brand-wordmark,
body:has(#top.hero--immersive) #header.site-header .brand .brand-wordmark{
  font-family:'Fraunces',Georgia,serif!important;
  font-weight:500!important;
  font-size:clamp(22px,1.8vw,26px)!important;
  letter-spacing:.02em!important;
}
@media(max-width:760px){
  #header.site-header .brand .brand-wordmark,
  body:has(#top.hero--immersive) #header.site-header .brand .brand-wordmark{
    font-weight:500!important;
    font-size:22px!important;
    letter-spacing:.015em!important;
  }
}
@media(max-width:370px){
  #header.site-header .brand .brand-wordmark,
  body:has(#top.hero--immersive) #header.site-header .brand .brand-wordmark{
    font-size:20px!important;
  }
}

/* 2026-11-23 | Keep the two hero actions side by side on mobile. */
@media(max-width:760px){
  #top.hero.hero--immersive .hero-buttons{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    gap:9px!important;
    margin-top:25px!important;
  }
  #top.hero.hero--immersive .hero-buttons .cta{
    box-sizing:border-box!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    min-height:51px!important;
    padding:12px 13px!important;
    font-size:clamp(11px,3.1vw,13px)!important;
    font-weight:800!important;
    line-height:1.45!important;
    white-space:nowrap!important;
    gap:7px!important;
  }
  #top.hero.hero--immersive .hero-buttons .cta svg{
    width:15px!important;
    height:15px!important;
    flex:none!important;
  }
}
@media(max-width:370px){
  #top.hero.hero--immersive .hero-buttons{
    gap:7px!important;
  }
  #top.hero.hero--immersive .hero-buttons .cta{
    font-size:10.5px!important;
    padding:11px 10px!important;
  }
}


/* 2026-11-23 | First-view entrance motion
   CSS-only, staggered by content importance; no JavaScript or offscreen hiding.
   Each fresh page load replays. Reduced-motion users see static content. */
@keyframes ts-hero-reveal-kicker{
  0%{opacity:0;transform:translate3d(0,14px,0);filter:blur(5px)}
  100%{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}
}
@keyframes ts-hero-reveal-title{
  0%{opacity:0;transform:translate3d(0,30px,0);filter:blur(9px)}
  100%{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}
}
@keyframes ts-hero-reveal-copy{
  0%{opacity:0;transform:translate3d(0,23px,0);filter:blur(5px)}
  100%{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}
}
@keyframes ts-hero-reveal-button{
  0%{opacity:0;transform:translate3d(0,17px,0) scale(.98)}
  100%{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@keyframes ts-hero-photo-enter{
  from{transform:scale(1.065)}
  to{transform:scale(1)}
}
@keyframes ts-hero-underline{
  from{opacity:0;transform:scaleX(0);transform-origin:left center}
  to{opacity:1;transform:scaleX(1);transform-origin:left center}
}
#top.hero.hero--immersive::before{
  animation:ts-hero-photo-enter 7s cubic-bezier(.22,1,.36,1) both!important;
  will-change:transform;
}
#top.hero.hero--immersive .hero-text > .hero-tag{
  animation:ts-hero-reveal-kicker .78s .08s cubic-bezier(.22,1,.36,1) both!important;
}
#top.hero.hero--immersive .hero-text > .hero-title{
  animation:none!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
#top.hero.hero--immersive .hero-title .piece{
  animation:ts-hero-reveal-title 1.02s cubic-bezier(.22,1,.36,1) both!important;
}
#top.hero.hero--immersive .hero-title .piece:first-child{
  animation-delay:.24s!important;
}
#top.hero.hero--immersive .hero-title .piece:last-child{
  animation-delay:.49s!important;
}
#top.hero.hero--immersive .hero-title .piece:last-child::after{
  animation:ts-hero-underline .78s 1.15s cubic-bezier(.22,1,.36,1) both!important;
}
#top.hero.hero--immersive .hero-text > .hero-summary{
  animation:ts-hero-reveal-copy .88s .78s cubic-bezier(.22,1,.36,1) both!important;
}
#top.hero.hero--immersive .hero-text > .hero-buttons{
  animation:none!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
#top.hero.hero--immersive .hero-buttons .cta{
  animation:ts-hero-reveal-button .8s cubic-bezier(.22,1,.36,1) both!important;
}
#top.hero.hero--immersive .hero-buttons .cta-primary{
  animation-delay:1.05s!important;
}
#top.hero.hero--immersive .hero-buttons .cta-secondary{
  animation-delay:1.20s!important;
}
@media(prefers-reduced-motion:reduce){
  #top.hero.hero--immersive::before,
  #top.hero.hero--immersive .hero-text > .hero-tag,
  #top.hero.hero--immersive .hero-text > .hero-title,
  #top.hero.hero--immersive .hero-title .piece,
  #top.hero.hero--immersive .hero-title .piece:last-child::after,
  #top.hero.hero--immersive .hero-text > .hero-summary,
  #top.hero.hero--immersive .hero-text > .hero-buttons,
  #top.hero.hero--immersive .hero-buttons .cta{
    animation:none!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
  #top.hero.hero--immersive::before{will-change:auto}
}


/* 2026-11-23 | Clean animated accent line: stays below the heading, never across characters. */
#top.hero.hero--immersive .hero-title .piece:last-child{
  position:relative!important;
}
#top.hero.hero--immersive .hero-title .piece:last-child::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  bottom:-11px!important;
  width:82px!important;
  height:3px!important;
  margin:0!important;
  border-radius:99px!important;
  background:#edbf8f!important;
  box-shadow:none!important;
  transform-origin:left center!important;
  animation:ts-hero-simple-underline .75s 1.18s cubic-bezier(.22,1,.36,1) both!important;
  pointer-events:none!important;
}
@keyframes ts-hero-simple-underline{
  from{opacity:0;transform:scaleX(0)}
  to{opacity:1;transform:scaleX(1)}
}
@media(max-width:760px){
  #top.hero.hero--immersive .hero-title .piece:last-child::after{
    bottom:-8px!important;
    width:67px!important;
    height:2px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #top.hero.hero--immersive .hero-title .piece:last-child::after{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
  }
}

/* 2026-11-23 | Header wordmark: reduce visual weight without changing size or layout. */
#header.site-header .brand .brand-wordmark,
body:has(#top.hero--immersive) #header.site-header .brand .brand-wordmark{
  font-weight:400!important;
  font-synthesis:none!important;
  text-shadow:none!important;
}


/* 2026-11-23 | Slimmer white navigation pill — leave TOMOSHIBI typography alone. */
body:has(#top.hero--immersive) #header.site-header:not(.is-compact) .nav-shell,
#header.site-header:not(.is-compact) .nav-shell {
  height:66px!important;
  min-height:66px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
#header.site-header.is-compact .nav-shell{
  height:54px!important;
  min-height:54px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
@media(max-width:760px){
  body:has(#top.hero--immersive) #header.site-header:not(.is-compact){
    padding:9px 13px 0!important;
  }
  body:has(#top.hero--immersive) #header.site-header:not(.is-compact) .nav-shell,
  #header.site-header:not(.is-compact) .nav-shell{
    height:52px!important;
    min-height:52px!important;
    padding:0 18px!important;
  }
  #header.site-header.is-compact .nav-shell{
    height:48px!important;
    min-height:48px!important;
    padding:0 18px!important;
  }
  body:has(#top.hero--immersive) #header.site-header .menu-toggle{
    height:42px!important;
    width:42px!important;
    padding:7px!important;
  }
  body:has(#top.hero--immersive) #header.site-header .menu-toggle svg{
    width:25px!important;
    height:25px!important;
  }
}
