/*
  $KURUMI — Minimal, warm, Japanese-inspired styling (public build)
  Note: asset paths adapted for 'public' as web root
*/

:root {
  --bg: #FFF7EE;
  --paper: #FFFCF9;
  --ink: #1C1E21;
  --muted-ink: #6B6F76;
  --line: #EDE7DF;

  --kurumi: #FF8A3D;
  --green: #59D08C;
  --gold: #F5C156;
  --purple: #8E7CFF;
  --pink: #FF6EA9;

  --sky: #9AD7FF;
  --peach: #F2C49D;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xl: 22px;
  --shadow: 0 2px 8px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.12);
  --shadow-fun: 0 6px 0 rgba(212, 165, 116, 0.3);
  --maxw: 1100px;
}

html { scroll-behavior: smooth; }
/* Global paw watermark */
html { position: relative; }
html::before { content: none; }
/* Global paw watermark */
html { position: relative; }
html::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4A574' opacity='0.08'%3E%3Cellipse cx='30' cy='35' rx='8' ry='10'/%3E%3Cellipse cx='20' cy='25' rx='5' ry='6' transform='rotate(-20 20 25)'/%3E%3Cellipse cx='40' cy='25' rx='5' ry='6' transform='rotate(20 40 25)'/%3E%3Cellipse cx='18' cy='40' rx='4' ry='5' transform='rotate(-30 18 40)'/%3E%3Cellipse cx='42' cy='40' rx='4' ry='5' transform='rotate(30 42 40)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 150px 150px; background-repeat: repeat; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }

/* Background paw pattern */
body::before { content: none; display: none; }
body::after { content: none; }
body > * { position: relative; z-index: 1; }

h1, h2, h3 { font-family: 'Fredoka', 'Outfit', Inter, system-ui; letter-spacing: 0.5px; }
h1 { font-weight: 700; font-size: clamp(36px, 5.5vw, 56px); line-height: 1.15; margin: 0 0 16px; }
h2 { font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 14px; }
h3 { font-weight: 600; font-size: clamp(20px, 3vw, 26px); line-height: 1.3; margin: 0 0 10px; }
p { margin: 0 0 12px; }

.lead { font-size: clamp(16px, 2.6vw, 18px); color: var(--muted-ink); }
.muted { color: var(--muted-ink); }
.tiny { font-size: 12px; }

.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 16px; top: 12px; background: var(--paper); border: 1px solid var(--line); padding: 6px 10px; border-radius: var(--radius-sm); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 252, 249, 0.92); backdrop-filter: saturate(120%) blur(12px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: Outfit, Inter; }
.brand-logo { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line); box-shadow: var(--shadow); }
.brand-name { font-size: 20px; letter-spacing: 0.6px; }
.nav { display: none; gap: 18px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 10px; transition: all 0.2s ease; }
.nav a:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-1px); }
.actions { display: none; gap: 8px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--line); background: #fff; box-shadow: var(--shadow); cursor: pointer; }
.menu-toggle:active { transform: scale(0.98); }
.menu-icon { position: relative; width: 18px; height: 2px; background: var(--ink); }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

/* Sections */
.section { padding: clamp(60px, 8vw, 100px) 0; border-top: none; position: relative; }
.section::before { content: '🐾 🐾 🐾'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 20px; opacity: 0.4; letter-spacing: 16px; filter: drop-shadow(0 2px 4px rgba(255,255,255,0.8)); }
.section:first-of-type::before { display: none; }

/* About Kurumi Section */
#about { position: relative; margin-top: 0; padding-top: clamp(60px, 8vw, 100px); }
#about h2 { color: var(--kurumi); position: relative; display: inline-block; font-weight: 800; letter-spacing: -1px; }
#about h2::before { content: '—'; display: inline-block; margin-right: 16px; color: var(--gold); }
.section h2 { position: relative; display: inline-block; }
.section h2::after { content: none; display: none; }

/* Big paw watermarks per section */
#about::after, #family::after, #atsuko::after, #calculator::after, #coming-soon::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; display: block; background-repeat: no-repeat; opacity: .12; mix-blend-mode: multiply; }
#about::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 220px, 160px; background-position: 8% 24%, 78% 36%; }
#family::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 200px, 150px, 170px; background-position: 9% 18%, 82% 28%, 28% 76%; }
#atsuko::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 180px, 140px; background-position: 12% 22%, 74% 68%; }
#calculator::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 190px, 150px; background-position: 14% 30%, 80% 72%; }
#coming-soon::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23E6C896' opacity='0.22'%3E%3Cellipse cx='30' cy='35' rx='10' ry='12'/%3E%3Cellipse cx='18' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='42' cy='22' rx='5.5' ry='6.5'/%3E%3Cellipse cx='14' cy='38' rx='4.5' ry='5.5'/%3E%3Cellipse cx='46' cy='38' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 200px, 140px; background-position: 10% 26%, 76% 64%; }
.section > .container { position: relative; z-index: 1; }
@media (max-width: 480px) { #about::after, #family::after, #atsuko::after, #calculator::after, #coming-soon::after { background-size: 150px, 110px, 0px; opacity: .10; } }
.about-content { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.about-text { order: 2; }
#about p { font-size: clamp(17px, 2.8vw, 21px); line-height: 1.75; color: var(--ink); max-width: 100%; margin-bottom: 24px; font-weight: 400; }

/* Hero */
.hero { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 80px; background: url('hero-bg.png') center/cover no-repeat; position: relative; }
.hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 100px; background: var(--bg); clip-path: polygon(0% 50%, 3% 45%, 6% 42%, 9% 40%, 12% 42%, 15% 45%, 18% 48%, 21% 50%, 24% 48%, 27% 45%, 30% 42%, 33% 40%, 36% 42%, 39% 45%, 42% 48%, 45% 50%, 48% 52%, 51% 50%, 54% 48%, 57% 45%, 60% 42%, 63% 40%, 66% 42%, 69% 45%, 72% 48%, 75% 50%, 78% 48%, 81% 45%, 84% 42%, 87% 40%, 90% 42%, 93% 45%, 96% 48%, 100% 50%, 100% 100%, 0% 100%); pointer-events: none; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero-image { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-hover); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); border: 4px solid var(--line); }
.hero-image:hover { transform: scale(1.02) rotate(-1deg); box-shadow: 0 12px 30px rgba(212, 165, 116, 0.2), 0 6px 15px rgba(0,0,0,0.1); border-color: var(--kurumi); }

.image-placeholder { width: 100%; aspect-ratio: 4/3; border: 3px dashed var(--line); border-radius: var(--radius-xl); display: grid; place-items: center; color: var(--muted-ink); background: linear-gradient(135deg, #FFF 0%, var(--paper) 100%); box-shadow: var(--shadow); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; overflow: hidden; }
.image-placeholder::before { content: '🐾'; position: absolute; font-size: 80px; opacity: 0.05; bottom: -20px; right: -20px; transform: rotate(-15deg); }
.image-placeholder:hover { box-shadow: var(--shadow-hover); transform: scale(1.02) rotate(1deg); border-color: var(--kurumi); }

/* Contract card */
.contract-card { display: inline-grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); margin-top: 16px; }
.contract-meta { display: flex; align-items: center; gap: 8px; }
.contract-meta .label { font-size: 12px; color: var(--muted-ink); }
.contract-meta .chain { font-size: 12px; color: var(--ink); background: #faf6f0; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }
.contract-text { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13px; }
.contract-text.small { font-size: 12px; }
.copy-status { font-size: 12px; color: var(--muted-ink); }
.contact-blurb { margin: 8px 0 4px; }
/* Mailto link color */
.contact-blurb a, a[href^="mailto:"] { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Social icon row under CA */
.social-row { display: flex; gap: 10px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.social-icon { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); background: #fff; box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.social-icon:hover { transform: translateY(-2px); border-color: var(--kurumi); box-shadow: var(--shadow-hover); }
.social-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-icon img.img-fill-x { transform: scale(1.22); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15); border: 2px solid rgba(212, 165, 116, 0.2); transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; display: flex; flex-direction: column; gap: 16px; }
.card::before { content: '#' attr(data-rank); position: absolute; right: 20px; top: 20px; font-weight: 700; font-size: 16px; color: white; background: var(--kurumi); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fredoka', sans-serif; box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3); }
.card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 32px rgba(212, 165, 116, 0.25); border-color: var(--kurumi); }
.card-content { display: flex; flex-direction: column; gap: 16px; padding-right: 48px; }
.card-content .family-icon { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1)); transition: transform 0.3s ease; }
.card:hover .family-icon { transform: rotate(-5deg) scale(1.1); }
.badge { display: inline-block; background: linear-gradient(135deg, var(--kurumi) 0%, var(--gold) 100%); color: white; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; align-self: flex-start; border-radius: 20px; font-family: 'Outfit', sans-serif; box-shadow: 0 2px 8px rgba(212, 165, 116, 0.25); }
.ath { margin-top: 20px; padding-top: 20px; border-top: 2px dashed rgba(212, 165, 116, 0.3); font-size: 12px; color: var(--muted-ink); font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.ath strong { display: block; font-size: 28px; color: var(--kurumi); margin-top: 8px; font-family: 'Fredoka', sans-serif; font-weight: 900; }
.card h3 { margin: 0; font-size: 26px; font-weight: 700; font-family: 'Fredoka', sans-serif; color: var(--ink); }
.card p { margin: 0; font-size: 14px; color: var(--muted-ink); line-height: 1.6; }

/* Info grid */
.info-grid { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; order: 1; }
.info-card { background: var(--kurumi); border: none; padding: 20px 48px; box-shadow: 0 4px 16px rgba(212, 165, 116, 0.25); transition: all 0.3s ease; text-align: center; position: relative; display: inline-flex; align-items: baseline; gap: 16px; border-radius: 16px; transform: rotate(-1deg); }
.info-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 8px 24px rgba(212, 165, 116, 0.4); }
.info-label { font-size: 14px; color: rgba(255,255,255,0.95); text-transform: uppercase; letter-spacing: 2px; font-weight: 800; display: inline; }
.info-value { font-weight: 900; font-size: 36px; color: white; font-family: 'Fredoka', sans-serif; line-height: 1; }

/* Atsuko */
.atsuko-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.atsuko-image { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-hover); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); border: 4px solid var(--line); }
.atsuko-image:hover { transform: scale(1.02) rotate(1deg); box-shadow: 0 12px 30px rgba(212, 165, 116, 0.2), 0 6px 15px rgba(0,0,0,0.1); border-color: var(--pink); }
.link-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.text-link { color: var(--kurumi); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; font-weight: 600; transition: all 0.2s ease; }
.text-link:hover { border-bottom-color: var(--kurumi); transform: translateY(-2px); }

/* Calculator */
.calc { display: flex; flex-direction: column; gap: 20px; }
.form-row { background: white; border: 2px solid rgba(212, 165, 116, 0.2); border-radius: var(--radius); padding: 28px 20px 20px; box-shadow: 0 2px 12px rgba(212, 165, 116, 0.1); display: flex; flex-direction: column; gap: 12px; transition: all 0.3s ease; position: relative; }
.form-row::before { content: attr(data-step); position: absolute; top: -12px; left: 20px; background: var(--kurumi); color: white; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-family: 'Outfit', sans-serif; box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3); z-index: 10; white-space: nowrap; }
.form-row:hover { border-color: var(--kurumi); box-shadow: 0 4px 20px rgba(212, 165, 116, 0.2); }
.form-row label, .form-row legend { font-weight: 700; font-size: 15px; color: var(--ink); font-family: 'Fredoka', sans-serif; margin-top: 12px; }
fieldset.form-row > legend { padding-top: 6px; }
fieldset.form-row::before { display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 1px, 1px); white-space: nowrap; border: 0; }
.form-row input[type="text"] { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; background: #fff; transition: all 0.2s ease; font-family: 'Quicksand', sans-serif; font-weight: 500; }
.form-row input[type="text"]:focus { outline: none; border-color: var(--kurumi); box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15); }
.static-field { background: linear-gradient(135deg, #FFF8F0 0%, #FFFBF5 100%); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--kurumi); font-family: 'Fredoka', sans-serif; }
.target-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.option { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 8px 14px; cursor: pointer; transition: all 0.2s ease; font-weight: 600; font-size: 13px; }
.option:has(input:checked) { background: linear-gradient(135deg, var(--kurumi) 0%, var(--gold) 100%); color: white; border-color: var(--kurumi); box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3); }
.option input { accent-color: var(--kurumi); }
.hint-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.actions-row { display: flex; gap: 12px; background: white; border: 2px solid rgba(212, 165, 116, 0.2); border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 12px rgba(212, 165, 116, 0.1); }
.result { background: linear-gradient(135deg, var(--kurumi) 0%, var(--gold) 100%); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3); }
.result-line { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; color: white; font-size: 15px; }
.result-line strong { font-size: 24px; font-family: 'Fredoka', sans-serif; font-weight: 900; }
.result .muted { color: rgba(255,255,255,0.8); margin-top: 12px; }

/* Buttons */
.btn { border: 3px solid var(--ink); color: var(--paper); background: var(--ink); padding: 12px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; font-weight: 700; font-size: 15px; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: var(--shadow-fun); position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 0 rgba(212, 165, 116, 0.3), 0 10px 20px rgba(0,0,0,0.15); }
.btn:hover::before { width: 300px; height: 300px; }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 0 rgba(212, 165, 116, 0.2); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn.primary { background: linear-gradient(135deg, var(--kurumi) 0%, #E6C896 100%); border-color: var(--kurumi); color: #fff; box-shadow: 0 6px 0 #B8925E; }
.btn.primary:hover { box-shadow: 0 8px 0 #B8925E, 0 12px 24px rgba(212, 165, 116, 0.4); }
.btn.ghost { background: white; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn.ghost:hover { background: var(--paper); box-shadow: var(--shadow-hover); border-color: var(--kurumi); }
.btn.small { padding: 8px 16px; font-size: 13px; }

/* Decorative patterns and footer */
.section::after { content: none; display: none; }
#family::after { background-image: radial-gradient(circle at 10px 10px, var(--pink) 2px, transparent 2px), radial-gradient(circle at 30px 30px, var(--sky) 2px, transparent 2px); }
#calculator::after { background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px); background-size: 50px 50px; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.2); } }
.hero::before { content: '✨'; position: absolute; top: 20%; right: 15%; font-size: 24px; animation: twinkle 3s ease-in-out infinite; z-index: 1; }
.coming { text-align: center; position: relative; }
.coming-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; margin-top: 16px; text-align: left; }
.coming-copy p { font-size: clamp(16px, 2.6vw, 18px); }
.site-footer { border-top: 3px solid var(--line); padding: 32px 0; background: linear-gradient(to top, #FFEEDD 0%, transparent 100%); position: relative; }
.site-footer::before { content: none; display: none; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.footer-brand .brand-name { font-size: 18px; }

/* Responsive */
@media (min-width: 768px) { .nav { display: flex; } .actions { display: flex; } .menu-toggle { display: none; } .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; } .info-grid { grid-template-columns: repeat(3, 1fr); } .atsuko-layout { grid-template-columns: 0.9fr 1.1fr; gap: 32px; } .coming-grid { grid-template-columns: 1.1fr 0.9fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Scroll Reveal Animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .22s ease, transform .22s ease; will-change: opacity, transform; }
.reveal.reveal-right { transform: translateX(16px); }
.reveal.reveal-scale { transform: translateY(8px) scale(.98); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.reveal-right, .reveal.reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Mobile optimizations */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .header-inner { height: 60px; }
  .brand-logo { width: 28px; height: 28px; }
  .section { padding: 44px 0; }
  body::before { opacity: 0.04; background-size: 120px 120px; }
  #family-title { font-size: 22px; white-space: nowrap; }
  .contract-card { grid-template-columns: 1fr; row-gap: 8px; align-items: start; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 18px; }
  .target-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .option { justify-content: center; padding: 10px 12px; font-size: 14px; border-radius: 16px; }
  .option input { transform: scale(1.15); }
  .actions-row { flex-wrap: wrap; }
  .result-line { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Mobile drawer */
.mobile-nav[hidden] { display: none; }
.mobile-nav { position: fixed; inset: 0; z-index: 20; }
.mobile-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.25); opacity: 0; transition: opacity .2s ease; }
.mobile-panel { position: absolute; right: 0; top: 0; height: 100%; width: min(86vw, 360px); background: var(--paper); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(0,0,0,0.1); transform: translateX(100%); transition: transform .25s ease; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.mobile-links a { display: block; padding: 12px 6px; color: var(--ink); text-decoration: none; font-weight: 700; font-family: 'Fredoka', sans-serif; border-bottom: 1px solid var(--line); }
.mobile-actions { display: grid; gap: 10px; }
.menu-close { align-self: flex-end; border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.mobile-nav.open .mobile-backdrop { opacity: 1; }
.mobile-nav.open .mobile-panel { transform: translateX(0); }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
