:root{
  --cloth:#3A5B4A;      /* the board green from the logo, darkened to hold text */
  --field:#F3F5F2;
  --ink:#161A17;
  --muted:#5A635C;
  --board:#5A846E;      /* the board green itself */
  --accent:#2F6E52;     /* same hue, darkened for text on light backgrounds */
  --accent-lt:#A8CDB6;  /* same hue, lightened for use on the dark bars */
  --rule:rgba(22,26,23,.16);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--field);color:var(--ink);
  font-family:"Newsreader",Georgia,serif;font-size:clamp(17px,.9vw + 14px,19px);line-height:1.65}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,.mech{font-family:"Archivo",Helvetica,Arial,sans-serif}
.wrap{width:min(1200px,92vw);margin-inline:auto}

/* masthead */
.mast{position:sticky;top:0;z-index:50;background:var(--cloth);color:#F3F5F2;
  border-bottom:1px solid rgba(239,243,240,.15)}
.mast .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0}
.mark{font-family:"Archivo";font-weight:800;font-size:1rem;letter-spacing:-.02em;text-decoration:none;
  display:inline-flex;align-items:center;gap:.6rem}
.mark img{height:34px;width:auto;border-radius:2px}
@media(max-width:520px){.mark img{height:26px}}
.foot .mark img{height:40px}
.nav{display:flex;gap:clamp(.75rem,2.2vw,1.6rem);font-family:"Archivo";font-weight:500;font-size:.82rem}
.nav a{color:#F3F5F2;text-decoration:none;padding:.2rem 0;
  border-bottom:2px solid transparent}
.nav a:hover,.nav a:focus-visible{color:#fff;border-bottom-color:var(--accent-lt)}
.nav a.here{color:#fff;border-bottom-color:var(--accent-lt)}

/* hero */
.hero{background:var(--cloth);color:#F3F5F2;padding:clamp(2.6rem,7vw,5rem) 0 clamp(2.6rem,6vw,4.5rem)}
.hero .wrap{display:grid;gap:clamp(2rem,5vw,4rem);grid-template-columns:1fr;align-items:center}
@media(min-width:880px){.hero .wrap{grid-template-columns:1.05fr .95fr}}
.hero h1{font-weight:800;font-size:clamp(2.6rem,7.5vw,5rem);line-height:.95;letter-spacing:-.035em;margin:0 0 1.3rem;max-width:13ch}
.hero p{font-weight:300;font-size:clamp(1.08rem,.5vw + 1rem,1.3rem);color:rgba(243,245,242,.88);max-width:46ch;margin:0}
.hero figure{margin:0}
.hero figure img{width:100%;height:auto}

.hero figcaption{margin-top:.7rem;font-family:"Archivo";font-weight:500;font-size:.78rem;color:rgba(243,245,242,.72)}

/* about strip */
.about{border-bottom:1px solid var(--rule);padding:clamp(2.2rem,5vw,3.4rem) 0}
.about .wrap{display:grid;gap:clamp(1.4rem,4vw,3rem);grid-template-columns:1fr;align-items:center}
@media(min-width:720px){.about .wrap{grid-template-columns:minmax(180px,250px) 1fr}}
.about img{width:100%;height:auto;border:1px solid var(--rule)}
.about p{margin:0 0 .9rem;max-width:56ch}
.about p:last-child{margin-bottom:0}

/* sections */
.section{padding:clamp(3.2rem,7vw,5.5rem) 0}
.head h2{font-weight:800;font-size:clamp(1.75rem,3.4vw,2.5rem);letter-spacing:-.025em;margin:0 0 .5rem}
.head p{margin:0;max-width:60ch;color:var(--muted);font-size:1.02rem}
.head .stock{font-family:"Archivo";font-weight:600;font-size:.8rem;color:var(--accent);margin:0 0 .55rem}

/* projects sit on the cutting-mat grid */
.projects{background:
    repeating-linear-gradient(to right,rgba(47,110,82,.10) 0 1px,transparent 1px 32px),
    repeating-linear-gradient(to bottom,rgba(47,110,82,.10) 0 1px,transparent 1px 32px),
    #FAFAF9;
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.project + .project{margin-top:clamp(3rem,6vw,4.5rem);padding-top:clamp(2.6rem,5vw,3.8rem);border-top:1px solid var(--rule)}
.project .head{margin-bottom:clamp(1.6rem,3.5vw,2.4rem)}

.wide{margin:0;background:#fff;padding:12px;border:1px solid var(--rule)}
.wide img{width:100%;height:auto}
.wide figcaption{padding:.85rem .25rem .2rem;font-size:.98rem;color:#3A3E38;max-width:60ch}

.grid{display:grid;align-items:start;gap:clamp(1.2rem,2.6vw,2rem);grid-template-columns:repeat(auto-fill,minmax(266px,1fr))}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));max-width:920px}
.plate{background:#fff;padding:12px;border:1px solid var(--rule);margin:0}
.plate img{width:100%;height:auto;background:#E7E7E4}

.plate figcaption{display:flex;gap:.75rem;padding:.85rem .25rem .2rem}
.plate .n{font-family:"Archivo";font-weight:600;font-size:.78rem;color:var(--accent);flex:0 0 auto;padding-top:.25rem}
.plate p{margin:0;font-size:.97rem;color:#3A3E38;max-width:38ch}

/* archive */
.archive{display:grid;gap:clamp(1.6rem,4vw,2.8rem);grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:2.4rem}
.shelf h3{font-weight:600;font-size:1.1rem;margin:0 0 .9rem;letter-spacing:-.01em}
.shelf h3 a{text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:1px}
.shelf h3 a:hover,.shelf h3 a:focus-visible{color:var(--accent)}
.shelf ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.shelf li{border-bottom:1px solid var(--rule)}
.shelf a{color:var(--ink);display:block;padding:.5rem .1rem;text-decoration:none;font-size:1rem;
  transition:padding-left .12s ease,background-color .12s ease}
.shelf a:hover,.shelf a:focus-visible{background:#EAEAE6;padding-left:.5rem}

/* footer */
.foot{background:var(--cloth);color:rgba(243,245,242,.88);padding:3rem 0}
.foot .wrap{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;align-items:end}
.foot a{color:var(--accent-lt)}
.foot .mech{font-size:.8rem;opacity:.6}

:focus-visible{outline:2.5px solid var(--accent);outline-offset:3px}

/* ---------- archive pages ---------- */
.nav a.here{border-bottom-color:#F3F5F2}

.pagehead{background:var(--cloth);color:#F3F5F2;padding:clamp(2.4rem,6vw,4rem) 0}
.pagehead h1{font-weight:800;font-size:clamp(2.2rem,6vw,3.8rem);line-height:1;
  letter-spacing:-.03em;margin:0 0 .9rem}
.pagehead p{margin:0;max-width:52ch;font-weight:300;
  font-size:clamp(1.05rem,.4vw + 1rem,1.2rem);color:rgba(243,245,242,.88)}

.toc{background:#FAFAF9;border-bottom:1px solid var(--rule);padding:1.1rem 0}
.toc ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem}
.toc a{font-family:"Archivo";font-weight:500;font-size:.85rem;text-decoration:none;
  color:var(--accent);padding:.15rem 0;border-bottom:1.5px solid transparent}
.toc a:hover,.toc a:focus-visible{border-bottom-color:var(--accent)}

.projects .project{scroll-margin-top:4.5rem}
.project h3{font-weight:600;font-size:1.12rem;letter-spacing:-.01em;
  margin:2.2rem 0 .9rem;max-width:60ch}
.project h3:first-child{margin-top:0}
.prose{max-width:66ch;margin:0 0 1.1rem}
.prose a{color:var(--accent)}
.gallery{margin:1.4rem 0 0}
.plate.video{padding:12px}
.plate.video video{width:100%;height:auto;background:#000;display:block}



/* ---------- lightbox ---------- */
.zoomable{cursor:zoom-in}
.zoomable:focus-visible{outline:2.5px solid var(--accent);outline-offset:3px}
body.lb-open{overflow:hidden}

.lightbox{position:fixed;inset:0;z-index:100;display:flex;align-items:center;
  justify-content:center;padding:clamp(1rem,4vw,3rem);
  background:rgba(20,23,19,.94)}
.lightbox[hidden]{display:none}
.lb-stage{margin:0;display:flex;flex-direction:column;align-items:center;gap:.9rem;
  max-width:100%;max-height:100%}
.lb-stage img{max-width:100%;max-height:78vh;width:auto;height:auto;
  object-fit:contain;background:#111;cursor:default}
.lb-stage figcaption{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;justify-content:center;
  align-items:baseline;color:rgba(243,245,242,.94);font-size:1rem;
  max-width:64ch;text-align:center}
.lb-count{font-family:"Archivo";font-weight:500;font-size:.78rem;
  color:rgba(243,245,242,.7);white-space:nowrap}

.lightbox button{position:absolute;background:transparent;border:0;color:#F3F5F2;
  cursor:pointer;line-height:1;font-family:"Archivo",sans-serif;
  border-radius:2px;transition:opacity .12s ease}
.lightbox button:hover{opacity:.65}
.lightbox button:focus-visible{outline:2.5px solid var(--accent);outline-offset:3px}
.lb-close{top:.6rem;right:1rem;font-size:2.6rem;padding:.2rem .6rem}
.lb-nav{top:50%;transform:translateY(-50%);font-size:3.4rem;padding:.4rem 1rem}
.lb-prev{left:.2rem}
.lb-next{right:.2rem}
.lb-nav[hidden]{display:none}

@media(max-width:600px){
  .lb-nav{font-size:2.6rem;padding:.3rem .5rem}
  .lb-stage img{max-height:70vh}
}
@media (prefers-reduced-motion:reduce){.lightbox button{transition:none}}
