:root {
  color-scheme: light dark;
  --page: #f7f9f7;
  --surface: #ffffff;
  --ink: #1b2923;
  --muted: #58665e;
  --accent: #255c45;
  --line: #d6dfd8;
  --tint: #edf3ee;
  --shadow: #244b3423;
  --button-ink: #ffffff;
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page:#151d18; --surface:#1c2720; --ink:#e5ece7; --muted:#aab8ae; --accent:#aed1bb; --line:#374a3d; --tint:#202e24; --shadow:#00000040; --button-ink:#193123; }
}
:root[data-theme="dark"] { color-scheme:dark; --page:#151d18; --surface:#1c2720; --ink:#e5ece7; --muted:#aab8ae; --accent:#aed1bb; --line:#374a3d; --tint:#202e24; --shadow:#00000040; --button-ink:#193123; }
:root[data-theme="light"] { color-scheme:light; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:32px; }
body { margin:0; background:var(--page); color:var(--ink); line-height:1.7; }
button, a { -webkit-tap-highlight-color:transparent; }
button { font:inherit; cursor:pointer; }
a { color:inherit; text-decoration:none; }
a, button { touch-action:manipulation; }
a:focus-visible, button:focus-visible { outline:3px solid var(--accent); outline-offset:5px; border-radius:5px; }
button:active, .button:active { transform:translateY(1px); }
img { display:block; max-width:100%; height:auto; }
h1, h2, h3, p, figure { margin:0; }
button[hidden] { display:none; }
::selection { background:var(--accent); color:var(--page); }
.wrap { width:calc(100% - 96px); max-width:1200px; margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; z-index:10; top:12px; left:20px; padding:10px 18px; background:var(--ink); color:var(--page); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.site-header { min-height:80px; display:flex; align-items:center; gap:34px; }
.brand { display:flex; align-items:center; gap:10px; font-size:25px; font-weight:750; letter-spacing:-1.2px; margin-right:auto; }
.brand-mark { display:grid; place-items:center; width:34px; height:34px; padding-bottom:5px; font-size:30px; font-weight:700; line-height:1; border-radius:10px; background:var(--accent); color:var(--button-ink); }
.brand-period { color:var(--accent); }
nav { display:flex; gap:30px; font-size:14px; font-weight:550; }
nav a { display:flex; align-items:center; min-height:44px; }
nav a:hover, .footer-links a:hover { color:var(--accent); text-decoration:underline; text-underline-offset:5px; }
.theme-toggle { border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--ink); padding:0 13px; min-height:42px; font-size:13px; }
.theme-toggle:hover { background:var(--tint); }
.hero { display:grid; grid-template-columns:1.15fr .85fr; gap:24px; padding:74px 0 94px; align-items:center; }
.eyebrow { font-size:13px; font-weight:600; letter-spacing:2px; color:var(--accent); margin-bottom:25px; }
h1 { font-size:clamp(35px, 3.8vw, 54px); font-weight:650; line-height:1.42; letter-spacing:-1.8px; }
h1 span { display:inline-block; color:var(--accent); }
.intro { color:var(--muted); font-size:16px; line-height:1.9; margin-top:24px; max-width:540px; }
.button { display:inline-flex; align-items:center; gap:26px; background:var(--accent); color:var(--button-ink); min-height:50px; padding:10px 21px; border-radius:12px; font-size:14px; font-weight:600; margin-top:30px; transition:transform .18s, opacity .18s; }
.button:hover { opacity:.88; transform:translateY(-2px); }
.button span { font-size:20px; font-weight:400; }
.app-composition { position:relative; min-height:380px; }
.icon-piece { position:absolute; }
.icon-piece img { width:100%; aspect-ratio:1; border-radius:23%; box-shadow:0 22px 42px -12px var(--shadow); }
.icon-piece figcaption { font-size:13px; margin-top:15px; font-weight:550; text-align:center; color:var(--muted); letter-spacing:.3px; }
.bead-piece { width:66%; max-width:290px; top:6px; left:8%; transform:rotate(-7deg); }
.shift-piece { width:36%; max-width:154px; right:0; bottom:8px; transform:rotate(8deg); }
.section-heading { margin-bottom:32px; }
h2 { font-size:30px; font-weight:620; line-height:1.5; letter-spacing:-.6px; }
.section-heading p { color:var(--muted); font-size:15px; margin-top:8px; }
.works { padding-block:44px 88px; border-top:1px solid var(--line); }
.project-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.project { display:flex; flex-direction:column; padding:35px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.project-bead { background:var(--tint); }
.project-heading { display:flex; gap:16px; align-items:center; }
.project-heading img { flex-shrink:0; border-radius:16px; }
.project-category { font-size:12px; color:var(--muted); margin-bottom:3px; }
h3 { font-size:21px; font-weight:620; letter-spacing:-.4px; }
.project-pitch { margin-top:31px; font-size:27px; line-height:1.5; letter-spacing:-.4px; font-weight:580; }
.project-description { color:var(--muted); margin-top:16px; font-size:15px; max-width:380px; line-height:1.85; }
.feature-list { list-style:none; display:flex; gap:9px 17px; padding:0; margin:25px 0 32px; flex-wrap:wrap; color:var(--muted); font-size:12px; }
.feature-list li { white-space:nowrap; }
.feature-list li + li { border-left:1px solid var(--line); padding-left:17px; }
.project-bottom { margin-top:auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:20px; border-top:1px solid var(--line); }
.availability { font-size:12px; color:var(--muted); }
.project-link { color:var(--accent); min-height:44px; display:inline-flex; align-items:center; gap:18px; font-weight:600; font-size:14px; }
.project-link span[aria-hidden] { font-size:20px; transition:transform .18s; }
.project-link:hover span[aria-hidden] { transform:translate(2px,-2px); }
.about { border-top:1px solid var(--line); padding-block:70px 76px; display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.about-copy > p { color:var(--muted); font-size:16px; max-width:480px; }
.about-copy > p + p { margin-top:17px; }
.about-copy > .signature { font-weight:650; font-size:20px; color:var(--ink); margin-top:26px; }
.signature span { font-size:12px; font-weight:400; margin-left:14px; color:var(--muted); }
.contact { border-top:1px solid var(--line); padding-block:58px 54px; display:flex; justify-content:space-between; gap:32px; align-items:center; }
.contact h2 { font-size:25px; }
.contact p { font-size:14px; color:var(--muted); margin-top:9px; }
.contact-action { position:relative; text-align:right; }
.email-link { display:block; color:var(--accent); font-size:20px; font-weight:550; word-break:break-word; }
.email-link span { margin-left:8px; }
.email-link:hover { text-decoration:underline; text-underline-offset:5px; }
.copy-email { margin-top:4px; padding:5px 0 5px 12px; min-height:44px; border:0; color:var(--muted); background:transparent; font-size:12px; }
.copy-email:hover { color:var(--accent); text-decoration:underline; }
.contact .copy-result { position:absolute; top:100%; right:0; margin-top:0; font-size:12px; }
.site-footer { display:flex; align-items:center; justify-content:space-between; gap:25px; border-top:1px solid var(--line); padding-block:27px 32px; }
.footer-brand { font-size:19px; font-weight:700; letter-spacing:-.6px; }
.site-footer p { color:var(--muted); font-size:12px; margin-top:4px; }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.footer-links a { padding-block:10px; }
@media (min-width:1600px) { .hero { padding-block:94px 114px; } }
@media (max-width:1080px) {
  .wrap { width:calc(100% - 64px); }
  .hero { grid-template-columns:1.25fr 1fr; padding-top:55px; }
  h1 { font-size:clamp(31px, 3.9vw, 42px); letter-spacing:-1.3px; }
  .app-composition { min-height:330px; }
  .bead-piece { left:0; width:72%; }
  .shift-piece { right:0; bottom:14px; }
  .project { padding:28px; }
  .project-pitch { font-size:25px; }
  .about { gap:35px; }
  .contact { align-items:flex-start; flex-direction:column; gap:24px; }
  .contact-action { text-align:left; }
  .contact .copy-result { right:auto; left:0; }
  .copy-email { padding-left:0; }
}
@media (max-width:700px) {
  .wrap { width:calc(100% - 40px); }
  .site-header { gap:18px; min-height:78px; }
  .brand { font-size:22px; gap:7px; }
  .brand-mark { width:29px; height:29px; font-size:26px; border-radius:8px; }
  nav { gap:18px; font-size:13px; }
  nav a:last-child { display:none; }
  .theme-toggle { font-size:12px; padding-inline:10px; }
  .hero { grid-template-columns:1fr; padding:43px 0 50px; gap:42px; }
  .eyebrow { margin-bottom:20px; font-size:12px; }
  h1 { font-size:clamp(28px, 6.7vw, 44px); line-height:1.55; letter-spacing:-.8px; }
  .intro { font-size:14px; line-height:1.9; margin-top:20px; }
  .desktop-break { display:none; }
  .button { margin-top:24px; min-height:48px; }
  .app-composition { width:100%; max-width:370px; min-height:306px; margin-inline:auto; }
  .bead-piece { width:64%; left:9%; top:0; }
  .shift-piece { width:35%; right:6%; bottom:0; }
  .icon-piece figcaption { font-size:11px; margin-top:10px; }
  .works { padding:35px 0 50px; }
  h2 { font-size:24px; }
  .section-heading { margin-bottom:24px; }
  .section-heading p { font-size:14px; }
  .project-grid { grid-template-columns:1fr; gap:18px; }
  .project { padding:25px; border-radius:18px; }
  .project-heading { gap:13px; }
  .project-heading img { width:58px; height:58px; border-radius:14px; }
  h3 { font-size:20px; }
  .project-pitch { font-size:25px; margin-top:26px; }
  .project-description { font-size:14px; }
  .feature-list { gap:8px 12px; margin-bottom:25px; font-size:11px; }
  .feature-list li + li { padding-left:12px; }
  .project-bottom { gap:5px; padding-top:16px; }
  .availability { font-size:11px; }
  .project-link { font-size:13px; gap:12px; }
  .about { grid-template-columns:1fr; gap:26px; padding-block:43px 47px; }
  .about-copy > p { font-size:14px; }
  .contact { padding-block:39px 46px; gap:21px; }
  .contact h2 { font-size:24px; }
  .contact p { font-size:13px; }
  .email-link { font-size:clamp(15px,4.3vw,20px); }
  .site-footer { align-items:flex-start; flex-direction:column; gap:13px; padding-block:24px; }
  .footer-links { gap:18px; }
}
@media (max-width:360px) {
  .site-header { gap:12px; }
  nav { gap:12px; }
  .brand-mark { display:none; }
  .app-composition { min-height:268px; }
  .project { padding:21px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition:none!important; animation:none!important; } }
