/* HIKO1999 — stylesheet (generated by tools/slim_css.py from tools/hiko.src.css; edit the source, not this file).
   Soft UI (neumorphism) with HIKO1999's own colours. Light / dark via <html data-theme="dark">. */
:root { --bg: #E4E5E8; --card: #E4E5E8; --title-gradient: linear-gradient(135deg, #0F4C81, #89CFF0, #FFAD9F); --puppy: linear-gradient(90deg, #0F4C81, #89CFF0, #FFAD9F); --kitty: linear-gradient(90deg, #88B04B, #C5E384, #98ECC3); --cappy: linear-gradient(90deg, #8B4513, #D2B48C, #A67B5B); --fenny: linear-gradient(90deg, #A18CD1, #FFCCBC, #D1C4E9); --btn: #0F4C81; --rim: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%, rgba(178,182,194,.3)); --sd-a: .7; --sl-a: 1; --k: 1; --sd-rgb: 168,172,186; --sl-rgb: 255,255,255; --sd: rgba(var(--sd-rgb), var(--sd-a)); --sl: rgba(var(--sl-rgb), var(--sl-a)); --line-rgb: 15,76,129; --ink: #333333; --hair-a: .12; --out-lg: calc(10px*var(--k)) calc(7px*var(--k)) calc(20px*var(--k)) var(--sd), calc(-10px*var(--k)) calc(-7px*var(--k)) calc(20px*var(--k)) var(--sl); --out: calc(7px*var(--k)) calc(5px*var(--k)) calc(14px*var(--k)) var(--sd), calc(-7px*var(--k)) calc(-5px*var(--k)) calc(14px*var(--k)) var(--sl); --out-sm: calc(4px*var(--k)) calc(3px*var(--k)) calc(8px*var(--k)) var(--sd), calc(-4px*var(--k)) calc(-3px*var(--k)) calc(8px*var(--k)) var(--sl); --in: inset calc(6px*var(--k)) calc(4px*var(--k)) calc(12px*var(--k)) var(--sd), inset calc(-6px*var(--k)) calc(-4px*var(--k)) calc(12px*var(--k)) var(--sl); --in-sm: inset calc(3px*var(--k)) calc(2px*var(--k)) calc(6px*var(--k)) var(--sd), inset calc(-3px*var(--k)) calc(-2px*var(--k)) calc(6px*var(--k)) var(--sl); --line: rgb(var(--line-rgb)); --hair: rgba(var(--line-rgb), var(--hair-a)); --tint: rgba(var(--line-rgb), .06); --muted: color-mix(in srgb, var(--ink) 55%, transparent); --on-line: #FFFFFF; --accent: var(--line); --faint: var(--muted); --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); --ease-in: cubic-bezier(.5, 0, .75, 0); --ease-io: cubic-bezier(.7, 0, .3, 1); --t-hover: .16s; --t: .26s; --t-spring: .38s; --r: 14px; --r-lg: 26px; --nav-h: 58px; --nav-top: 14px; --font: system-ui, -apple-system, 'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans JP', 'Hiragino Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html[data-theme="dark"] { --bg: #2A2A2A; --card: #2A2A2A; --sd-a: .36; --sl-a: .1; --k: 1; --sd-rgb: 0,0,0; --sl-rgb: 255,255,255; --btn: #1F6FB5; --rim: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,0) 40%, rgba(0,0,0,.28)); --line-rgb: 90,180,255; --ink: #F0F0F0; --hair-a: .22; --tint: rgba(var(--line-rgb), .10); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-weight: 500; font-size: 15px; line-height: 1.7; background: var(--bg); color: var(--ink); min-height: 100vh; -webkit-font-smoothing: antialiased; transition: background-color .8s var(--ease-io), color .8s var(--ease-io); }
h1, h2, h3 { font-weight: 600; }
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(var(--line-rgb), .18); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; pointer-events: none; background: var(--line); transform-origin: 0 50%; transform: scaleX(0); }
nav { position: fixed; top: var(--nav-top); left: 14px; right: 14px; max-width: 1120px; margin: 0 auto; height: var(--nav-h); z-index: 800; border-radius: 999px; background: var(--bg); box-shadow: var(--out); transition: background-color .8s var(--ease-io), box-shadow .8s var(--ease-io); }
nav .container { max-width: none; padding: 0 12px 0 16px; height: 100%; }
.nav-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 100%; }
.logo { display: inline-flex; align-items: center; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo em { font-style: normal; color: var(--line); margin-right: .28em; }
.logo span { font-weight: 500; font-size: .8em; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--hair); color: var(--muted); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links > a { position: relative; color: var(--muted); text-decoration: none; font-size: .87rem; padding: 8px 14px; border-radius: 999px; transition: color var(--t-hover), box-shadow var(--t); }
.nav-links > a::after, .footer-links a::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 12px; height: 2px; margin-left: -6px; border-radius: 2px; background: var(--line); transform: scaleX(0); opacity: .35; transition: transform var(--t-spring) var(--ease-spring), opacity var(--t-hover); }
.nav-links > a:hover { color: var(--line); box-shadow: var(--out-sm); }
.nav-links > a:hover::after, .footer-links a:hover::after { transform: scaleX(1); }
.nav-links > a.active { color: var(--line); box-shadow: var(--in-sm); }
.nav-links > a.active::after { transform: scaleX(1); opacity: 1; }
.language-switcher { display: flex; gap: 8px; margin-left: 12px; }
.lang-btn, .theme-btn { position: relative; width: 34px; height: 34px; border: none; border-radius: 50%; background: var(--bg); cursor: pointer; color: var(--muted); font: 600 11px var(--font); letter-spacing: .04em; box-shadow: var(--out-sm); display: inline-flex; align-items: center; justify-content: center; transition: color var(--t-hover), box-shadow var(--t), transform var(--t-spring) var(--ease-spring); }
.lang-btn:hover, .theme-btn:hover { color: var(--ink); }
.lang-btn:active, .theme-btn:active { transform: scale(.88); }
.lang-btn::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 12px; height: 2px; margin-left: -6px; border-radius: 2px; background: var(--line); transform: scaleX(0); transition: transform var(--t-spring) var(--ease-spring); }
.lang-btn.active { color: var(--on-line); background: var(--btn); box-shadow: var(--out-sm); }
.lang-btn::after { content: none; }
.theme-btn { color: var(--line); }
.theme-btn svg { width: 17px; height: 17px; stroke-width: 1.75; animation: icon-in .5s var(--ease-spring); }
.theme-btn .i-moon { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: none; }
html[data-theme="dark"] .theme-btn .i-moon { display: block; }
@keyframes icon-in { from { transform: rotate(-70deg) scale(.5); opacity: 0; } }
main { padding: calc(var(--nav-h) + var(--nav-top) + 30px) 0 40px; }
.neu-button, .cta-secondary { display: inline-block; padding: 14px 30px; border-radius: var(--r); text-decoration: none; cursor: pointer; font: 600 .92rem var(--font); border: none; border-radius: 999px; transition: transform var(--t-spring) var(--ease-spring), box-shadow var(--t), filter var(--t-hover); }
.neu-button { background: var(--btn); color: var(--on-line); box-shadow: var(--out-sm); }
.neu-button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.cta-secondary { background: var(--bg); color: var(--line); box-shadow: var(--out-sm); }
.cta-secondary:hover { transform: translateY(-2px); box-shadow: var(--out); }
.neu-button:active { transform: scale(.95); }
.cta-secondary:active { transform: scale(.95); box-shadow: var(--in-sm); }
.neu-surface { border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rim) border-box; border-radius: var(--r-lg); box-shadow: var(--out); }
.neu-surface { transition: box-shadow var(--t), background-color .8s var(--ease-io), transform var(--t-spring) var(--ease-spring); }
.hero-home { position: relative; min-height: calc(100vh - var(--nav-h) - var(--nav-top)); min-height: calc(100svh - var(--nav-h) - var(--nav-top)); margin-top: -30px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 56px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.hero-home:active { cursor: grabbing; }
.hero-home .hero-eyebrow { margin-bottom: 18px; align-self: flex-start; }
.hero-home h1 { font-size: clamp(3.2rem, 9.5vw, 8rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 18px; }
.hero-home h1 em { font-style: normal; color: var(--line); }
.hero-home .subtitle { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; margin-bottom: 6px; }
.hero-home .description { color: var(--muted); max-width: 460px; margin-bottom: 26px; }
.hero-home .hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint { position: absolute; right: 0; bottom: 56px; width: 1px; height: 64px; background: var(--hair); overflow: hidden; }
.scroll-hint::after { content: ''; position: absolute; inset: 0; background: var(--line); animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.chapter { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 44%; align-items: center; }
.chapter-body { grid-column: 1; padding: 80px 6% 80px 0; max-width: 600px; }
.chapter-no { display: flex; align-items: center; gap: 12px; color: var(--line); font: 600 .78rem var(--font); letter-spacing: .16em; margin-bottom: 22px; }
.chapter-no::after { content: ''; width: 48px; height: 2px; border-radius: 2px; background: var(--line); transform-origin: 0 50%; }
.chapter h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 20px; }
.chapter p { color: var(--muted); font-size: 1.05rem; max-width: 460px; margin-bottom: 28px; }
.feature-status { display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem var(--font); letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 9px 20px; border-radius: 999px; box-shadow: var(--out-sm); }
a.feature-status.live { color: var(--line); box-shadow: var(--out-sm); transition: gap var(--t-spring) var(--ease-spring), box-shadow var(--t); }
a.feature-status.live:hover { gap: 14px; box-shadow: var(--out); }
.feature-status.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--line); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--line-rgb), .6); } 100% { box-shadow: 0 0 0 9px rgba(var(--line-rgb), 0); } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--line); font: 600 .74rem var(--font); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.hero-eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--line); }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.resource-icon { font-size: 1.5rem; flex-shrink: 0; }
footer { padding: 30px 0 44px; }
footer .container { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; margin-left: -12px; }
.footer-links a { position: relative; color: var(--muted); text-decoration: none; font-size: .84rem; padding: 6px 12px; transition: color var(--t-hover); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--muted); font-size: .8rem; }
nav, .cta-secondary, .theme-btn, .lang-btn:not(.active), .feature-status { border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rim) border-box; }
.language-switcher { align-items: center; gap: 4px; padding: 5px; border-radius: 999px; box-shadow: var(--in-sm); }
.lang-btn { width: 36px; height: 30px; border-radius: 999px; }
.lang-btn:not(.active) { background: none; border-color: transparent; box-shadow: none; }
.lang-btn.active { box-shadow: 2px 2px 5px var(--sd); }
.theme-btn { width: 30px; height: 30px; margin-right: 2px; }
.resource-icon { width: 48px; height: 48px; margin: 0 0 14px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rim) border-box; box-shadow: var(--out-sm); color: var(--ink); }
.resource-icon svg { width: 22px; height: 22px; }
.resource-icon { margin: 0; }
html.motion.fresh nav { animation: nav-in .7s var(--ease-out) backwards; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-14px); } }
html.motion .hero-home > :not(.scroll-hint) { animation: rise .9s var(--ease-out) var(--d, 0ms) backwards; }
.hero-home > :nth-child(1) { --d: 80ms; }
.hero-home > :nth-child(2) { --d: 160ms; }
.hero-home > :nth-child(3) { --d: 240ms; }
.hero-home > :nth-child(4) { --d: 320ms; }
.hero-home > :nth-child(5) { --d: 400ms; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
html.motion .chapter-no.in::after { animation: line-in .9s var(--ease-out) calc(var(--d, 0ms) + 200ms) backwards; }
@keyframes line-in { from { transform: scaleX(0); } }
html.motion .hero-home > h1:not(.scroll-hint) { animation-name: title-up; animation-duration: 1.1s; }
@keyframes title-up { from { clip-path: inset(0 0 100% 0); transform: translateY(.45em); } to { clip-path: inset(-.3em 0 -.3em 0); transform: none; } }
html.motion.leaving main, html.motion.leaving footer, html.motion.leaving .nav-links > a, html.motion.leaving .logo span { opacity: 0; transition: opacity .34s var(--ease-in); }
html.motion.entering main, html.motion.entering footer, html.motion.entering .nav-links > a, html.motion.entering .logo span { animation: page-in .7s var(--ease-out) .12s backwards; }
@keyframes page-in { from { opacity: 0; } }
@media (max-width: 900px) {
    .language-switcher { margin-left: 0; }
}
@media (max-width: 768px) {
    :root { --nav-h: 52px; --nav-top: 10px; }
    nav { left: 10px; right: 10px; }
    .container { padding: 0 20px; }
    nav .container { padding: 0 8px 0 10px; }
    .logo span { display: none; }
    .lang-btn, .theme-btn { width: 32px; height: 30px; }
    .theme-btn { width: 30px; }
    footer .container { justify-content: center; text-align: center; }
    .footer-links { justify-content: center; margin-left: 0; }
    .nav-links > a { display: none; }
    .hero-home { padding-bottom: 40px; }
    .scroll-hint { display: none; }
    .chapter { display: block; min-height: 0; }
    .chapter-body { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
.logo { letter-spacing: .04em; font-weight: 700; background: var(--title-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-home h1 { background: var(--title-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .08em; }
.dial { position: relative; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rim) border-box; box-shadow: var(--out-lg); }
.dial-ring { width: 78%; height: 78%; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--in); }
.dial-knob { width: 74%; height: 74%; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rim) border-box; box-shadow: var(--out); color: var(--ink); }
.dial-knob img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dial-knob svg { width: 38%; height: 38%; stroke-width: 1.5; }
.dial-bar { position: absolute; left: 50%; bottom: 9%; width: 34%; height: 4px; margin-left: -17%; border-radius: 4px; }
.hero-visual { position: absolute; right: 2%; top: 46%; width: min(38vw, 420px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
html.motion .hero-home > .hero-visual { animation: dial-in 1.1s var(--ease-out) .2s backwards; }
@keyframes dial-in { from { opacity: 0; transform: translateY(-50%) scale(.9); } }
.chapter-dial { grid-column: 2; justify-self: center; width: min(30vw, 300px); aspect-ratio: 1; transition: transform var(--t-spring) var(--ease-spring); }
.chapter:hover .chapter-dial { transform: rotate(-6deg) scale(1.03); }
.chapter-no::after { width: 64px; height: 4px; }
[data-brand="puppy"] .chapter-no::after, [data-brand="puppy"] .dial-bar { background: var(--puppy); }
[data-brand="kitty"] .chapter-no::after, [data-brand="kitty"] .dial-bar { background: var(--kitty); }
[data-brand="cappy"] .chapter-no::after, [data-brand="cappy"] .dial-bar { background: var(--cappy); }
[data-brand="fenny"] .chapter-no::after, [data-brand="fenny"] .dial-bar { background: var(--fenny); }
.panel { padding: 52px 48px; margin: 40px 0; }
.panel h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 22px; }
.about { text-align: center; }
.date-display { display: inline-block; padding: 16px 40px; border-radius: 999px; box-shadow: var(--in); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 600; color: var(--line); font-variant-numeric: tabular-nums; }
.signature { margin-top: 20px; color: var(--muted); font-style: italic; }
.id-card { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; }
.id-card .dial { width: 200px; height: 200px; margin: 0 auto 18px; }
.id-left { text-align: center; }
.id-left h3 { font-size: 1.15rem; margin-bottom: 6px; }
.id-left p { color: var(--muted); font-size: .9rem; }
.id-list p { padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: .93rem; color: var(--muted); }
.id-list p:last-child { border-bottom: none; }
.id-list strong { color: var(--ink); font-weight: 600; margin-right: 6px; }
.contact-list { display: grid; gap: 16px; }
.contact-row { display: flex; align-items: center; gap: 18px; }
.contact-row .resource-icon { margin: 0; }
.contact-row p { color: var(--muted); }
.contact-row strong { color: var(--ink); font-weight: 600; margin-right: 6px; }
.legal { padding: 20px 0 8px; }
.legal h2 { font-size: 1rem; margin-bottom: 10px; color: var(--muted); }
.legal p { font-size: .82rem; color: var(--muted); max-width: 900px; margin-bottom: 8px; }
.egg-note { position: fixed; left: 50%; top: calc(var(--nav-top) + var(--nav-h) + 14px); z-index: 1200; max-width: calc(100% - 32px); padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rim) border-box; box-shadow: var(--out); font: 600 .84rem ui-monospace, 'SF Mono', Menlo, monospace; color: var(--line); opacity: 0; transform: translate(-50%, -12px); pointer-events: none; transition: opacity .14s var(--ease-in), transform .14s var(--ease-in); }
.egg-note.show { opacity: 1; transform: translate(-50%, 0); transition: opacity .3s var(--ease-out), transform var(--t-spring) var(--ease-spring); }
@media (max-width: 768px) {
    .hero-home { justify-content: flex-end; }
    .hero-visual { position: static; transform: none; width: min(64vw, 260px); margin: 0 auto 30px; }
    html.motion .hero-home > .hero-visual { animation-name: rise; }
    .chapter-dial { width: 150px; margin: 56px 0 -20px; }
    .panel { padding: 34px 22px; margin: 28px 0; }
    .id-card { grid-template-columns: 1fr; gap: 26px; }
}
html.motion .chapter-body > :not(.in) { opacity: 0; }
html.motion .chapter-body > .in { animation: rise .9s var(--ease-out) var(--d, 0ms) backwards; }
html.motion .chapter-body > h2.in { animation-name: title-up; animation-duration: 1.1s; }
