/* ===========================================================
   Chance Hammond — standalone site
   Recreating the "Silence"-style Webflow build: light, clean,
   minimal. Off-white paper, near-black text, hairline dividers,
   dot-and-label section headers, oversized display name.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --bg:#F2F2F2;
  --ink:#1A1A1A;
  --muted:#6E6E6E;
  --line:#DADADA;
  --line-strong:#C2C2C2;
  --accent:#1A1A1A;
  --max: 1040px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1.3;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; }

h1,h2,h3{
  font-family:'Inter Tight', sans-serif;
  font-weight:600;
  margin:0;
  letter-spacing:-0.02em;
}

.mono{
  font-family:'JetBrains Mono', monospace;
  font-weight:500;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px;
}

/* ---------- Nav ---------- */
.site-nav{
  padding:26px 0;
}
.site-nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
}
.nav-mark{
  font-size:16px;
  font-weight:600;
  letter-spacing:-0.01em;
  text-decoration:none;
}
.nav-mark span{ color:var(--accent); }
.nav-links{
  display:flex;
  gap:30px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav-links a{
  text-decoration:none;
  font-size:14px;
  color:var(--muted);
  border-bottom:1px solid transparent;
  padding-bottom:3px;
  transition:color .15s ease, border-color .15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"]{
  color:var(--ink);
  border-color:var(--accent);
}

/* ---------- Divider (full hairline rule) ---------- */
.rule{
  border:none;
  border-top:1px solid var(--line);
  margin:0;
}

/* ---------- Eyebrow: dot + label ---------- */
.eyebrow{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:18px;
}
.eyebrow .dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  flex:none;
}
.eyebrow span{
  font-size:13px;
  color:var(--muted);
}

/* ---------- Title block ---------- */
.title-block{
  border:1px solid var(--line-strong);
  margin-top:44px;
}
.title-block .tb-row{
  display:grid;
  grid-template-columns: 130px 1fr;
}
.title-block .tb-row + .tb-row{
  border-top:1px solid var(--line);
}
.title-block .tb-key{
  padding:12px 16px;
  font-size:12px;
  color:var(--muted);
  border-right:1px solid var(--line);
}
.title-block .tb-val{
  padding:12px 16px;
  font-size:14px;
}
@media screen and (max-width:600px){
  .title-block .tb-row{ grid-template-columns: 105px 1fr; }
}

/* ---------- Hero ---------- */
.hero{
  padding-top:40px;
  padding-bottom:72px;
}
.hero h1{
  font-size: clamp(48px, 11vw, 132px);
  line-height:0.86;
  letter-spacing:-0.03em;
  margin-top:26px;
  margin-bottom:26px;
}
.hero .lede{
  max-width:620px;
  font-size:24px;
  line-height:1.2;
  color:var(--ink);
  margin-bottom:0;
}
@media screen and (max-width:640px){
  .hero .lede{ font-size:17px; }
}

/* ---------- Section rhythm ---------- */
section.block{
  padding-top:56px;
  padding-bottom:56px;
}
.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
  margin-bottom:34px;
  flex-wrap:wrap;
}
.section-head h2{
  font-size:28px;
}
.section-head .section-note{
  font-size:13px;
  color:var(--muted);
  max-width:340px;
  text-align:right;
}
@media screen and (max-width:640px){
  .section-head .section-note{ text-align:left; max-width:none; }
}

/* ---------- Stats ---------- */
.stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
}
.stat{
  padding:26px 22px;
  border-right:1px solid var(--line);
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-size:32px;
  color:var(--accent);
  display:block;
  margin-bottom:6px;
}
.stat .label{
  font-size:13px;
  color:var(--muted);
}
@media screen and (max-width:700px){
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-bottom:1px solid var(--line); }
  .stat:nth-child(2n){ border-right:none; }
}

/* ---------- Company cards ---------- */
.company{
  padding:28px 0;
  border-top:1px solid var(--line);
}
.company:first-child{ border-top:none; padding-top:0; }
.company-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.company-head h3{
  font-size:23px;
  font-weight:600;
}
.company-role{
  font-size:12px;
  color:var(--accent);
  border:1px solid var(--accent);
  padding:3px 9px;
  white-space:nowrap;
}
.company p{
  color:var(--ink);
  max-width:640px;
  margin:0;
}
.company-link{
  display:inline-block;
  margin-top:16px;
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px solid var(--line-strong);
}
.company-link:hover{ color:var(--accent); border-color:var(--accent); }

/* ---------- Timeline (Bio page) ---------- */
.timeline{
  position:relative;
  padding-left:28px;
  border-left:1px solid var(--line-strong);
}
.tl-item{
  position:relative;
  padding-bottom:44px;
}
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{
  content:"";
  position:absolute;
  left:-33px;
  top:6px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--accent);
}
.tl-date{
  font-size:13px;
  color:var(--accent);
  display:block;
  margin-bottom:6px;
}
.tl-item h3{
  font-size:19px;
  font-weight:600;
  margin-bottom:8px;
}
.tl-item p{
  color:var(--ink);
  max-width:620px;
  margin:0;
}

/* ---------- Roster (Teams page) ---------- */
.roster{
  border:1px solid var(--line);
}
.roster-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  padding:16px 20px;
  align-items:baseline;
}
.roster-row + .roster-row{
  border-top:1px solid var(--line);
}
.roster-name{
  font-size:16px;
}
.roster-role{
  font-size:14px;
  color:var(--muted);
  text-align:right;
}
@media screen and (max-width:600px){
  .roster-row{ grid-template-columns:1fr; gap:2px; }
  .roster-role{ text-align:left; }
}
.roster-note{
  padding:14px 20px;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--line);
}
.roster-note .mono{ color:var(--accent); }

.org-block + .org-block{ margin-top:44px; }
.org-block-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.org-block-head h3{ font-size:21px; }
.org-block-head .org-sub{
  font-size:13px;
  color:var(--muted);
}

/* ---------- Bio intro paragraph ---------- */
.lead-para{
  font-size:24px;
  line-height:1.2;
  max-width:640px;
  margin-top:24px;
  color:var(--ink);
}
.lead-para + .lead-para{ margin-top:16px; }

/* ---------- Footer ---------- */
footer{
  padding:36px 0 56px;
  font-size:13px;
  color:var(--muted);
}
footer .wrap{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding-top:28px;
}
footer a{ color:var(--muted); text-decoration:none; }
footer a:hover{ color:var(--accent); }

/* ---------- Password gate ---------- */
#gate-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.gate-box{
  width:100%;
  max-width:340px;
  text-align:center;
}
.gate-box .eyebrow{
  justify-content:center;
  margin-bottom:20px;
}
.gate-title{
  font-size:24px;
  margin-bottom:24px;
}
#gate-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
#gate-input{
  font-family:'Inter Tight', sans-serif;
  font-size:16px;
  padding:12px 14px;
  border:1px solid var(--line-strong);
  background:var(--bg);
  color:var(--ink);
  border-radius:0;
}
#gate-input:focus{
  outline:none;
  border-color:var(--ink);
}
#gate-form button{
  font-family:'Inter Tight', sans-serif;
  font-weight:600;
  font-size:15px;
  padding:12px 14px;
  background:var(--ink);
  color:var(--bg);
  border:none;
  cursor:pointer;
}
#gate-form button:hover{
  opacity:0.85;
}
#gate-error{
  display:none;
  font-size:13px;
  color:var(--ink);
  margin-top:14px;
}
