/* ============================================================
   KNOLL PRODUCTIONS — v3
   Monochrome system + light/dark theme toggle.
   Real client logos swap in via .logo-dark / .logo-light,
   shown/hidden per [data-theme] on <html>.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg: #0a0a0a;
  --bg-rgb: 10,10,10;
  --bg-raised: #141414;
  --white: #f5f5f5;
  --white-dim: rgba(245,245,245,0.6);
  --white-faint: rgba(245,245,245,0.14);
  --line: rgba(245,245,245,0.18);
  --shadow: rgba(0,0,0,0.6);

  --font: 'Archivo', sans-serif;

  --max: 1400px;
  --gutter: clamp(24px, 5vw, 64px);
}

[data-theme="light"]{
  --bg: #f3eee3;
  --bg-rgb: 243,238,227;
  --bg-raised: #e8e0cf;
  --white: #17150f;
  --white-dim: rgba(23,21,15,0.62);
  --white-faint: rgba(23,21,15,0.14);
  --line: rgba(23,21,15,0.16);
  --shadow: rgba(23,21,15,0.16);
}

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

body{
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

.eyebrow{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ---------- theme-aware logo swap ---------- */
.logo-dark{ display: block; }
.logo-light{ display: none; }
[data-theme="light"] .logo-dark{ display: none; }
[data-theme="light"] .logo-light{ display: block; }

/* ---------- nav ---------- */
.site-header{
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
}

.site-header.solid{
  position: sticky;
  background: rgba(var(--bg-rgb), 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
  gap: 20px;
}

.brand-logo{ display: block; }
.brand-logo img{ height: 22px; width: auto; }

.nav-right{
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links{
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a{ color: var(--white-dim); transition: color 0.2s ease; }
.nav-links a:hover,
.nav-links a[aria-current="page"]{ color: var(--white); }

.theme-toggle{
  width: 42px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle-dot{
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s ease;
}
[data-theme="light"] .theme-toggle-dot{ transform: translateX(18px); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--white); }

/* ---------- hero ---------- */
.hero{
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-inner{
  position: relative;
  text-align: center;
}

.slate-stack{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 20vw, 260px);
  height: clamp(200px, 25vw, 320px);
  z-index: 1;
}

.slate{
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-raised);
  box-shadow: 0 30px 60px var(--shadow);
}
.slate-1{ transform: rotate(-9deg) translate(-14px, 8px); }
.slate-2{ transform: rotate(7deg) translate(16px, -6px); }
.slate-3{
  transform: rotate(-2deg);
  background:
    repeating-linear-gradient(135deg, rgba(128,128,128,0.08) 0 2px, transparent 2px 14px),
    var(--bg-raised);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.slate-3 span{
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-faint);
}

.hero-headline{
  position: relative;
  z-index: 2;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.84;
  font-size: clamp(64px, 12vw, 168px);
  letter-spacing: -0.01em;
}

.hero-eyebrow{ position: relative; z-index: 2; margin-bottom: 18px; }

.hero-sub{
  position: relative;
  z-index: 2;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.hero-footer{ position: absolute; bottom: 40px; left: 0; right: 0; }

.hero-footer-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ---------- sections ---------- */
section{ padding-top: clamp(56px, 8vw, 108px); padding-bottom: clamp(56px, 8vw, 108px); }

.section-heading{
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.94;
  margin-top: 10px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

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

.lede{ font-size: 20px; font-weight: 500; max-width: 62ch; color: var(--white); }

.body-col{ max-width: 62ch; color: var(--white-dim); }
.body-col p + p{ margin-top: 16px; }

/* ---------- about page: two labeled columns instead of duplicated headings ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.field-label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 14px;
}

@media (max-width: 860px){
  .about-grid{ grid-template-columns: 1fr; }
}

/* ---------- project teaser ---------- */
.teaser{
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.teaser-logo img{ max-width: 320px; width: 100%; height: auto; }

.teaser-desc{ margin-top: 18px; color: var(--white-dim); max-width: 56ch; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--white-faint);
  padding: 14px 22px;
  border-radius: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover{ border-color: var(--white); }

/* ---------- gallery-style grid (team + projects share this) ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-thumb{
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(128,128,128,0.08) 0 2px, transparent 2px 16px),
    var(--bg-raised);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.gallery-thumb.work{ aspect-ratio: 16/9; }

.gallery-thumb span{
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-faint);
}

.play-ring{
  width: 48px; height: 48px;
  border: 1.5px solid var(--white-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-ring::after{
  content: "";
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--white-faint);
  margin-left: 3px;
}

.gallery-title{ font-weight: 700; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }

.gallery-count{
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--white-dim); margin-top: 4px;
}

.gallery-link{
  display: inline-block; margin-top: 8px; font-size: 12px;
  color: var(--white-dim); border-bottom: 1px solid var(--line);
}
.gallery-link:hover{ color: var(--white); border-color: var(--white-dim); }

.notice{
  margin-top: 48px;
  border: 1px dashed var(--white-faint);
  border-radius: 2px;
  padding: 22px 26px;
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ---------- contact ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.contact-block + .contact-block{ margin-top: 32px; }
.contact-label{
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white-dim); margin-bottom: 8px;
}
.contact-value{ font-size: 24px; font-weight: 600; }
.contact-value a:hover{ color: var(--white-dim); }

/* ---------- footer ---------- */
.site-footer{ border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 32px; }
.footer-row{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--white-faint);
}
.footer-row a:hover{ color: var(--white-dim); }

/* ---------- responsive ---------- */
@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; }
  .teaser{ grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px){
  .site-header{ position: sticky; background: rgba(var(--bg-rgb), 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .nav-links{
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter) 28px;
    gap: 18px;
    display: none;
  }
  .nav-links.open{ display: flex; }
  .nav-toggle{ display: flex; }
}
