/* ==========================================================================
   theKraftzone — Portfolio Site
   Design system: bright grid studio (Cormorant Garamond / Outfit / Space Mono)
   ========================================================================== */

:root {
  /* Palette */
  --ink: #16150f;
  --ink-soft: #4a473f;
  --paper: #faf7f0;
  --paper-alt: #f1ece1;
  --line: #e4ddcd;
  --orange: #ff6b00;
  --gold: #d4a843;
  --terracotta: #b8532f;
  --white: #ffffff;

  /* Type */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Layout */
  --max-width: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow .num {
  color: var(--ink);
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-style: italic;
  max-width: 720px;
}
.section-head p {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-pad { padding: clamp(48px, 7vw, 92px) 0; }
.section-pad-sm { padding: clamp(32px, 5vw, 56px) 0; }

.bleed-line { border-top: 1px solid var(--line); }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--orange);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  position: relative;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 24px; height: 1px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 7px; }
.nav-toggle span:nth-child(3) { top: 14px; }
.nav-toggle.active span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile nav */
.nav-cta-mobile { display: none; }
@media (max-width: 900px) {
  /* backdrop-filter turns .site-header into a containing block for its
     position:fixed descendants, which traps the mobile menu inside the
     header's own small box instead of covering the viewport. Drop it here. */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .site-header .container { height: 72px; }
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 36px var(--gutter) 40px;
    gap: 20px;
    font-size: 16px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-cta-mobile { display: block; width: 100%; margin-top: 10px; }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }
}

/* Hero ------------------------------------------------------------------ */
.hero {
  padding: clamp(56px, 10vw, 96px) 0 clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  letter-spacing: -0.01em;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--orange);
}
.hero-copy p.lede {
  margin: 26px 0 34px;
  max-width: 480px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media .tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--paper);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-media .tag strong { color: var(--orange); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; max-height: 60vh; order: -1; margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-copy p.lede { font-size: 1rem; margin: 20px 0 28px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-media .tag {
    left: 12px; right: 12px; bottom: 12px;
    font-size: 9.5px;
    padding: 8px 12px;
    white-space: normal;
  }
}

/* Credibility band (static) ----------------------------------------------- */
.credibility-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
}
.cred-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 12px;
  column-gap: 18px;
}
.cred-item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.82;
  text-align: center;
}
.cred-dot { color: var(--orange); opacity: 1; }

@media (max-width: 700px) {
  .credibility-band { padding: 22px 0; }
  .cred-row {
    flex-direction: column;
    align-items: stretch;
    row-gap: 0;
  }
  .cred-dot { display: none; }
  .cred-item {
    font-size: 10.5px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(250,247,240,0.14);
  }
  .cred-item:first-child { padding-top: 0; }
  .cred-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* Stats ------------------------------------------------------------------ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 34px 18px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--orange);
}
.stat .label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: none; }
}
@media (max-width: 560px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(5) { border-left: none; }
}

/* Works grid --------------------------------------------------------------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
}
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card:hover img { transform: scale(1.06); }
.work-card .overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 45%, rgba(22,21,15,0.82) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-card:hover .overlay { opacity: 1; }
.work-card .overlay .cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.work-card .overlay h4 {
  color: var(--white);
  font-size: 1.3rem;
  font-style: italic;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .works-grid, .featured-grid { grid-template-columns: 1fr 1fr; gap: 3px; } }

/* Filter bar ---------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.results-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Services / disciplines grid ------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--paper);
  padding: 40px 32px;
  transition: background 0.3s var(--ease);
}
.service-card:hover { background: var(--white); }
.service-card .svc-icon {
  width: 34px;
  height: 34px;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .svc-icon { transform: translateY(-3px); color: var(--terracotta); }
.service-card h3 { font-size: 1.5rem; font-style: italic; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* Process steps -------------------------------------------------------------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--orange);
}
.process-item h3 { font-size: 1.9rem; margin-bottom: 10px; font-style: italic; }
.process-item p { color: var(--ink-soft); max-width: 620px; }
@media (max-width: 640px) { .process-item { grid-template-columns: 1fr; gap: 8px; } }

/* Case studies ---------------------------------------------------------------- */
.case-study {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.case-study:nth-child(even) .case-media { order: 2; }
.case-media {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-copy .eyebrow { margin-bottom: 16px; }
.case-copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-style: italic; margin-bottom: 20px; }
.case-copy dl { margin: 0; }
.case-copy dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 18px;
}
.case-copy dd { margin: 6px 0 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .case-study, .case-study:nth-child(even) { grid-template-columns: 1fr; }
  .case-study:nth-child(even) .case-media { order: 0; }
}

/* Timeline ---------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 32px; border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--orange);
}
.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terracotta);
  letter-spacing: 0.06em;
}
.timeline-item .event { font-size: 1.15rem; margin-top: 4px; }

/* Quote block ---------------------------------------------------------------- */
.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: clamp(20px, 3vw, 40px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--ink);
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Two column text ------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 5vw, 64px);
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.prose p { color: var(--ink-soft); margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }

/* Disciplines chips ------------------------------------------------------------ */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* Cards: events / workshops ----------------------------------------------------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .event-grid { grid-template-columns: 1fr; } }

.event-card {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,21,15,0.08); }
.event-card .media { aspect-ratio: 4/3; overflow: hidden; }
.event-card .media img { width: 100%; height: 100%; object-fit: cover; }
.event-card .body { padding: 24px; }
.event-card .status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
}
.event-card .status.upcoming { background: var(--orange); color: var(--white); }
.event-card .status.past { background: var(--paper-alt); color: var(--ink-soft); }
.event-card h3 { font-size: 1.3rem; font-style: italic; margin-bottom: 8px; }
.event-card .meta { font-family: var(--font-mono); font-size: 11px; color: var(--terracotta); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.event-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 14px; }

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .workshop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .workshop-grid { grid-template-columns: 1fr; } }
.workshop-card { background: var(--paper); padding: 32px; }
.workshop-card .icon { font-size: 1.7rem; }
.workshop-card h3 { font-size: 1.4rem; font-style: italic; margin: 14px 0 6px; }
.workshop-card .specs {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--terracotta); margin-bottom: 14px;
}
.workshop-card p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 14px; }
.workshop-card ul { display: flex; flex-direction: column; gap: 6px; }
.workshop-card ul li {
  font-size: 0.85rem; color: var(--ink-soft);
  padding-left: 16px; position: relative;
}
.workshop-card ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--orange);
}

/* Resume ------------------------------------------------------------------------ */
.resume-block { padding: 40px 0; border-top: 1px solid var(--line); }
.resume-block h3.res-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}
.res-list { display: flex; flex-direction: column; gap: 14px; }
.res-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  font-size: 0.98rem;
}
.res-row .yr { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.res-row .desc strong { font-weight: 500; }
.res-row .desc span.loc { color: var(--ink-soft); font-size: 0.88rem; display: block; margin-top: 2px; }
@media (max-width: 560px) { .res-row { grid-template-columns: 1fr; gap: 4px; } }

/* Contact ------------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info .item:last-child { border-bottom: 1px solid var(--line); }
.contact-info .item .k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 6px;
}
.contact-info .item .v { font-size: 1.25rem; font-family: var(--font-display); font-style: italic; }

.form-field { margin-bottom: 22px; }
.form-field label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 2px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* CTA band ------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 28px;
}
.cta-band .btn-solid { background: var(--orange); border-color: var(--orange); color: var(--white); }
.cta-band .btn-solid:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-band .btn-outline { border-color: var(--paper); color: var(--paper); }
.cta-band .btn-outline:hover { background: var(--paper); color: var(--ink); }

/* Page header (interior pages) --------------------------------------------------- */
.page-header {
  padding: clamp(44px, 6.5vw, 64px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-style: italic;
  max-width: 820px;
}
.page-header p.lede {
  margin-top: 22px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Footer --------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 80px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,247,240,0.14);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-display); font-size: 1.7rem; font-style: italic; }
.footer-brand p { color: rgba(250,247,240,0.6); margin-top: 14px; font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 400;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(250,247,240,0.75); font-size: 0.94rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: rgba(250,247,240,0.5);
}

/* Fade-in on scroll ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Lightbox ------------------------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(22,21,15,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border: 1px solid rgba(250,247,240,0.2); }
.lightbox .lb-cap {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  text-align: center; color: var(--paper);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.lightbox .lb-close {
  position: absolute; top: 28px; right: 32px;
  color: var(--paper); font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; background: none; border: none;
}
.lightbox .lb-close:hover { color: var(--orange); }
@media (max-width: 560px) {
  .lightbox { padding: 20px; }
  .lightbox .lb-close { top: 12px; right: 14px; }
  .lightbox .lb-cap { bottom: 16px; font-size: 10px; padding: 0 20px; }
}

/* Small-screen refinements ------------------------------------------------------------------ */
@media (max-width: 560px) {
  .cta-band h2 { font-size: 1.9rem; }
  .cta-band .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-band .hero-actions .btn { justify-content: center; }
  .page-header h1 { font-size: 2.1rem; }
  .section-head h2 { font-size: 1.85rem; }
  .quote-block { font-size: 1.35rem; }
  .stat .num { font-size: 1.5rem; }
  .brand img { height: 32px; }
  .work-card .overlay h4 { font-size: 1.1rem; }
}

/* Misc ------------------------------------------------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.gold { color: var(--gold); }
.orange { color: var(--orange); }
