:root {
  --bg: #f6f4f0;
  --bg-alt: #ece8e0;
  --dark: #111111;
  --dark-soft: #1c1c1c;
  --ink: #161616;
  --muted: #5f5b55;
  --light-ink: #f2efe9;
  --light-muted: #b2aba0;
  --line: rgba(22, 22, 22, 0.14);
  --line-dark: rgba(242, 239, 233, 0.16);
  --serif: 'Courier Prime', 'Courier New', Courier, monospace;
  --sans: 'Courier Prime', 'Courier New', Courier, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 90vw);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5vw;
  background: rgba(246, 244, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.3rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

/* HERO */
.hero {
  padding: 7.5rem 0 6.5rem;
}

.eyebrow,
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}

.hero-title em {
  font-style: italic;
  color: var(--muted);
}

.hero-sub {
  max-width: 700px;
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 2.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* SECTIONS */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
  color: var(--light-ink);
}

.section-dark .section-label {
  color: var(--light-muted);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
}

.text-link:hover {
  border-color: var(--ink);
}

/* MANIFESTO */
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--light-ink);
  margin-bottom: 2rem;
}

.manifesto-note {
  color: var(--light-muted);
  font-size: 0.98rem;
  max-width: 660px;
}

/* CLIENTS STRIP */
.clients-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}

.clients-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.clients-list {
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--ink);
  opacity: 0.82;
}

.clients-list span {
  color: var(--muted);
  margin: 0 0.35rem;
}

/* WORKS */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}

.work-featured {
  grid-column: 1 / -1;
}

.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  overflow: hidden;
  margin-bottom: 1.1rem;
  border: 0;
  padding: 0;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  cursor: pointer;
}

.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.35s ease;
  filter: brightness(0.92);
}

.video-poster:hover img {
  transform: scale(1.025);
  filter: brightness(0.78);
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(246, 244, 240, 0.72);
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.play-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #f6f4f0;
}

.video-poster:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(17, 17, 17, 0.72);
  border-color: #f6f4f0;
}

.work-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.work-meta h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.work-meta p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 68ch;
}

.showcase-banner {
  margin-top: 4rem;
  padding: 2.4rem;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.showcase-banner h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.showcase-banner p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.pillar-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.pillar p {
  font-size: 0.93rem;
  color: var(--muted);
}

.pillar-clients {
  margin-top: 1.1rem;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  color: var(--ink) !important;
  opacity: 0.78;
}

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-sub {
  color: var(--light-muted);
  margin-top: 1.1rem;
  max-width: 480px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2.2rem;
}

.contact-link {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--light-ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--light-ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.55rem 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field select option {
  background: var(--dark);
  color: var(--light-ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--light-ink);
}

.btn-light {
  align-self: flex-start;
  background: var(--light-ink);
  color: var(--dark);
  border: 1px solid var(--light-ink);
  cursor: pointer;
  margin-top: 0.4rem;
}

.btn-light:hover {
  background: transparent;
  color: var(--light-ink);
}

.form-status {
  font-size: 0.85rem;
  color: var(--light-muted);
  min-height: 1.3rem;
}

.contact-link:hover {
  opacity: 0.72;
}

.contact-loc {
  color: var(--light-muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
}

.social-links a {
  color: var(--light-ink);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-links a:hover {
  opacity: 0.7;
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: var(--light-muted);
  border-top: 1px solid var(--line-dark);
  padding: 1.8rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* CV PAGE */
.nav-active {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
}

.cv-hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.back-link:hover {
  color: var(--ink);
}

.cv-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 0.5rem;
}

.cv-alias {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.cv-lead {
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 1.8rem;
}

.cv-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.cv-meta-bar a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.cv-meta-bar a:hover {
  border-color: var(--ink);
}

.cv-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.cv-heading {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 1.6rem;
}

.cv-body {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 72ch;
}

.cv-item {
  margin-bottom: 2.6rem;
}

.cv-item:last-child {
  margin-bottom: 0;
}

.cv-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.cv-item-head h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.cv-date {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cv-org {
  font-size: 0.88rem;
  color: var(--ink);
  opacity: 0.78;
  margin-bottom: 1rem;
}

.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cv-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.cv-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink);
  opacity: 0.45;
}

.cv-two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}

.cv-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cv-tags li {
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  color: var(--ink);
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .works-grid,
  .pillars-grid,
  .contact-wrap,
  .cv-two-col {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a:not(.nav-mobile-keep) {
    display: none;
  }

  .hero {
    padding: 5rem 0 4.5rem;
  }
}
