:root{
  --forest:#1c3a16;
  --red:#e13228;
  --navy:#080932;
  --gold:#ffab18;
  --gray:#dbe0e3;
  --bg:#f7f6f1;
  --muted:#5f6e5a;
  --script:"Ms Madi","Brush Script MT",cursive;
  --serif:"Instrument Serif",Georgia,serif;
  --body:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--forest);
  font-family:var(--body);font-size:17px;line-height:1.65;
}
a{color:var(--forest);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--red)}
.wrap{max-width:1040px;margin:0 auto;padding:0 24px}
@media (max-width:480px){.wrap{padding:0 16px}}
.draft-banner{position:sticky;top:0;z-index:20;height:30px;line-height:18px;background:var(--gold);color:var(--navy);text-align:center;font-size:12px;font-weight:600;padding:6px 16px;letter-spacing:.06em}

/* header */
header.site{position:sticky;top:30px;z-index:10;background:var(--bg);padding:20px 0 16px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px 32px}
.name{font-weight:700;font-size:18px;letter-spacing:-.01em;text-decoration:none;color:var(--navy)}
nav.main{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:14px;font-weight:500}
nav.main a{text-decoration:none}
nav.main a:hover{text-decoration:underline}
nav.main .ext::after{content:" ↗";color:var(--muted)}

/* hero */
.hero{padding:88px 0 24px}
.hero h1.script{
  font-family:var(--script);font-weight:400;
  /* sized to the screen so the whole line always fits on one row */
  font-size:min(168px, calc((100vw - 48px) / 5.3));white-space:nowrap;
  line-height:1.1;margin:0 0 0 -.04em;color:var(--navy);
  padding:.05em .15em .12em 0;
}
/* write-on: a soft-edged mask sweeps left to right, like the line being written */
.write{
  display:inline-block;
  -webkit-mask-image:linear-gradient(90deg,#000 45%,transparent 55%);
          mask-image:linear-gradient(90deg,#000 45%,transparent 55%);
  -webkit-mask-size:240% 100%;mask-size:240% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:100% 0;mask-position:100% 0;
  animation:write 2.4s cubic-bezier(.45,.05,.4,1) .3s forwards;
}
@keyframes write{to{-webkit-mask-position:0 0;mask-position:0 0}}
@media (prefers-reduced-motion:reduce){.write{animation:none;-webkit-mask-image:none;mask-image:none}}
.lede{margin:4px 0 0;font-family:var(--serif);font-size:clamp(24px,3vw,30px);line-height:1.25;color:var(--navy)}

.hero-photo{margin:16px 0 72px}
.hero-photo img{display:block;width:100%;height:auto;max-height:78vh;object-fit:cover;border-radius:4px}

/* about + selected work */
.cols{display:grid;grid-template-columns:1.25fr 1fr;gap:72px;padding:0 0 88px;scroll-margin-top:110px}
@media (max-width:800px){.cols{grid-template-columns:1fr;gap:48px}}
h2{font-weight:700;font-size:22px;letter-spacing:-.01em;color:var(--navy);margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid var(--forest)}
.intro{margin:0 0 28px;font-size:18px}
.label{font-size:12px;font-weight:600;color:var(--red);text-transform:uppercase;letter-spacing:.12em;margin:28px 0 8px}
.intro + .label{margin-top:0}
ul.dash{list-style:none;margin:0;padding:0}
ul.dash li{position:relative;padding-left:20px;margin:6px 0}
ul.dash li::before{content:"";position:absolute;left:2px;top:.68em;width:7px;height:7px;border-radius:50%;background:var(--gold)}
.list-item{padding:16px 0;border-bottom:1px solid var(--gray)}
.list-item:first-of-type{padding-top:0}
.list-item a{font-weight:500}
.list-item .meta{font-size:13px;color:var(--muted);margin-top:2px}

/* placeholder copy */
.ph{background:rgba(255,171,24,.28);padding:0 3px}

/* inner pages */
.page{padding:72px 0 88px;max-width:700px}
.page h1{font-weight:700;font-size:clamp(36px,6vw,60px);color:var(--navy);margin:0 0 32px;line-height:1.02;letter-spacing:-.015em}
.page p{margin:0 0 20px}
.page-head{padding-bottom:36px}
.page-body{padding-top:48px}

/* LED ticker (Philosophy page) */
.led{margin:0}
.led-panel{
  position:relative;overflow:hidden;height:76px;border-radius:3px;
  background-color:#0a0c0a;
  /* unlit LED dots */
  background-image:radial-gradient(circle at center,#1a211b 38%,transparent 44%);
  background-size:6px 6px;
  box-shadow:inset 0 0 0 1px #202620,0 22px 34px -20px rgba(8,9,50,.55);
}
.led-text{
  position:absolute;left:0;top:50%;transform:translate(100vw,-50%);
  font-family:"Doto",var(--body);font-weight:900;font-variation-settings:"ROND" 100,"wght" 900;
  font-size:44px;line-height:1;letter-spacing:.06em;white-space:nowrap;
  color:#5dff9b;
  text-shadow:0 0 4px rgba(93,255,155,.9),0 0 14px rgba(93,255,155,.45);
  will-change:transform;
}
@media (max-width:600px){.led-panel{height:56px;background-size:5px 5px}.led-text{font-size:30px}}
.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}

/* footer */
footer.site{border-top:1px solid var(--gray);padding:28px 0 48px;font-size:14px;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
footer.site a{color:var(--muted)}
footer.site a:hover{color:var(--red)}
