:root { color-scheme: light; --ink:#211e27; --muted:#646366; --accent:#804bf2; --accent-text:#804bf2; --line:#ded9e5; --paper:#f8f7fa; --surface:#fff; --soft:#eee7fd; --on-accent:#f8f3ff; --shadow:0 16px 48px #211e2709; --font-body:"acumin-pro",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; --font-heading:"sofia-pro",var(--font-body); }
:root[data-theme="dark"] { color-scheme:dark; --ink:#cdc8d3; --muted:#aaa4b1; --accent-text:#b398e8; --line:#39343f; --paper:#18161d; --surface:#211e27; --soft:#302344; --shadow:0 16px 48px #0002; }
* { box-sizing:border-box; }
strong,b { font-weight:600; }
html { scroll-padding-top:24px; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--font-body); -webkit-font-smoothing:antialiased; }
.page { max-width:1280px; min-height:100svh; margin:auto; padding:0 clamp(24px,6vw,80px); display:flex; flex-direction:column; }
header { padding:28px 0; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.mark { font-size:1.4rem; font-weight:600; letter-spacing:-.06em; color:var(--accent-text); text-decoration:none; }
.domain { color:var(--muted); font-size:.875rem; margin-left:auto; }
main { flex:1; }
.hero { padding:88px 0 80px; }
.eyebrow,.section-title { font-size:.75rem; letter-spacing:.14em; font-weight:600; text-transform:uppercase; color:var(--accent-text); }
.eyebrow { margin:0 0 28px; }
h1 { font-family:var(--font-heading); font-size:clamp(3rem,7.5vw,6rem); line-height:1.04; letter-spacing:-.06em; font-weight:600; margin:0; overflow-wrap:anywhere; }
.lead { margin:30px 0 0; font-size:clamp(1.5rem,3vw,2rem); letter-spacing:-.03em; line-height:1.4; }
.intro { max-width:660px; font-size:clamp(1.0625rem,2vw,1.2rem); line-height:1.8; color:var(--muted); margin:20px 0 0; }
a { color:var(--accent-text); text-decoration-thickness:1px; text-underline-offset:.3em; }
a:hover { text-decoration-thickness:2px; }
a:focus-visible,button:focus-visible,[tabindex="-1"]:focus-visible { outline:3px solid var(--accent-text); outline-offset:5px; }
button,a { -webkit-tap-highlight-color:transparent; }
button { font:inherit; cursor:pointer; }
.button,.theme-toggle,.back-to-top { display:inline-flex; align-items:center; justify-content:center; gap:16px; min-height:44px; padding:12px 20px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); font-size:.875rem; font-weight:500; text-decoration:none; }
.primary { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.primary:hover { background:#6d37db; border-color:#6d37db; }
.theme-toggle { padding:8px 12px; color:var(--muted); font-size:.8125rem; }
.theme-toggle:hover,.back-to-top:hover { border-color:var(--accent-text); color:var(--accent-text); }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:24px; margin-top:30px; }
.text-link { padding:12px 0; font-size:.875rem; }
.lab-link { display:inline-block; margin-top:28px; padding:10px 0; }
.hero-preview { margin-top:48px; border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--surface); box-shadow:var(--shadow); }
.preview-heading { display:flex; align-items:center; gap:10px; padding:18px 24px; border-bottom:1px solid var(--line); color:var(--muted); font-size:.6875rem; letter-spacing:.1em; font-weight:600; }
.status-dot { width:8px; height:8px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.preview-label { margin-left:auto; letter-spacing:0; font-weight:400; }
.preview-flow { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:32px; font-size:clamp(1rem,2vw,1.4rem); letter-spacing:-.02em; }
.preview-caption { display:block; margin-top:8px; font-size:.8125rem; letter-spacing:0; color:var(--muted); }
.flow-arrow { color:var(--accent-text); }
.preview-result { padding:20px 24px; border:1px solid var(--line); border-radius:10px; background:var(--soft); }
.preview-link { display:flex; justify-content:space-between; padding:16px 24px; border-top:1px solid var(--line); font-size:.8125rem; text-decoration:none; }
.section { border-top:1px solid var(--line); padding:40px 0 64px; }
.section-title { margin:0 0 32px; }
.projects { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
article { scroll-margin-top:32px; }
article h3 { font-family:var(--font-heading); font-size:clamp(1.125rem,1.8vw,1.375rem); font-weight:600; line-height:1.4; letter-spacing:-.025em; margin:0 0 16px; }
.number { color:var(--accent-text); font-variant-numeric:tabular-nums; }
article p { margin:0; color:var(--muted); font-size:.9375rem; line-height:1.75; }
.work-card { display:flex; flex-direction:column; height:100%; padding:26px; border:1px solid var(--line); border-radius:12px; background:var(--surface); text-decoration:none; color:var(--ink); }
.work-top { display:flex; justify-content:space-between; margin-bottom:32px; color:var(--accent-text); font-size:1.125rem; }
.card-meta { font-size:.75rem; line-height:1.6; color:var(--muted); }
.work-card h3 { margin-top:12px; }
.card-action { display:block; padding-top:28px; margin-top:auto; color:var(--accent-text); font-size:.8125rem; }
.work-card p { margin-bottom:8px; }
.work-card:hover,.project-card:hover { border-color:var(--accent-text); box-shadow:var(--shadow); }
.topics { font-size:clamp(1rem,2vw,1.25rem); line-height:1.9; margin:0; max-width:800px; color:var(--muted); }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px 32px; border-top:1px solid var(--line); padding:24px 0 32px; font-size:.8125rem; line-height:1.6; color:var(--muted); }
.footer-links { display:flex; gap:28px; }
.back-to-top { position:fixed; bottom:20px; right:20px; z-index:5; box-shadow:var(--shadow); }
[hidden] { display:none !important; }
@media(prefers-reduced-motion:no-preference) {
 html { scroll-behavior:smooth; }
 a,button { transition:color 160ms ease,background 160ms ease,border-color 160ms ease,transform 200ms ease,box-shadow 200ms ease; }
 .work-card:hover,.project-card:hover { transform:translateY(-4px); }
 .hero-preview { animation:arrive 600ms ease both; }
 @keyframes arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
}
@media(max-width:760px) { .projects { grid-template-columns:1fr; gap:16px; } .hero { padding:64px 0; } .section { padding:32px 0 48px; } .work-top { margin-bottom:24px; } }
@media(max-width:480px) { header { gap:12px; padding:20px 0; } .domain { font-size:.75rem; } .theme-toggle { font-size:.75rem; } .hero { padding:48px 0; } .preview-heading { padding:16px; font-size:.6rem; } .preview-label { display:none; } .preview-flow { flex-direction:column; align-items:stretch; padding:24px; } .flow-arrow { transform:rotate(90deg); align-self:center; } .preview-result { padding:16px; } .hero-preview { margin-top:32px; } .back-to-top { bottom:12px; right:12px; } }

/* The original Adobe elephant is a local, transparent brand asset. */
.mark { display:inline-flex; align-items:center; justify-content:center; min-width:72px; min-height:51px; flex-shrink:0; border-radius:8px; }
.mark img { display:block; width:72px; height:51px; object-fit:contain; }
.home-hero h1 { font-size:clamp(3rem,7.2vw,6rem); letter-spacing:-.045em; }
@media(max-width:480px) { .mark { min-width:56px; min-height:44px; } .mark img { width:56px; height:40px; } }

/* Latest Field Note card on the homepage (generated by scripts/build-notes.py). */
.section-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 24px; margin-bottom:32px; }
.section-heading .section-title { margin:0; }
.section-heading .text-link { padding:0; }
.latest-note-card { max-width:760px; }
.latest-note-card .card-meta { display:flex; flex-wrap:wrap; gap:4px 16px; }
.latest-note-card h3 { font-size:clamp(1.25rem,2.4vw,1.625rem); margin:16px 0 12px; }
.latest-note-card .card-action { padding-top:20px; }
.latest-note-card p { color:var(--muted); font-size:.9375rem; line-height:1.75; margin:0; }
