/* =========================================================
   takoyaki.web — Creative Web Studio
   Design language: darkness, one warm light, and the sphere.
   The period "." of every headline is a takoyaki.
   ========================================================= */

:root {
  --bg: #0a0806;
  --bg-2: #120e0b;          /* charcoal */
  --sauce: #1d120b;         /* deep brown */
  --sauce-2: #2b190e;
  --ink: #f3ece2;
  --ink-2: #cfc4b6;
  --muted: #8f8273;
  --line: rgba(243, 236, 226, .13);
  --line-2: rgba(243, 236, 226, .24);
  --orange: #ff7a1a;
  --orange-2: #ffa24f;
  --gold: #e3a25c;

  --f-en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: clamp(16px, 4.4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --ball: radial-gradient(circle at 34% 28%, #fff1d6 0 4%, #ffbf73 10%, #e8781f 30%, #9a4210 58%, #3a1606 82%, #1a0903 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: #140a03; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.fine { font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
br.pc { display: none; }
@media (min-width: 900px) { br.pc { display: inline; } }

/* ---------- The sphere as typography ---------- */
.t-dot {
  display: inline-block;
  width: .2em; height: .2em;
  margin-left: .06em;
  border-radius: 50%;
  background: var(--ball);
  box-shadow: 0 0 .25em rgba(255, 122, 26, .25);
  vertical-align: baseline;
  transform: translateY(-.005em);
}

/* ---------- Stage canvas ---------- */
#stage {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100lvh;
  display: block;
  z-index: 0;
  pointer-events: none;
  transition: opacity .2s linear;
}
main, .footer, .header { position: relative; z-index: 2; }
.ticker { position: relative; z-index: 2; }

/* ---------- Opening ---------- */
.intro {
  position: fixed; inset: 0; z-index: 60;
  display: none;
  place-items: center;
  pointer-events: none;
  background: transparent;
}
.js[data-intro="full"] .intro, .js[data-intro="short"] .intro { display: grid; }
.intro-word {
  font-family: var(--f-en);
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  font-size: clamp(34px, 8.6vw, 150px);
  line-height: 1;
  letter-spacing: -.01em;
  display: flex; align-items: baseline;
  white-space: nowrap;
  transform-origin: 0 0;
}
.iw-part { display: inline-flex; overflow: hidden; padding: .06em 0 .04em; }
.iw-part > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.iw-part > span:nth-child(2) { transition-delay: .04s } .iw-part > span:nth-child(3) { transition-delay: .08s }
.iw-part > span:nth-child(4) { transition-delay: .12s } .iw-part > span:nth-child(5) { transition-delay: .16s }
.iw-part > span:nth-child(6) { transition-delay: .2s }  .iw-part > span:nth-child(7) { transition-delay: .24s }
.iw-part > span:nth-child(8) { transition-delay: .28s }
.iw-b > span { transition-delay: .32s !important; }
.iw-b > span:nth-child(2) { transition-delay: .36s !important; } .iw-b > span:nth-child(3) { transition-delay: .4s !important; }
.intro.word-in .iw-part > span { transform: none; }
.iw-dot {
  display: inline-block; width: .22em; height: .22em; margin: 0 .08em 0 .07em;
  border-radius: 50%; background: var(--ball);
  opacity: 0; transform: scale(.4);
  transition: opacity .25s linear, transform .5s var(--spring);
}
.intro.dot-in .iw-dot { opacity: 1; transform: none; }
.no-webgl .intro.word-in .iw-dot { opacity: 1; transform: none; transition-delay: .5s; }
.intro-sub {
  position: absolute; left: 50%; bottom: 16vh; transform: translateX(-50%);
  font-family: var(--f-en); font-size: 11px; letter-spacing: .32em; color: var(--muted);
  white-space: nowrap; opacity: 0; transition: opacity 1s linear .4s;
}
.intro.word-in .intro-sub { opacity: 1; }
.intro-load {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; color: var(--muted);
}
.intro-bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.intro.leaving { transition: opacity .6s linear; opacity: 0; }
.intro.leaving .intro-load, .intro.leaving .intro-sub { opacity: 0; transition: opacity .3s; }
.intro-skip {
  position: fixed; right: var(--gutter); top: 22px; z-index: 61;
  display: none;
  background: none; border: 1px solid var(--line-2); border-radius: 99px;
  padding: 8px 18px; font-family: var(--f-en); font-size: 11px; letter-spacing: .22em; cursor: pointer;
  transition: border-color .3s, background .3s, opacity .4s;
}
.intro-skip:hover { border-color: var(--orange); }
.js.is-intro .intro-skip { display: block; }

/* While the intro is playing, the page waits underneath. */
.js.is-intro { overflow: hidden; }
.js.is-intro .header { opacity: 0; transform: translateY(-20px); }
.js.is-intro .hero-inner, .js.is-intro .scroll-cue { visibility: hidden; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease), opacity .6s linear, background .4s;
}
.header.scrolled { background: rgba(10, 8, 6, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header.hide { transform: translateY(-100%); }
.brand {
  display: inline-flex; align-items: baseline;
  font-family: var(--f-en); font-weight: 800; font-variation-settings: "wdth" 118;
  font-size: 19px; letter-spacing: -.005em; line-height: 1;
}
.brand-dot { width: .24em; height: .24em; margin: 0 .08em 0 .07em; border-radius: 50%; background: var(--ball); display: inline-block; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-family: var(--f-en); font-size: 13px; letter-spacing: .06em; }
.nav a { position: relative; padding: 6px 0; }
.nav a:not(.nav-cta)::before {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--orange); transform: scale(0); transition: transform .4s var(--spring);
}
.nav a:not(.nav-cta):hover::before, .nav a.active::before { transform: scale(1); }
.nav-cta { font-family: var(--f-jp); font-weight: 700; padding: 9px 20px !important; border-radius: 99px; background: var(--ink); color: var(--bg); transition: background .3s; }
.nav-cta:hover { background: var(--orange); }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .header { padding: 14px var(--gutter); }
  .menu-btn {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,8,6,.5); cursor: pointer; z-index: 2;
  }
  .menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
  .menu-open .menu-btn i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-btn i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 80px var(--gutter) 40px;
    background: var(--bg);
    font-size: clamp(34px, 10vw, 54px); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.01em;
    clip-path: circle(0 at calc(100% - var(--gutter) - 23px) 37px);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s linear .7s;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - var(--gutter) - 23px) 37px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .nav a:not(.nav-cta)::before { left: -16px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  .nav-cta { font-size: 18px; margin-top: 24px; }
  .menu-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 10px 0 26px; border-radius: 99px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; white-space: nowrap;
  cursor: pointer; border: 0; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), color .3s;
}
.btn i {
  width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); border-radius: 50%; flex: none;
  background: #140a03; display: grid; place-items: center;
  transition: transform .5s var(--ease-out);
}
.btn i::before { content: "→"; font-style: normal; color: var(--orange); font-family: var(--f-en); font-weight: 700; }
.btn-primary { background: var(--orange); color: #140a03; }
.btn-primary::before {
  content: ""; position: absolute; z-index: -1; right: 8px; top: 50%; width: calc(var(--h) - 16px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); transform: translateY(-50%) scale(0); transition: transform .6s var(--ease-out);
}
.btn-primary:hover::before { transform: translateY(-50%) scale(14); }
.btn-primary:hover i { transform: rotate(-45deg); }
.btn-ghost { padding: 0 26px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-weight: 500; }
.btn-ghost:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-xl { --h: 68px; font-size: 17px; padding-left: 32px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; padding-bottom: 4px; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(36px, 6vh, 72px);
}
.hero-stage {
  position: absolute; z-index: 0;
  right: 3vw; top: 47%;
  width: min(48vw, 70vh); aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.fallback-orb { display: none; position: absolute; inset: 14%; border-radius: 50%; background: var(--ball); box-shadow: 0 30px 120px rgba(255, 122, 26, .18); }
.no-webgl .fallback-orb { display: block; animation: orb-float 9s ease-in-out infinite; }
@keyframes orb-float { 50% { transform: translateY(-3%) rotate(8deg); } }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-2); margin-bottom: clamp(20px, 3vh, 36px); }
.pill { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .24em; border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 12px; color: var(--ink); }
.hero-title {
  font-family: var(--f-en); font-weight: 800; font-variation-settings: "wdth" 112;
  font-size: clamp(44px, 10.4vw, 196px);
  line-height: .86; letter-spacing: -.025em; text-transform: uppercase;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .ln:nth-child(2) { padding-left: 1.4em; }
.hero-title .ln:nth-child(2) > span { font-weight: 300; font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(28px, 5vh, 56px); }
.hero-jp { font-size: clamp(20px, 2.1vw, 30px); font-weight: 700; line-height: 1.55; letter-spacing: .04em; }
.hero-lead { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta { display: grid; gap: 14px; padding-left: 24px; border-left: 1px solid var(--line-2); flex: none; }
.hero-meta dt { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.hero-meta dd { font-size: 13px; line-height: 1.2; }
.hero-meta b { font-family: var(--f-en); font-weight: 700; font-size: 30px; letter-spacing: -.01em; margin-right: 2px; }
.hero-meta small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.scroll-cue {
  position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-en); font-size: 10px; letter-spacing: .3em; color: var(--muted);
}
.scroll-cue::before { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); order: 1; }
.scroll-ball { width: 9px; height: 9px; border-radius: 50%; background: var(--ball); order: 0; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0 } 15% { opacity: 1 } 70% { transform: translateY(44px); opacity: 1 } 100% { transform: translateY(54px); opacity: 0 } }

/* hero entrance, triggered after the intro */
.js .hero-title .ln > span { transform: translateY(105%); }
.js .hero.in .hero-title .ln > span { transform: none; transition: transform 1.25s var(--ease-out); }
.js .hero.in .hero-title .ln:nth-child(2) > span { transition-delay: .08s; }
.js .hero.in .hero-title .ln:nth-child(3) > span { transition-delay: .16s; }
.js .hero .reveal-up { transition-delay: .35s; }
.js .hero .hero-meta.reveal-up { transition-delay: .5s; }

@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-top: 46vh; padding-top: 44svh; }
  .hero-stage { right: auto; left: 50%; top: 8vh; width: min(78vw, 46vh); transform: translateX(-50%); }
  .hero-title { font-size: clamp(40px, 12.6vw, 96px); font-variation-settings: "wdth" 96; }
  .hero-title .ln:nth-child(2) { padding-left: .9em; }
  .hero-bottom { flex-direction: column; align-items: stretch; gap: 26px; }
  .hero-meta { grid-template-columns: 1fr 1fr; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .hero-meta b { font-size: 24px; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) {
  .hero-cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero-cta .btn-ghost { justify-content: center; }
}

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 38s linear infinite; font-family: var(--f-en); font-weight: 700; font-variation-settings: "wdth" 118; font-size: clamp(18px, 2vw, 26px); letter-spacing: .02em; white-space: nowrap; }
.ticker-track i { width: 12px; height: 12px; border-radius: 50%; background: var(--ball); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 190px) 0; position: relative; }
.philosophy, .works, .services, .price, .process, .faq { background: var(--bg); }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3vw, 36px); }
.idx {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--f-en); font-size: 11px; font-weight: 600; letter-spacing: 0;
}
.sec-label { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: .28em; color: var(--muted); font-weight: 600; }
.sec-title { font-size: clamp(34px, 5.6vw, 86px); font-weight: 700; line-height: 1.16; letter-spacing: .01em; }
.sec-lead { margin-top: 22px; color: var(--ink-2); max-width: 34em; }

/* reveal */
.js .reveal-up { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease), transform .9s var(--ease-out); }
.js .reveal-up.in { opacity: 1; transform: none; }

/* ---------- Philosophy ---------- */
.ph-title { display: grid; gap: 14px; }
.ph-en {
  font-family: var(--f-en); font-weight: 800; font-variation-settings: "wdth" 120;
  font-size: clamp(48px, 12.4vw, 220px); line-height: .9; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.2px var(--ink-2);
}
.ph-en .t-dot { -webkit-text-stroke: 0; }
.ph-jp { font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; }
.ph-statement {
  margin-top: clamp(48px, 8vw, 110px); max-width: 26em;
  font-size: clamp(22px, 3.1vw, 46px); line-height: 1.75; font-weight: 700; letter-spacing: .02em;
  margin-left: auto;
}
.ph-statement .ch { opacity: .14; transition: opacity .25s linear; }
.ph-statement .ch.on { opacity: 1; }
.no-js .ph-statement .ch, .reduce-motion .ph-statement .ch { opacity: 1; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(72px, 10vw, 150px); }
.principles li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.p-num { font-family: var(--f-en); font-size: 12px; color: var(--orange); letter-spacing: .2em; font-weight: 700; }
.principles h3 { font-size: clamp(21px, 1.9vw, 27px); margin: 14px 0 12px; line-height: 1.45; }
.principles p { color: var(--ink-2); font-size: 15px; }
.maker {
  margin-top: clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--sauce);
}
.maker-orb { aspect-ratio: 1; border-radius: 50%; position: relative; }
.maker-orb::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgba(255, 162, 79, .35); animation: spin 40s linear infinite; }
.maker-orb span { position: absolute; inset: 0; border-radius: 50%; background: var(--ball); box-shadow: inset -18px -24px 50px rgba(0,0,0,.5), 0 20px 80px rgba(255,122,26,.12); }
@keyframes spin { to { transform: rotate(360deg); } }
.maker-name { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; margin: 10px 0 14px; line-height: 1.3; }
.maker-name span { font-family: var(--f-en); font-size: 13px; color: var(--muted); letter-spacing: .14em; margin-left: 10px; font-weight: 500; }
.maker p:not(.maker-name):not(.fine) { color: var(--ink-2); }
.maker .fine { margin-top: 12px; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .maker { grid-template-columns: 1fr; }
  .maker-orb { width: 120px; }
  .ph-statement { margin-left: 0; }
}

/* ---------- Works ---------- */
.works .sec-lead { margin-bottom: clamp(56px, 8vw, 110px); }
.work {
  max-width: var(--max); margin: 0 auto clamp(80px, 12vw, 170px); padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: center;
}
.work--alt { grid-template-columns: 1fr 1.55fr; }
.work--alt .work-media { order: 2; }
.work-media { position: relative; display: block; perspective: 1200px; cursor: pointer; }
.work-frame {
  display: block; position: relative; overflow: hidden; border-radius: 22px;
  aspect-ratio: 1250 / 620; background: var(--sauce);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out), clip-path 1.6s var(--ease-out);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8);
}
.js .work-frame { clip-path: circle(9% at 50% 50%); }
.js .work.in .work-frame { clip-path: circle(75% at 50% 50%); }
.work-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: filter .6s; filter: saturate(.9) brightness(.92); }
.work-media:hover img { filter: none; }
.work-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.work-no { font-family: var(--f-en); font-weight: 800; font-size: 13px; color: var(--orange); letter-spacing: .2em; }
.work-cat { font-family: var(--f-en); font-size: 11px; letter-spacing: .24em; color: var(--muted); margin-top: 10px; }
.work-title {
  font-family: var(--f-en); font-weight: 800; font-variation-settings: "wdth" 116;
  font-size: clamp(42px, 5.6vw, 96px); line-height: .9; letter-spacing: -.025em; margin: 16px 0 22px;
}
.work-desc { color: var(--ink-2); font-size: 15px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.work-tags li { font-size: 12px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink-2); }
.js .work-info > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); }
.js .work.in .work-info > * { opacity: 1; transform: none; }
.js .work.in .work-info > *:nth-child(2) { transition-delay: .06s } .js .work.in .work-info > *:nth-child(3) { transition-delay: .12s }
.js .work.in .work-info > *:nth-child(4) { transition-delay: .18s } .js .work.in .work-info > *:nth-child(5) { transition-delay: .24s }
.js .work.in .work-info > *:nth-child(6) { transition-delay: .3s }
.works-note { margin-top: -40px; }
@media (max-width: 860px) {
  .work, .work--alt { grid-template-columns: 1fr; }
  .work--alt .work-media { order: 0; }
  .work-frame { border-radius: 16px; }
}

/* ---------- Services ---------- */
.sv-list { margin: clamp(48px, 7vw, 96px) 0 28px; border-bottom: 1px solid var(--line-2); }
.sv-row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline;
  padding: clamp(26px, 3.4vw, 44px) 0; border-top: 1px solid var(--line-2); position: relative;
}
.sv-no { font-family: var(--f-en); font-size: 12px; color: var(--muted); letter-spacing: .2em; }
.sv-name { transition: transform .6s var(--ease-out); position: relative; }
.sv-name::before {
  content: ""; position: absolute; left: -34px; top: .55em; width: 18px; height: 18px; border-radius: 50%; background: var(--ball);
  transform: scale(0); transition: transform .5s var(--spring);
}
.sv-row:hover .sv-name { transform: translateX(34px); }
.sv-row:hover .sv-name::before { transform: scale(1); }
.sv-en { font-family: var(--f-en); font-weight: 800; font-variation-settings: "wdth" 116; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; letter-spacing: -.02em; display: block; }
.sv-name h3 { font-size: 15px; color: var(--ink-2); margin-top: 10px; font-weight: 500; }
.sv-row p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .sv-row { grid-template-columns: 1fr; gap: 10px; }
  .sv-row:hover .sv-name { transform: none; }
  .sv-name::before { display: none; }
}

/* ---------- Pricing ---------- */
.pr-block { margin-top: clamp(64px, 8vw, 110px); }
.pr-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.pr-head h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; }
.pr-head h3 .sec-label { margin-bottom: 8px; }
.pr-head p { color: var(--ink-2); }
.pr-head .campaign { grid-column: 1 / -1; font-size: 14px; color: var(--orange-2); }
.hl { color: var(--ink); background: linear-gradient(transparent 62%, rgba(255, 122, 26, .38) 0); padding: 0 2px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px clamp(18px, 2.4vw, 36px) 32px; border-right: 1px solid var(--line); }
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; padding-right: 0; }
.plan--pick::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--orange); }
.plan:first-child.plan--pick::before { left: 0; }
.plan-en { font-family: var(--f-en); font-size: 11px; letter-spacing: .26em; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.badge { font-family: var(--f-jp); letter-spacing: .06em; font-size: 11px; color: #140a03; background: var(--orange); padding: 2px 10px; border-radius: 99px; font-weight: 700; }
.plan h4 { font-size: clamp(22px, 2vw, 28px); margin-top: 10px; }
.plan-lead { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.plan-price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--f-en); font-weight: 700; font-size: clamp(46px, 4.6vw, 74px); line-height: 1; letter-spacing: -.035em; font-variation-settings: "wdth" 100; }
.plan-price span { font-size: 14px; color: var(--ink-2); }
.plan-future { margin-top: 20px; font-size: 12px; color: var(--muted); }
.plan-future s { color: var(--ink-2); margin-right: 6px; }
.plan-future + .plan-price { margin-top: 6px; }
.plan-total { font-size: 12.5px; color: var(--muted); }
.plan ul { margin: 20px 0 28px; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.plan-link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 15px 0 0; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: color .3s; }
.plan-link span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s, color .4s, transform .5s var(--ease-out), border-color .3s; }
.plan-link:hover { color: var(--orange-2); }
.plan-link:hover span { background: var(--orange); color: #140a03; border-color: var(--orange); transform: rotate(45deg); }
.pr-common { margin: 28px 0 0; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pr-common strong { color: var(--ink); }
.monitor {
  margin: 20px 0 22px; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: var(--sauce);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px clamp(24px, 4vw, 64px); align-items: center;
  border: 1px solid rgba(255, 162, 79, .2);
}
.monitor-title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; margin-top: 8px; }
.monitor .plan-price { margin: 10px 0 0; }
.monitor-r p:first-child { color: var(--ink-2); }
.monitor-r .fine { margin: 12px 0 8px; }
.monitor .plan-link { border-top: 0; justify-content: flex-start; gap: 12px; }
.pr-block--monthly .plans { margin-bottom: 20px; }
.terms { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.terms summary { padding: 18px 0; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after, .faq summary::after { content: "+"; font-family: var(--f-en); font-weight: 400; font-size: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease-out), background .3s; }
.terms[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #140a03; border-color: var(--orange); }
.terms ul { padding: 0 0 22px; display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.terms li { padding-left: 18px; position: relative; }
.terms li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:first-child, .plan:last-child { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pr-head, .monitor { grid-template-columns: 1fr; }
}

/* ---------- Process (a takoyaki pan) ---------- */
.pan {
  margin-top: clamp(56px, 8vw, 100px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: clamp(28px, 3.6vw, 52px) clamp(16px, 2.4vw, 36px);
  border-radius: 34px;
  background: linear-gradient(180deg, #1b1612 0%, #110d0a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -2px 0 rgba(0,0,0,.6), 0 50px 100px -50px rgba(0,0,0,.9);
}
.pan-step { padding: 0 clamp(10px, 1.6vw, 24px); position: relative; }
.pan-step + .pan-step::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,.05); }
.pan-hole {
  display: block; width: clamp(92px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; position: relative; margin-bottom: 26px;
  background: radial-gradient(circle at 50% 38%, #050403 0 46%, #15100c 70%, #241b14 100%);
  box-shadow: inset 0 14px 22px rgba(0,0,0,.85), inset 0 -3px 6px rgba(255,255,255,.06), 0 1px 0 rgba(255,255,255,.06);
}
.pan-ball {
  position: absolute; inset: 9%; border-radius: 50%; background: var(--ball);
  box-shadow: inset -10px -14px 26px rgba(0,0,0,.55);
  transform: translateY(-160%) scale(.7); opacity: 0;
  transition: transform .9s var(--spring), opacity .25s linear;
}
.pan-step.in .pan-ball { transform: none; opacity: 1; }
.pan-step.in .pan-ball { animation: ball-turn 6s var(--ease) 1s infinite; }
@keyframes ball-turn { 0%, 70% { rotate: 0deg } 85%, 100% { rotate: 180deg } }
.no-js .pan-ball, .reduce-motion .pan-ball { transform: none; opacity: 1; animation: none !important; }
.pan-no { font-family: var(--f-en); font-size: 11px; letter-spacing: .24em; color: var(--orange); font-weight: 700; }
.pan-step h3 { font-size: clamp(19px, 1.7vw, 24px); margin: 8px 0 10px; }
.pan-step p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) {
  .pan { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pan-step:nth-child(3)::before { display: none; }
}
@media (max-width: 480px) {
  .pan { grid-template-columns: 1fr; border-radius: 24px; }
  .pan-step { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; padding: 0; }
  .pan-step + .pan-step::before { display: none; }
  .pan-hole { width: 84px; grid-row: span 3; margin: 0; }
}
.payment { margin-top: clamp(64px, 8vw, 110px); }
.payment dl { margin-top: 18px; border-top: 1px solid var(--line-2); }
.payment dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.payment dt { font-weight: 700; }
.payment dd { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 640px) { .payment dl > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: clamp(16px, 1.4vw, 19px); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-2); }
.faq details p { padding: 0 54px 26px 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .faq details p { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.pan-stage { position: absolute; right: 3vw; top: 50%; transform: translateY(-50%); width: min(40vw, 72vh); aspect-ratio: 1.05; pointer-events: none; }
.fallback-pan { display: none; position: absolute; inset: 12%; grid-template-columns: repeat(3, 1fr); gap: 8%; }
.fallback-pan i { border-radius: 50%; background: var(--ball); box-shadow: inset -8px -12px 22px rgba(0,0,0,.5); }
.no-webgl .fallback-pan { display: grid; }
.contact-copy { position: relative; z-index: 1; }
.contact-en {
  font-family: var(--f-en); font-weight: 800; font-variation-settings: "wdth" 116;
  font-size: clamp(44px, 7.4vw, 136px); line-height: .88; letter-spacing: -.03em;
}
.contact-title { margin-top: clamp(26px, 4vw, 48px); font-size: clamp(28px, 4vw, 58px); line-height: 1.35; font-weight: 700; }
.contact-lead { margin-top: 18px; color: var(--ink-2); max-width: 30em; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 14px; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px clamp(20px, 3vw, 40px);
  padding: clamp(26px, 4vw, 60px); border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line);
  position: relative; z-index: 1;
}
.form-head { grid-column: 1 / -1; }
.form-head h3 { font-size: clamp(20px, 2vw, 26px); }
.form-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; }
.field em { font-style: normal; font-size: 11px; color: var(--orange-2); margin-left: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 2px; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field ::placeholder { color: #5e5348; }
.form-foot { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.form-status { font-size: 14px; color: var(--orange-2); min-height: 1em; }
@media (max-width: 860px) {
  .contact-hero { flex-direction: column; align-items: stretch; padding-top: 0; min-height: 0; }
  .pan-stage { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 520px; margin: 0 auto -6vh; aspect-ratio: 1.15; }
  .form { grid-template-columns: 1fr; }
  .contact-cta .btn { max-width: 100%; }
}
@media (max-width: 420px) {
  .contact-cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .contact-cta .btn-ghost { justify-content: center; font-size: 14px; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 9vw, 120px) 0 28px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-mark {
  font-family: var(--f-en); font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(30px, 9.4vw, 172px); line-height: .85; letter-spacing: -.03em; white-space: nowrap;
  display: flex; align-items: baseline;
}
.footer-mark .t-dot { width: .22em; height: .22em; margin: 0 .07em; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: 13px; color: var(--muted); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-row a:hover { color: var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .work-frame { clip-path: none; }
}

/* ---------- Script safety net ---------- */
.safe .reveal-up, .safe .work-info > *, .safe .hero-title .ln > span { opacity: 1 !important; transform: none !important; }
.safe .work-frame { clip-path: none !important; }
.safe .intro, .safe .intro-skip { display: none !important; }
.safe .pan-ball { transform: none; opacity: 1; }
@media (max-width: 600px) {
  .intro-sub { white-space: normal; width: 86%; text-align: center; letter-spacing: .22em; line-height: 2; bottom: 18vh; }
}
@media (max-width: 600px) {
  .contact-en { font-size: 10.6vw; font-variation-settings: "wdth" 96; }
}
/* backdrop-filter / transform would trap the fixed menu inside the header */
.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: transparent; }

/* Larger CSS spheres get the same browned crust as the 3D ones. */
:root {
  --crust:
    radial-gradient(circle at 34% 28%, rgba(255, 241, 214, .9) 0 3%, rgba(255, 220, 170, 0) 13%),
    radial-gradient(ellipse 22% 16% at 62% 58%, rgba(40, 15, 5, .85), rgba(40, 15, 5, 0) 100%),
    radial-gradient(ellipse 14% 11% at 30% 66%, rgba(60, 22, 7, .7), rgba(60, 22, 7, 0) 100%),
    radial-gradient(ellipse 12% 9% at 70% 30%, rgba(70, 28, 9, .55), rgba(70, 28, 9, 0) 100%),
    radial-gradient(circle at 40% 36%, #f0b062 0, #d9893a 30%, #a8561b 58%, #4a1d08 84%, #1a0903 100%);
}
.pan-ball, .maker-orb span, .fallback-orb, .fallback-pan i { background: var(--crust); }
.form { scroll-margin-top: 90px; }

/* ---------- Real takoyaki portraits (rendered once by the 3D stage) ---------- */
.has-tako .t-dot, .has-tako .brand-dot, .has-tako .iw-dot, .has-tako .ticker-track i, .has-tako .scroll-ball {
  background: var(--tako-served) center / 122% no-repeat; box-shadow: none;
}
.has-tako .t-dot { width: .26em; height: .26em; transform: translateY(.02em); }
.has-tako .brand-dot { width: .32em; height: .32em; transform: translateY(.04em); }
.has-tako .iw-dot { width: .28em; height: .28em; }
.has-tako .ticker-track i { width: 18px; height: 18px; }
.has-tako .pan-ball { background: var(--tako-golden) center / cover no-repeat; box-shadow: inset -6px -10px 18px rgba(0,0,0,.35); }
.maker { background: transparent; border: 1px solid var(--line); }
.has-tako .maker-orb span { background: var(--tako-served) center / 100% no-repeat; box-shadow: none; border-radius: 0; inset: -8%; }
.has-tako .maker-orb::before { inset: -6%; }
/* Tiny marks read better as a golden, freshly turned ball; the ticker keeps the dressed one. */
.has-tako .t-dot, .has-tako .brand-dot, .has-tako .iw-dot, .has-tako .scroll-ball { background: var(--tako-golden) center / cover no-repeat; }
.has-tako .t-dot { width: .22em; height: .22em; }
.has-tako .brand-dot { width: .28em; height: .28em; }
.has-tako .ticker-track i { width: 26px; height: 26px; }
/* Process: the ball cooks a little more at every step, and is dressed at launch. */
.has-tako .pan-step:nth-child(1) .pan-ball { background-image: var(--tako-raw); }
.has-tako .pan-step:nth-child(2) .pan-ball { background-image: var(--tako-half); }
.has-tako .pan-step:nth-child(3) .pan-ball { background-image: var(--tako-golden); }
.has-tako .pan-step:nth-child(4) .pan-ball { background-image: var(--tako-served); background-size: 122%; }
.has-tako .pan-ball { box-shadow: none; }
.has-tako .pan-step.in .pan-ball { animation: none; }
.pan-caption { margin-top: 20px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pan-caption span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: middle; }
/* Nothing of the page shows through the opening. */
.js.is-intro main, .js.is-intro .ticker, .js.is-intro .footer { visibility: hidden; }

/* ---------- Sauce on the glass (opening) ---------- */
#sauce { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 58; pointer-events: none; }
.intro-word { color: #f7efd9; text-shadow: 0 .02em 0 rgba(255, 255, 255, .25), 0 .05em .12em rgba(20, 6, 0, .55); }
.intro.word-in .intro-load { opacity: 0; transition: opacity .3s; }
/* Pre-rendered takoyaki portraits (root paths: url() inside a custom property resolves against the page). */
:root {
  --tako-raw: url(/assets/tako/dot-raw.jpg?v=20261018); --tako-half: url(/assets/tako/dot-half.jpg?v=20261018);
  --tako-golden: url(/assets/tako/dot-golden.jpg?v=20261018); --tako-served: url(/assets/tako/dot-served.jpg?v=20261018);
}
/* On touch screens, content just fades in: any slide fights the finger and reads as a misalignment. */
@media (hover: none) {
  .js .reveal-up, .js .work-info > * { transform: none; }
}

/* ---------- Phones: the body is the scroller ----------
   Scrolling the page makes iOS Safari collapse/expand its toolbars, which shakes the whole site.
   Scrolling the body instead keeps the toolbars still. (Class set in index.html for touch screens.) */
html.app-scroll { height: 100%; overflow: hidden; scroll-behavior: auto; }
html.app-scroll body { height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: none; scroll-behavior: smooth; }
html.app-scroll.is-intro body, html.app-scroll.menu-open body { overflow: hidden; }
html.app-scroll #stage, html.app-scroll #sauce { height: 100svh; }
@media (prefers-reduced-motion: reduce) { html.app-scroll body { scroll-behavior: auto; } }
