@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Newsreader:ital,wght@0,400;0,500;1,400;1,500&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink:#141414;
  --paper:#FFFFFF;
  --blue:#1B3A5C;
  --blue-soft:#7FA8CC;
  --gray:#6B6B67;
  --line: rgba(20,20,20,0.12);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Newsreader', serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{background:var(--blue-soft); color:var(--paper);}
.mono{ font-family:'IBM Plex Mono', monospace; letter-spacing:0.08em; text-transform:uppercase; }
a{ color:inherit; }

body::before{
  content:"";
  position:fixed; inset:0;
  background-image: radial-gradient(rgba(20,20,20,0.03) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events:none;
  z-index:0;
  opacity:0.5;
}

/* ---------- site nav (every page) ---------- */
header.sitebar{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.sitebar-inner{
  max-width:1180px; margin:0 auto;
  padding: 18px clamp(20px,6vw,64px);
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:14px;
}
.sitebar-logo{
  font-family:'Fraunces', serif; font-weight:600; font-size:19px;
  text-decoration:none; color:var(--ink); letter-spacing:0.01em;
}
.sitebar-nav{ display:flex; gap:24px; font-size:11px; }
.sitebar-nav a{ text-decoration:none; color:var(--gray); padding-bottom:3px; border-bottom:1px solid transparent; }
.sitebar-nav a:hover, .sitebar-nav a.active{ color:var(--ink); border-color:var(--blue); }

/* ---------- masthead (homepage hero) ---------- */
header.masthead{
  position:relative;
  padding: clamp(40px,7vw,80px) clamp(20px,6vw,64px) clamp(40px,6vw,64px);
  border-bottom: 1px solid var(--line);
  max-width: 1180px;
  margin: 0 auto;
}
.eyebrow{
  font-size:11px; color:var(--gray); margin-bottom:18px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--gray); display:inline-block; }
h1.title{
  font-family:'Fraunces', serif; font-weight:600;
  font-size: clamp(44px, 9vw, 104px);
  line-height:0.95; letter-spacing:-0.01em;
}
.subhead{
  font-style:italic; font-weight:400;
  font-size: clamp(17px, 2.2vw, 22px);
  max-width: 50ch; margin-top:22px; color:#3A3A38;
}
.masthead-meta{
  margin-top:36px; display:flex; gap:32px; flex-wrap:wrap;
  font-family:'IBM Plex Mono', monospace; font-size:11.5px;
  letter-spacing:0.04em; color:var(--gray);
}

/* ---------- generic page header (subpages) ---------- */
header.page-header{
  max-width:1180px; margin:0 auto;
  padding: clamp(44px,7vw,76px) clamp(20px,6vw,64px) clamp(30px,5vw,44px);
}
header.page-header h1{
  font-family:'Fraunces', serif; font-weight:600;
  font-size: clamp(38px,6vw,64px); line-height:1.02; margin-top:14px;
}
header.page-header .dek{
  font-style:italic; font-size: clamp(16px,1.8vw,19px);
  max-width:56ch; margin-top:18px; color:#3A3A38; line-height:1.55;
}

/* ---------- intro paragraph block ---------- */
section.intro{
  max-width: 720px; margin: 0 auto;
  padding: clamp(40px,7vw,64px) clamp(20px,6vw,64px);
  font-size: clamp(16px,1.8vw,18.5px); line-height:1.75; color:#333331;
}
section.intro p + p{ margin-top:1em; }
section.intro .cap{
  font-family:'Fraunces', serif; font-size:3.2em; float:left;
  line-height:0.75; padding-right:0.08em; padding-top:0.03em;
  font-weight:600; color:var(--blue);
}

/* ---------- generic prose block (about, contact) ---------- */
.prose{
  max-width:680px; margin:0 auto;
  padding: 0 clamp(20px,6vw,64px) clamp(60px,8vw,90px);
  font-size:16.5px; line-height:1.8; color:#333331;
}
.prose p + p{ margin-top:1.1em; }
.prose h2{
  font-family:'Fraunces', serif; font-weight:600; font-size:26px;
  margin-top:2em; margin-bottom:0.6em; color:var(--ink);
}

/* ---------- inline nav (anchor links within homepage) ---------- */
nav.index{
  max-width:1180px; margin:0 auto;
  padding: 0 clamp(20px,6vw,64px) 50px;
  display:flex; gap:28px;
  font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.06em;
}
nav.index a{
  color:var(--ink); text-decoration:none; border-bottom:1px solid var(--blue);
  padding-bottom:3px; text-transform:uppercase;
}
nav.index a:hover{ color:var(--blue); }

/* ---------- collection entries ---------- */
main.collection{
  max-width: 1180px; margin:0 auto;
  padding: 0 clamp(16px,5vw,64px) clamp(40px,6vw,80px);
}
.entry{
  position:relative; display:grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px,5vw,64px);
  padding: clamp(40px,6vw,72px) 0;
  border-top:1px solid var(--line);
  opacity:0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.entry.revealed{ opacity:1; transform:translateY(0); }
.entry:nth-child(even){ direction: rtl; }
.entry:nth-child(even) > *{ direction: ltr; }

.ghost-no{
  position:absolute; top: clamp(20px,4vw,40px); right: clamp(0px,2vw,20px);
  font-family:'Fraunces', serif; font-weight:300;
  font-size: clamp(80px,10vw,150px); color: var(--ink);
  opacity:0.04; line-height:1; pointer-events:none; z-index:0;
}
.entry:nth-child(even) .ghost-no{ right:auto; left: clamp(0px,2vw,20px); }

.plate{
  position:relative; aspect-ratio: 4/5; width:100%; border-radius:2px;
  background: linear-gradient(155deg, #E4EEF6, #B9D2E8 60%, #8FB3D6);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 30px -18px rgba(20,20,20,0.28);
}
.plate .initials{
  font-family:'Fraunces', serif; font-weight:600;
  font-size:clamp(42px,6vw,60px); color: rgba(20,20,20,0.5); letter-spacing:0.02em;
}
.plate .frame{ position:absolute; inset:14px; border:1px solid rgba(20,20,20,0.2); pointer-events:none; z-index:4; }
.plate .logo{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:76%; height:auto; border-radius:4px; z-index:3;
  box-shadow: 0 14px 28px -12px rgba(0,0,0,0.45);
}

.stamp{ position:absolute; width:82px; height:82px; top:-14px; left:-14px; z-index:5; transform: rotate(-11deg); }
.stamp svg{ width:100%; height:100%; }
.stamp text{ font-family:'IBM Plex Mono', monospace; font-size:7.5px; letter-spacing:1.5px; fill: var(--blue); }
.stamp circle{ fill:none; stroke:var(--blue); }

.entry-body{ position:relative; z-index:1; align-self:center; }
.entry-eyebrow{ font-size:11px; color:var(--gray); display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.entry-no{ color:var(--blue); }
.entry h2{
  font-family:'Fraunces', serif; font-weight:600;
  font-size: clamp(27px,3.2vw,40px); line-height:1.05; margin-bottom:6px;
}
.entry h2 span.biz{
  display:block; font-style:italic; font-weight:500; font-size:0.6em;
  color:var(--ink); margin-top:4px;
}
.medium-line{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--gray); margin-top:14px; letter-spacing:0.02em; }
.known-for{
  font-style:italic; font-size: clamp(17px,1.9vw,20px); line-height:1.5;
  margin:20px 0; color:#262624; border-left:2px solid var(--blue); padding-left:18px;
}
.entry p.bio{ font-size:15.5px; line-height:1.75; color:#3A3A38; max-width:56ch; }
.site-link{
  display:inline-block; margin-top:16px; font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:0.04em; color:var(--ink); text-decoration:none;
  border-bottom:1px solid var(--ink); padding-bottom:2px;
}

/* ---------- category groups ---------- */
main.categories{ max-width:1180px; margin:0 auto; padding: 0 clamp(20px,6vw,64px) clamp(60px,8vw,90px); }
.category-group{ margin-bottom: clamp(40px,6vw,64px); }
.category-title{
  font-family:'Fraunces', serif; font-weight:600; font-style:italic;
  font-size: clamp(22px,2.6vw,30px); margin-bottom:22px;
  border-bottom:1px solid var(--line); padding-bottom:14px;
}
.category-list{ display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:24px; }
.category-item{
  border:1px solid var(--line); border-radius:3px; padding:20px;
  text-decoration:none; color:var(--ink); display:block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.category-item:hover{ border-color:var(--blue); transform:translateY(-2px); }
.category-item .thumb{
  width:100%; aspect-ratio:16/8; border-radius:2px; margin-bottom:14px;
  background: linear-gradient(155deg, #E4EEF6, #B9D2E8 60%, #8FB3D6);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.category-item .thumb img{ width:82%; height:auto; border-radius:3px; box-shadow:0 8px 16px -8px rgba(0,0,0,0.4); }
.category-item .name{ font-family:'Fraunces', serif; font-weight:600; font-size:19px; }
.category-item .tag{ font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:var(--gray); margin-top:6px; display:block; }

/* ---------- journal ---------- */
main.journal{ max-width:760px; margin:0 auto; padding: 0 clamp(20px,6vw,64px) clamp(60px,8vw,90px); }
.journal-post{ padding: clamp(34px,5vw,48px) 0; border-top:1px solid var(--line); }
.journal-post:first-child{ border-top:none; padding-top:0; }
.journal-date{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--gray); letter-spacing:0.04em; }
.journal-post h2{
  font-family:'Fraunces', serif; font-weight:600; font-size: clamp(24px,3vw,32px);
  margin-top:10px; margin-bottom:16px; line-height:1.15;
}
.journal-post p{ font-size:16px; line-height:1.8; color:#333331; }
.journal-post p + p{ margin-top:1em; }

/* ---------- nominate / CTA section ---------- */
section.nominate{
  max-width:1180px; margin:0 auto;
  padding: clamp(50px,8vw,100px) clamp(20px,6vw,64px);
  border-top:1px solid var(--line); text-align:center;
}
section.nominate .eyebrow{ justify-content:center; }
section.nominate .eyebrow::before{ display:none; }
section.nominate h3{
  font-family:'Fraunces', serif; font-weight:600;
  font-size:clamp(28px,4.2vw,48px); max-width:18ch; margin:0 auto 18px; line-height:1.08;
}
section.nominate p{ max-width:52ch; margin:0 auto 30px; color:#3A3A38; font-size:16.5px; line-height:1.7; }
.btn{
  display:inline-block; font-family:'IBM Plex Mono', monospace; font-size:12px;
  letter-spacing:0.06em; text-transform:uppercase; color:var(--paper);
  background:var(--ink); padding:15px 30px; text-decoration:none;
  border-radius:2px; transition: background 0.25s ease;
}
.btn:hover{ background:#333333; }
.btn-outline{
  display:inline-block; font-family:'IBM Plex Mono', monospace; font-size:12px;
  letter-spacing:0.06em; text-transform:uppercase; color:var(--ink);
  background:transparent; border:1px solid var(--ink); padding:14px 29px; text-decoration:none;
  border-radius:2px; margin-left:12px; transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline:hover{ background:var(--ink); color:var(--paper); }

/* ---------- back-to-collection link, used on subpages ---------- */
.back-link{
  display:inline-block; margin: 0 auto clamp(30px,5vw,44px);
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.05em;
  color:var(--blue); text-decoration:none; border-bottom:1px solid var(--blue); padding-bottom:2px;
}

footer.colophon{
  border-top:1px solid var(--line);
  padding: 34px clamp(20px,6vw,64px) 50px;
  max-width:1180px; margin:0 auto;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:var(--gray); letter-spacing:0.04em;
}
footer.colophon a{ text-decoration:none; color:var(--gray); border-bottom:1px solid transparent; }
footer.colophon a:hover{ color:var(--ink); border-color:var(--gray); }

@media (max-width: 760px){
  .entry{ grid-template-columns: 1fr; }
  .entry:nth-child(even){ direction: ltr; }
  .plate{ max-width:220px; }
  .ghost-no{ display:none; }
  .btn-outline{ margin-left:0; margin-top:12px; }
}
@media (prefers-reduced-motion: reduce){
  .entry{ transition:none; opacity:1; transform:none; }
  html{ scroll-behavior:auto; }
}
