:root {
  --paper:#f5f3ed;
  --ink:#242a25;
  --muted:#62675f;
  --line:#d9dcd2;
  --accent:#b6472b;
  --white:#fffef9;
  --green:#e9eddf
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:35px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.65
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit
}
a,button {
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:6px
}
a:hover {
  color:var(--accent)
}
.wrap {
  max-width:1240px;
  margin:auto;
  padding-left:52px;
  padding-right:52px
}
.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:112px
}
.brand {
  font-size:36px;
  font-weight:800;
  letter-spacing:-3px;
  line-height:1
}
.brand span,h2>span {
  color:var(--accent)
}
nav {
  display:flex;
  align-items:center;
  gap:34px;
  font-size:14px
}
nav .nav-contact {
  margin-left:25px;
  border-bottom:1px solid var(--ink);
  padding-bottom:5px
}
.hero {
  padding-top:68px;
  padding-bottom:102px;
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:32px;
  align-items:center
}
.eyebrow {
  font:11px/1.5 'Courier New',monospace;
  font-weight:600;
  letter-spacing:1.7px;
  margin:0 0 26px
}
.dot {
  display:inline-block;
  background:var(--accent);
  height:7px;
  width:7px;
  border-radius:50%;
  margin-right:9px
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:clamp(46px,5.6vw,76px);
  line-height:1.04;
  letter-spacing:-4px;
  font-weight:500;
  margin-bottom:28px
}
em {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  color:var(--accent)
}
.hero-intro {
  max-width:475px;
  font-size:17px;
  color:var(--muted);
  line-height:1.75
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:30px;
  margin-top:32px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:var(--ink);
  color:var(--white);
  padding:15px 22px;
  font-size:14px;
  border-radius:4px;
  transition:background .2s,transform .2s
}
.button:hover {
  background:var(--accent);
  color:white;
  transform:translateY(-2px)
}
.text-link {
  font-size:14px;
  border-bottom:1px solid var(--line);
  padding-bottom:4px
}
.hero-art {
  height:420px;
  position:relative;
  background:#e9eddf;
  overflow:hidden;
  border-radius:50% 50% 4px 4px;
  display:flex;
  align-items:center;
  justify-content:center
}
.orbit {
  position:absolute;
  border:1px solid #c9d0bb;
  width:365px;
  height:365px;
  border-radius:50%
}
.orbit-one {
  top:18px;
  left:78px
}
.orbit-two {
  top:84px;
  left:-70px
}
.art-label {
  position:absolute;
  top:45px;
  left:0;
  right:0;
  text-align:center;
  font:9px monospace;
  letter-spacing:2px
}
.code-card {
  width:90%;
  max-width:382px;
  background:#242d29;
  color:#d3d7cf;
  transform:rotate(-4deg);
  border-radius:9px;
  box-shadow:0 22px 38px #27322124;
  z-index:1
}
.window-bar {
  padding:13px 16px;
  display:flex;
  align-items:center;
  gap:5px;
  border-bottom:1px solid #3c453f
}
.window-bar i {
  height:6px;
  width:6px;
  border-radius:50%;
  background:#697569
}
.window-bar i:first-child {
  background:#de8c6d
}
.window-bar span {
  margin-left:auto;
  font:10px monospace;
  color:#aeb7ac
}
.code-lines {
  padding:22px 20px 26px;
  font:11px/2 monospace;
  white-space:nowrap
}
.code-lines .muted {
  color:#aeb7ac
}
.orange {
  color:#f1a887
}
.cream {
  color:#f0dcad
}
.green {
  color:#bad3a7
}
.art-note {
  position:absolute;
  bottom:40px;
  right:10px;
  display:flex;
  gap:12px;
  padding:14px 20px;
  background:#fffef9;
  box-shadow:0 10px 25px #27322116;
  border-radius:4px;
  transform:rotate(3deg);
  z-index:2;
  font-size:12px
}
.art-note>span {
  font-size:29px;
  color:var(--accent)
}
.art-note small {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.art-index {
  position:absolute;
  bottom:14px;
  font:8px monospace;
  letter-spacing:2px
}
.expertise-strip {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.expertise-strip .wrap {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding-top:23px;
  padding-bottom:23px;
  font-size:13px;
  color:var(--muted)
}
.expertise-strip i {
  font-size:18px;
  color:var(--accent);
  font-style:normal
}
.section {
  padding-top:92px;
  padding-bottom:92px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:35px;
  margin-bottom:32px
}
.section-heading .eyebrow {
  margin-bottom:14px
}
h2 {
  font-size:clamp(34px,3.7vw,48px);
  font-weight:500;
  letter-spacing:-2px;
  line-height:1.15;
  margin-bottom:0
}
.section-heading>p {
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
  margin:0
}
.filters {
  display:flex;
  gap:8px;
  margin-bottom:24px
}
.filters[hidden] {
  display:none
}
.filters button {
  font-size:12px;
  background:none;
  border:1px solid var(--line);
  padding:7px 17px;
  cursor:pointer;
  border-radius:20px;
  color:var(--ink)
}
.filters button[aria-pressed=true] {
  background:var(--ink);
  border-color:var(--ink);
  color:var(--white)
}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.project {
  border:1px solid var(--line);
  background:var(--white);
  padding:30px 32px 24px;
  border-radius:5px;
  transition:transform .2s,border-color .2s;
  display:flex;
  flex-direction:column
}
.project[hidden] {
  display:none
}
.project:hover {
  border-color:var(--accent);
  transform:translateY(-3px);
  color:var(--ink)
}
.project-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font:10px monospace;
  letter-spacing:1.3px;
  color:var(--muted);
  margin-bottom:35px
}
.arrow {
  font:22px Arial;
  color:var(--accent)
}
.project h3 {
  font-size:30px;
  letter-spacing:-1px;
  font-weight:500;
  margin-bottom:9px
}
.project .project-headline {
  font-size:16px;
  color:var(--ink);
  margin-bottom:12px
}
.project p {
  font-size:14px;
  color:var(--muted);
  line-height:1.8;
  max-width:440px
}
.project-meta {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px;
  font:10px monospace;
  border-top:1px solid var(--line);
  padding-top:19px;
  margin-top:auto;
  color:var(--muted)
}
.activity-section {
  background:var(--green)
}
.section-intro {
  color:var(--muted);
  font-size:13px;
  margin-bottom:28px
}
.activity-row {
  display:grid;
  grid-template-columns:26px 1fr 68px 90px 16px;
  align-items:center;
  gap:20px;
  padding:24px 0;
  border-top:1px solid #cbd1bf
}
.activity-row:last-child {
  border-bottom:1px solid #cbd1bf
}
.activity-row .eyebrow {
  font-size:9px;
  letter-spacing:.9px;
  color:var(--muted);
  display:block;
  margin-bottom:6px
}
.activity-row h3 {
  font-weight:500;
  line-height:1.45;
  font-size:16px;
  margin:0
}
.pr-symbol {
  font-size:26px;
  color:#55694b
}
.status {
  font-size:10px;
  padding:4px 9px;
  border-radius:20px;
  text-align:center;
  background:#d8e1cd;
  color:#32402e
}
.status.open {
  background:#f7e5d3;
  color:#88432d
}
.activity-row time {
  font:10px monospace;
  color:var(--muted)
}
.library-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:48px
}
.library {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:19px 0;
  border-bottom:1px solid var(--line);
  font-size:15px
}
.library>span:last-child {
  font:10px monospace;
  align-self:center;
  color:var(--muted);
  white-space:nowrap
}
.library b {
  font-weight:normal;
  margin:0 12px
}
.caption {
  font-size:11px;
  color:var(--muted);
  margin-top:22px
}
.caption a {
  text-decoration:underline;
  text-underline-offset:3px;
  margin-left:10px
}
.more-projects {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  font-size:12px;
  margin-top:26px
}
.about-section {
  background:#eae7df
}
.about-grid {
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:90px
}
.about-grid h2 {
  font-size:56px;
  margin-bottom:30px
}
.about-grid>div>p:not(.eyebrow) {
  font-size:15px;
  color:var(--muted)
}
blockquote {
  margin:30px 0 0;
  padding-left:20px;
  border-left:2px solid var(--accent);
  font:19px/1.65 Georgia,serif
}
cite {
  display:block;
  font:11px Arial;
  margin-top:16px;
  color:var(--muted)
}
.experience article {
  padding:23px 0;
  border-top:1px solid #cecec4
}
.experience article:first-child {
  padding-top:0;
  border:0
}
.job-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px
}
.job-head h3 {
  font-size:23px;
  font-weight:500;
  margin-bottom:7px
}
.job-head span {
  font:10px monospace;
  color:var(--muted)
}
.experience p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
  margin-bottom:10px
}
.experience .job-role {
  font-size:11px;
  color:var(--accent);
  margin-bottom:15px
}
.writing-row {
  display:flex;
  align-items:center;
  gap:24px;
  padding:20px 0;
  border-bottom:1px solid var(--line)
}
.writing-row:first-child {
  border-top:1px solid var(--line)
}
.writing-number {
  font:11px monospace;
  color:var(--muted)
}
.writing-row h3 {
  font-size:17px;
  font-weight:400;
  margin:0;
  flex:1
}
.talks-heading {
  margin:64px 0 25px
}
.talks-heading .eyebrow {
  margin-bottom:12px
}
.talks-heading h3 {
  font-size:24px;
  font-weight:400;
  letter-spacing:-.5px
}
.talks-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px
}
.talks-grid>* {
  padding-top:20px;
  border-top:2px solid var(--ink)
}
.talks-grid span {
  font:9px monospace;
  color:var(--muted)
}
.talks-grid h3 {
  font-size:16px;
  line-height:1.6;
  font-weight:500;
  margin:14px 0
}
.talks-grid p {
  font-size:12px;
  color:var(--muted)
}
.beyond {
  background:var(--green);
  padding-top:48px;
  padding-bottom:48px;
  position:relative;
  overflow:hidden;
  border-radius:5px
}
.beyond h2 {
  font-size:40px;
  max-width:650px;
  margin-bottom:22px
}
.beyond p:not(.eyebrow) {
  max-width:560px;
  font-size:14px;
  color:var(--muted);
  position:relative;
  z-index:1
}
.beyond-flower {
  position:absolute;
  right:62px;
  top:40px;
  font:200px/1.2 Georgia;
  color:#aab996
}
.connect {
  padding-top:110px;
  padding-bottom:80px
}
.connect h2 {
  font-size:clamp(42px,5.6vw,72px)
}
.connect-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:36px
}
.connect-bottom p {
  font-size:15px;
  color:var(--muted);
  margin:0
}
footer.wrap {
  display:flex;
  align-items:center;
  gap:28px;
  padding-top:28px;
  padding-bottom:35px;
  border-top:1px solid var(--line)
}
footer p {
  font-size:11px;
  color:var(--muted);
  margin:0
}
footer>div {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-left:auto;
  font-size:11px
}
.skip-link {
  position:absolute;
  left:20px;
  top:-100px;
  background:var(--ink);
  color:white;
  padding:10px;
  z-index:5
}
.skip-link:focus {
  top:10px
}
.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
}
@media(min-width:1440px) {
  .hero {
  padding-top:90px;
  padding-bottom:125px
}

}
@media(max-width:950px) {
  .wrap {
  padding-left:32px;
  padding-right:32px
}
.hero {
  gap:25px;
  padding-top:40px
}
.hero-art {
  height:370px
}
h1 {
  letter-spacing:-3px
}
.code-lines {
  font-size:9px;
  padding:20px 14px
}
.art-note {
  right:8px;
  padding:12px
}
.about-grid {
  gap:45px
}
.about-grid h2 {
  font-size:46px
}
.talks-grid {
  grid-template-columns:1fr 1fr
}
.library-grid {
  column-gap:25px
}
.library {
  font-size:13px
}
.library b {
  margin:0 5px
}
.beyond {
  margin:0 32px
}
.beyond-flower {
  opacity:.25;
  right:15px
}
.activity-row {
  gap:12px
}

}
@media(max-width:650px) {
  .wrap {
  padding-left:22px;
  padding-right:22px
}
.site-header {
  height:90px
}
nav {
  gap:18px;
  font-size:12px
}
nav .nav-contact {
  margin-left:0
}
nav>a:nth-child(3) {
  display:none
}
.brand {
  font-size:32px
}
.hero {
  grid-template-columns:1fr;
  padding-top:30px;
  padding-bottom:45px;
  gap:42px
}
h1 {
  font-size:55px;
  letter-spacing:-3px
}
.hero-intro {
  font-size:16px
}
.hero-art {
  height:350px;
  max-width:430px;
  width:100%;
  justify-self:center
}
.code-lines {
  font-size:11px
}
.art-label {
  top:25px
}
.art-note {
  bottom:24px
}
.art-index {
  bottom:6px;
  font-size:7px
}
.expertise-strip .wrap {
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 17px;
  padding-top:18px;
  padding-bottom:18px;
  font-size:11px
}
.expertise-strip i {
  font-size:12px
}
.expertise-strip i:nth-of-type(3) {
  display:none
}
.section {
  padding-top:58px;
  padding-bottom:58px
}
.section-heading {
  display:block;
  margin-bottom:25px
}
.section-heading>p,.section-heading>.text-link {
  display:inline-block;
  margin-top:19px
}
.section-heading>p br {
  display:none
}
h2 {
  font-size:36px;
  letter-spacing:-1.6px
}
.eyebrow {
  font-size:10px
}
.project-grid {
  grid-template-columns:1fr
}
.project {
  padding:25px
}
.project-top {
  margin-bottom:24px
}
.project-meta {
  font-size:9px
}
.activity-row {
  grid-template-columns:20px 1fr 61px;
  gap:10px
}
.activity-row h3 {
  font-size:14px
}
.activity-row time {
  grid-column:2;
  font-size:9px
}
.activity-row>span:last-child {
  display:none
}
.status {
  font-size:9px;
  align-self:center
}
.library-grid {
  grid-template-columns:1fr
}
.library {
  font-size:14px
}
.caption a {
  display:block;
  margin:8px 0
}
.about-grid {
  grid-template-columns:1fr;
  gap:42px
}
.about-grid h2 {
  font-size:46px
}
.writing-row {
  gap:15px
}
.writing-row h3 {
  font-size:15px
}
.talks-grid {
  gap:22px
}
.talks-grid h3 {
  font-size:14px
}
.talks-grid span {
  font-size:8px
}
.beyond {
  margin:0 16px;
  padding:32px 22px
}
.beyond h2 {
  font-size:32px
}
.beyond-flower {
  top:90px;
  font-size:150px
}
.connect {
  padding-top:65px
}
.connect h2 {
  font-size:43px
}
.connect-bottom {
  display:block
}
.connect-bottom .button {
  margin-top:25px
}
footer.wrap {
  flex-wrap:wrap;
  gap:16px
}
footer>div {
  margin:0;
  width:100%;
  gap:19px
}

}
@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
* {
  transition:none!important
}

}

.project-visual { margin: 0 0 25px; background: #e9eddf; border-radius: 4px; overflow: hidden; }
.project-screens { display: flex; align-items: center; justify-content: center; gap: 16px; height: 232px; padding: 16px; }
.project-screens > a { display: flex; min-width: 0; height: 100%; }
.project-screens img { display: block; width: auto; height: 200px; max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 3px; }
.project-visual figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; padding: 12px 16px; border-top: 1px solid #cbd1bf; font-size: 11px; color: var(--muted); }
.demo-toggle { border: 1px solid #b9c2ac; border-radius: 4px; padding: 5px 9px; background: var(--white); color: var(--ink); cursor: pointer; font-size: 11px; }
.demo-toggle:hover { border-color: var(--accent); color: var(--accent); }
.project h3 a:focus-visible { outline-offset: 4px; }
@media (max-width: 650px) { .project-screens { height: 200px; gap: 10px; padding: 16px; } .project-screens img { height: 168px; } }

/* Match the two wider Android captures without enlarging their previews. */
.project-screens img.compact-preview { width: 90px; height: 160px; }
@media (max-width: 650px) {
  .project-screens img.compact-preview { width: 81px; height: 144px; }
}
