/* PACIFICA top: hero video + motion (2026-11-26, v4 design pass). Loaded only on / and /ja/.
   Display face: Fraunces (c) The Fraunces Project Authors, SIL Open Font License 1.1 — self-hosted subset. */
@font-face{font-family:"Fraunces PACIFICA";src:url(/assets/fonts/fraunces-pacifica.woff2) format("woff2");font-weight:300 400;font-style:normal;font-display:optional}
/* metric-matched fallback so the swap to Fraunces does not move text (CLS 0) */
@font-face{font-family:"Fraunces PACIFICA Fallback";src:local("Georgia");ascent-override:97.8%;descent-override:25.5%;line-gap-override:0%}
:root{--display:"Fraunces PACIFICA","Fraunces PACIFICA Fallback",Georgia,"Times New Roman",serif;--serif:var(--display);--beat:.484s}

/* ---- type ---- */
/* top page uses the display face wherever site.css asks for the serif */
.brand{font-variation-settings:"opsz" 48}
.sec-head h2,.cta-band h2,.lane h3{font-weight:300;font-variation-settings:"opsz" 96}
:lang(ja) .sec-head h2,:lang(ja) .cta-band h2,:lang(ja) .lane h3,:lang(ja) .stat .n{font-family:var(--display),"Hiragino Mincho ProN","Yu Mincho",serif}
/* stats band: places, not bare years */
.stats{border-top:0}
.stats .wrap{grid-template-columns:repeat(3,1fr)}
.stat .n{font-weight:300;font-variation-settings:"opsz" 72;font-variant-numeric:lining-nums;letter-spacing:.01em}
.stat .l{line-height:1.6}

/* ---- hero frame ---- */
header.hero{min-height:clamp(560px,78svh,820px);display:flex;align-items:center;justify-content:center;isolation:isolate;padding-bottom:96px}
header.hero>.wrap{width:100%}
/* static bottom fade (does not move with the parallax layer) */
header.hero::after{display:block;inset:auto 0 0 0;height:32%;z-index:1;background:linear-gradient(180deg,rgba(10,10,12,0) 0%,rgba(10,10,12,.55) 45%,var(--bg) 100%)}
.hero-media{position:absolute;inset:-6% 0 0 0;z-index:0;overflow:hidden;pointer-events:none;will-change:transform}
.hero-media img,.hero-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.hero-media img{opacity:.85}
.hero-media video{opacity:0;transition:opacity .97s ease}
.hero-media video.is-on{opacity:1}
.hero-media::after{content:"";position:absolute;inset:0;background:
  radial-gradient(ellipse 46% 62% at 50% 50%,rgba(6,7,12,.66) 0%,rgba(6,7,12,.58) 55%,rgba(6,7,12,.2) 88%,rgba(6,7,12,0) 100%),
  linear-gradient(180deg,rgba(6,7,12,.5) 0%,rgba(6,7,12,.06) 20%,rgba(6,7,12,.12) 100%)}
@media(max-width:640px){.hero-media::after{background:
  radial-gradient(ellipse 110% 50% at 50% 50%,rgba(6,7,12,.7) 0%,rgba(6,7,12,.6) 58%,rgba(6,7,12,.2) 90%,rgba(6,7,12,.04) 100%),
  linear-gradient(180deg,rgba(6,7,12,.45) 0%,rgba(6,7,12,.05) 20%,rgba(6,7,12,.12) 100%)}}

/* ---- hero type ---- */
.hero .eyebrow{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 14px;color:rgba(255,255,255,.86);font-weight:500;letter-spacing:.24em;font-variant-numeric:tabular-nums}
.hero .eyebrow>span+span::before{content:"";display:inline-block;width:18px;height:1px;background:var(--gold);vertical-align:middle;margin-right:14px;opacity:.9}
.hero .eyebrow .geo{color:var(--gold-bright)}
.hero h1{font-family:var(--display);font-weight:300;font-variation-settings:"opsz" 144;font-size:clamp(3rem,9.2vw,6.4rem);letter-spacing:.03em;line-height:.98;font-variant-ligatures:none;font-kerning:normal}
.hero h1 span{color:var(--gold-bright);font-family:var(--display);font-weight:300;font-variation-settings:"opsz" 36;font-size:clamp(1.15rem,2.2vw,1.45rem);letter-spacing:.04em;text-transform:none;margin-top:16px;padding-left:0}
.hero .lede br{display:none}
.hero .lede{text-wrap:balance;max-width:34em;margin-left:auto;margin-right:auto;color:rgba(255,255,255,.88)}
.hero .lede .ph{display:inline-block}
.hero .lede .nw{white-space:nowrap}
.stat .l .sep{display:none}
:lang(ja) .hero .lede{word-break:auto-phrase}
.hero h1,.hero .lede,.hero .eyebrow,.hero h1 span{text-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 22px rgba(0,0,0,.6)}
/* flat gold, no glow */
.btn-gold{background:var(--gold);box-shadow:0 0 0 1px rgba(201,169,98,.4)}
.btn-gold:hover{background:var(--gold-bright)}
.hero .btn-ghost{border-color:rgba(255,255,255,.5);background:rgba(8,8,12,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hero .btn-ghost:hover{border-color:var(--gold-bright);color:var(--gold-bright)}
/* one gold fill per screen: nav contact becomes outline on the top page */
.navlinks a.nav-cta{background:none;color:var(--gold-bright);border:1px solid rgba(201,169,98,.7);padding:7px 15px}
.navlinks a.nav-cta:hover{background:rgba(201,169,98,.12)}

/* ---- Pacific swell: own drawn line, connects hero to the next section ---- */
.hero-swell{position:absolute;left:0;right:0;bottom:8px;height:34px;z-index:2;pointer-events:none;overflow:hidden;color:var(--gold)}
.hero-swell svg{position:absolute;bottom:0;left:0;width:200%;height:100%}
.hero-swell .s1{opacity:.85;animation:hmSwell 18s linear infinite}
.hero-swell .s2{opacity:.42;animation:hmSwell 26s linear infinite reverse}
.hero-swell path{fill:none;stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
@keyframes hmSwell{to{transform:translateX(-50%)}}

/* ---- foot: credit + pause ---- */
.hero-foot{position:absolute;left:0;right:0;bottom:40px;z-index:3;pointer-events:none}
.hero-foot .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hero-credit{font-size:11px;letter-spacing:.06em;color:rgba(255,255,255,.66);text-shadow:0 1px 8px rgba(0,0,0,.8)}
.hero-credit .loc{white-space:nowrap}
.hero-pause{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(10,10,12,.45);color:rgba(255,255,255,.86);font:500 11px/1 var(--sans);letter-spacing:.08em;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hero-pause:hover{border-color:var(--gold);color:#fff}
.hero-pause[hidden]{display:none}
.hero-pause .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero-pause .ts{display:inline}
.hero-pause .ico{width:10px;height:10px;display:inline-block;background:linear-gradient(90deg,currentColor 0 35%,transparent 35% 65%,currentColor 65%)}
.hero-pause.is-paused .ico{background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%)}

/* ---- entrance: timed to the video's 124 BPM grid (1 beat = .484s) ---- */
@keyframes hmWipe{from{clip-path:inset(-1em 100% -1em -1em)}to{clip-path:inset(-1em -1em -1em -1em)}}
@keyframes hmRise{from{clip-path:inset(-25% -1em 100% -1em);translate:0 .28em}to{clip-path:inset(-25% -1em -25% -1em);translate:0 0}}
@keyframes hmUp{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes hmFade{from{opacity:0}to{opacity:1}}
.hero .eyebrow{animation:hmWipe calc(var(--beat)*2) .1s cubic-bezier(.65,0,.35,1) both}
.hero h1{animation:hmRise calc(var(--beat)*2) var(--beat) cubic-bezier(.16,1,.3,1) both}
.hero h1 span{animation:hmWipe calc(var(--beat)*2) calc(var(--beat)*1.75) cubic-bezier(.65,0,.35,1) both}
.hero .lede{animation:hmUp calc(var(--beat)*2) calc(var(--beat)*1.75) cubic-bezier(.16,1,.3,1) both}
.hero .cta{animation:hmUp calc(var(--beat)*1.25) calc(var(--beat)*2.25) cubic-bezier(.16,1,.3,1) both}
.hero-foot{animation:hmFade var(--beat) 0s ease both}
.hero-swell{animation:hmOpen calc(var(--beat)*4) calc(var(--beat)*2) cubic-bezier(.65,0,.35,1) both}
@keyframes hmOpen{from{clip-path:inset(0 50% 0 50%)}to{clip-path:inset(0 0 0 0)}}

/* ---- scroll reveal (class added by JS only to below-the-fold items, so no-JS shows everything) ---- */
.hm-r{opacity:0;translate:0 12px;transition:opacity .6s cubic-bezier(.16,1,.3,1),translate .6s cubic-bezier(.16,1,.3,1);transition-delay:var(--hm-d,0s)}
.hm-r.hm-in{opacity:1;translate:0 0}
.lane.hm-r,.card.hm-r,.role.hm-r{transition:opacity .6s cubic-bezier(.16,1,.3,1),translate .6s cubic-bezier(.16,1,.3,1),border-color .25s,transform .25s;transition-delay:var(--hm-d,0s),var(--hm-d,0s),0s,0s}

/* ---- phone ---- */
@media(max-width:640px){
  header.hero{min-height:auto;padding:76px 0 124px}
  .hero .eyebrow{letter-spacing:.16em;font-size:10.5px;gap:6px 10px}
  .hero .eyebrow>span+span::before{width:12px;margin-right:10px}
  .hero-credit{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hero-credit .loc{display:none}
  .hero-swell{height:28px;bottom:6px}
  .hero-foot{bottom:36px}
  .stats .wrap{grid-template-columns:1fr}
  .stat{text-align:left;padding:18px 24px;border-right:none;border-bottom:1px solid var(--line)}
  .stat:last-child{border-bottom:none}
  .stat .l{margin-top:6px}
  .stat .l br{display:none}
  .stat .l .sep{display:inline}
}
/* landscape phone: name + primary CTA must fit one screen */
@media(orientation:landscape) and (max-height:500px){
  header.hero{min-height:auto;padding:22px 0 84px}
  .hero h1{font-size:2.6rem;margin-top:10px}
  .hero h1 span{margin-top:10px}
  .hero .lede{display:none}
  .hero .cta{margin-top:18px}
  .hero-swell{height:24px}
  .hero-foot{bottom:26px}
  .hero-media::after{background:radial-gradient(ellipse 62% 96% at 50% 46%,rgba(6,7,12,.7) 0%,rgba(6,7,12,.62) 60%,rgba(6,7,12,.28) 100%),linear-gradient(180deg,rgba(6,7,12,.4) 0%,rgba(6,7,12,.1) 30%,rgba(6,7,12,.12) 100%)}
}

@media(prefers-reduced-motion:reduce){
  .hero-media video{display:none}
  .hero .eyebrow,.hero h1,.hero h1 span,.hero .lede,.hero .cta,.hero-foot,.hero-swell{animation:none!important}
  .hero-swell .s1,.hero-swell .s2{animation:none}
  .hm-r{opacity:1!important;translate:none!important;transform:none!important}
}
