/* ===== Tokens ===== */
:root{
  --ink: #0A0A0A;
  --ink-2: #1C1C1C;
  --line: #3A3A3A;
  --line-soft: rgba(255,255,255,0.14);
  --paper: #F2F2F0;
  --paper-2: #E4E4E1;
  --graphite: #8C8C8C;
  --graphite-dark: #5C5C5C;
  --white: #FFFFFF;
  --radius: 2px;
  --wrap: 1180px;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--body);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:var(--display); margin:0; letter-spacing:-0.01em;}
p{margin:0;}
a{color:inherit; text-decoration:none;}
.mono{font-family:var(--mono); letter-spacing:0.02em;}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 32px;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation:none !important; transition:none !important;}
}

/* ===== Fixed title block (signature element) ===== */
.titleblock{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:50;
  background:var(--ink);
  color:var(--paper);
  border:1px solid var(--line);
  padding:8px 12px;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:8px;
  pointer-events:none;
}
.titleblock .tb-sheet{color:var(--white); font-weight:500;}
.titleblock .tb-sep{color:var(--line);}
.titleblock .tb-scale{color:var(--graphite); margin-left:6px; padding-left:8px; border-left:1px solid var(--line);}

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(242,242,240,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line-soft);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}
.logo{
  display:flex; align-items:center; gap:10px;
}
.logo-mark{
  width:30px; height:30px; border-radius:3px; display:block;
}
.logo-word{
  font-family:var(--display); font-weight:700; font-size:18px;
  letter-spacing:0.02em;
}
.logo-word span{color:var(--graphite-dark); font-weight:500;}
.nav{display:flex; gap:28px;}
.nav a{font-size:14px; color:var(--ink); opacity:0.75; transition:opacity .15s;}
.nav a:hover{opacity:1;}
.nav-cta{display:none;}
@media (min-width:720px){ .nav-cta{display:inline-flex;} }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px; font-size:14px; font-weight:500;
  border:1px solid transparent; border-radius:var(--radius);
  cursor:pointer; transition:background .15s, color .15s, border-color .15s;
}
.btn-primary{background:var(--white); color:var(--ink);}
.btn-primary:hover{background:var(--white);}
.btn-outline{border-color:var(--paper); color:var(--paper);}
.btn-outline:hover{background:var(--paper); color:var(--ink);}
.btn-ghost{border-color:var(--line); color:var(--ink); padding:10px 18px;}
.btn-ghost:hover{border-color:var(--white); color:var(--white);}

/* ===== Sheet sections ===== */
.sheet{position:relative; padding:96px 0; overflow:hidden;}
.sheet-dark{background:var(--ink); color:var(--paper);}
.sheet-light{background:var(--paper);}
.sheet + .sheet{border-top:1px solid rgba(255,255,255,0.16);}

.section-head{max-width:640px; margin-bottom:56px;}
.eyebrow{display:block; font-size:12px; color:var(--graphite-dark); margin-bottom:14px; font-weight:500;}
.eyebrow.light{color:var(--white);}
.section-head h2{font-size:clamp(26px,3.4vw,38px); line-height:1.15;}
.section-head h2.light{color:var(--paper);}
.section-head p{margin-top:14px; color:var(--graphite); font-size:15px; line-height:1.6;}
.section-note{opacity:0.6; font-size:12px; margin-top:12px;}
.section-note.light{color:var(--paper);}

/* ===== Hero ===== */
.hero{padding-top:24px; padding-bottom:220px; position:relative; z-index:2;}
.hero-tag{font-size:12px; color:var(--white); margin-bottom:28px;}
.hero-title{
  font-size:clamp(34px,5.6vw,62px);
  line-height:1.08;
  color:var(--paper);
  font-weight:600;
  max-width:820px;
}
.hero-sub{
  margin-top:26px; max-width:520px;
  color:var(--graphite); font-size:16px; line-height:1.65;
}
.hero-actions{display:flex; gap:16px; margin-top:40px; flex-wrap:wrap;}
.blueprint-art{
  position:absolute; left:0; bottom:0; width:100%; height:auto;
  opacity:0.55; z-index:1;
}

/* ===== Services ===== */
.service-list{border-top:1px solid rgba(255,255,255,0.14);}
.service-row{
  display:flex; gap:28px; align-items:baseline;
  padding:26px 0; border-bottom:1px solid rgba(255,255,255,0.14);
}
.service-code{font-size:13px; color:var(--graphite-dark); min-width:24px;}
.service-body h3{font-size:19px; font-weight:600;}
.service-body p{margin-top:6px; color:var(--graphite); font-size:14.5px; max-width:640px; line-height:1.55;}

/* ===== Projects ===== */
.project-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:2px;
  background:rgba(255,255,255,0.16);
}
@media (min-width:860px){ .project-grid{grid-template-columns:repeat(4,1fr);} }
.project-card{margin:0; background:var(--ink);}
.project-thumb{
  aspect-ratio:4/5;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    var(--ink-2);
  border:1px solid rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.project-thumb::after{
  content:attr(data-label);
  font-family:var(--mono); font-size:10.5px; letter-spacing:0.08em;
  color:var(--graphite); text-align:center; padding:0 16px;
}
.project-card figcaption{
  display:flex; flex-direction:column; gap:4px;
  padding:14px 4px 4px;
  font-size:13.5px; color:var(--paper);
}
.project-card figcaption .mono{font-size:11px; color:var(--white);}

/* ===== Contact ===== */
.contact-grid{display:grid; gap:2px; background:rgba(255,255,255,0.14); margin-top:8px;}
@media (min-width:640px){ .contact-grid{grid-template-columns:1fr 1fr;} }
.contact-card{
  background:var(--paper-2);
  padding:26px 24px;
  display:flex; flex-direction:column; gap:8px;
  transition:background .15s;
}
.contact-card:hover{background:#D6D6D2;}
.contact-card .mono{font-size:11px; color:var(--graphite-dark); opacity:0.9;}
.contact-value{font-size:19px; font-weight:600; font-family:var(--display);}

.social-row{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:40px;
}
.social-link{
  border:1px solid rgba(255,255,255,0.18);
  padding:9px 16px; font-size:12px;
  transition:border-color .15s, color .15s;
}
.social-link:hover{border-color:var(--white); color:var(--white);}

/* ===== Footer ===== */
.site-footer{background:var(--ink); color:var(--graphite); padding:28px 0;}
.footer-row{display:flex; justify-content:space-between; font-size:11px;}
