:root {
  --bg: #f7f4ef;
  --fg: #1a1209;
  --accent: #b8965a;
  --accent-dark: #8a6e3a;
  --navy: #1b2631;
  --cream: #f7f4ef;
  --text-secondary: #5a4a36;
  --text-muted: #9a8a76;
  --border: rgba(26, 18, 9, 0.12);
  --section-spacing: 120px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 140px 40px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-attribution {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.attr-line {
  width: 2px;
  min-height: 60px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.attr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.attr-text strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.attr-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.concept-diagram-wrap {
  position: relative;
  background: var(--navy);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-diagram {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.diagram-caption {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: rgba(247, 244, 239, 0.4);
  letter-spacing: 0.04em;
}
.hero-tagline-block {
  padding: 20px 24px;
  background: var(--navy);
  border-left: 3px solid var(--accent);
}
.tagline-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(247, 244, 239, 0.9);
  line-height: 1.5;
  margin-bottom: 6px;
}
.tagline-attr {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

/* Section Labels */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

/* About */
.about {
  padding: var(--section-spacing) 40px;
  background: var(--navy);
  color: var(--cream);
}
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.about-left .section-label { color: var(--accent); }
.about-left .section-title { color: var(--cream); }
.about-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(247, 244, 239, 0.75);
  margin-bottom: 20px;
}
.about-right em { color: rgba(247, 244, 239, 0.95); font-style: italic; }
.about-credentials {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  padding-top: 24px;
}
.cred-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
}
.cred-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cred-value {
  font-size: 0.82rem;
  color: rgba(247, 244, 239, 0.55);
  line-height: 1.5;
}

/* Method */
.method {
  padding: var(--section-spacing) 40px;
  background: var(--bg);
}
.method-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.method-header { margin-bottom: 64px; }
.method-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.method-description p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.method-description em { font-style: italic; color: var(--fg); }
.method-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.method-step {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.method-step:nth-child(even) {
  padding-right: 0;
  padding-left: 24px;
  border-right: none;
}
.method-step:nth-last-child(-n+2) { border-bottom: none; }
.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.method-pullquote {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  text-align: center;
}
.method-pullquote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto 16px;
}
.method-pullquote cite {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-style: normal;
}

/* Services */
.services {
  padding: var(--section-spacing) 40px;
  background: #f0ece4;
}
.services-inner { max-width: 1280px; margin: 0 auto; }
.services-header { margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--cream);
  padding: 40px 36px;
}
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.service-detail {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
a.service-card { display: block; text-decoration: none; color: inherit; transition: transform 160ms ease, border-color 160ms ease; }
a.service-card:hover { transform: translateY(-2px); border-color: var(--accent, #b8965a); }

/* Publications */
.publications {
  padding: var(--section-spacing) 40px;
  background: var(--bg);
}
.publications-inner { max-width: 1280px; margin: 0 auto; }
.pub-header { margin-bottom: 56px; }
.pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pub-book {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
}
.book-cover {
  width: 100px;
  height: 140px;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 10px 8px;
}
.replacing-truth {
  background: linear-gradient(160deg, #1b2631 0%, #2d4a5e 60%, #1b2631 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.replacing-truth::before {
  content: 'REPLACING TRUTH';
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.replacing-truth::after {
  content: 'Kevin Scharp';
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  color: rgba(184, 150, 90, 0.8);
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.semantics-reasons {
  background: linear-gradient(160deg, #3d2b1f 0%, #6b4a32 60%, #3d2b1f 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.semantics-reasons::before {
  content: 'SEMANTICS FOR REASONS';
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.semantics-reasons::after {
  content: 'Scharp & Weaver';
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  color: rgba(184, 150, 90, 0.8);
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.book-label {
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}
.book-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.book-publisher {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 12px;
}
.book-info p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.book-thesis {
  font-size: 0.82rem !important;
  padding: 12px 14px;
  background: #f0ece4;
  border-left: 2px solid var(--accent);
  color: var(--text-secondary) !important;
  margin-top: 8px;
}
.pub-paper {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.paper-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.paper-source {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.paper-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}
.pub-paper p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Closing */
.closing {
  padding: var(--section-spacing) 40px;
  background: var(--navy);
}
.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.closing-quote {
  margin-bottom: 60px;
  text-align: center;
}
.closing-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-style: italic;
  color: rgba(247, 244, 239, 0.88);
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto 16px;
}
.closing-quote cite {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-style: normal;
}
.closing-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}
.closing-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(247, 244, 239, 0.6);
}

/* Footer */
.site-footer {
  padding: 48px 40px;
  background: #0f1620;
  border-top: 1px solid rgba(184, 150, 90, 0.2);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(247, 244, 239, 0.9);
  letter-spacing: 0.02em;
}
.footer-brand p {
  font-size: 0.78rem;
  color: rgba(247, 244, 239, 0.35);
  margin-top: 4px;
}
.footer-contact p {
  font-size: 0.82rem;
  color: rgba(247, 244, 239, 0.5);
}
.footer-contact a {
  color: var(--accent);
  text-decoration: none;
}
.footer-note p {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .method-body { grid-template-columns: 1fr; gap: 40px; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right: none; padding-left: 0; border-bottom: 1px solid var(--border); }
  .method-step:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .closing-text { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .hero { padding-top: 100px; }
  .about, .method, .services, .publications, .closing { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .hero, .about, .method, .services, .publications, .closing { padding-left: 24px; padding-right: 24px; }
  .pub-book { grid-template-columns: 80px 1fr; gap: 16px; }
  .book-cover { height: 110px; }
}
