/* Homepage 2026 refresh: low-density portfolio surface. */
body.home-lite{
  --paper:#f7f2e8;
  --card:#fffdf7;
  --ink:#2f2b24;
  --sub:#706757;
  --hair:#e5d8bf;
  --hair-strong:#cdbb99;
  --accent:#8a3c1c;
  --accent-soft:#ead9c9;
  --green:#60705a;
  --blue:#415f72;
  background:var(--paper);
  color:var(--ink);
}

body.home-lite .masthead{
  background:color-mix(in srgb,var(--paper) 94%,transparent);
}

body.home-lite .shell{max-width:1180px;}

body.home-lite .eyebrow{color:var(--accent);margin:0 0 16px;}

body.home-lite h1,
body.home-lite h2,
body.home-lite h3{
  text-wrap:balance;
}

body.home-lite h1{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2.35rem,3.4vw,3.5rem);
  line-height:1.08;
  letter-spacing:0;
  max-width:19ch;
}

body.home-lite .hero-accent{
  color:var(--accent);
}

body.home-lite h2{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2rem,4.2vw,3.65rem);
  line-height:1;
  letter-spacing:0;
  max-width:16ch;
}

body.home-lite h3{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(1.65rem,3vw,2.45rem);
  line-height:1.08;
  letter-spacing:0;
  max-width:18ch;
  margin:0;
}

body.home-lite p{letter-spacing:0;}

body.home-lite .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 15px;
  border:1px solid var(--hair-strong);
  background:transparent;
  color:var(--ink);
  font-family:var(--mono);
  font-size:.66rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
  transition:background .2s,color .2s,border-color .2s;
}

body.home-lite .button:hover,
body.home-lite .button:focus-visible{
  color:var(--accent);
  border-color:var(--accent);
}

body.home-lite .button.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fffdf7;
}

body.home-lite .button.primary:hover,
body.home-lite .button.primary:focus-visible{
  background:var(--accent-deep);
  color:#fffdf7;
}

body.home-lite .hero-simple{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:clamp(34px,6vw,82px);
  align-items:center;
  min-height:0;
  padding-block:clamp(44px,6vh,72px);
}

body.home-lite .hero-copy{
  max-width:900px;
}

body.home-lite .hero-lede{
  max-width:42ch;
  color:var(--sub);
  font-size:clamp(1.08rem,1.8vw,1.28rem);
  line-height:1.46;
  margin:24px 0 0;
}

body.home-lite .hero-lede + .hero-lede{margin-top:12px;}

body.home-lite .hero-actions,
body.home-lite .contact-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:28px;
}
body.home-lite .hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:12px 44px;
  margin:26px 0 2px;
  padding-top:22px;
  border-top:1px solid var(--hair);
}
body.home-lite .hero-proof .proof-item{
  display:flex;
  flex-direction:column;
  gap:4px;
}
body.home-lite .hero-proof dt{
  font-size:.6rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--sub);
}
body.home-lite .hero-proof dd{
  margin:0;
  font-size:.94rem;
  color:var(--ink);
}
body.home-lite .hero-tertiary{
  color:var(--sub);
  font-size:.92rem;
  text-underline-offset:3px;
  text-decoration-color:var(--hair-strong);
}
body.home-lite .hero-tertiary:hover{ color:var(--accent); }

body.home-lite .mock{
  width:100%;
  margin-top:16px;
  font-family:var(--sans);
  font-size:.88rem;
  line-height:1.5;
}

body.home-lite .mock-hd{
  display:flex;
  align-items:center;
  gap:9px;
  padding:11px 0 12px;
  border-bottom:1px solid var(--hair);
}

body.home-lite .mock-hd .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  flex:none;
}

body.home-lite .mock-hd .mname{font-weight:650;font-size:.86rem;}

body.home-lite .mock-hd .mtag{
  margin-left:auto;
  font-family:var(--mono);
  font-size:.54rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--sub);
  border:1px solid var(--hair-strong);
  padding:3px 7px;
  white-space:nowrap;
}

body.home-lite .mock-hd .mtag-proto{color:var(--accent);border-color:var(--accent);}

body.home-lite .mock-body{
  display:flex;
  flex-direction:column;
  gap:13px;
  max-height:330px;
  overflow:auto;
  padding:16px 2px 4px 0;
  scrollbar-color:var(--hair-strong) transparent;
}

body.home-lite .m-user{
  align-self:flex-end;
  max-width:88%;
  background:var(--wash,#f1ead9);
  border:1px solid var(--hair);
  border-radius:8px 8px 2px 8px;
  padding:10px 13px;
}

body.home-lite .m-agent{
  max-width:96%;
  color:var(--ink);
}

body.home-lite .m-agent p{margin:0 0 10px;}
body.home-lite .m-agent p:last-child{margin-bottom:0;}

body.home-lite .m-work{margin:0 0 4px;}

body.home-lite .m-work summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--sub);
  font-size:.82rem;
}

body.home-lite .m-work summary::-webkit-details-marker{display:none;}

body.home-lite .m-work summary .chev{
  display:inline-block;
  transition:transform .18s ease;
  color:var(--sub);
}

body.home-lite .m-work[open] summary .chev{transform:rotate(90deg);}
body.home-lite .proto-work .wlab{display:inline-block;}
body.home-lite .proto-workbody{padding:8px 0 4px;}

body.home-lite .proto-plan{
  margin:0 0 12px;
  color:var(--sub);
  font-size:.82rem;
  line-height:1.5;
}

body.home-lite .proto-steps{
  position:relative;
  padding-left:22px;
  margin:4px 0;
}

body.home-lite .proto-steps::before{
  content:"";
  position:absolute;
  left:6px;
  top:7px;
  bottom:7px;
  width:1px;
  background:var(--hair-strong);
}

body.home-lite .proto-step{
  position:relative;
  margin-bottom:11px;
  line-height:1.42;
}

body.home-lite .proto-step:last-child{margin-bottom:3px;}

body.home-lite .proto-step .pnode{
  position:absolute;
  left:-22px;
  top:5px;
  width:13px;
  height:13px;
  border:2px solid var(--hair-strong);
  border-radius:50%;
  background:var(--card);
}

body.home-lite .proto-step.busy .pnode{
  border-top-color:var(--accent);
  animation:home-protospin .8s linear infinite;
}

@keyframes home-protospin{to{transform:rotate(360deg);}}

body.home-lite .proto-step.ok .pnode{border-color:var(--accent);}

body.home-lite .proto-step.ok .pnode::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  background:var(--accent);
}

body.home-lite .proto-step .pact{display:block;font-size:.84rem;color:var(--ink);}

body.home-lite .proto-step .pres{
  display:block;
  font-family:var(--mono);
  font-size:.56rem;
  letter-spacing:.02em;
  color:var(--sub);
  margin-top:2px;
}

body.home-lite .proto-step .pres .em{color:var(--accent);}
body.home-lite .proto-step.busy .pres{display:none;}
body.home-lite .proto-lead{font-weight:650;}

body.home-lite .m-rows,
body.home-lite .proto-summary{
  margin:10px 0;
  border:1px solid var(--hair);
  border-radius:8px;
  overflow:hidden;
}

body.home-lite .m-row,
body.home-lite .proto-summary .prow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:8px 11px;
  border-top:1px solid var(--hair);
  font-size:.82rem;
}

body.home-lite .m-row:first-child,
body.home-lite .proto-summary .prow:first-child{border-top:0;}
body.home-lite .m-row .rsub{display:block;color:var(--sub);font-size:.74rem;}
body.home-lite .ramt,
body.home-lite .pv,
body.home-lite .pch-amt{font-variant-numeric:tabular-nums;white-space:nowrap;}

body.home-lite .proto-change{
  margin:10px 0;
  padding:9px 11px 10px;
  border:1px solid var(--hair);
  background:#fff8ea;
}

body.home-lite .proto-change .pch-head,
body.home-lite .proto-change .pch-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

body.home-lite .proto-change .pch-head{
  padding-bottom:6px;
  margin-bottom:5px;
  border-bottom:1px solid rgba(138,60,28,.2);
  font-weight:650;
}

body.home-lite .proto-change .pch-row{padding:2px 0;color:var(--sub);}

body.home-lite .proto-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 2px;
}

body.home-lite .proto-chip{
  border:1px solid var(--hair-strong);
  border-radius:8px;
  padding:6px 11px;
  color:var(--ink);
  font-size:.78rem;
}

body.home-lite .proto-summary .psec{padding:9px 11px 10px;}
body.home-lite .proto-summary .psec + .psec{border-top:1px solid var(--hair);}
body.home-lite .proto-summary .psec-h{
  font-family:var(--mono);
  font-size:.56rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 5px;
}

body.home-lite .proto-summary .pfoot{
  margin:0;
  border-top:1px solid var(--hair);
  padding:6px 11px;
  font-family:var(--mono);
  font-size:.54rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--sub);
}

body.home-lite .proto-ctl{margin:14px 0 0;}

body.home-lite .proto-play{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fffdf7;
  border-radius:8px;
  padding:8px 14px;
  cursor:pointer;
  font-family:var(--mono);
  font-size:.62rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

body.home-lite .proto-play:hover,
body.home-lite .proto-play:focus-visible{
  background:var(--accent-deep);
  border-color:var(--accent-deep);
}

body.home-lite .proto-play:disabled{
  cursor:default;
  background:var(--hair-strong);
  border-color:var(--hair-strong);
}

body.home-lite .proto-play svg{width:13px;height:13px;flex:none;}

body.home-lite .mock-cap{
  margin:12px 0 0;
  color:var(--sub);
  font-family:var(--mono);
  font-size:.56rem;
  letter-spacing:.08em;
  line-height:1.7;
  text-transform:uppercase;
}

body.home-lite .proto-caret{
  display:inline-block;
  width:6px;
  height:1em;
  border-right:1px solid var(--accent);
  vertical-align:-.16em;
  animation:home-protoblink 1s steps(1) infinite;
}

@keyframes home-protoblink{50%{opacity:0;}}

body.home-lite .pa{opacity:0;transform:translateY(5px);}
body.home-lite .pa.in{
  opacity:1;
  transform:none;
  transition:opacity .45s ease,transform .45s cubic-bezier(.22,1,.36,1);
}

@media (prefers-reduced-motion:reduce){
  body.home-lite .pa{opacity:1;transform:none;}
  body.home-lite .proto-step.busy .pnode,
  body.home-lite .proto-caret{animation:none;}
}

body.home-lite .work,
body.home-lite .about,
body.home-lite .contact-lite{
  padding-block:clamp(74px,10vw,126px);
}

body.home-lite .work-simple{
  padding-top:clamp(34px,6vw,68px);
}

body.home-lite .section-head{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(280px,.7fr);
  gap:24px 56px;
  align-items:end;
  margin-bottom:clamp(28px,5vw,54px);
}

body.home-lite .section-head.compact{
  display:block;
  max-width:760px;
}

body.home-lite .section-lede{
  color:var(--sub);
  max-width:45ch;
  line-height:1.48;
  margin:0;
}

body.home-lite .work-heading{
  max-width:720px;
  margin-bottom:clamp(28px,4vw,46px);
}

body.home-lite .work-heading h2{
  font-size:clamp(2.35rem,4vw,3.7rem);
  max-width:none;
}

body.home-lite .project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(22px,3vw,34px);
}

body.home-lite .project-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:var(--card);
  border:1px solid var(--hair);
}

body.home-lite .project-card.featured{
  grid-column:1/-1;
  flex-direction:row;
}

body.home-lite .project-card.featured .project-image{
  flex:1.5 1 0;
  min-width:0;
  aspect-ratio:auto;
  border-bottom:0;
  border-right:1px solid var(--hair);
}

body.home-lite .project-card.featured .project-body{
  flex:1 1 0;
  min-width:0;
  align-self:center;
}

body.home-lite .project-image{
  display:block;
  aspect-ratio:1.28;
  overflow:hidden;
  background:#f8f7f2;
  border-bottom:1px solid var(--hair);
}

body.home-lite .project-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  filter:saturate(.95);
  transition:transform .35s ease, filter .35s ease;
}

body.home-lite .project-image.real-ui{
  background:#f8f7f2;
}

body.home-lite .project-image.real-ui img{
  padding:0;
  object-fit:cover;
  object-position:center top;
}

/* portrait sources share the same matte and cover-crop as the rest,
   so mixed aspect ratios read as one gallery */
body.home-lite .project-image.portrait-ui{
  background:#f8f7f2;
}

body.home-lite .project-image.portrait-ui img{
  padding:0;
  object-fit:cover;
  object-position:center top;
}

body.home-lite .project-image:hover img,
body.home-lite .project-image:focus-visible img{
  transform:scale(1.018);
  filter:saturate(1);
}

/* ===== PROTOTYPE A: device mockup (real screen on a tinted ground) ===== */
body.home-lite .project-image.thumb-mock{
  background:var(--tint,#e8e4d8);
  padding:30px 22px 0;
  position:relative;
}
body.home-lite .project-image.thumb-mock::before{
  content:"";
  position:absolute; top:15px; left:26px; z-index:2;
  width:7px; height:7px; border-radius:50%;
  background:#d98c7a;
  box-shadow:13px 0 0 #e3c07a, 26px 0 0 #86ad86;
}
body.home-lite .project-image.thumb-mock img{
  border-radius:7px 7px 0 0;
  box-shadow:0 12px 30px rgba(60,45,30,.22);
  object-position:top center;
}

/* ===== PROTOTYPE B: typographic cover (no photo, colored tile) ===== */
body.home-lite .project-image.thumb-type{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:7px;
  padding:24px;
  background:var(--tint,#41533f);
  color:#f7f2e8;
  position:relative;
  overflow:hidden;
}
body.home-lite .project-image.thumb-type::after{
  content:attr(data-motif);
  position:absolute; top:-14px; right:10px;
  font-family:var(--serif); font-size:6rem; line-height:1;
  color:rgba(255,255,255,.08); pointer-events:none;
}
body.home-lite .thumb-type .tt-kicker{
  font-family:var(--mono); font-size:.58rem; letter-spacing:.15em;
  text-transform:uppercase; opacity:.85;
}
body.home-lite .thumb-type .tt-metric{
  font-family:var(--serif); font-size:clamp(2.2rem,3.4vw,2.8rem); line-height:.95;
}
body.home-lite .thumb-type .tt-sub{
  font-size:.86rem; line-height:1.35; opacity:.9; max-width:26ch;
}

body.home-lite .project-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:clamp(22px,2.8vw,32px);
}

body.home-lite .project-meta{
  color:var(--accent);
  margin:0 0 14px;
}

body.home-lite .project-card h3{
  font-family:var(--sans);
  font-size:clamp(1.15rem,1.55vw,1.42rem);
  font-weight:700;
  line-height:1.16;
  max-width:18ch;
  text-wrap:balance;
}

body.home-lite .project-card h3 a{
  color:var(--ink);
  text-decoration:none;
}

body.home-lite .project-card h3 a:hover,
body.home-lite .project-card h3 a:focus-visible{
  color:var(--accent);
}

body.home-lite .project-card p:not(.project-meta){
  color:var(--sub);
  line-height:1.55;
  margin:22px 0 0;
  padding-top:22px;
  border-top:1px solid var(--hair);
}

/* bottom-align the blurb on non-featured cards so the divider and blurb
   baselines line up across each row, regardless of headline length */
body.home-lite .project-card:not(.featured) p:not(.project-meta){
  margin-top:auto;
}

body.home-lite .about{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:clamp(32px,6vw,82px);
  align-items:center;
  border-top:1px solid var(--hair);
}

body.home-lite .about-copy p{
  color:var(--sub);
  max-width:58ch;
  line-height:1.55;
}

body.home-lite .about-card{
  border:1px solid var(--hair);
  background:var(--card);
  padding:16px;
}

body.home-lite .about-card img{
  display:block;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  filter:saturate(.9);
}

body.home-lite .hero-portrait{
  align-self:center;
}

body.home-lite .contact-lite{
  border-top:1px solid var(--hair);
}

body.home-lite .contact-lite h2{max-width:20ch;}
body.home-lite .artifact-note{
  color:var(--sub);
  max-width:52ch;
  font-size:.82rem;
  line-height:1.45;
  margin-top:22px;
}

body.home-lite .footer{border-top:1px solid var(--hair);}

@media (max-width:980px){
  body.home-lite .section-head,
  body.home-lite .about{
    grid-template-columns:1fr;
  }
  body.home-lite h1{max-width:12ch;}
  body.home-lite .project-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.home-lite .project-card.featured{
    flex-direction:column;
  }
  body.home-lite .project-card.featured .project-image{
    flex:0 0 auto;
    aspect-ratio:1.9;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  body.home-lite .project-card.featured .project-body{
    flex:0 0 auto;
  }
}

@media (max-width:760px){
  body.home-lite .hero-simple{
    grid-template-columns:1fr;
    min-height:0;
  }
}

@media (max-width:620px){
  body.home-lite h1{font-size:clamp(2.35rem,11vw,3rem);max-width:none;}
  body.home-lite h2{font-size:clamp(2rem,11vw,2.7rem);}
  body.home-lite .hero-simple,
  body.home-lite .work,
  body.home-lite .about,
  body.home-lite .contact-lite{
    padding-block:52px;
  }
  body.home-lite .hero-simple{
    gap:24px;
    padding-block:26px;
  }
  body.home-lite .hero-lede{margin-top:18px;}
  body.home-lite .hero-actions{margin-top:22px;}
  body.home-lite .hero-actions .button{
    flex:1 1 0;
    min-width:0;
    width:auto;
    padding-inline:8px;
    font-size:.58rem;
  }
  body.home-lite .project-grid{grid-template-columns:1fr;}
  body.home-lite .project-body{padding:22px;}
  body.home-lite .project-card h3{max-width:none;}
  body.home-lite .mock{margin-top:0;font-size:.82rem;}
  body.home-lite .mock-hd{padding-top:0;}
  body.home-lite .mock-body{max-height:170px;padding-top:12px;}
  body.home-lite .proto-play{width:100%;font-size:.58rem;}
  body.home-lite .mock-cap{display:none;}
  body.home-lite .contact-actions .button,
  body.home-lite .hero-actions .button{width:100%;}
  body.home-lite .hero-actions .button{width:auto;}
}
