:root {
  --ink: #000000;
  --ink-soft: #0e0e0e;
  --white: #ffffff;
  --surface: #f4f4f2;
  --line-dark: rgba(255,255,255,0.12);
  --line-light: #d8d8d4;
  --muted-light: #8a8a86;
  --muted-dark: rgba(255,255,255,0.55);
  --soft-dark: rgba(255,255,255,0.75);
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap.narrow { max-width: 720px; }

/* ============ HEADER ============ */
.site-header {
  background: var(--ink);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.logo-tag { font-weight: 500; font-size: 9px; letter-spacing: 0.2em; color: var(--muted-dark); margin-top: 4px; text-transform: uppercase; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-right a {
  font-size: 13px;
  font-weight: 500;
  color: var(--soft-dark);
}
.nav-right a:hover { color: var(--white); }
.nav-right .cta {
  background: var(--white);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-right .cta:hover { color: var(--ink); opacity: 0.85; }
.nav-right a.active { color: var(--white); position: relative; }
.nav-right a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--white); border-radius: 2px; }

/* ============ HERO ============ */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  background: #000;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.88) 50%, rgba(0,0,0,0.98) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .inner { position: relative; z-index: 3; }
.hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft-dark);
  padding: 8px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero h1 .chrome {
  background: linear-gradient(180deg,
    #fafafa 0%, #ffffff 18%, #c8c8c8 42%,
    #707070 62%, #4a4a4a 82%, #b0b0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.hero .lede {
  font-size: 17px;
  color: var(--soft-dark);
  max-width: 56ch;
  margin: 0 auto 42px;
  line-height: 1.55;
}

/* ============ CAPTURE FORM ============ */
.capture { max-width: 540px; margin: 0 auto; }
.capture-form {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 5px;
}
.capture-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 22px;
  font-size: 15px;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--white);
  outline: none;
  font-weight: 500;
}
.capture-form input[type="email"]::placeholder { color: var(--muted-dark); }
.capture-form button {
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.05s;
  white-space: nowrap;
}
.capture-form button:hover { opacity: 0.85; }
.capture-form button:active { transform: scale(0.98); }
.capture-form button:disabled { opacity: 0.4; cursor: not-allowed; }
.capture-fine {
  font-size: 12px;
  color: var(--muted-dark);
  margin-top: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.capture-success {
  display: none;
  margin-top: 14px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.capture-success::before { content: "✓  "; }
.capture-error {
  display: none;
  margin-top: 12px;
  padding: 11px 20px;
  background: rgba(255,80,80,0.15);
  border: 1px solid rgba(255,100,100,0.3);
  border-radius: 999px;
  color: #ff8080;
  font-size: 13px;
}

/* ============ RECENT TEASER (homepage) ============ */
.recent-teaser {
  background: var(--surface);
  color: var(--ink);
  padding: 80px 0 100px;
}
.recent-teaser .teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.recent-teaser .eyebrow-small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.recent-teaser h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  text-transform: none;
}
.archive-link-light {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.archive-link-light:hover { opacity: 0.7; }

/* ============ JOURNAL SECTION ============ */
.journal {
  background: var(--surface);
  color: var(--ink);
  padding: 100px 0;
}
.journal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.journal-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.journal-head h2 .grey { color: var(--muted-light); }
.journal-head .meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* FEATURED */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
}
.featured-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  display: block;
}
.featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 14px;
}
.featured h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.featured h3 a:hover { opacity: 0.75; }
.featured p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.55;
  margin-bottom: 22px;
}
.post-meta {
  font-size: 12px;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}
.post-meta .dot { margin: 0 8px; opacity: 0.6; }

/* POST GRID */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.posts.archive-grid { grid-template-columns: repeat(3, 1fr); }
.post {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s;
}
.post:hover { transform: translateY(-3px); border-color: var(--ink); }
.post-img {
  aspect-ratio: 5/3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  display: block;
}
.post-body { padding: 20px 22px; }
.post h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin: 6px 0 12px;
}
.post h4 a:hover { opacity: 0.75; }

.journal-foot { text-align: center; margin-top: 48px; }
.archive-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.archive-link:hover { opacity: 0.7; }

/* ============ SINGLE POST ============ */
.single-post { background: var(--surface); color: var(--ink); }
.single-header {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.single-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.single-header .inner { position: relative; z-index: 1; }
.single-header .post-tag { color: var(--soft-dark); margin-bottom: 22px; }
.single-header h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  margin: 0 auto 22px;
  max-width: 22ch;
}
.single-header .post-meta { color: var(--soft-dark); }
.single-hero-img {
  max-width: 820px;
  width: 100%;
  margin: 0 auto 50px;
  padding: 32px 32px 0;
  box-sizing: border-box;
  display: block;
}
.single-hero-img img,
.single-hero-photo {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 460px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.single-body {
  padding-bottom: 80px;
  font-size: 17px;
  color: #2a2a2a;
  line-height: 1.7;
}
.single-body p { margin-bottom: 22px; }
.single-body h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 44px 0 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.single-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.single-body a {
  color: var(--ink);
  border-bottom: 1px solid #bbb;
  padding-bottom: 1px;
}
.single-body a:hover { border-color: var(--ink); }
.single-body blockquote {
  border-left: 3px solid var(--ink);
  padding-left: 22px;
  margin: 28px 0;
  font-style: italic;
  color: #555;
}
.single-body ul, .single-body ol {
  margin: 0 0 22px 22px;
}
.single-body li { margin-bottom: 8px; }
.single-body img { border-radius: 10px; margin: 22px 0; }
.single-body code {
  background: rgba(0,0,0,0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* Inline CTA at end of post */
.post-cta {
  background: var(--ink);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.post-cta .inner { position: relative; z-index: 1; }
.post-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.post-cta h2 .chrome {
  background: linear-gradient(180deg,
    #fafafa 0%, #ffffff 18%, #c8c8c8 42%,
    #707070 62%, #4a4a4a 82%, #b0b0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.post-cta .lede {
  color: var(--soft-dark);
  font-size: 14px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

/* ============ ARCHIVE ============ */
.archive-hero {
  background: var(--ink);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
}
.archive-hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}
.archive-hero h1 .chrome {
  background: linear-gradient(180deg,
    #fafafa 0%, #ffffff 18%, #c8c8c8 42%,
    #707070 62%, #4a4a4a 82%, #b0b0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.archive-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft-dark);
  padding: 8px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  margin-bottom: 24px;
}
.archive-lede {
  font-size: 17px;
  color: var(--soft-dark);
  max-width: 56ch;
  margin: 22px auto 0;
  line-height: 1.55;
}

.pagination {
  margin-top: 56px;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 4px;
}
.pagination .current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.empty {
  text-align: center;
  font-size: 16px;
  color: var(--muted-light);
  padding: 60px 0;
}

/* ============ 404 ============ */
.not-found {
  background: var(--ink);
  color: var(--white);
  padding: 140px 0;
  text-align: center;
}
.not-found .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft-dark);
  padding: 8px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  margin-bottom: 28px;
}
.not-found h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.not-found h1 .chrome {
  background: linear-gradient(180deg, #fafafa, #c8c8c8 50%, #707070);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.not-found .lede {
  color: var(--soft-dark);
  max-width: 50ch;
  margin: 0 auto;
  font-size: 16px;
}
.btn-pill {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn-pill.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-dark);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 12px;
}
.site-footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 20px;
}
.foot-cta {
  background: var(--white);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot-cta:hover { opacity: 0.85; }
.site-footer .foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer .foot-bot a:hover { color: var(--white); }
.site-footer .foot-bot .links { display: flex; gap: 22px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured-body { padding: 28px; }
  .posts, .posts.archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .site-header { padding: 16px 0; }
  .site-header .header-row { gap: 12px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-name { font-size: 13px; letter-spacing: 0.04em; }
  .logo-tag { display: none; }
  .nav-right { gap: 14px; }
  .nav-right a:not(.cta) { font-size: 12px; }
  .nav-right .cta { padding: 8px 14px; font-size: 11px; }
  .hero { padding: 70px 0 60px; }
  .hero .eyebrow { font-size: 10px; padding: 6px 14px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(38px, 11vw, 64px); line-height: 0.96; margin-bottom: 20px; }
  .hero .lede { font-size: 15px; margin-bottom: 30px; }
  .capture-form { padding: 4px; }
  .capture-form input[type="email"] { padding: 12px 18px; font-size: 14px; }
  .capture-form button { padding: 12px 18px; font-size: 11px; }
  .recent-teaser { padding: 60px 0 70px; }
  .recent-teaser h2 { font-size: 26px; }
  .recent-teaser .teaser-head { align-items: flex-start; }
  .archive-link-light { font-size: 11px; }
  .single-header { padding: 50px 0 40px; }
  .single-header h1 { font-size: clamp(26px, 7vw, 40px); }
  .single-hero-img { margin: 0 auto 32px; padding: 22px 20px 0; max-width: 100%; }
  .single-hero-img img, .single-hero-photo { max-height: 260px; border-radius: 10px; }
  .single-body { font-size: 16px; padding-bottom: 60px; }
  .single-body h2 { font-size: 22px; margin: 32px 0 12px; }
  .single-body h3 { font-size: 18px; margin: 24px 0 10px; }
  .post-cta { padding: 60px 0; }
  .post-cta h2 { font-size: clamp(24px, 7vw, 40px); }
  .archive-hero { padding: 60px 0; }
  .archive-hero h1 { font-size: clamp(32px, 9vw, 60px); }
  .journal { padding: 60px 0; }
  .journal-head h2 { font-size: 26px; }
  .post-body { padding: 18px 20px; }
  .site-footer { padding: 40px 0 24px; }
  .site-footer .foot-top { gap: 16px; }
  .site-footer .foot-bot { font-size: 11px; }
  .not-found { padding: 80px 0; }
  .not-found h1 { font-size: clamp(36px, 10vw, 60px); }
}
