:root{
  --ink:#0b0c0e;
  --ink-2:#14161a;
  --white:#ffffff;
  --red:#c0392b;
  --muted:#8b9099;
  --line:rgba(255,255,255,.14);
  --jp-green:#0a6b39;
  --plate-face:#f7f7f4;
}

*{box-sizing:border-box}

html,body{margin:0;padding:0}

body{
  background:var(--ink);
  color:var(--white);
  font-family:Poppins,"Segoe UI",Arial,sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background-image:radial-gradient(1100px 620px at 50% 8%, #1b1e23 0%, var(--ink) 62%);
}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.skip{position:absolute;left:-999px;top:0;background:var(--red);color:#fff;padding:10px 16px;z-index:20}
.skip:focus{left:12px;top:12px}

a{color:inherit}
a:focus-visible,.btn:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* ---------- top bar ---------- */

.bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px clamp(18px,5vw,64px);
  border-bottom:1px solid var(--line);
  flex-wrap:wrap;
}
.lockup{display:block;line-height:0}
.lockup-svg{width:clamp(150px,20vw,196px);height:auto;display:block}
.bar-tag{
  margin:0;
  font-size:11.5px;
  font-weight:500;
  letter-spacing:.16em;
  color:var(--muted);
  text-transform:uppercase;
}

/* ---------- stage ---------- */

main{flex:1;display:flex;flex-direction:column}

.stage{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:clamp(34px,5vw,58px);
  padding:clamp(40px,7vw,86px) clamp(18px,5vw,64px);
}

/* ---------- the plate journey ---------- */

.journey{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(14px,3vw,40px);
  width:100%;
  max-width:1020px;
}

.plate-wrap{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px;flex:0 1 auto}

.plate{
  --w:clamp(168px,25vw,300px);
  width:var(--w);
  aspect-ratio:2 / 1;
  background:var(--plate-face);
  border-radius:calc(var(--w) * .045);
  border:2px solid #d5d5cf;
  box-shadow:0 18px 40px rgba(0,0,0,.55), inset 0 1px 0 #fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.06em;
  position:relative;
  overflow:hidden;
}
.plate::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,rgba(255,255,255,0) 42%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 58%);
  transform:translateX(-120%);
}

.plate-top{font-size:calc(var(--w) * .105);line-height:1.05}
.plate-bottom{font-size:calc(var(--w) * .215);line-height:1.05;font-variant-numeric:tabular-nums}

.plate-jp{color:var(--jp-green)}
.plate-jp .plate-top,
.plate-jp .plate-bottom{
  font-family:"Noto Sans JP",Poppins,sans-serif;
  font-weight:700;
  letter-spacing:.06em;
}

.plate-bd{color:#111111;border-color:#c9c9c4}
.plate-bd .plate-top,
.plate-bd .plate-bottom{
  font-family:"Noto Sans Bengali",Poppins,sans-serif;
  font-weight:700;
  letter-spacing:.02em;
}
.plate-bd .plate-top{font-size:calc(var(--w) * .118)}
.plate-bd::before{
  content:"";
  position:absolute;
  top:8%;
  right:5%;
  width:calc(var(--w) * .05);
  height:calc(var(--w) * .05);
  background:var(--red);
  border-radius:2px;
  opacity:.9;
}

.plate-wrap figcaption{
  font-size:12.5px;
  color:var(--muted);
  font-weight:500;
  text-align:center;
  max-width:19ch;
  line-height:1.4;
}

/* ---------- split flap cells ---------- */

.flap-row{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
}
.flap{
  display:inline-block;
  text-align:center;
  min-width:.60em;
  position:relative;
  font-variant-numeric:tabular-nums;
}
.flap.wide{min-width:1.02em}
.flap.gap{min-width:.30em}
.flap.dash{min-width:.42em}

.flap.flipping{
  animation:flap-jitter .096s steps(2,end) infinite;
}
/* the seam only shows while a cell is turning, so a settled plate looks
   like a plate and a moving one looks like a board */
.flap.flipping::after{
  content:"";
  position:absolute;
  left:2%;
  right:2%;
  top:50%;
  height:1px;
  background:rgba(0,0,0,.30);
}
@keyframes flap-jitter{
  from{transform:translateY(-.045em) scaleY(.94)}
  to{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .flap.flipping{animation:none}
  .flap.flipping::after{display:none}
}

/* ---------- sea route ---------- */

.route{
  flex:1 1 130px;
  max-width:280px;
  min-width:86px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  align-self:center;
  margin-bottom:26px;
}
.route-svg{display:block;overflow:visible}
.route-svg.horizontal{width:100%;height:auto;aspect-ratio:260 / 90}
.route-svg.vertical{display:none}
.sea{
  stroke:rgba(255,255,255,.3);
  stroke-width:2;
  stroke-dasharray:7 8;
  stroke-linecap:round;
}
.route-label{
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#6f747d;
  font-weight:500;
  text-align:center;
  max-width:14ch;
  line-height:1.5;
}

/* ---------- copy block ---------- */

.say{max-width:62ch;text-align:center}

.say h1{
  margin:0 0 18px;
  font-size:clamp(27px,4.6vw,50px);
  line-height:1.06;
  font-weight:700;
  letter-spacing:-.022em;
  text-wrap:balance;
}
.lede{
  margin:0 0 14px;
  font-size:clamp(15px,1.7vw,17.5px);
  line-height:1.62;
  color:#d6d9de;
}
.soon{
  margin:0 auto 30px;
  font-size:14.5px;
  line-height:1.6;
  color:var(--muted);
  max-width:52ch;
  padding-top:14px;
  border-top:1px solid var(--line);
}

.cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

.btn{
  display:inline-block;
  padding:15px 26px;
  border-radius:3px;
  font-size:14.5px;
  font-weight:600;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.btn-red{background:var(--red);color:#fff;border:1px solid var(--red)}
.btn-red:hover{background:#a93226;border-color:#a93226}
.btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.32)}
.btn-ghost:hover{border-color:#fff}
.btn:active{transform:translateY(1px)}

/* ---------- road lane strip ---------- */

.lane{
  height:16px;
  background:
    repeating-linear-gradient(90deg,var(--white) 0 42px,transparent 42px 84px);
  opacity:.13;
  margin-top:auto;
}

/* ---------- footer ---------- */

.foot{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px clamp(20px,5vw,60px);
  padding:clamp(30px,5vw,54px) clamp(18px,5vw,64px);
  background:var(--ink-2);
  border-top:1px solid var(--line);
}
.foot-col h2{
  margin:0 0 10px;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#6f747d;
  font-weight:600;
}
.foot-col p{margin:0 0 6px;font-size:14.5px;color:#dcdfe4}
.foot-col a{text-decoration:none;border-bottom:1px solid rgba(255,255,255,.22);padding-bottom:1px}
.foot-col a:hover{border-color:var(--red);color:#fff}
.copy{
  grid-column:1 / -1;
  margin:8px 0 0;
  font-size:12.5px;
  color:#63686f;
}

/* ---------- entrance sequence ---------- */

@media (prefers-reduced-motion:no-preference){
  [data-side="from"]{animation:slide-from .8s cubic-bezier(.2,.8,.25,1) .1s both}
  [data-side="to"]{animation:slide-to .8s cubic-bezier(.2,.8,.25,1) .1s both}
  .route{animation:fade-in .7s ease .7s both}
  .say{animation:fade-in .8s ease .95s both}
  .plate::after{animation:sheen 1s ease 1.5s 1}
  .ship{animation:fade-in .6s ease 1.1s both}
}

@keyframes slide-from{from{opacity:0;transform:translateX(-26px)}to{opacity:1;transform:none}}
@keyframes slide-to{from{opacity:0;transform:translateX(26px)}to{opacity:1;transform:none}}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
@keyframes sheen{from{transform:translateX(-120%)}to{transform:translateX(120%)}}

/* ---------- mobile ---------- */

@media (max-width:720px){
  .journey{flex-direction:column;gap:8px}
  .plate{--w:min(76vw,290px)}
  .route{
    margin:0;
    width:auto;
    max-width:none;
    flex:0 0 auto;
    flex-direction:row;
    align-items:center;
    gap:12px;
    padding:4px 0;
  }
  .route-svg.horizontal{display:none}
  .route-svg.vertical{display:block;width:44px;height:96px}
  .foot{grid-template-columns:repeat(2,minmax(0,1fr))}
  @media (prefers-reduced-motion:no-preference){
    [data-side="from"]{animation-name:slide-up}
    [data-side="to"]{animation-name:slide-up}
  }
}

@keyframes slide-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}

@media (max-width:420px){
  .foot{grid-template-columns:1fr}
  .bar-tag{font-size:10px}
  .btn{width:100%;text-align:center}
}
