/* ═══════════════════════════════════════════════════════
   VeldWorks — Shared Stylesheet
   Variant B / Industrial
   ═══════════════════════════════════════════════════════ */

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

:root {
  --carbon:    #111111;
  --flint:     #2C2B2A;
  --basalt:    #595755;
  --limestone: #D1CFCD;
  --chalk:     #F5F4F2;
  --oxide:     #8A3E2F;
  --white:     #FFFFFF;

  --f: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pad: 64px;
  --nav-h: 64px;
}

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

body {
  background-color: var(--chalk);
  color: var(--carbon);
  font-family: var(--f);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Navigation ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background-color: var(--chalk);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  height: var(--nav-h);
  border-bottom: 1px solid var(--oxide);
}

.nav-logo {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--carbon);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--basalt);
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--carbon); }

.nav-sep {
  width: 1px;
  height: 14px;
  background: var(--limestone);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--carbon);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Page header ────────────────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 72px) var(--pad) 64px;
  border-bottom: 1px solid var(--limestone);
}

.page-header-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-header-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--oxide);
}

.page-header h1 {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--carbon);
  max-width: 820px;
}

.page-header .sub {
  margin-top: 28px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--basalt);
  max-width: 540px;
}

/* ── Section label ──────────────────────────────────────── */
.section-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 40px;
}

/* ── Oxide rule / accent line ───────────────────────────── */
.accent-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
}

.accent-rule::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--oxide);
}

/* ── Pull quote ─────────────────────────────────────────── */
.pull-quote {
  font-weight: 300;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--flint);
  padding-left: 24px;
  border-left: 2px solid var(--oxide);
}

/* ── CTA link ───────────────────────────────────────────── */
.cta-link {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oxide);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.15s;
}

.cta-link:hover { gap: 14px; }
.cta-link::after { content: '\2192'; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--flint);
  padding: 32px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--chalk);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--basalt);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--chalk); }

.footer-copy {
  font-size: 12px;
  color: var(--basalt);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   HOME — INDEX.HTML
   ═══════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 72px) var(--pad) 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--limestone) 1px, transparent 1px),
    linear-gradient(90deg, var(--limestone) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero-overline {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-overline::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--oxide);
}

.hero-headline {
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.04em;
  color: var(--carbon);
  margin-bottom: 48px;
}

.hero-headline span { color: var(--oxide); }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--limestone);
  padding-top: 40px;
}

.hero-statement {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--basalt);
}

.hero-question {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--flint);
  padding-left: 20px;
  border-left: 2px solid var(--oxide);
}

/* ── Pillars ────────────────────────────────────────────── */
.pillars {
  background: var(--flint);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 56px 48px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}

.pillar:last-child { border-right: none; }

.pillar-rule {
  position: absolute;
  top: 0; left: 48px; right: 48px;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}

.pillar:hover .pillar-rule { background: var(--oxide); }

.pillar-index {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--oxide);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.pillar-title {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--chalk);
  margin-bottom: 16px;
}

.pillar-body {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--basalt);
}

/* ── Thesis (home snippet) ──────────────────────────────── */
.thesis {
  padding: 80px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 96px;
  align-items: start;
  border-top: 1px solid var(--limestone);
  border-bottom: 1px solid var(--limestone);
}

.thesis-header { position: sticky; top: calc(var(--nav-h) + 24px); }

.thesis-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 16px;
}

.thesis-title {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--carbon);
  margin-bottom: 28px;
}

.thesis-cta { }

.thesis-blocks { display: flex; flex-direction: column; gap: 40px; }

.thesis-block-label {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--limestone);
  margin-bottom: 8px;
}

.thesis-block p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--basalt);
}

/* ── Three elements ─────────────────────────────────────── */
.three-elements { padding: 80px var(--pad); }

.elements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--limestone);
}

.element-item {
  background: var(--chalk);
  padding: 40px;
}

.element-title {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--carbon);
  margin-bottom: 12px;
}

.element-body {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--basalt);
}

/* ── Founder ─────────────────────────────────────────────── */
.founder {
  background: var(--carbon);
  padding: 80px var(--pad);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.founder-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 20px;
}

.founder-name {
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--chalk);
  margin-bottom: 6px;
}

.founder-role {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--basalt);
}

.founder-statement {
  font-weight: 300;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--chalk);
  margin-bottom: 36px;
}

.founder-bio {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--basalt);
  max-width: 560px;
}

.founder-bio p + p { margin-top: 16px; }

/* ── Home contact strip ──────────────────────────────────── */
.contact-strip {
  padding: 64px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--limestone);
  gap: 32px;
}

.contact-strip p {
  font-weight: 400;
  font-size: 15px;
  color: var(--basalt);
}

/* ═══════════════════════════════════════════════════════
   THESIS PAGE
   ═══════════════════════════════════════════════════════ */

.thesis-page-body { padding: 80px var(--pad); }

.thesis-page-intro {
  max-width: 760px;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--flint);
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--limestone);
}

.thesis-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid var(--limestone);
}

.thesis-section-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  padding-top: 4px;
}

.thesis-section-content h2 {
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--carbon);
  margin-bottom: 24px;
}

.thesis-section-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--basalt);
}

.thesis-section-content p + p { margin-top: 20px; }

.thesis-closing {
  padding: 80px 0 0;
  max-width: 680px;
}

.thesis-closing-statement {
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--carbon);
  margin-bottom: 24px;
}

.thesis-closing p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--basalt);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════
   APPROACH PAGE
   ═══════════════════════════════════════════════════════ */

.approach-mode {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 72px var(--pad);
  border-bottom: 1px solid var(--limestone);
  align-items: start;
}

.approach-mode:nth-child(even) {
  background: var(--white);
}

.approach-mode-meta { position: sticky; top: calc(var(--nav-h) + 32px); }

.approach-mode-number {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 12px;
}

.approach-mode-title {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--carbon);
  margin-bottom: 20px;
}

.approach-mode-subtitle {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--basalt);
}

.approach-mode-body h3 {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--carbon);
  margin-bottom: 12px;
  margin-top: 40px;
}

.approach-mode-body h3:first-child { margin-top: 0; }

.approach-mode-body p {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--basalt);
}

.approach-mode-body p + p { margin-top: 16px; }

.approach-signals {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signal {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--basalt);
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oxide);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   WORK PAGE
   ═══════════════════════════════════════════════════════ */

.work-statement {
  padding: 72px var(--pad);
  border-bottom: 1px solid var(--limestone);
}

.work-statement-text {
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--flint);
  max-width: 800px;
  margin-bottom: 32px;
}

.work-cases { padding: 72px var(--pad); }

.cases-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--basalt);
  max-width: 560px;
  margin-bottom: 56px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--limestone);
}

.case-item {
  background: var(--chalk);
  padding: 40px;
}

.case-sector {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 16px;
}

.case-title {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--carbon);
  margin-bottom: 12px;
}

.case-body {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  color: var(--basalt);
}

.case-placeholder {
  border: 1px dashed var(--limestone);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.case-placeholder-text {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--limestone);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS PAGE
   ═══════════════════════════════════════════════════════ */

.testimonials-body { padding: 72px var(--pad); }

.testimonials-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--basalt);
  max-width: 540px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--limestone);
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonial-item {
  padding: 56px 0;
  border-bottom: 1px solid var(--limestone);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.testimonial-meta { }

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--carbon);
  margin-bottom: 4px;
}

.testimonial-role {
  font-weight: 400;
  font-size: 13px;
  color: var(--basalt);
  margin-bottom: 2px;
}

.testimonial-org {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oxide);
}

.testimonial-quote {
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--flint);
}

.testimonial-quote::before {
  content: '\201C';
  color: var(--oxide);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════ */

.contact-body {
  padding: 72px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.contact-qualification h2 {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--carbon);
  margin-bottom: 8px;
  margin-top: 40px;
}

.contact-qualification h2:first-child { margin-top: 0; }

.contact-qualification p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--basalt);
  margin-bottom: 28px;
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.contact-reach { position: sticky; top: calc(var(--nav-h) + 32px); }

.contact-reach-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 24px;
}

.contact-email {
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
  color: var(--carbon);
  transition: color 0.15s;
  display: block;
  margin-bottom: 32px;
}

.contact-email:hover { color: var(--oxide); }

.contact-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--basalt);
  padding-top: 32px;
  border-top: 1px solid var(--limestone);
}

.contact-note p + p { margin-top: 12px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root { --pad: 40px; }

  .thesis { grid-template-columns: 1fr; gap: 48px; }
  .thesis-header { position: static; }
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .approach-mode { grid-template-columns: 1fr; gap: 40px; }
  .approach-mode-meta { position: static; }
  .contact-body { grid-template-columns: 1fr; gap: 56px; }
  .contact-reach { position: static; }
  .testimonial-item { grid-template-columns: 1fr; gap: 24px; }
  .thesis-section { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  :root { --pad: 24px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--chalk);
    border-bottom: 1px solid var(--limestone);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--pad);
    gap: 20px;
  }

  .nav-links.open { display: flex; }
  .nav-sep { display: none; }
  .nav-toggle { display: flex; }

  /* Layouts */
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .pillar:last-child { border-bottom: none; }
  .pillar-rule { left: 0; right: 0; }
  .elements-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Footer */
  footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 20px; }
}
