/* ─────────────────────────────────────────
   MOSS WOOD — Matt Knaus
   Palette: aged slate · raw timber · iron · window light
   ───────────────────────────────────────── */

:root {
  --ink:         #1E2024;       /* near-black with blue undertone */
  --ink-mid:     #3A3D42;       /* body text */
  --slate:       #4A5258;       /* the peeling wall — blue-grey */
  --slate-light: #6A7278;       /* secondary labels */
  --timber:      #8C6E48;       /* worn wood bench — warm brown */
  --timber-soft: #A8885E;       /* lighter wood hover */
  --mustard:     #C49A2A;       /* deep mustard gold */
  --mustard-hover: #D4AA3A;     /* mustard lighter on hover */
  --iron:        #5A5E62;       /* tool metal */
  --light:       #D8D4CC;       /* window light — cool pale */
  --parchment:   #ECEAE4;       /* main bg — light, slightly cool */
  --parchment2:  #E2E0D8;       /* alt section */
  --warm-dark:   #22262A;       /* dark sections — slate-black */
  --rule:        #C4C2BA;       /* hairlines */
  --rule-dark:   #2E3238;       /* hairlines on dark */
  --spine-w:     56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--parchment);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  padding-left: var(--spine-w);
}

/* ── Spine ── */
.spine {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--spine-w);
  height: 100vh;
  border-right: 2px solid var(--slate);
  z-index: 10;
  pointer-events: none;
  background: var(--parchment);
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 64px 26px 40px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--parchment);
  z-index: 9;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav { display: flex; gap: 40px; }

.nav a {
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover { color: var(--mustard-hover); }

/* ── Hero ── */
.hero {
  padding: 110px 64px 96px 48px;
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
  max-width: 1200px;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-photo {
  padding-top: 0;
  margin-top: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-territory {
  display: flex;
  margin-bottom: 48px;
}

.hero-territory span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.hero-territory span + span::before {
  content: '·';
  margin: 0 16px;
  color: var(--rule);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.h1-name {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}

.h1-rule-gradient {
  display: block;
  width: clamp(200px, 40vw, 320px);
  height: 3px;
  margin: 20px 0;
}

.h1-title {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--slate);
}

.hero-statement {
  font-size: 1rem;
  color: var(--ink-mid);
  max-width: 460px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.cta {
  display: inline-block;
  align-self: flex-start;
  background: var(--ink);
  color: var(--parchment);
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  transition: background 0.2s;
}
.cta:hover { background: var(--mustard); }

/* ── Scale bar ── */
.scale-bar {
  display: flex;
  align-items: stretch;
  padding: 0 0 0 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.scale-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 48px 30px 0;
  position: relative;
  z-index: 1;
}

.scale-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.scale-label {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.scale-divider {
  width: 1px;
  background: #2E3238;
  margin: 0 48px 0 0;
  align-self: stretch;
  position: relative;
  z-index: 1;
}

/* ── Content sections ── */
.content-section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 64px;
  padding: 88px 64px 88px 48px;
  border-bottom: 1px solid var(--rule);
}

.content-section--warm {
  background: var(--parchment2);
}

.content-section--warm .section-body p {
  color: var(--slate);
}

.content-section--warm .section-body h2 {
  color: var(--ink);
}

/* ── Section tags ── */
.section-tag {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-top: 8px;
}

/* ── Section body ── */
.section-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.section-body p {
  font-size: 0.93rem;
  color: var(--ink-mid);
  max-width: 560px;
  margin-bottom: 16px;
  line-height: 1.85;
}

.subtle-note {
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light) !important;
  margin-top: 8px !important;
}

/* ── Proof strip ── */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
}

.proof-item {
  padding: 28px 28px 0 0;
  border-right: 1px solid var(--rule);
}
.proof-item:last-child {
  border-right: none;
  padding-right: 0;
}

.proof-head {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem !important;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard) !important;
  margin-bottom: 10px !important;
  max-width: none !important;
}

.proof-body {
  font-size: 0.85rem !important;
  color: var(--slate) !important;
  line-height: 1.7 !important;
  max-width: none !important;
  margin-bottom: 0 !important;
}

/* ── Contact ── */
.contact-list {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-key {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-light);
  min-width: 52px;
}

/* Softer contact values — readable but not commanding */
.contact-val {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
}
a.contact-val:hover { color: var(--mustard-hover); }

/* ── Footer ── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 64px 20px 48px;
  border-top: 2px solid var(--ink);
}

.site-footer span {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* ── Portfolio coming soon ── */
.portfolio-coming {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
  border: 1px solid var(--rule);
}

.portfolio-item {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-item:last-child { border-right: none; }

.portfolio-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

.portfolio-status {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--slate-light);
}

@media (max-width: 700px) {
  :root { --spine-w: 0px; }
  .spine { display: none; }

  /* ── Header — wordmark only, hide nav ── */
  .site-header { padding: 18px 24px; }
  .wordmark {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
  .nav { display: none; }

  /* ── Hero ── */
  .hero { padding: 40px 24px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-height: 420px; object-fit: cover; object-position: center 20%; }
  .h1-name { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .h1-rule-gradient { width: 100%; }

  /* ── Territory — centered, wrap cleanly ── */
  .hero-territory {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    text-align: center;
  }
  .hero-territory span {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
  }

  /* ── Scale bar ── */
  .scale-bar { padding: 0 24px; overflow-x: auto; flex-wrap: nowrap; }
  .scale-item { padding: 20px 28px 20px 0; min-width: max-content; }

  /* ── Content sections ── */
  .content-section { grid-template-columns: 1fr; gap: 12px; padding: 56px 24px; }
  .section-tag { padding-top: 0; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .proof-item:last-child { border-bottom: none; }
  .portfolio-coming { grid-template-columns: 1fr; }
  .portfolio-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .portfolio-item:last-child { border-bottom: none; }
  .site-footer { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
