@charset "utf-8";
/* HATCH EGG TART teaser */
/* Layout: one still screen. Signage-like corners frame a centred logo; the egg hatches once, then rests. */
:root {
  --mortar: #E7E6E2;      /* ground: light mortar, cool-leaning grey */
  --blue: #004EA2;        /* brand blue (logo) */
  --blue-soft: rgba(0, 78, 162, .62);
  --fg: #FFFFFF;          /* information colour; starts blue, turns white once the screen floods */
  --fg-soft: rgba(255, 255, 255, .66);
  --yolk: #F4B43A;        /* custard light, the only warm colour */
  --font-sign: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-num: "Outfit", "Helvetica Neue", Arial, sans-serif;  /* numerals: plain 1, closed 4 */
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color-scheme: light;
}
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--mortar);
  color: var(--fg);
  font-family: var(--font-sign);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
/* mortar grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .44  0 0 0 0 .42  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.stage {
  position: fixed; inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(18px, 3.2vh, 36px));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(18px, 3.2vh, 36px));
  /* side margins match the bottom margin */
  padding-left: max(clamp(16px, 3.2vh, 36px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 3.2vh, 36px), env(safe-area-inset-right, 0px));
}
.label {
  font-size: 11px; font-weight: 600; letter-spacing: .26em; font-stretch: 118%;
  text-transform: uppercase; line-height: 1.4;
}
.top { display: flex; justify-content: center; }
.center { display: grid; place-items: center; min-height: 0; }
.logo-btn {
  display: block; height: 100%; max-height: min(40svh, 420px); min-height: 200px;
}
.logo { height: 100%; width: auto; max-width: 74vw; display: block; overflow: visible; }
.logo .ink { fill: var(--fg); }

.bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "addr when social"; align-items: end; gap: 16px;
}
/* Grand Opening: three lines sized by script so they share one width */
.when { grid-area: when; }
/* one-line opening: "2026.12.24 GRAND OPEN" */
/* two lines: the date leads; GRAND OPEN sits small beneath, tracked out to the date's width */
.oneline { margin: 0; display: grid; justify-items: center; gap: 9px; white-space: nowrap; line-height: 1; }
.oneline .date { font-family: var(--font-num); font-size: clamp(26px, 2.5vw, 38px); font-weight: 300; letter-spacing: .02em; margin-right: -.02em; }
.oneline .go { font-family: var(--font-sign); font-size: clamp(13px, 1.05vw, 16px); font-weight: 600; font-stretch: 118%; text-transform: uppercase; letter-spacing: .42em; margin-right: -.42em; }
.when-old { width: clamp(150px, 12vw, 196px); display: grid; gap: .55em; justify-items: start; }
.fit { display: block; width: max-content; white-space: nowrap; line-height: 1; }
.when .big { line-height: .82; }
.addrbox { grid-area: addr; }
.addrbox .addr { margin: 0 0 -4px; font-size: 14.5px; line-height: 1.86; }
.when .thin { font-weight: 380; justify-self: center; }
@media (min-width: 641px) {
  .center { padding-top: 4svh; }
  .oneline { gap: 3px; }
  /* account name and icons sit closer on PC */
  .sns { height: 30px; }
  .social { gap: 4px; }
  .links { margin-bottom: -6px; }
  /* icons grow upward from their baseline, closing the gap to the account name without changing the row's height */
  .sns svg { transform: scale(1.18); transform-origin: 50% 100%; }
}
.cd-until { display: none; }  /* trial: "Until just baked" hidden */
#cd { display: none; }  /* trial: whole countdown hidden; delete this line to bring it back */
.social { grid-area: social; }
.big {
  font-family: var(--font-num);
  font-size: clamp(30px, 4.4vw, 58px); font-weight: 300;
  letter-spacing: .01em; line-height: .9; font-variant-numeric: proportional-nums;
  font-feature-settings: "tnum" 0;
}
.mid { display: grid; justify-items: center; gap: 12px; text-align: center; }
.jp { margin: 0; font-family: var(--font-jp); font-size: 12px; letter-spacing: .2em; color: var(--fg); text-align: center; }
.ig {
  color: var(--fg); text-decoration: none; padding: 10px 2px; min-height: 24px;
  border-bottom: 1px solid var(--fg-soft);
}
.ig:hover { border-bottom-color: var(--fg); }
.intro { display: grid; gap: 6px; justify-items: center; }
.intro p { margin: 0; }
.addr { font-family: var(--font-jp); font-size: 11px; letter-spacing: .1em; color: var(--fg-soft); }
.social { display: grid; justify-items: end; gap: 2px; }
.handle { color: var(--fg-soft); }
.links { display: flex; justify-content: flex-end; gap: 2px; margin-right: -6px; margin-bottom: -12px; }
.sns { display: grid; place-items: center; width: 36px; height: 44px; color: var(--fg); opacity: .9; transition: opacity .2s; }
.sns:hover { opacity: 1; }
.sns:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }
.ig:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.count { display: grid; gap: 6px; justify-items: end; text-align: right; }
.count .units { display: flex; gap: clamp(10px, 1.6vw, 22px); align-items: end; }
.count .u { display: grid; gap: 4px; justify-items: end; }
/* proportional digits keep the plain 1; a fixed box per pair stops the countdown from shifting */
.count .num { display: flex; }
.count .dg { display: block; width: .6em; text-align: center; }
.count .u > span:last-child { font-size: 9.5px; letter-spacing: .24em; font-weight: 600; font-stretch: 118%; color: var(--fg-soft); }
.reveal { opacity: 0; }
/* countdown laid over the egg: white on blue, blue where it crosses the white egg */
.cd-num { font-family: var(--font-num); font-weight: 300; }
.cd-lab { font-family: var(--font-sign); font-weight: 600; font-stretch: 118%; letter-spacing: .24em; text-transform: uppercase; }
.flood { position: fixed; inset: 0; background: var(--blue); clip-path: circle(150% at 50% 40%); pointer-events: none; }

@media (max-width: 640px) {
  .bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "when when" "addr social"; row-gap: 26px; }
  .when { justify-self: center; }
  .oneline .date { font-size: clamp(24px, 7vw, 30px); }
  .oneline .go { font-size: 12px; }
  .addrbox .addr { font-size: 12px; line-height: 1.75; white-space: nowrap; }
  .jp { font-size: 11px; letter-spacing: .14em; }
  .logo-btn { max-height: min(36svh, 64vw); min-height: 150px; }
  .label { font-size: 10px; letter-spacing: .2em; }
}
@media (max-height: 520px) {
  .jp { display: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ===== corners layout: copy top-left, address top-right; opening / SNS / countdown along the bottom ===== */
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.top .jp, .top .addr-top { margin: 0; font-family: var(--font-jp); font-size: 12px; letter-spacing: .14em; line-height: 1.6; color: var(--fg); }
.top .jp { text-align: left; }
.top .addr-top { text-align: right; }
.bottom { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "when social count"; }
.when { justify-self: start; }
.oneline { justify-items: start; }
.social { justify-self: center; justify-items: center; }
.links { justify-content: center; margin-right: 0; }
.count { grid-area: count; justify-self: end; gap: 0; }
.count .units { font-size: clamp(26px, 2.5vw, 38px); gap: clamp(10px, 1.2vw, 18px); line-height: 1; }
.count .u > span:last-child { font-size: 9.5px; }
/* phone: copy on top, opening date at the bottom, address down the left edge, SNS icons down the right edge */
@media (max-width: 640px) {
  .top { justify-content: center; }
  .top .jp { font-size: 11px; text-align: center; }
  .top .addr-top {
    position: fixed; top: 0; bottom: 0; margin: auto 0; height: fit-content;
    left: max(14px, env(safe-area-inset-left, 0px));
    writing-mode: vertical-rl; text-orientation: sideways;
    font-size: 10.5px; letter-spacing: .16em; line-height: 1.2; text-align: center;
  }
  /* the whole line turned to read bottom-to-top along the left edge */
  .top .addr-top span { display: inline-block; transform: rotate(180deg); }
  .bottom { grid-template-columns: 1fr; grid-template-areas: "when"; }
  .when { justify-self: center; }
  .oneline { justify-items: center; }
  .count { display: none; }
  .social {
    position: fixed; top: 0; bottom: 0; margin: auto 0; height: fit-content;
    right: max(6px, env(safe-area-inset-right, 0px));
  }
  .social .handle { display: none; }
  .links { flex-direction: column; margin: 0; gap: 0; }
  .logo-btn { max-height: min(29svh, 52vw); min-height: 130px; }
}

/* text selection: bright yellow with brand-blue text */
::selection { background: #FFFF00; color: var(--blue); }

/* until the script has set the opening state, show only the plain ground (no blue flash on first load) */
.js:not(.ready) .stage { visibility: hidden; }
.js:not(.ready) .flood { clip-path: circle(0px at 50% 50%); }
