/* Aki Tanaka portfolio — styles copied from the Figma Make repo
   akitanakasf/AkiTanakaPortfolioWebsiteMain (DESIGN_SYSTEM.md, DesignSystemDocs.ts,
   src/styles/fonts.css, Navigation, Hero, Footer, BlogCard, CaseStudyCard, ContactForm).
   Tokens: Primary #896cfe, Primary Hover #7557e8, Text #333, Text Light #555/#666,
   Background #ffffff, Background Alt #c8bef1, Light purple #e8e5f9 / #E2E1FB.
   Headings: Questrial (Google Fonts). Body: Avenir (CDN Fonts).
   Container max-width 1200px, 24px padding. No build step, plain HTML/CSS. */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.cdnfonts.com/css/avenir');
:root{--primary:#896cfe;--primary-hover:#7557e8;--text:#333;--text-light:#555;--muted:#666;--bg:#ffffff;--bg-alt:#c8bef1;--bg-soft:#e8e5f9;--circle-bg:#E2E1FB;--line:#f3f3f5;--input-bg:#f3f3f5}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text-light);font-family:'Avenir',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:16px;line-height:1.6}
h1,h2,h3,h4{font-family:'Questrial',sans-serif;color:var(--text);font-weight:400;line-height:1.35;margin:0 0 12px}
h1{font-size:36px;line-height:1.4}
h2{font-size:26px;line-height:1.3}
h3{font-size:20px;line-height:1.3}
p{margin:0 0 16px}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
figure{margin:24px 0}
figcaption{color:#777;font-size:14px;margin-top:8px;text-align:center;font-style:italic}
blockquote{border-left:4px solid var(--primary);margin:24px 0;padding:4px 20px;font-size:19px;line-height:1.55;color:var(--text-light);font-style:italic}
ul,ol{margin:0 0 16px;padding-left:20px}
li{margin-bottom:8px}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.narrow{max-width:760px;margin:0 auto;padding:0 24px}
/* Sticky header — Navigation.tsx */
header.site{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
header.site .inner{max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
header.site .brand{font-family:'Questrial',sans-serif;font-size:28px;line-height:24px;color:var(--primary);text-decoration:none}
header.site .brand:hover{opacity:.8}
header.site .tagline{font-family:'Questrial',sans-serif;font-size:19.8px;color:#555;line-height:1}
nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center}
nav li+li{border-left:1px solid #333}
nav a{font-family:'Questrial',sans-serif;font-size:13.9px;color:#555;padding:8px 20px;display:block;text-decoration:none}
nav a:hover{color:var(--primary);text-decoration:none}
nav a.active{color:var(--primary)}
main{flex:1}
.page{min-height:100vh;display:flex;flex-direction:column;background:#fff}
.page-header{background:#fff;padding:32px 24px 48px;text-align:center}
.page-header h1{font-size:36px;line-height:1.4;color:var(--text);margin:0}
.lede{font-size:18px;line-height:1.6;color:var(--text-light)}
.meta{color:#888;font-size:13px}
/* Hero — Hero.tsx: two-column, portrait left, "Hello, I'm Aki" right */
.hero{padding:48px 24px 80px}
.hero .grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:32px;align-items:start}
@media(min-width:768px){.hero .grid{grid-template-columns:1fr 1fr;gap:48px}.hero{padding:64px 24px 80px}}
.portrait{display:flex;justify-content:center}
.portrait .circle{width:280px;height:280px;border-radius:999px;overflow:hidden;background:var(--bg-alt)}
@media(min-width:640px){.portrait .circle{width:320px;height:320px}}
@media(min-width:768px){.portrait .circle{width:369px;height:369px}}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:top}
.hero-copy{max-width:525px;margin:0 auto}
.hero-copy h1{font-size:46px;line-height:1.2;color:#555;text-align:center;margin-bottom:24px}
.hero-copy p{font-size:17.7px;line-height:1.63;color:#555;margin-bottom:20px}
.hero-copy .links p{margin-bottom:12px}
/* Footer — Footer.tsx: lavender band, white social icons, white copyright */
footer.site{background:var(--bg-alt);padding:40px 24px;text-align:center}
footer.site .social{display:flex;justify-content:center;gap:8px;margin-bottom:24px}
footer.site .social a{display:inline-block;width:30px;height:30px}
footer.site .social a:hover{opacity:.8}
footer.site p{font-family:'Questrial',sans-serif;font-size:13.6px;line-height:1.44;color:#fff;margin:0}
/* Blog cards — BlogCard.tsx / BlogPage.tsx */
.post-grid{display:grid;grid-template-columns:1fr;gap:24px;padding-bottom:64px}
@media(min-width:640px){.post-grid{grid-template-columns:1fr 1fr;gap:32px}}
@media(min-width:1024px){.post-grid{grid-template-columns:1fr 1fr 1fr}}
.post-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.post-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}
.post-card .thumb{display:block;aspect-ratio:292/176;overflow:hidden;background:#f3f3f5}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .body{padding:20px 24px}
.post-card .date{font-family:'Questrial',sans-serif;font-size:12px;color:#666}
.post-card .cat{display:inline-block;background:var(--primary);color:#fff;font-family:'Questrial',sans-serif;font-size:11px;padding:4px 12px;border-radius:999px;margin:12px 0}
.post-card h3{font-size:18px;line-height:1.33;color:var(--text);margin:0 0 8px}
.post-card h3 a{color:var(--text);text-decoration:none}
.post-card h3 a:hover{color:var(--primary)}
.post-card p.excerpt{font-size:14px;line-height:1.57;color:#555;margin:0}
/* Case study card — CaseStudyCard.tsx */
.case-card{display:grid;grid-template-columns:1fr;gap:32px;align-items:center;padding-bottom:48px}
@media(min-width:768px){.case-card{grid-template-columns:1fr 1fr;gap:48px}}
.case-card .imgwrap{display:flex;justify-content:center}
.case-card .circle{width:280px;height:280px;border-radius:999px;background:var(--circle-bg);display:flex;align-items:center;justify-content:center;overflow:hidden}
@media(min-width:640px){.case-card .circle{width:340px;height:340px}}
@media(min-width:768px){.case-card .circle{width:376px;height:376px}}
.case-card .circle img{width:280px;height:auto;object-fit:contain}
.case-card h3{font-size:24px;line-height:1.25;color:#555;margin-bottom:12px}
.case-card p{font-size:16px;line-height:1.5;color:#555}
.case-hero{background:var(--bg-alt);padding:48px 24px;margin-bottom:48px}.case-hero .grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:32px;align-items:center}@media(min-width:768px){.case-hero .grid{grid-template-columns:1fr 1fr;gap:48px}}.case-hero img{width:100%;height:auto}.case-hero .intro-card{background:#fff;border-radius:8px;padding:32px;box-shadow:0 4px 16px rgba(0,0,0,.08)}.case-hero .intro-card h2{font-size:26px;line-height:1.25;color:#555;margin:0 0 16px}.case-hero .intro-card p{font-size:16px;line-height:1.6;color:#555}.case-cards{display:grid;grid-template-columns:1fr;gap:24px;max-width:1200px;margin:0 auto 48px;padding:0 24px}@media(min-width:768px){.case-cards{grid-template-columns:1fr 1fr}}@media(min-width:1024px){.case-cards{grid-template-columns:repeat(4,1fr)}}.case-cards .card{border:1px solid #e5e5e5;border-radius:8px;padding:24px;background:#fff}.case-cards .card h3{font-size:20px;color:#333;margin:0 0 12px}.case-cards .card p,.case-cards .card li{font-size:15px;line-height:1.6;color:#555}.case-cards .card ul{padding-left:18px;margin:0}
.btn-outline{display:inline-block;font-family:'Questrial',sans-serif;font-size:14px;color:var(--primary);border:1px solid var(--primary);border-radius:999px;padding:8px 24px;text-decoration:none}
.btn-outline:hover{background:var(--primary);color:#fff;text-decoration:none}
/* Services — ServicesPage.tsx */
.services-grid{display:grid;grid-template-columns:1fr;gap:32px;padding-bottom:48px}
@media(min-width:640px){.services-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.services-grid{grid-template-columns:1fr 1fr 1fr;gap:48px}}
.service{text-align:center}
.service .icon{width:100px;height:100px;border-radius:999px;background:var(--bg-soft);display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 auto 16px}
@media(min-width:640px){.service .icon{width:121px;height:121px;margin-bottom:24px}}
.service .icon img{width:100%;height:100%;object-fit:cover}
.service h3{font-size:20px;line-height:1.2;color:var(--text);margin-bottom:12px}
.service ul{list-style:none;padding:0;margin:0;text-align:left;max-width:300px;margin:0 auto}
.service li{font-family:'Questrial',sans-serif;font-size:14px;line-height:1.5;color:#555;display:flex;gap:8px;align-items:flex-start}
.service li::before{content:"•";color:var(--primary)}
.work-box{border:1px solid rgba(137,108,254,.2);background:rgba(137,108,254,.025);border-radius:8px;padding:24px 32px;box-shadow:0 8px 24px rgba(137,108,254,.06);max-width:800px;margin:0 auto 48px}
.work-box h2{font-size:28px;line-height:1.21;color:#555}
.talk{background:var(--bg-soft);padding:48px 24px 64px}
.talk .grid{max-width:800px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:32px}
@media(min-width:768px){.talk .grid{grid-template-columns:1fr 1fr;gap:48px}}
.talk h2{font-size:26px;line-height:1.23;color:#555}
/* Contact form — ContactForm.tsx */
.contact-grid{max-width:980px;margin:0 auto;padding:48px 24px 96px;display:grid;grid-template-columns:1fr;gap:32px;align-items:start}
@media(min-width:768px){.contact-grid{grid-template-columns:441px 1fr;gap:48px;padding:96px 24px}
.contact-grid h1{font-size:42px}
.contact-grid h1{font-size:32px}
.contact-form label{display:block;font-family:'Questrial',sans-serif;font-size:17.7px;color:#555;margin-bottom:8px}
.contact-form input,.contact-form textarea{width:100%;padding:8px 12px;border:1px solid #333;border-radius:3px;background:#fff;font-size:16px;font-family:'Avenir',sans-serif;color:#333}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:transparent;box-shadow:0 0 0 2px var(--primary)}
.contact-form .row{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.contact-form .row{grid-template-columns:1fr 1fr;gap:24px}}
.contact-form .field{margin-bottom:20px}
.btn-submit{width:100%;background:var(--primary);color:#fff;font-family:'Questrial',sans-serif;font-size:21.8px;line-height:1.2;padding:12px;border:none;border-radius:100px;cursor:pointer}
.btn-submit:hover{background:var(--primary-hover)}
.form-toast{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:100;background:#e6f7e6;color:#1e7e34;border:1px solid #b7e4b7;border-radius:8px;padding:14px 20px;font-family:'Questrial',sans-serif;font-size:16px;box-shadow:0 4px 16px rgba(0,0,0,.15);display:none;max-width:90vw;text-align:center}.form-toast.show{display:block}.form-toast.error{background:#fdecea;color:#a71d1d;border-color:#f5c6c6}
/* Blog post — BlogPostPage.tsx */
.post{max-width:760px;margin:0 auto;padding:0 24px 60px}
.post .back{font-family:'Questrial',sans-serif;font-size:14px;color:var(--primary)}
.post header{padding:24px 0 32px}
.post .pill{display:inline-block;background:var(--primary);color:#fff;font-family:'Questrial',sans-serif;font-size:12px;padding:4px 12px;border-radius:999px}
.post h1{font-size:36px;line-height:1.28;color:var(--text);margin:16px 0}
.post .excerpt{font-size:18px;line-height:1.55;color:#777}
.post .hero-img{aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#f3f3f5;margin-bottom:32px}
.post .hero-img img{width:100%;height:100%;object-fit:cover}
.post article p{font-size:17px;line-height:1.7;color:#555;margin-bottom:16px}
.post article h2{font-size:26px;line-height:1.3;color:var(--text);margin:32px 0 12px}
.post article h3{font-size:20px;line-height:1.4;color:var(--text);margin:24px 0 8px}
.post article ul,.post article ol{font-size:17px;line-height:1.7;color:#555}
.post article ul li::marker{color:var(--primary)}
/* About — AboutPage.tsx */
.about-grid{max-width:1000px;margin:0 auto;padding:0 24px 48px;display:grid;grid-template-columns:1fr;gap:32px;align-items:start}
@media(min-width:768px){.about-grid{grid-template-columns:321px 1fr;gap:48px}}
.about-grid .portrait .circle{width:250px;height:250px}
@media(min-width:640px){.about-grid .portrait .circle{width:300px;height:300px}}
@media(min-width:768px){.about-grid .portrait .circle{width:321px;height:321px}}
.about-copy{font-size:17.7px;line-height:1.63;color:#555;max-width:637px}
.about-copy h3{font-size:26px;line-height:1.2;color:var(--text);margin:24px 0 12px}
.about-copy p{margin-bottom:20px}
@media(max-width:640px){header.site .tagline{display:none}.hero-copy h1{font-size:36px;line-height:1.19}nav a{padding:8px 12px}}
