/* Shared visual language with Malavika's illustrated studio, 8 October 2026.
   Functional editors remain still. All assets and fonts are served locally. */
:root {
  --paper:#fdf7ee; --ink:#3a2e2e; --muted:#736161; --line:#c9bab2;
  --green:#9b5058; --sage:#e9ecdf; --pink:#fbe4e4; --white:#fffcf7;
  --gold:#fbf1c7; --rose:#e5a5a5; --shadow:#d8b7b2;
  --display:'Bricolage Grotesque',system-ui,sans-serif;
  --body:'DM Sans',system-ui,sans-serif; --hand:Caveat,cursive;
}
body{font-family:var(--body);font-size:16px;background-image:radial-gradient(#e5a5a52b .8px,transparent .8px);background-size:20px 20px}
::selection{background:var(--pink);color:var(--ink)}
h1,h2,h3{font-family:var(--display);font-weight:600;letter-spacing:-.035em;text-wrap:balance}
h1{font-size:clamp(2.9rem,5.3vw,4.8rem);line-height:1.04}
h2{font-size:clamp(2rem,3.5vw,2.8rem);line-height:1.14}
h3{font-size:1.35rem;line-height:1.25}
.wrap{max-width:1200px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex='-1']:focus{outline-color:var(--green)}
.site-header{background:#fdf7eef5;border-bottom:1px solid #3a2e2e25}
.nav{min-height:88px}
.brand{font-family:var(--display);font-size:24px;letter-spacing:-.045em;line-height:1.1;gap:9px}
.brand img{height:38px;width:38px;object-fit:contain}
.brand small{display:block;font:400 16px/1.25 var(--hand);letter-spacing:0;color:var(--green);margin-top:3px}
.nav-links a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.nav-links a:last-child{border:1.5px solid var(--ink);border-radius:12px 15px 13px 11px;padding:10px 17px;background:var(--pink);box-shadow:3px 3px 0 var(--ink)}
.eyebrow{font-family:var(--hand);font-size:25px;line-height:1.25;text-transform:none;letter-spacing:0;font-weight:500;color:var(--green);margin-bottom:20px}
.hero{grid-template-columns:1.15fr 1fr;gap:46px;padding:62px 0 54px}
.hero h1 em{font-style:normal;color:var(--green)}
.lead{font-size:19px;color:#5a4a4a;line-height:1.65;max-width:600px}
.hero-art{min-height:480px;padding:0;position:relative}
.hero-note{position:absolute;top:0;left:24px;font:26px/1.2 var(--hand);color:var(--green);transform:rotate(-5deg)}
.hero-drawing{position:absolute;left:0;top:55px;width:100%;height:380px;object-fit:contain}
.little-card{position:absolute;bottom:6px;left:16px;margin:0;padding:17px 24px;background:var(--white);border:1.6px solid var(--ink);border-radius:8px 11px 9px 7px;box-shadow:5px 5px 0 var(--rose);font:24px/1.15 var(--hand);transform:rotate(-4deg)}
.little-card strong{font-weight:600}
.tape{position:absolute;top:-10px;left:32%;width:67px;height:21px;background:#d8e3d5d9;border:1px solid #3a2e2e33;transform:rotate(8deg)}
.stamp{right:0;top:10px;width:84px;height:84px;border:1.5px solid var(--ink);background:var(--sage);box-shadow:3px 3px 0 #b8ccb3;font:24px/1 var(--hand);transform:rotate(9deg)}
.button{background:var(--rose);color:var(--ink);border:1.5px solid var(--ink);border-radius:12px 15px 13px 11px;box-shadow:3px 3px 0 var(--ink);font-size:15px;font-weight:500;min-height:48px;padding:12px 22px;transition:translate .2s,box-shadow .2s,background .2s}
.button:hover{background:var(--pink)}
.button.secondary{border-color:var(--ink);background:var(--paper)}
.button.secondary:hover{background:var(--sage)}
.button:active{translate:2px 2px;box-shadow:1px 1px 0 var(--ink)}
.button:disabled{box-shadow:none}
.actions{gap:14px}
.promise{background:#d8e3d55e;border-color:var(--ink);font:23px/1.3 var(--hand);padding:18px 24px;text-align:center}
.section{padding:66px 0}
.section-heading{margin-bottom:32px}
.grid{gap:24px}
.card{position:relative;border:1.5px solid var(--ink);border-radius:20px 17px 21px 18px;padding:26px;background:var(--white);box-shadow:5px 5px 0 #e5a5a55c;transition:translate .22s,rotate .22s,box-shadow .22s;display:flex;flex-direction:column}
.card:nth-child(3n+2){background:#f1f2e8;box-shadow:5px 5px 0 #baccc0}
.card:nth-child(3n){background:#fff0ec;box-shadow:5px 5px 0 #e5c1c1}
.card:hover{transform:none;border-color:var(--ink)}
.card-top{display:flex;justify-content:space-between;align-items:start;min-height:106px;margin-bottom:8px}
.card .number{font:20px/1 var(--hand);border:0;background:var(--pink);border-radius:5px 9px 6px 7px;padding:7px 10px;margin:4px 0 0;transform:rotate(-5deg)}
.spot{height:100px;width:108px;object-fit:contain;display:block;flex:none}
.tag{font-size:11px;letter-spacing:.1em;font-weight:600;color:#805c60;margin-bottom:12px}
.card p{font-size:15px;line-height:1.65;color:#655555;margin-bottom:24px}
.card .arrow{margin-top:auto;padding-top:4px;font-size:14px;color:var(--ink)}
.article-card .spot{height:110px;width:120px;margin:0 0 20px auto}
.band{background:#d8e3d573;border:1.5px solid var(--ink);border-radius:20px 17px 21px 18px;box-shadow:5px 5px 0 #baccc0}
.course{position:relative;background:var(--pink);color:var(--ink);border:1.5px solid var(--ink);border-radius:22px 18px 24px 19px;box-shadow:6px 6px 0 var(--rose);padding:48px}
.course .eyebrow,.course .small{color:var(--green)}
.course .small{color:#655555}
.course .button{background:var(--rose);border-color:var(--ink)}
.course p{line-height:1.7;max-width:660px}
.course-art{float:right;width:190px;height:210px;object-fit:contain;margin:10px 0 20px 32px}
.site-footer{background:#f3eee4;max-width:none;border-top:1.5px solid var(--ink);padding:0 32px}
.footer{max-width:1136px;margin:auto;border:0;padding:34px 0;align-items:center;line-height:1.8}
.footer-note{font:22px/1.4 var(--hand);color:var(--green)}
.footer-links a{display:inline-flex;align-items:center;min-height:44px}
.page-intro{display:flow-root;padding:48px 0 28px}
.page-intro h1{font-size:clamp(2.6rem,5vw,4rem)}
.header-art{float:right;width:240px;height:220px;object-fit:contain;margin:0 0 12px 32px}
.tool-art{float:right;width:130px;height:125px;object-fit:contain;margin:0 0 16px 20px}
.breadcrumbs{font-size:14px}
.notice{border:1px solid #3a2e2e40;border-radius:10px 13px 11px 9px;background:var(--sage);line-height:1.65}
.workspace-bar{background:#fbe4e46b;border:1px solid #3a2e2e40;border-radius:12px;gap:12px}
.workspace-bar button,.record button{border:1px solid #3a2e2e70;background:var(--white);border-radius:8px 10px 9px 7px;color:var(--ink)}
.workspace-bar button:hover,.record button:hover{background:var(--pink)}
.panel{border:1.5px solid var(--ink);border-radius:16px 19px 17px 15px;background:var(--white);box-shadow:4px 4px 0 #d8e3d5;}
.result-panel{box-shadow:4px 4px 0 #e5a5a56b}
.result-panel .eyebrow{font-size:23px}
.field label{line-height:1.5;color:var(--ink)}
input,textarea,select{border-color:#9b8882;border-radius:8px;background:#fffefa;font-family:var(--body)}
input:focus,textarea:focus,select:focus{border-color:var(--green)}
.metric{background:var(--pink);border-radius:9px}
.metric strong{font-family:var(--display);font-weight:600;font-size:25px}
.metric span{font-size:11px;letter-spacing:.04em}
.article{max-width:800px;padding-top:48px}
.article h1{font-size:clamp(2.4rem,5vw,3.7rem)}
.article h2{font-size:29px}
.article p{font-size:18px;line-height:1.9}
.article-art{float:right;width:140px;height:140px;object-fit:contain;margin:8px 0 16px 22px}
.article .eyebrow{font:500 15px/1.5 var(--body);letter-spacing:0}
.article .notice{margin-top:36px}
.search label{font-weight:500}
@media(hover:hover) and (pointer:fine){
 .card:hover,.card:focus-visible{translate:0 -5px;rotate:-.35deg;box-shadow:7px 9px 0 #d8b7b2}
 .button:hover{translate:0 -2px;box-shadow:4px 5px 0 var(--ink)}
 .button:active{translate:2px 2px;box-shadow:1px 1px 0 var(--ink)}
}
@media(max-width:850px){
 .hero{grid-template-columns:1fr;gap:12px;padding-top:36px}
 .hero-art{max-width:450px;width:100%;margin:10px auto 0;min-height:430px}
 .hero-drawing{height:335px;top:50px}
 .nav-links{gap:12px}.nav-links a:last-child{padding:8px 12px}
 .promise{justify-content:center;gap:12px 28px}
 .course{padding:34px}.course-art{width:150px;height:170px}
 .header-art{width:190px;height:190px}
}
@media(max-width:600px){
 .nav{flex-direction:column;align-items:start;gap:12px;padding:16px 18px}
 .nav-links{width:100%;justify-content:space-between;gap:6px}.nav-links a{font-size:13px}.nav-links a:last-child{padding:8px 10px}
 .hero h1{font-size:clamp(2.65rem,11vw,3.7rem)}.eyebrow{font-size:23px}
 .hero-art{min-height:365px;max-width:350px}.hero-drawing{top:48px;height:290px}.hero-note{font-size:23px;left:4px}.stamp{height:72px;width:72px;font-size:22px;right:4px}
 .little-card{font-size:21px;bottom:0;left:6px;padding:14px 20px}
 .promise{font-size:21px;display:grid;gap:8px;padding:16px}
 .section{padding:45px 0}.section-heading{margin-bottom:24px}.grid{gap:20px}
 .course,.band{padding:26px}.course-art{width:104px;height:110px;margin:0 0 10px 16px}
 .course h2{clear:both}.header-art{width:112px;height:110px;margin-left:16px}
 .tool-art{width:90px;height:90px;margin-left:12px}.page-intro h1{font-size:2.6rem;clear:both}
 .page-intro .eyebrow{padding-top:10px}.page-intro{padding-top:30px}
 .article-art{width:105px;height:105px}.article h1{clear:both}.article .eyebrow{font-size:13px}
 .site-footer{padding:0 20px}.footer-links{gap:18px}
 .workspace-bar button{flex:1 1 110px}
 .metric strong{font-size:21px}.card .number{margin-bottom:0}
}
@media(max-width:360px){.nav-links{flex-wrap:wrap;justify-content:start;gap:4px 17px}.nav-links a:last-child{margin-top:3px}.hero-art{min-height:335px}.hero-drawing{height:260px}.button{padding:12px 17px}}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .card:hover,.card:focus-visible,.button:hover,.button:active{translate:none;rotate:none}
}
@media print{
 body{background:#fff;color:#000;font-family:Arial,sans-serif}
 .tool-art,.header-art,.article-art,.hero-art,.course-art{display:none!important}
 .panel{box-shadow:none;border:0;border-radius:0}.result-body{font-family:Arial,sans-serif}
 .result-panel h2{font-family:Arial,sans-serif}.result-panel .eyebrow{color:#000;font:14pt Arial,sans-serif}
}
