:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}img{max-width:100%}[hidden]{display:none!important}

/* Layout: a small studio site. Each menu item is its own page (hash routes). Soft rounded panels, one lime accent, generous space. */
/* Ocean palette: pale shallows in light mode, deep water in dark mode. Coral is the one warm accent (like a clownfish). */
:root {
  --paper: #eaf7fb; --card: #ffffff; --ink: #0a2a43; --muted: #46687f; --line: #c8e2ec;
  --lime: #ff9f6e; --on-lime: #0a2a43; --pink: #ffcfd8; --blue: #9edcf0; --accent: #0a6aa6;
  --sea-top: #bfeaf7; --sea-bot: #6cc7e3; --ray: rgba(255,255,255,.55); --wave1: rgba(255,255,255,.55); --sand: #f6dfb2; --sand2: #ecc98a;
  --ok: #1f9d55; --bad: #c63d3d;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", ui-rounded, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #04182b; --card: #0a2b47; --ink: #e9f7ff; --muted: #9bc2d8; --line: #17415f; --accent: #7fd2ff; --lime: #ff9f6e; --pink: #f3a9bb; --blue: #4aa9cf; --sea-top: #0a4d73; --sea-bot: #031c33; --ray: rgba(140,220,255,.22); --wave1: rgba(120,200,240,.25); --sand: #5b4a3a; --sand2: #46382c; --ok: #4ed08a; --bad: #ff8686; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #04182b; --card: #0a2b47; --ink: #e9f7ff; --muted: #9bc2d8; --line: #17415f; --accent: #7fd2ff; --lime: #ff9f6e; --pink: #f3a9bb; --blue: #4aa9cf; --sea-top: #0a4d73; --sea-bot: #031c33; --ray: rgba(140,220,255,.22); --wave1: rgba(120,200,240,.25); --sand: #5b4a3a; --sand2: #46382c; --ok: #4ed08a; --bad: #ff8686; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-bottom: 48px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.stack { display: grid; gap: 14px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; position: relative; }
.top { z-index: 6; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1; }
.brand svg.logo { width: 62px; height: 40px; flex: none; overflow: visible; }
.brand .bt { display: grid; gap: 3px; letter-spacing: .01em; }
.brand .bt small { font-family: var(--font-jp); font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .14em; }
.brand:hover svg.logo { animation: logoWag .6s ease-in-out; }
@keyframes logoWag { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-6deg) translateY(-2px); } 65% { transform: rotate(5deg); } }
nav.main { display: flex; align-items: center; gap: 4px; background: color-mix(in srgb, var(--card) 72%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 99px; padding: 4px; }
nav.main a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 15px; border-radius: 99px; }
nav.main a:hover { background: var(--card); }
nav.main a[aria-current="page"] { background: var(--ink); color: var(--paper); }
nav.main a.cta { background: var(--lime); color: var(--on-lime); border: 2px solid var(--ink); margin-left: 8px; }
.menu-btn { display: none; border: 2px solid var(--ink); background: var(--card); border-radius: 99px; padding: 8px 16px; font-weight: 700; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2.5px solid var(--ink); background: var(--ink); color: var(--paper); padding: 13px 26px; font-weight: 800; border-radius: 99px; cursor: pointer; text-decoration: none; transition: transform .15s; font-size: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn.lime { background: var(--lime); color: var(--on-lime); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { font-weight: 800; text-decoration: none; border-bottom: 2.5px solid var(--lime); }

/* art panels */
.art { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 2.5px solid var(--ink); background: var(--lime); }
.art.pink { background: var(--pink); } .art.blue { background: var(--blue); } .art.paper { background: #fff; }
.art .pic { position: absolute; inset: 0; background-repeat: no-repeat; }
.art .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.art .tag { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.art.sm { border-radius: var(--r-md); }

/* status pill */
.status { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border: 2px solid var(--line); border-radius: 99px; padding: 7px 16px; font-weight: 800; font-size: 14px; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.status.closed i { background: var(--bad); }

/* sections */
section.s { padding-block: 72px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 8px; }
.sec-head p { color: var(--muted); max-width: 46ch; }
.page-head { padding-block: 40px 20px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); }
.page-head p { color: var(--muted); max-width: 56ch; font-size: 19px; }

/* home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-block: 36px 40px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); margin-block: 20px 22px; font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--lime) 60% 90%, transparent 90%); }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 44ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage .a { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.collage .b, .collage .c { aspect-ratio: 1 / 1; }
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-block; border: 2px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 16px; font-weight: 700; font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 8px; }
.fact { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.fact b { display: block; font-family: var(--font-display); font-size: 28px; }
.fact span { color: var(--muted); font-size: 14px; }

/* showcase blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(32px, 4.4vw, 50px); margin-block: 10px 16px; }
.split p.lead { color: var(--muted); font-size: 18px; }
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.details figure { margin: 0; display: grid; gap: 8px; }
.details .art { aspect-ratio: 1; border-radius: var(--r-md); }
.details figcaption { font-size: 13px; color: var(--muted); font-weight: 700; line-height: 1.3; }
.spread { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spread .art { aspect-ratio: 0.706; }
.spread .art:nth-child(1) { transform: rotate(-2.5deg); } .spread .art:nth-child(2) { transform: rotate(2deg) translateY(18px); }
.bullets { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bullets li { padding-left: 30px; position: relative; font-weight: 600; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.svc { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .18s, border-color .18s; min-width: 0; }
.svc:hover { transform: translateY(-4px); border-color: var(--ink); }
.svc .art { border-radius: 0; border: 0; border-bottom: 2.5px solid var(--ink); aspect-ratio: 4 / 3; }
.svc .body { padding: 20px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.svc h3 { font-size: 24px; }
.svc .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 700; }
.svc .price { font-family: var(--font-display); font-size: 22px; color: var(--ink); font-weight: 600; }

.gallery { columns: 3 260px; column-gap: 20px; }
.work { break-inside: avoid; margin: 0 0 20px; display: block; width: 100%; padding: 0; background: none; border: 0; text-align: left; cursor: zoom-in; }
.work .art { width: 100%; }
.work .cap { padding: 10px 6px 0; display: flex; justify-content: space-between; gap: 6px 10px; align-items: baseline; flex-wrap: wrap; }
.work .cap b { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.work .cap span { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; max-width: 780px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-bottom: 32px; position: relative; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--on-lime); border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2.5px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 22px; margin-bottom: 4px; }
.steps p { color: var(--muted); }
.mini-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.mini { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 6px; }
.mini .n { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 15px; }
.mini h3 { font-size: 20px; }
.mini p { color: var(--muted); font-size: 15px; }

.band { background: var(--lime); color: var(--on-lime); border: 2.5px solid var(--ink); border-radius: var(--r-lg); padding: clamp(32px, 6vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 18ch; }
.band .btn { background: var(--on-lime); color: #fff; border-color: var(--on-lime); }
/* CTA band with Sakana popping out of the top edge */
section.s.cta-s { padding-top: clamp(110px, 12vw, 150px); }
.band.has-sk { position: relative; overflow: visible; display: block; min-height: 250px; padding-right: clamp(260px, 40%, 470px); }
.band-copy { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; }
.band.has-sk h2 { max-width: 16ch; }
.band-act { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.band-btn { padding: 15px 26px 15px 30px; font-size: 17px; box-shadow: 5px 6px 0 rgba(10, 42, 67, .28); gap: 14px; }
.band-btn .arr { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-size: 16px; transition: transform .2s; }
.band-btn:hover .arr { transform: translateX(4px); }
.band-note { font-size: 14px; font-weight: 800; color: var(--on-lime); opacity: .75; }
.band-sk { position: absolute; z-index: 1; right: clamp(0px, 3%, 40px); bottom: 0; width: clamp(280px, 40%, 470px); height: auto; filter: drop-shadow(0 -6px 14px rgba(10, 42, 67, .22)); transform-origin: 60% 100%; animation: skPeek 5s ease-in-out infinite; }
@keyframes skPeek { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-6px); } }
@media (max-width: 760px) {
  section.s.cta-s { padding-top: 160px; }
  .band.has-sk { padding: 74px 22px 30px; min-height: 0; }
  .band.has-sk h2 { max-width: 11ch; font-size: clamp(26px, 7.4vw, 34px); }
  .band-sk { width: min(58%, 260px); right: -4px; bottom: auto; top: -128px; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); mask-image: linear-gradient(to bottom, #000 72%, transparent 96%); filter: none; }
  .band-copy { gap: 18px; }
  .band-btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .band-sk { animation: none; } }

table.cmp { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 18px; border-bottom: 2px solid var(--line); vertical-align: top; }
table.cmp th { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scroll-x { overflow-x: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 2px solid var(--ink); background: transparent; padding: 8px 20px; font-weight: 800; font-size: 15px; border-radius: 99px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.style-pick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.style-pick small { font-weight: 700; color: var(--muted); font-size: 13px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.tier { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tier.pop { border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime); }
.tier h3 { font-size: 24px; }
.tier .price { font-family: var(--font-display); font-size: 40px; font-weight: 600; }
.tier .price small { font-size: 14px; color: var(--muted); font-family: var(--font-body); font-weight: 700; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); flex: 1; }
.tier li { padding-left: 26px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs a { text-decoration: none; border-bottom: 2px solid var(--line); }

details.faq { border: 2px solid var(--line); background: var(--card); border-radius: var(--r-md); padding: 0 22px; }
details.faq + details.faq { margin-top: 12px; }
details.faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 18px; color: var(--muted); }

/* ---- request wizard ---- */
.req { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.wizard { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 40px; list-style: none; padding: 0; }
.stepper li { display: grid; gap: 8px; justify-items: start; font-size: 13px; font-weight: 800; color: var(--muted); position: relative; }
.stepper li .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; background: var(--card); z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 16px; left: 42px; right: -4px; height: 2.5px; background: var(--line); }
.stepper li:last-child::after { display: none; }
.stepper li.cur { color: var(--ink); } .stepper li.cur .dot { background: var(--lime); color: var(--on-lime); border-color: var(--ink); }
.stepper li.done .dot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wizard h2 { font-size: clamp(28px, 3.6vw, 38px); }
.wizard .intro { color: var(--muted); margin: 10px 0 32px; }
.fields { display: grid; gap: 30px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field > label, .field > .lbl { font-weight: 800; font-size: 16px; }
.field .help { color: var(--muted); font-size: 14px; margin-top: -4px; }
.field input[type=text], .field input[type=number], .field select, .field textarea { width: 100%; min-height: 54px; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--lime); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.opt { text-align: left; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; cursor: pointer; display: grid; gap: 4px; min-width: 0; }
.opt:hover { border-color: var(--ink); }
.opt[aria-checked="true"] { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 4px var(--lime); }
.opt b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.opt span { color: var(--muted); font-size: 14px; }
.opt.has-art { padding: 0; overflow: hidden; }
.opt.has-art .art { border-radius: 0; border: 0; border-bottom: 2px solid var(--ink); aspect-ratio: 16 / 9; }
.opt.has-art .t { padding: 12px 16px 14px; display: grid; gap: 2px; }
.err { color: var(--bad); font-weight: 700; font-size: 14px; min-height: 0; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--line); flex-wrap: wrap; }
.summary { position: sticky; top: 16px; display: grid; gap: 14px; min-width: 0; }
.sum-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; }
.sum-card h3 { font-size: 22px; }
.sum-card dl { margin: 0; display: grid; gap: 12px; }
.sum-card dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sum-card dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px solid var(--line); }
.sum-total b { font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.review dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0; margin: 0; }
.review dt, .review dd { padding: 14px 0; border-bottom: 2px solid var(--line); margin: 0; }
.review dt { color: var(--muted); font-weight: 800; font-size: 14px; }
.review dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.brief { width: 100%; min-height: 240px; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.6; resize: vertical; }
.contact-box { border: 2.5px dashed var(--ink); border-radius: var(--r-md); padding: 20px; display: grid; gap: 10px; }
.contact-box code { background: var(--card); border: 2px solid var(--line); padding: 4px 12px; border-radius: 99px; user-select: all; overflow-wrap: anywhere; }
.line { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* payment */
.pay { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.paycard { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.paycard .field input { width: 100%; min-height: 54px; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; font-size: 20px; font-weight: 800; }
.paycard .field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--lime); }
.paycard .field { display: grid; gap: 10px; }
.split-amt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amt { border: 2px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; background: var(--paper); }
.amt span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.amt b { font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.paybtns { display: grid; gap: 12px; }
.paybtns .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.notice { border: 2px solid var(--line); border-left: 6px solid var(--lime); border-radius: var(--r-md); padding: 16px 20px; background: var(--card); font-weight: 600; }

/* payment plans and owner area */
.field input[type=date] { width: 100%; min-height: 54px; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.field input[type=date]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--lime); }
.field select { appearance: auto; }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mlist li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.mdot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; border: 2px solid var(--ink); background: var(--lime); color: var(--on-lime); }
.mlist li.lock .mdot { background: var(--card); color: var(--muted); border-color: var(--line); }
.mlist li b { display: block; font-weight: 800; }
.mlist li small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.mamt { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.macts { grid-column: 2 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.macts:empty { display: none; }
.st { display: inline-block; padding: 3px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; border: 2px solid var(--line); background: var(--card); line-height: 1.5; text-align: center; }
.st.pay { background: #ffe9a8; color: #4a3800; border-color: #d9b84a; }
.st.prog { background: var(--blue); color: #06243b; border-color: #06243b; }
.st.deliv { background: var(--pink); color: #06243b; border-color: #06243b; }
.st.done { background: var(--lime); color: #06243b; border-color: #06243b; }
.st.late { background: #ffd0d0; color: #6b1111; border-color: #d46a6a; }
.st.lock { color: var(--muted); }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.adm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.order { border: 2px solid var(--line); background: var(--card); border-radius: var(--r-md); }
.order + .order { margin-top: 12px; }
.order[open] { border-color: var(--ink); }
.order summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 84px minmax(0, 1.3fr) 130px minmax(0, 1fr) 100px 190px; gap: 16px; align-items: center; padding: 16px 20px; }
.order summary::-webkit-details-marker { display: none; }
.order summary > span { min-width: 0; display: grid; gap: 2px; }
.ocode { font-family: var(--font-display); font-weight: 600; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.odet { padding: 20px; border-top: 2px solid var(--line); display: grid; gap: 22px; }
.ml-admin li { grid-template-columns: 38px minmax(0, 1fr) auto; }
@media (max-width: 900px) {
  .order summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .order summary .ocode { grid-column: 1 / -1; }
}


/* hero band: full width, artwork on the right with a soft faded edge, creatures swimming around */
.hero-band { position: relative; isolation: isolate; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -88px; padding-top: 88px; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; background: linear-gradient(180deg, var(--sea-top) 0%, var(--sea-bot) 100%); overflow: hidden; }
.hb-in { position: relative; z-index: 4; width: min(1160px, 100% - 32px); margin-inline: auto; padding-block: 36px 120px; }
.hb-in { pointer-events: none; }
.hb-text { max-width: 560px; pointer-events: auto; }
.hb-text .lead { font-size: 20px; max-width: 42ch; color: var(--ink); opacity: .86; }
.hb-text .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
/* Hero title, VTuber-logo style: "MADE BY" ribbon on top, a layered SAKANA-KUN wordmark below */
.mark-title { --lf: "Mochiy Pop One", "Noto Sans CJK JP", "Hiragino Maru Gothic ProN", "Hiragino Sans", var(--font-display); margin-block: 22px 26px; display: grid; justify-items: start; gap: 10px; text-wrap: nowrap; }
.mt-small { display: inline-flex; align-items: center; gap: 12px; font-family: var(--lf); font-weight: 900; font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .32em; color: var(--ink); padding-left: 6px; }
.mt-small::before, .mt-small::after { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--ink); }
.mt-small::after { background: var(--lime); }
.mt-logo { position: relative; display: inline-grid; font-family: var(--lf); font-weight: 900; font-size: clamp(36px, 6.6vw, 92px); line-height: 1.12; letter-spacing: .01em; padding: .1em .18em .14em .06em; transform: rotate(-2.5deg); transform-origin: left center; }
.mt-logo > span { grid-area: 1 / 1; }
.mt-layer { color: transparent; }
.mt-shadow { color: var(--lime); -webkit-text-stroke: .13em var(--lime); transform: translate(.06em, .07em); }
.mt-out { -webkit-text-stroke: .15em #fff; }
.mt-ink { -webkit-text-stroke: .07em #0a2a43; }
.mt-fill { position: relative; color: transparent; background: linear-gradient(180deg, #b8f1ff 0 20%, #ffffff 20% 27%, #b8f1ff 27% 38%, #63d2f3 38% 64%, #2b8fd4 64% 100%); -webkit-background-clip: text; background-clip: text; }
.mt-kana { justify-self: end; align-self: start; transform: translate(.35em, -.78em) rotate(6deg); font-family: var(--font-jp); font-weight: 700; font-size: .26em; letter-spacing: .12em; color: #fff; background: var(--lime); border: .09em solid #0a2a43; border-radius: 99px; padding: .12em .7em .16em; box-shadow: .1em .12em 0 #0a2a43; }
.mt-star { position: absolute; width: .3em; fill: #ffd25a; stroke: #0a2a43; stroke-width: 1.6; stroke-linejoin: round; animation: twinkle 2.6s ease-in-out infinite; }
.mt-star.a { left: -.12em; top: -.08em; } .mt-star.b { right: .9em; bottom: -.12em; width: .22em; fill: #fff; animation-delay: -.9s; } .mt-star.c { left: 38%; top: -.22em; width: .18em; fill: var(--lime); animation-delay: -1.7s; }
@media (prefers-reduced-motion: reduce) { .mt-star { animation: none; } }
@media (max-width: 900px) { .mt-logo { font-size: min(11.4vw, 66px); } .mt-small { font-size: 15px; letter-spacing: .26em; } }
.hb-kanji { position: absolute; z-index: 1; left: -3vw; bottom: -40px; width: min(46vw, 520px); color: var(--ink); opacity: .07; pointer-events: none; }
.hb-art { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: min(76%, 1180px); }
.showcase { position: absolute; inset: 0; }
.sc-stage { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.2) 14%, rgba(0,0,0,.7) 30%, #000 46%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.2) 14%, rgba(0,0,0,.7) 30%, #000 46%); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; z-index: 0; transform: translateY(22px) scale(.965); filter: blur(10px); transition: opacity 1.4s cubic-bezier(.4,0,.2,1), transform 1.9s cubic-bezier(.2,.7,.2,1), filter 1.3s ease, visibility 0s linear 1.9s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; transform: none; filter: none; transition: opacity 1.5s cubic-bezier(.4,0,.2,1) .2s, transform 2s cubic-bezier(.2,.7,.2,1) .2s, filter 1.4s ease .2s, visibility 0s; }
.slide.out { transform: translateY(-16px) scale(1.035); filter: blur(7px); }
.sw { position: absolute; inset: 0; translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -12px); transition: translate 1s cubic-bezier(.2,.7,.2,1); }
.slide.on .sw { animation: floatSw 8s ease-in-out infinite alternate; }
@keyframes floatSw { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-11px) rotate(-.45deg); } 100% { transform: translateY(5px) rotate(.35deg); } }
.slide.full.on .sp { animation: kenBurns 10s ease-out forwards; }
@keyframes kenBurns { from { scale: 1; } to { scale: 1.07; } }
.slide.on figcaption { animation: capIn .9s cubic-bezier(.2,.7,.2,1) .6s both; }
@keyframes capIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sea { translate: calc(var(--px, 0) * 12px) calc(var(--py, 0) * 7px); transition: translate 1.4s cubic-bezier(.2,.7,.2,1); }
.hb-kanji { translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 14px); transition: translate 1.6s cubic-bezier(.2,.7,.2,1); }
.sc-stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.38) 47%, rgba(255,255,255,.1) 54%, transparent 64%); background-size: 260% 100%; background-position: 130% 0; }
.showcase.sweep .sc-stage::after { animation: sweepLight 1.7s ease-out; }
@keyframes sweepLight { 0% { opacity: 0; background-position: 130% 0; } 20% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
.burst { position: absolute; bottom: 16%; z-index: 4; pointer-events: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), rgba(255,255,255,.06) 60%); opacity: 0; animation: burstUp 1.9s ease-out forwards; }
@keyframes burstUp { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 0), -280px) scale(1.15); } }
.sc-count { font-family: var(--font-display); font-weight: 600; font-size: 13px; display: flex; align-items: baseline; gap: 4px; padding-right: 4px; font-variant-numeric: tabular-nums; }
.sc-count b { font-size: 17px; font-weight: 700; }
.sc-count i { font-style: normal; color: var(--muted); }
.sc-thumbs { position: absolute; right: 18px; top: 50%; transform: translateY(-60%); z-index: 5; display: grid; justify-items: end; gap: 10px; }
.sc-next { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: color-mix(in srgb, var(--card) 80%, transparent); padding: 2px 10px; border-radius: 99px; }
.sc-thumbs button { width: 58px; height: 72px; padding: 0; border-radius: 16px; border: 2px solid var(--card); background-color: color-mix(in srgb, var(--card) 70%, transparent); background-size: cover; background-position: center top; background-repeat: no-repeat; box-shadow: 0 8px 18px rgba(4, 30, 52, .22); cursor: pointer; opacity: .78; transition: opacity .3s, transform .3s; animation: thumbIn .6s cubic-bezier(.2,.7,.2,1) both; }
.sc-thumbs button:nth-of-type(1) { width: 72px; height: 90px; opacity: 1; border-color: var(--lime); }
.sc-thumbs button:nth-of-type(2) { animation-delay: .08s; } .sc-thumbs button:nth-of-type(3) { animation-delay: .16s; }
.sc-thumbs button:hover { opacity: 1; transform: scale(1.06); }
@keyframes thumbIn { from { opacity: 0; transform: translateX(14px); } }
@media (max-width: 1100px) { .sc-thumbs { display: none; } }
@media (min-width: 1101px) { .slide .sp { background-position: right 10% bottom; } .slide.full .sp { right: 10%; } }
.slide { background: radial-gradient(42% 52% at 66% 52%, var(--ray) 0, transparent 72%); }
.slide .sp { position: absolute; inset: 9% 0 -5% 32%; background-size: contain; background-position: right 5% bottom; background-repeat: no-repeat; filter: drop-shadow(0 18px 30px rgba(4, 30, 52, .28)); }
.slide.full .sp { inset: auto; right: 4%; top: 9%; height: 84%; aspect-ratio: var(--ar, .75); max-width: 70%; background-size: cover; background-position: center; filter: none; -webkit-mask-image: radial-gradient(farthest-side at 56% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(farthest-side at 56% 50%, #000 58%, transparent 100%); }
.slide figcaption { position: absolute; right: 22px; bottom: 96px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.slide figcaption b, .slide figcaption span { background: var(--ink); color: var(--paper); border-radius: 99px; padding: 4px 14px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.slide figcaption span { background: var(--lime); color: var(--on-lime); border: 2px solid var(--ink); padding: 2px 12px; }
.sc-bar { position: absolute; right: max(16px, calc((100vw - 1160px) / 2)); bottom: 54px; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; background: color-mix(in srgb, var(--card) 82%, transparent); border: 2px solid var(--ink); border-radius: 99px; padding: 4px 8px 4px 12px; backdrop-filter: blur(6px); }
.sc-dots { display: flex; gap: 0; flex-wrap: wrap; }
.sc-dots button { min-width: 22px; height: 26px; padding: 0 3px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.sc-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 99px; border: 2px solid var(--ink); background: transparent; transition: width .45s cubic-bezier(.2,.7,.2,1), background .2s; }
.sc-dots button[aria-current="true"]::before { width: 34px; background: linear-gradient(90deg, var(--ink) var(--p, 0%), transparent var(--p, 0%)); }
.sc-ctrl { display: flex; gap: 6px; }
.sc-ctrl button { border: 2px solid var(--ink); background: var(--card); border-radius: 99px; padding: 3px 14px; font-weight: 800; font-size: 14px; cursor: pointer; }
.sc-ctrl button:hover { background: var(--lime); color: var(--on-lime); }
/* waves at the bottom of the hero */
.waves { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: 96px; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { animation: waveX 16s linear infinite; fill: var(--wave1); }
.waves .w2 { animation: waveX 24s linear infinite reverse; fill: var(--wave1); height: 86%; }
.waves .w3 { animation: waveX 11s linear infinite; fill: var(--paper); height: 62%; }
@keyframes waveX { to { transform: translateX(-50%); } }
/* creatures */
.sea { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.rays { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .8; background: repeating-linear-gradient(105deg, transparent 0 90px, var(--ray) 90px 150px, transparent 150px 260px); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); mask-image: linear-gradient(to bottom, #000, transparent 80%); animation: raySway 14s ease-in-out infinite alternate; }
@keyframes raySway { from { transform: translateX(-4%); opacity: .5; } to { transform: translateX(4%); opacity: .9; } }
.cr { position: absolute; }
.cr svg { display: block; width: 100%; height: auto; overflow: visible; }
.swim { left: 0; animation: swimR var(--d, 26s) linear var(--delay, 0s) infinite both; }
.swim.l { animation-name: swimL; }
.swim .bob { animation: bobY var(--b, 3.2s) ease-in-out infinite alternate; }
.swim.l .bob svg { transform: scaleX(1); }
.swim:not(.l) .bob svg { transform: scaleX(-1); }
@keyframes swimR { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
@keyframes swimL { from { transform: translateX(110vw); } to { transform: translateX(-20vw); } }
@keyframes bobY { from { transform: translateY(-8px) rotate(-2deg); } to { transform: translateY(9px) rotate(2deg); } }
.tail { transform-origin: 58px 24px; animation: wag .45s ease-in-out infinite alternate; }
@keyframes wag { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.jelly { animation: drift var(--d, 8s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes drift { from { transform: translate(0, -14px); } to { transform: translate(10px, 16px); } }
.jelly .dome { transform-origin: 30px 28px; animation: pulse 2.2s ease-in-out infinite; }
.jelly .tent path { transform-origin: top center; animation: tentSway 2.2s ease-in-out infinite alternate; }
@keyframes pulse { 0%,100% { transform: scale(1, 1); } 50% { transform: scale(1.1, .88); } }
@keyframes tentSway { from { transform: skewX(-6deg); } to { transform: skewX(6deg); } }
.puffer { animation: bobY 3.8s ease-in-out infinite alternate; }
.puffer .body { transform-origin: 40px 34px; animation: puff 4.8s ease-in-out infinite; }
@keyframes puff { 0%,70%,100% { transform: scale(1); } 80%,90% { transform: scale(1.14); } }
.puffer .fin { transform-origin: 62px 36px; animation: wag .3s ease-in-out infinite alternate; }
.crab { animation: scuttle 7s ease-in-out infinite alternate; }
@keyframes scuttle { from { transform: translateX(-34px); } to { transform: translateX(34px); } }
.crab .claw { transform-origin: 50% 100%; animation: clack 1.1s ease-in-out infinite alternate; }
.crab .claw.r { animation-delay: .5s; }
@keyframes clack { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
.star { animation: starWig 5s ease-in-out infinite alternate; transform-origin: 50% 55%; }
@keyframes starWig { from { transform: rotate(-8deg) scale(1); } to { transform: rotate(8deg) scale(1.06); } }
.weed { transform-origin: 50% 100%; animation: sway var(--d, 4s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.bub { position: absolute; bottom: -20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(255,255,255,.08) 60%); animation: rise var(--d, 9s) ease-in var(--delay, 0s) infinite; }
@keyframes rise { 0% { transform: translate(0, 0) scale(.7); opacity: 0; } 12% { opacity: .95; } 50% { transform: translate(14px, -45vh) scale(1); } 100% { transform: translate(-8px, -95vh) scale(1.08); opacity: 0; } }
/* seabed footer */
.seabed { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 120px; margin-top: -12px; overflow: hidden; pointer-events: none; }
.seabed .sand { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: linear-gradient(180deg, var(--sand), var(--sand2)); border-radius: 50% 50% 0 0 / 30px 30px 0 0; }
.seabed .cr { bottom: 22px; }
.seabed .swim { bottom: auto; }
@media (max-width: 900px) {
  .hero-band { margin-top: -80px; padding-top: 80px; display: block; min-height: 0; }
  .hb-in { padding-block: 24px 24px; }
  .hb-art { position: relative; width: 100%; height: 480px; margin-top: -30px; }
  .sc-stage { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%); }
  .slide .sp { inset: 0; background-size: contain; background-position: center bottom; }
  .slide.full .sp { right: 50%; transform: translateX(50%); top: 4%; height: 78%; max-width: 92%; }
  .slide figcaption { right: 14px; bottom: 76px; }
  .sc-bar { left: 12px; right: 12px; bottom: 18px; flex-wrap: nowrap; justify-content: space-between; gap: 4px; padding: 3px 6px; }
  .sc-dots { flex-wrap: nowrap; }
  .sc-count { display: none; }
  .sc-dots button { min-width: 15px; height: 26px; padding: 0 2px; }
  .sc-dots button::before { width: 9px; height: 9px; }
  .sc-dots button[aria-current="true"]::before { width: 22px; }
  .sc-ctrl button { padding: 3px 10px; }
  .slide figcaption { bottom: 64px; }
  .hb-kanji, .sea .puffer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.on { transition: none; }
  .sea *, .seabed *, .waves *, .rays, .brand:hover svg.logo, .slide .sw, .slide .sp, .slide figcaption, .sc-thumbs button { animation: none !important; }
  .slide, .slide.on, .slide.out { transform: none; filter: none; }
  .sw, .sea, .hb-kanji { translate: none; }
  .swim { left: var(--x, 50%); transform: none; }
  .bub { display: none; }
}
#adm-msg { margin-bottom: 20px; }
.final-box { border: 2px solid var(--ink); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 12px; background: color-mix(in srgb, var(--lime) 12%, var(--card)); }
.fp-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.final-box .lbl { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.fp-head small { display: block; font-size: 13px; line-height: 1.45; margin-top: 2px; }
.fp-list { text-align: right; flex: none; }
.fp-list small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fp-list b { font-family: var(--font-display); font-size: 20px; }
.pdiff { display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 99px; border: 2px solid; }
.pdiff.up { color: #1d6b3d; border-color: #6cc392; background: #e3f7ea; }
.pdiff.down { color: #7a3b12; border-color: #e7a46d; background: #fdeedd; }
.linkbtn { justify-self: start; border: 0; background: none; padding: 2px 0; font-weight: 800; font-size: 13px; color: var(--accent); cursor: pointer; text-decoration: underline; }
.oprice s { opacity: .8; }
/* delivery images (owner area) */
.mfiles { grid-column: 2 / -1; display: grid; gap: 10px; }
.mfile { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; }
.mfile img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--lime); }
.mf-body { display: grid; gap: 6px; min-width: 0; }
.mf-body input[type=text] { width: 100%; min-height: 40px; background: var(--paper); border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.mf-body input[type=text]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--lime); }
.check.small { font-size: 14px; font-weight: 700; align-items: center; gap: 10px; }
.check.small input { margin-top: 0; width: 18px; height: 18px; }
.btn.attach { cursor: pointer; }
@media (max-width: 560px) { .mfile { grid-template-columns: 56px minmax(0, 1fr); } .mfile > .btn { grid-column: 1 / -1; } }

/* Doodle of the day: an anime-style iPad, cel-shaded with bold ink lines */
section.doodle { padding-block: 40px 72px; }
.dd-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.dd-text h2 { font-size: clamp(32px, 4.4vw, 50px); margin-block: 10px 16px; }
.dd-text p { color: var(--muted); max-width: 44ch; }
.dd-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.dd-meta b { font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.dd-stage { position: relative; padding: 20px 46px 30px 10px; opacity: 0; transform: translateX(70px) rotate(4deg); transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.doodle.in .dd-stage { opacity: 1; transform: none; }
.dd-stage.portrait { max-width: 470px; margin-left: auto; padding-right: 50px; }
.dd-stage.portrait .ipad-body { aspect-ratio: 3 / 4; }
.dd-stage.portrait .ipad-body .cam { top: 7px; left: 50%; margin: 0 0 0 -3px; }
.dd-stage.portrait .dd-vid { object-fit: contain; }
.ipad { position: relative; transform: rotate(-3deg); animation: ipadFloat 7s ease-in-out infinite alternate; }
@keyframes ipadFloat { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(-2deg) translateY(-10px); } }
.ipad-body { position: relative; aspect-ratio: 4 / 3; border-radius: 34px; padding: 18px; border: 3.5px solid #0a2a43;
  background: linear-gradient(135deg, #f2f6fb 0 46%, #d4dde8 46% 100%);
  box-shadow: 10px 12px 0 #0a2a43, 0 30px 50px rgba(4, 30, 52, .25); }
.ipad-body::before { content: ""; position: absolute; inset: 7px; border-radius: 28px; border: 2px solid rgba(255,255,255,.9); pointer-events: none; }
.ipad-body .cam { position: absolute; top: 50%; left: 7px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #0a2a43; box-shadow: 0 0 0 2px #8a98aa; }
.ipad-screen { position: relative; height: 100%; border-radius: 16px; overflow: hidden; border: 3px solid #0a2a43; background: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: #20263a; color: #e8eefc; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.app-bar .dots { display: flex; gap: 5px; } .app-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff7a6b; } .app-bar .dots i:nth-child(2) { background: #ffd25a; } .app-bar .dots i:nth-child(3) { background: #61d3a0; }
.app-t { flex: 1; opacity: .75; font-family: ui-monospace, Menlo, monospace; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 99px; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5b6e; animation: recBlink 1.2s steps(2) infinite; }
@keyframes recBlink { 50% { opacity: .2; } }
.dd-vid { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, transparent 0 18%, rgba(255,255,255,.55) 18% 24%, transparent 24% 30%, rgba(255,255,255,.35) 30% 32%, transparent 32%); mix-blend-mode: screen; }
.pencil { position: absolute; right: 2px; bottom: 6px; width: 28px; height: auto; transform: rotate(18deg); transform-origin: bottom center; filter: drop-shadow(5px 6px 0 #0a2a43); animation: pencilTap 3.2s ease-in-out infinite; }
@keyframes pencilTap { 0%, 100% { transform: rotate(18deg) translateY(0); } 50% { transform: rotate(14deg) translateY(-8px); } }
.spark svg { width: 100%; height: auto; display: block; }
.spark { position: absolute; width: 26px; color: var(--lime); animation: twinkle 2.4s ease-in-out infinite; }
.spark.s1 { top: 0; left: 2%; } .spark.s2 { top: 8%; right: 6%; width: 18px; animation-delay: -.8s; color: #ffd25a; } .spark.s3 { bottom: 4%; left: 12%; width: 20px; animation-delay: -1.6s; color: var(--blue); }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0deg); opacity: .5; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
/* placeholder: Sakana drawn as lineart, then colored, on a loop */
.dd-ph { position: relative; background: #fffdf8; background-image: radial-gradient(#e6ecf3 1px, transparent 1px); background-size: 16px 16px; display: grid; place-items: center; }
.dd-paper { position: relative; width: 44%; aspect-ratio: 1; }
.dd-sk { position: absolute; inset: 0; }
.dd-line { filter: grayscale(1) contrast(4) brightness(1.6); opacity: .9; clip-path: inset(0 0 100% 0); animation: ddLine 9s linear infinite; }
.dd-color { clip-path: inset(0 100% 0 0); animation: ddColor 9s linear infinite; }
@keyframes ddLine { 0% { clip-path: inset(0 0 100% 0); } 38%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ddColor { 0%, 45% { clip-path: inset(0 100% 0 0); opacity: 1; } 82%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.dd-cursor { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #0a2a43; background: rgba(255,159,110,.6); animation: ddCur 9s ease-in-out infinite; }
@keyframes ddCur { 0% { left: 20%; top: 5%; } 12% { left: 70%; top: 20%; } 24% { left: 25%; top: 55%; } 38% { left: 60%; top: 95%; } 50% { left: 0%; top: 40%; } 64% { left: 40%; top: 30%; } 82% { left: 100%; top: 70%; } 100% { left: 20%; top: 5%; } }
@media (max-width: 900px) {
  .dd-grid { grid-template-columns: minmax(0, 1fr); }
  .dd-stage { padding: 10px 34px 24px 6px; }
  .dd-stage.portrait { margin-inline: auto; max-width: 380px; padding-right: 38px; }
  .ipad-body { border-radius: 24px; padding: 12px; box-shadow: 7px 8px 0 #0a2a43, 0 20px 36px rgba(4, 30, 52, .22); }
  .app-bar { font-size: 10px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-stage { opacity: 1; transform: none; transition: none; }
  .ipad, .pencil, .spark, .rec i, .dd-line, .dd-color, .dd-cursor { animation: none !important; }
  .dd-line, .dd-color { clip-path: none; } .dd-line { display: none; } .dd-cursor { display: none; }
}
/* Sakana mascot */
.sk-ico { width: 100%; height: auto; display: block; overflow: visible; }
.mini.has-sk { position: relative; padding-top: 18px; }
.mini.has-sk .sk-ico { width: 84px; margin: -6px 0 2px -6px; }
.mini.has-sk:nth-child(odd) .sk-ico { animation: skBob 3.4s ease-in-out infinite; }
.mini.has-sk:nth-child(even) .sk-ico { animation: skBob 3.8s ease-in-out -1.2s infinite; }
@keyframes skBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-2deg); } }
.steps li.with-sk { grid-template-columns: 56px minmax(0, 1fr) 92px; align-items: start; }
.sk-step { width: 92px; margin-top: -10px; }
.sk-step .sk-ico { animation: skBob 3.6s ease-in-out infinite; }
.steps li.with-sk:nth-child(even) .sk-ico { animation-delay: -1.4s; }
.sk-guide { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.sk-guide .sk-ico { width: 88px; flex: none; animation: skBob 3.4s ease-in-out infinite; }
.sk-say { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px 20px 20px 6px; padding: 10px 16px 12px; max-width: 46ch; animation: sayIn .5s cubic-bezier(.2,.7,.2,1) both; }
.sk-say b, .sk-bubble b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: .02em; }
.sk-say p { font-size: 15px; line-height: 1.5; }
.sk-say::before { content: ""; position: absolute; left: -9px; bottom: 10px; width: 14px; height: 14px; background: var(--paper); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
@keyframes sayIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.sk-portrait { position: relative; border-radius: var(--r-lg); border: 2.5px solid var(--ink); overflow: hidden; aspect-ratio: 1; max-width: 460px; background: radial-gradient(60% 50% at 50% 45%, rgba(255,255,255,.55), transparent 70%), linear-gradient(180deg, var(--sea-top), var(--sea-bot)); display: grid; place-items: end center; }
.sk-portrait .sk-anim { width: min(76%, 340px); height: auto; display: block; }
.sk-tag { position: absolute; left: 16px; top: 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 18px 18px 18px 6px; padding: 8px 14px; display: grid; }
.sk-tag span { font-size: 14px; font-weight: 700; }
.sk-pal[hidden], .sk-bubble[hidden] { display: none !important; }
.sk-pal { position: fixed; z-index: 40; left: max(14px, env(safe-area-inset-left, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.sk-av { pointer-events: auto; width: 86px; height: 86px; border-radius: 50%; border: 2.5px solid var(--ink); padding: 0; overflow: hidden; cursor: pointer; background: radial-gradient(60% 60% at 50% 40%, rgba(255,255,255,.6), transparent 70%), linear-gradient(180deg, var(--sea-top), var(--sea-bot)); box-shadow: 0 10px 24px rgba(4, 30, 52, .25); display: grid; place-items: end center; transition: transform .2s; }
.sk-av:hover { transform: translateY(-3px) rotate(-3deg); }
.sk-av img { width: 108%; height: auto; margin-bottom: -8%; }
.sk-bubble { pointer-events: auto; position: relative; margin-bottom: 34px; background: var(--card); border: 2px solid var(--ink); border-radius: 20px 20px 20px 6px; padding: 10px 34px 12px 14px; max-width: min(300px, calc(100vw - 130px)); box-shadow: 0 10px 24px rgba(4, 30, 52, .18); }
.sk-bubble p { font-size: 14px; line-height: 1.45; font-weight: 600; }
.sk-bubble.pop { animation: sayIn .55s cubic-bezier(.2,.7,.2,1) both; }
.sk-x { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; }
.sk-x:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 640px) {
  .sk-av { width: 64px; height: 64px; }
  .sk-bubble { margin-bottom: 22px; }
  .steps li.with-sk { grid-template-columns: 44px minmax(0, 1fr) 64px; gap: 12px; }
  .sk-step { width: 64px; }
  .sk-guide .sk-ico { width: 68px; }
}
@media (prefers-reduced-motion: reduce) { .sk-ico, .sk-say, .sk-bubble.pop { animation: none !important; } }
/* sheet / lightbox */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(8, 9, 20, .8); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sheet[hidden] { display: none; }
.lb { background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; max-width: 820px; width: 100%; max-height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lb .imgbox { min-height: 0; height: min(72vh, 900px); position: relative; background: var(--lime); }
.lb .imgbox .pic { position: absolute; inset: 0; background-repeat: no-repeat; background-size: contain; background-position: center; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px 16px 22px; border-top: 2.5px solid var(--ink); flex-wrap: wrap; background: var(--card); }
.lb-title { display: grid; gap: 4px; min-width: 0; flex: 1 1 220px; }
.lb-title b { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.lb-title span { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lb-cat { font-style: normal; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: var(--lime); color: var(--on-lime); border: 2px solid var(--ink); }
.lb-n { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb .ctrls { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.lb .ctrls button { border: 2px solid var(--ink); background: var(--card); border-radius: 99px; padding: 8px 16px; font-weight: 800; font-size: 15px; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.lb .ctrls button:hover { background: var(--lime); color: var(--on-lime); }
.lb .ctrls .close { background: var(--ink); color: var(--paper); }
@media (max-width: 520px) { .lb-bar { padding: 12px 14px 14px; } .lb .ctrls { width: 100%; } .lb .ctrls button { flex: 1; padding: 9px 10px; } }

footer.foot { margin-top: 24px; border-top: 2.5px solid var(--ink); padding-top: 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.1fr); column-gap: clamp(28px, 5vw, 72px); row-gap: 32px; }
footer.foot h4 { font-size: 13px; font-family: var(--font-body); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
footer.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
footer.foot ul.two { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; }
footer.foot a { text-decoration: none; color: var(--ink); font-weight: 700; transition: color .2s; }
footer.foot ul a { position: relative; }
footer.foot ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
footer.foot ul a:hover::after { transform: scaleX(1); }
.f-brand p { color: var(--muted); max-width: 32ch; margin-top: 14px; font-size: 15px; }
.f-brand .btn { margin-top: 20px; }
.f-contact li { display: grid; gap: 1px; }
.f-contact small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.f-contact span { font-weight: 700; word-break: break-word; }
.f-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; border-top: 2px solid var(--line); padding-top: 20px; }
.f-bottom nav { display: flex; gap: 20px; }
.f-bottom nav a { color: var(--muted); font-weight: 700; }
.f-bottom nav a:hover { color: var(--ink); }
/* ambient bubbles behind the whole page */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient span { position: absolute; bottom: -40px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), color-mix(in srgb, var(--blue) 18%, transparent) 65%); opacity: 0; animation: amb var(--d, 24s) linear var(--delay, 0s) infinite; }
@keyframes amb { 0% { transform: translate(0, 0); opacity: 0; } 6% { opacity: .75; } 50% { transform: translate(var(--dx, 18px), -55vh); } 85% { opacity: .6; } 100% { transform: translate(calc(var(--dx, 18px) * -0.6), -112vh); opacity: 0; } }
.wrap, .seabed { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .hero, .split, .req { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .summary { position: static; }
  footer.foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer.foot > .f-brand { grid-column: 1 / -1; }
  footer.foot ul.two { grid-template-columns: minmax(0, 1fr); }
  footer.foot > div:nth-child(4) { grid-column: 1 / -1; }
  .f-contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; top: 74px; right: 0; left: 0; flex-direction: column; align-items: stretch; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 10px; z-index: 20; }
  nav.main.open { display: flex; }
  nav.main a.cta { margin-left: 0; text-align: center; }
  section.s { padding-block: 52px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper li span.t { display: none; }
  .stepper li::after { left: 42px; }
  .review dl { grid-template-columns: minmax(0, 1fr); }
  .review dt { border-bottom: 0; padding-bottom: 0; }
  .collage .a { aspect-ratio: 3 / 4.6; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .svc { transition: none; } }

.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ref-th { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); background: var(--paper); }
.ref-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font-weight: 800; font-size: 16px; line-height: 1; cursor: pointer; }
.ref-add { aspect-ratio: 1; border: 2px dashed var(--line); border-radius: 14px; display: grid; place-content: center; text-align: center; cursor: pointer; color: var(--muted); background: var(--paper); }
.ref-add span { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; }
.ref-add:hover, .ref-add:focus-within { border-color: var(--ink); }
.pay-locked { display: grid; gap: 4px; padding: 18px 20px; border: 2px dashed var(--line); border-radius: var(--r-md); color: var(--muted); }
.pay-locked b { color: var(--ink); }
.paybox { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
.paybox h3 { font-size: 24px; }
.pstep { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.pstep p { margin: 4px 0 10px; font-size: 14px; }
.pstep .mdot { width: 38px; height: 38px; }
.proof-prev { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.proof-prev img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); }
.proof-box { grid-column: 2 / -1; display: grid; gap: 8px; background: color-mix(in srgb, var(--pink) 30%, var(--card)); border: 2px solid var(--line); border-radius: 14px; padding: 12px; }
.proof-box img { max-width: 100%; max-height: 420px; border-radius: 10px; display: block; }
.track-top { display: flex; gap: 18px; align-items: end; flex-wrap: wrap; margin-bottom: 18px; }
.track-legend { display: flex; gap: 6px; flex-wrap: wrap; }
.track-tbl td, .track-tbl th { white-space: nowrap; }
.track-tbl tr.hit td { background: color-mix(in srgb, var(--lime) 35%, var(--card)); }
.fact.hot { border-color: var(--ink); background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.order.st-check, .order.st-review { border-color: var(--ink); }
.decl-in { flex: 1; min-width: 200px; min-height: 40px; border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--paper); font: inherit; color: var(--ink); }
.brief-box summary { font-size: 15px; }
.quote-box { border-color: var(--ink); }

.field input[type=email], .field input[type=password] { width: 100%; min-height: 54px; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; font: inherit; color: var(--ink); }
.field input[type=email]:focus, .field input[type=password]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--lime); }
.login-wrap { max-width: 580px; }
.login-card .sk-guide { margin-bottom: 22px; }
.owner-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.req-box { margin-bottom: 30px; padding: 20px; border: 2px dashed var(--accent); border-radius: var(--r-lg); background: color-mix(in srgb, var(--accent) 7%, var(--card)); }
.req-box h3 { display: flex; gap: 10px; align-items: center; }
.ofiles { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.ofiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 2px solid var(--line); background: var(--lime); display: block; }
.mlist .macts .btn { text-decoration: none; }

.mt-layer::before, .mt-kana::before { content: attr(data-t); }

.send-box { border-style: solid; background: color-mix(in srgb, var(--lime) 14%, var(--card)); }
.send-box .btn { font-size: 18px; padding: 15px 30px; }
