/* Look "B" (owner's pick, 2026-11-19): rounded Huninn type, sunshine yellow, black outlines
   with hard offset shadows like stickers. One look for light and dark systems on purpose:
   the yellow is the identity, and the page stays readable either way.
   The font file only holds the characters on this page (tools/subset-font.sh). */
@font-face {
  font-family: "Huninn";
  src: url("assets/huninn-subset.woff2") format("woff2");
  font-display: swap;
}

:root {
  --sun: #ffd23f;
  --ink: #171717;
  --hot: #ff5a36;
  --cream: #ffe9a6;
  --paper: #fff;
  --sans: "Huninn", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sun); color: var(--ink); font: 17px/1.8 var(--sans); overflow-x: hidden; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.2em; }
li { margin-bottom: .3em; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2 { margin: 0; font-weight: 400; text-wrap: balance; }
h1 { -webkit-text-stroke: .7px var(--ink); font-size: clamp(30px, 8.6vw, 60px); line-height: 1.34; margin: 14px 0 12px; }
h2 { -webkit-text-stroke: .5px var(--ink); font-size: clamp(23px, 6vw, 36px); line-height: 1.45; }
.frame { overflow: hidden; border: 3px solid var(--ink); background: var(--paper); }

/* top + opening */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-size: 15px; }
.top b { background: var(--ink); color: var(--sun); padding: 2px 14px; border-radius: 99px; font-weight: 400; }
.hero { padding-top: 30px; text-align: center; }
.tag { display: inline-block; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 99px; padding: 1px 14px; font-size: 14px; transform: rotate(-2deg); margin: 0; }
h1 em { font-style: normal; background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; padding: 0 .14em; display: inline-block; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--ink); }
.lead { max-width: 30em; margin: 0 auto 22px; font-size: 16px; }
.btn { display: inline-block; background: var(--ink); color: var(--sun); padding: 13px 30px; border-radius: 16px; text-decoration: none; font-size: 18px; box-shadow: 5px 5px 0 var(--paper); transition: transform .15s, box-shadow .15s; }
.btn:hover, .btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--paper); }

.stage { position: relative; height: 540px; margin: 34px -20px 0; overflow: hidden; text-align: left; }
.stage .frame { position: absolute; box-shadow: 8px 8px 0 var(--ink); }
.s1 { left: 9%; top: 8px; width: 56%; aspect-ratio: 690/1250; border-radius: 28px; transform: rotate(4deg); animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.stage .chat { right: 6%; bottom: 40px; width: 68%; border-radius: 20px; padding: 14px; transform: rotate(-3deg); }
.s3 { display: none; }

.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { margin: 0; padding: 8px 13px; border-radius: 16px; max-width: 88%; line-height: 1.55; font-size: 15px; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--cream); border: 2px solid var(--ink); border-bottom-left-radius: 4px; }
.talk .msg { animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }
.talk .msg:nth-child(1) { animation-delay: .5s; } .talk .msg:nth-child(2) { animation-delay: 1.3s; }
.talk .msg:nth-child(3) { animation-delay: 2.2s; } .talk .msg:nth-child(4) { animation-delay: 3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) rotate(4deg); } to { opacity: 1; } }

/* running band: the four kinds of work he takes */
.strip { background: var(--ink); color: var(--sun); overflow: hidden; white-space: nowrap; padding: 10px 0; font-size: 18px; transform: rotate(-1.2deg) scale(1.03); position: relative; z-index: 1; }
.strip-in { display: inline-block; animation: run 34s linear infinite; }
.strip span { margin: 0 1.1em; }
.strip span::after { content: "／"; margin-left: 2.2em; opacity: .5; }
@keyframes run { to { transform: translateX(-50%); } }

/* works */
.works { background: var(--paper); margin-top: -6px; padding: 30px 0 60px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.work { padding-top: 54px; padding-bottom: 20px; }
.work + .work { margin-top: 34px; border-top: 3px dashed var(--ink); }
.num { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--hot); color: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 26px; transform: rotate(-8deg); margin: 0 0 14px; }
.work:nth-of-type(2) .num { background: var(--sun); color: var(--ink); transform: rotate(6deg); }
.work:nth-of-type(3) .num { background: var(--ink); transform: rotate(-4deg); }
.kind { font-size: 14px; margin-bottom: 4px; opacity: .7; }
.name { display: block; color: var(--hot); -webkit-text-stroke: 0; font-size: .62em; }
h2 + p, h2 + .cols { margin-top: 18px; }
.note { font-size: 14.5px; opacity: .7; }
.limit { background: var(--hot); color: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 5px 5px 0 var(--ink); }
.limit b { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 1px 8px; margin-right: .7em; font-weight: 400; }
.links { margin-top: 22px; }
.links a { margin-right: 1.4em; }

.seq { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -20px; padding: 4px 26px 14px 20px; }
.seq figure { margin: 0; flex: 0 0 62%; scroll-snap-align: center; }
.seq .frame { aspect-ratio: 690/1060; border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); }
.seq figure:nth-child(odd) .frame { transform: rotate(-1.5deg); }
.seq figure:nth-child(even) .frame { transform: rotate(1.5deg); }
.seq figcaption { text-align: center; margin-top: 14px; font-size: 15px; }

.demo { display: grid; gap: 22px; margin: 26px 0 22px; }
.demo .frame { border-radius: 20px; padding: 16px; box-shadow: 6px 6px 0 var(--ink); }
.demo .chat { transform: rotate(-.6deg); }
.demo .owner { background: var(--sun); transform: rotate(.8deg); align-self: start; }
.demo-title { font-size: 14px; opacity: .7; margin-bottom: 6px; }
.owner-head { font-size: 15px; margin: 14px 0 6px; }
.owner-head:first-of-type { margin-top: 0; }
.owner-item { background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 12px; font-size: 15px; line-height: 1.6; margin: 0; }

.auriga { display: grid; gap: 26px; }
.auriga .frame { max-width: 250px; margin: 0 auto; border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(3deg); aspect-ratio: 1/1.9; }

/* scope */
.scope { padding: 64px 0; }
.tags { list-style: none; padding: 0; margin: 28px 0 30px; display: flex; flex-wrap: wrap; gap: 14px 14px; }
.tags li { margin: 0; background: var(--paper); border: 3px solid var(--ink); border-radius: 99px; padding: 6px 20px; font-size: 18px; box-shadow: 4px 4px 0 var(--ink); }
.tags li:nth-child(3n+1) { transform: rotate(-1.5deg); }
.tags li:nth-child(3n+2) { transform: rotate(1deg); }
.tags li:nth-child(4n) { background: var(--ink); color: var(--sun); box-shadow: 4px 4px 0 var(--paper); }
.tags li:nth-child(6) { background: var(--hot); color: #fff; }
.ask { font-size: 19px; max-width: 30em; margin-bottom: .6em; }

/* how + about */
.plain { background: var(--paper); border-top: 3px solid var(--ink); padding: 64px 0 50px; }
.plain h2 { margin-bottom: 16px; }
.plain h2:not(:first-child) { margin-top: 54px; }

/* contact */
.contact { background: var(--ink); color: #fff; padding: 70px 0 60px; text-align: center; }
.contact h2 { -webkit-text-stroke: .5px var(--sun); color: var(--sun); margin-bottom: 14px; }
.contact .btn { background: var(--sun); color: var(--ink); box-shadow: 5px 5px 0 var(--hot); margin: 10px 0 6px; }
.contact .btn:hover, .contact .btn:active { box-shadow: 2px 2px 0 var(--hot); }
.handle { margin-bottom: .4em; }
.mail { opacity: .8; }
footer { background: var(--ink); color: #fff; font-size: 14px; padding: 0 0 36px; text-align: center; }
footer p { margin: 0 auto; opacity: .6; }

/* placeholders waiting on the owner; remove the class once real content is in */
.todo { outline: 2px dashed var(--hot); outline-offset: 2px; padding: 0 .3em; }
.todo-block { outline: 2px dashed var(--hot); outline-offset: 8px; }

@media (min-width: 900px) {
  .stage { height: 600px; max-width: 880px; margin: 40px auto 0; overflow: visible; }
  .s1 { width: 290px; left: 26%; top: 0; }
  .stage .chat { width: 340px; right: 2%; bottom: 120px; }
  .s3 { display: block; left: 0; top: 90px; width: 230px; aspect-ratio: 690/1100; border-radius: 24px; transform: rotate(-7deg); }
  .strip { font-size: 22px; margin-top: -70px; }
  .works { padding-top: 60px; }
  .seq { overflow: visible; margin: 36px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .demo { grid-template-columns: 3fr 2fr; gap: 34px; }
  .auriga { grid-template-columns: 1fr 260px; gap: 60px; align-items: center; }
  .auriga .frame { max-width: none; }
  .tags li { font-size: 21px; padding: 8px 26px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* #still in the address turns motion off, for taking screenshots */
.still * { animation: none !important; }

/* 2026-11-19 slimmer pass: owner's own words up top, far less text, works no longer share one mould */
.hero { padding-top: 44px; }
.works { margin-top: 0; }
.work h2 { font-size: clamp(26px, 7vw, 40px); margin-bottom: 14px; }
.say p { font-size: 18px; line-height: 1.75; margin-bottom: .7em; max-width: 30em; }
.say .note { font-size: 14.5px; }
.work .seq { margin-top: 22px; }
.demo .say .owner { margin-top: 22px; padding: 14px; border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); }
.demo .say .owner .owner-item + .owner-item { margin-top: 10px; }
.auriga { grid-template-columns: 110px 1fr; align-items: center; gap: 22px; }
.auriga .frame { max-width: none; margin: 0; border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-3deg); }
.auriga h2 { font-size: clamp(22px, 5.6vw, 30px); margin-bottom: 8px; }
.auriga .say p { font-size: 16.5px; }
.scope { padding: 54px 0 46px; }
.ask { margin: 0; }
.plain { padding: 56px 0 44px; }
.contact h2 { font-size: clamp(30px, 8vw, 44px); }
@media (min-width: 900px) {
  .demo { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .auriga { grid-template-columns: 150px 1fr; gap: 40px; max-width: 760px; margin-left: max(20px, calc((100% - 1020px) / 2)); }
}

/* headline: the visitor's trouble first, his offer second; no sticker box */
h1 { font-size: clamp(28px, 7.8vw, 56px); line-height: 1.35; margin: 0 0 26px; }
.h1b { display: block; font-size: .76em; margin-top: .25em; }
