/*
Theme Name: ERIC KIM AI First
Theme URI: https://erickimphotography.com/blog/
Author: ERIC KIM
Author URI: https://erickimphotography.com/
Description: Ultra-fast, photography-first, human-artist WordPress theme with semantic HTML, machine-readable publishing metadata, no external fonts, and no theme JavaScript.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: erickim-ai-first
Tags: blog, photography, one-column, custom-logo, featured-images, accessibility-ready
*/

:root {
  --ink: #0a0a09;
  --paper: #fbfaf6;
  --paper-deep: #f1efe8;
  --muted: #6b6963;
  --line: #d8d4ca;
  --accent: #d31212;
  --measure: 760px;
  --wide: 1240px;
  --pad: clamp(20px, 4.6vw, 64px);
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

::selection { color: var(--paper); background: var(--ink); }
img, picture, video, iframe { max-width: 100%; height: auto; }
figure { margin: clamp(2.2rem, 5vw, 4.5rem) 0; }
figcaption {
  max-width: 46rem;
  margin-top: .75rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .68em;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .035em;
}

a { color: inherit; text-decoration-thickness: .065em; text-underline-offset: .18em; }
a:hover, a:focus-visible { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

h1, h2, h3, h4, h5, h6 {
  margin: 1.7em 0 .5em;
  font-family: var(--sans);
  font-weight: 950;
  line-height: .92;
  letter-spacing: -.055em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9vw, 7.8rem); }
h2 { font-size: clamp(2rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 3vw, 2.65rem); }
p, ul, ol, blockquote, pre, table { margin: 0 0 1.42em; }
ul, ol { padding-left: 1.25em; }
blockquote {
  margin: clamp(2rem, 5vw, 4rem) 0;
  padding: .1em 0 .1em clamp(18px, 3vw, 34px);
  border-left: 3px solid var(--ink);
  font-size: clamp(1.28em, 2.3vw, 1.72em);
  font-style: italic;
  line-height: 1.34;
}
blockquote p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--ink); margin: clamp(3rem, 8vw, 6rem) 0; }
code, pre, kbd, samp { font-family: var(--mono); }
pre { overflow-x: auto; padding: 1rem 1.1rem; border: 1px solid var(--line); background: #fff; font-size: .78em; line-height: 1.5; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed !important; top: 12px; left: 12px; z-index: 99999; width: auto; height: auto; padding: .8rem 1rem; clip: auto; background: #fff; color: #000; font: 800 .85rem/1 var(--sans); }

/* Masthead */
.site-header {
  position: relative;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(251,250,246,.98);
}
.header-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(18px, 3vw, 28px) var(--pad) 15px; }
.brand-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.site-branding a { text-decoration: none; }
.site-title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 1000;
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.site-description {
  max-width: 45rem;
  margin: 9px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .64em;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.custom-logo { display: block; max-height: 66px; width: auto; }

.primary-nav { margin-top: clamp(16px, 3vw, 26px); padding-top: 13px; border-top: 1px solid var(--line); }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 7px clamp(18px, 3vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative;
  font-family: var(--sans);
  font-size: .62em;
  font-weight: 900;
  letter-spacing: .105em;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  border-bottom: 2px solid currentColor;
  transition: right 140ms ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }

.site-main { min-height: 70vh; }

/* Homepage editorial cover */
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(46px, 9vw, 124px) var(--pad) clamp(44px, 7vw, 94px);
  border-bottom: 1px solid var(--ink);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .55fr); gap: clamp(36px, 7vw, 110px); align-items: end; }
.hero-main { min-width: 0; }
.hero-side { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-left: clamp(18px, 3vw, 34px); border-left: 1px solid var(--line); }
.hero-kicker {
  margin: 0 0 clamp(22px, 4vw, 42px);
  font-family: var(--sans);
  font-size: .61em;
  font-weight: 900;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.hero-kicker::before { content: "●"; margin-right: .72em; color: var(--accent); font-size: .76em; }
.hero-title {
  max-width: 980px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(4.6rem, 13.5vw, 11rem);
  font-weight: 1000;
  line-height: .72;
  letter-spacing: -.09em;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title .hero-title-serif {
  margin-top: .11em;
  font-family: var(--serif);
  font-size: .72em;
  font-style: italic;
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.07em;
  text-transform: none;
}
.hero-copy {
  max-width: 30rem;
  margin: 0 0 clamp(28px, 5vw, 46px);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.42;
}
.hero-mantra { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.hero-mantra li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .59em;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-mantra li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }

.search-form { display: flex; max-width: 760px; margin-top: clamp(30px, 5vw, 52px); border-bottom: 1px solid var(--ink); }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 51px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); font: italic 1.05rem/1.25 var(--serif); }
.search-field::placeholder { color: #8d8a83; opacity: 1; }
.search-submit {
  border: 0;
  padding: 0 0 0 18px;
  background: transparent;
  color: var(--ink);
  font: 900 .68rem/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.search-submit:hover, .search-submit:focus-visible { color: var(--accent); }

/* Archives */
.loop, .archive-header, .single-wrap, .page-wrap, .not-found { max-width: var(--wide); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.loop { padding-top: 0; }
.archive-header { padding-top: clamp(50px, 8vw, 98px); padding-bottom: clamp(30px, 5vw, 60px); border-bottom: 1px solid var(--ink); }
.archive-title { margin: 0; font-size: clamp(3rem, 8vw, 7rem); text-transform: uppercase; }
.archive-description { max-width: var(--measure); margin-top: 20px; color: var(--muted); font-size: 1.03em; }

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(48px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--ink);
  content-visibility: auto;
  contain-intrinsic-size: 680px;
}
.post-card:nth-child(even) .post-card-media { order: 2; }
.post-card:nth-child(even) .post-card-copy { order: 1; }
.post-card--featured { display: block; padding-top: clamp(54px, 9vw, 112px); }
.post-card-media { display: block; margin: 0; overflow: hidden; background: var(--paper-deep); }
.post-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.88) contrast(1.025);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), filter 280ms ease;
}
.post-card-media:hover img { transform: scale(1.012); filter: saturate(1) contrast(1.04); }
.post-card--featured .post-card-media { margin-bottom: clamp(28px, 5vw, 54px); }
.post-card--featured .post-card-media img { aspect-ratio: 16 / 9; max-height: 78vh; }
.post-card--featured .post-card-copy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.post-card--featured .post-card-copy-main { min-width: 0; }
.post-card--featured .post-card-copy-aside { padding-top: 3px; }

.eyebrow, .entry-meta {
  color: var(--muted);
  font-family: var(--sans);
  font-size: .61em;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.eyebrow { color: var(--ink); }
.eyebrow::before { content: "—"; margin-right: .65em; }
.post-card-title { max-width: 1040px; margin: 12px 0 18px; font-size: clamp(2.3rem, 5vw, 5.6rem); }
.post-card--featured .post-card-title { margin-top: 8px; font-size: clamp(3.2rem, 7.7vw, 8rem); }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { color: var(--ink); }
.post-card-title a:hover::after { content: " ↗"; color: var(--accent); font-size: .42em; vertical-align: .18em; }
.post-card-excerpt { max-width: 42rem; margin-top: 22px; font-size: .98em; line-height: 1.57; }
.post-card--featured .post-card-excerpt { margin-top: 0; font-size: 1.04em; }
.read-more {
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-family: var(--sans);
  font-size: .63em;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pagination { max-width: var(--wide); margin: 0 auto; padding: 44px var(--pad) 70px; }
.nav-links { display: flex; gap: 10px 20px; flex-wrap: wrap; align-items: center; }
.page-numbers { font-family: var(--sans); font-size: .76em; font-weight: 850; }

/* Single essay */
.single-wrap, .page-wrap { padding-top: clamp(54px, 9vw, 118px); padding-bottom: clamp(80px, 11vw, 150px); }
.entry-header { max-width: 1120px; margin-bottom: clamp(42px, 7vw, 86px); }
.entry-title { margin: 12px 0 24px; overflow-wrap: anywhere; font-size: clamp(3.3rem, 8.7vw, 8.8rem); }
.entry-deck {
  max-width: 46rem;
  margin-top: 28px;
  color: #3f3e3a;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-style: italic;
  line-height: 1.43;
}
.hero-image { width: 100%; margin: 0 0 clamp(52px, 9vw, 104px); }
.hero-image img { display: block; width: 100%; max-height: 90vh; object-fit: contain; background: var(--paper-deep); }
.entry-content { max-width: var(--measure); }
.entry-content > :first-child { margin-top: 0; }
.entry-content > p:first-of-type { font-size: 1.08em; }
.entry-content > p:first-of-type::first-letter {
  float: left;
  margin: .07em .12em 0 0;
  font-family: var(--sans);
  font-size: 4.2em;
  font-weight: 950;
  line-height: .72;
  letter-spacing: -.08em;
}
.entry-content h2, .entry-content h3 { scroll-margin-top: 24px; }
.entry-content h2 { margin-top: 1.9em; }
.entry-content img { display: block; }
.entry-content a { text-decoration-color: #99958d; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content .alignwide { width: min(var(--wide), calc(100vw - (2 * var(--pad)))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .78em; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--paper-deep); font-weight: 900; }
.entry-footer { max-width: var(--measure); margin-top: clamp(58px, 9vw, 100px); padding-top: 22px; border-top: 1px solid var(--ink); font-family: var(--sans); font-size: .67em; font-weight: 700; line-height: 1.6; }
.post-nav { max-width: var(--measure); margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav .nav-links { justify-content: space-between; }
.post-nav a { font-family: var(--sans); font-size: .76em; font-weight: 900; text-decoration: none; }

.page-wrap .entry-content { max-width: 900px; }
.not-found { padding-top: 80px; padding-bottom: 120px; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 70px) var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: .61em;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { text-decoration: none; }
.footer-inner a:hover { color: #fff; opacity: .7; }

.wp-caption, .gallery-caption { color: var(--muted); }
.sticky { border-top: 5px solid var(--accent); }
.bypostauthor { font-weight: inherit; }

@media (max-width: 900px) {
  .hero-grid, .post-card, .post-card--featured .post-card-copy { grid-template-columns: 1fr; }
  .hero-side { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .post-card:nth-child(even) .post-card-media, .post-card:nth-child(even) .post-card-copy { order: initial; }
  .post-card { gap: 28px; }
  .post-card--featured .post-card-copy-aside { max-width: 42rem; }
}

@media (max-width: 700px) {
  body { line-height: 1.61; }
  .site-header { border-top-width: 4px; }
  .header-inner { padding-top: 18px; }
  .primary-nav ul { gap: 10px 18px; }
  .hero { padding-top: 48px; }
  .hero-title { font-size: clamp(4.1rem, 22vw, 7.6rem); }
  .hero-mantra { grid-template-columns: 1fr; }
  .hero-mantra li:nth-child(even) { padding-left: 0; border-left: 0; }
  .post-card { contain-intrinsic-size: 580px; }
  .post-card-media img, .post-card--featured .post-card-media img { aspect-ratio: 4 / 3; }
  .entry-content .alignwide, .entry-content .alignfull { width: calc(100vw - 1px); }
  .entry-content > p:first-of-type::first-letter { font-size: 3.55em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .post-nav, .search-form { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
  .single-wrap, .page-wrap { max-width: none; padding: 0; }
  .entry-content { max-width: none; }
  .entry-content > p:first-of-type::first-letter { float: none; margin: 0; font: inherit; }
}


/* =========================================================
   1.2 — BOLD EDITION
   Manifesto-scale editorial design. Still zero theme JS.
   ========================================================= */

:root {
  --ink: #050505;
  --paper: #f7f4ed;
  --paper-deep: #eae5da;
  --muted: #5e5a52;
  --line: #bdb6a8;
  --accent: #ff2a00;
  --wide: 1380px;
  --measure: 780px;
}

body {
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(5,5,5,.055) 50%, transparent calc(50% + .5px)) var(--paper);
}

.site-header {
  border-top: 0;
  border-bottom: 0;
  background: var(--paper);
}
.site-header::before {
  content: "ERIC KIM  /  HUMAN ARTIST  /  PHOTOGRAPHY · PHILOSOPHY · LIFE";
  display: block;
  padding: 9px var(--pad) 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.header-inner {
  padding-top: clamp(24px, 4vw, 42px);
  padding-bottom: 0;
}
.brand-row { align-items: center; }
.site-title {
  font-size: clamp(3.2rem, 8vw, 7.7rem);
  line-height: .68;
  letter-spacing: -.1em;
}
.site-title::after {
  content: "®";
  display: inline-block;
  margin-left: .15em;
  font-size: .14em;
  vertical-align: top;
  letter-spacing: 0;
}
.site-description {
  max-width: 30rem;
  margin-top: 18px;
  color: var(--ink);
  font-size: .58em;
  letter-spacing: .16em;
}
.primary-nav {
  margin-top: clamp(24px, 4vw, 38px);
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.primary-nav ul { gap: 0; }
.primary-nav li { flex: 1 1 auto; }
.primary-nav a {
  display: block;
  padding: 13px clamp(12px, 2vw, 26px) 11px;
  border-right: 1px solid var(--ink);
  font-size: .58em;
  letter-spacing: .14em;
  text-align: center;
}
.primary-nav li:last-child a { border-right: 0; }
.primary-nav a::after { display: none; }
.primary-nav a:hover,
.primary-nav a:focus-visible { background: var(--ink); color: var(--paper); }

.hero {
  position: relative;
  max-width: none;
  padding: clamp(48px, 7vw, 94px) var(--pad) clamp(54px, 8vw, 112px);
  border-bottom: 6px solid var(--ink);
  overflow: hidden;
}
.hero::after {
  content: "EK";
  position: absolute;
  right: -.05em;
  bottom: -.21em;
  z-index: -1;
  color: rgba(5,5,5,.045);
  font-family: var(--sans);
  font-size: clamp(18rem, 45vw, 48rem);
  font-weight: 1000;
  line-height: .72;
  letter-spacing: -.13em;
}
.hero-grid {
  max-width: var(--wide);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, .48fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: stretch;
}
.hero-main { display: flex; flex-direction: column; justify-content: space-between; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: clamp(28px, 5vw, 58px);
  padding: 9px 12px 8px;
  background: var(--accent);
  color: #fff;
  font-size: .55em;
  letter-spacing: .17em;
}
.hero-kicker::before { display: none; }
.hero-title {
  max-width: none;
  font-size: clamp(5.5rem, 16.8vw, 15.5rem);
  line-height: .61;
  letter-spacing: -.105em;
}
.hero-title span { transform: translateX(-.045em); }
.hero-title .hero-title-serif {
  position: relative;
  margin-top: .16em;
  padding-left: .36em;
  font-size: .58em;
  line-height: .8;
}
.hero-title .hero-title-serif::before {
  content: "→";
  position: absolute;
  left: 0;
  top: .02em;
  font-family: var(--sans);
  font-size: .55em;
  font-style: normal;
  font-weight: 950;
}
.hero-side {
  border-left: 3px solid var(--ink);
  padding-left: clamp(22px, 3vw, 40px);
}
.hero-copy {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.hero-mantra { border-top-width: 3px; }
.hero-mantra li {
  padding: 13px 0 11px;
  border-bottom-color: var(--ink);
  font-size: .55em;
  letter-spacing: .12em;
}
.search-form {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
  border-bottom-width: 3px;
}
.search-field { min-height: 64px; font-size: 1.25rem; }
.search-submit { font-size: .62rem; }

.loop { max-width: var(--wide); }
.post-card {
  position: relative;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  padding: clamp(64px, 9vw, 130px) 0;
  border-bottom: 3px solid var(--ink);
}
.post-card::before {
  content: counter(post-card, decimal-leading-zero);
  counter-increment: post-card;
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  left: 0;
  font-family: var(--sans);
  font-size: .58em;
  font-weight: 950;
  letter-spacing: .12em;
}
.loop { counter-reset: post-card; }
.post-card--featured {
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  padding: clamp(58px, 8vw, 110px) var(--pad) clamp(70px, 10vw, 140px);
  background: var(--ink);
  color: var(--paper);
}
.post-card--featured::before { left: var(--pad); color: var(--paper); }
.post-card--featured .post-card-media {
  border: 1px solid rgba(255,255,255,.16);
  background: #111;
}
.post-card--featured .post-card-media img {
  aspect-ratio: 21 / 10;
  max-height: 82vh;
  filter: grayscale(1) contrast(1.08);
}
.post-card--featured .post-card-title {
  max-width: 1100px;
  font-size: clamp(4rem, 9.6vw, 10rem);
  line-height: .78;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.post-card--featured .eyebrow,
.post-card--featured .entry-meta { color: #bdb7ac; }
.post-card--featured .eyebrow { color: var(--paper); }
.post-card--featured .read-more {
  padding: 12px 16px 10px;
  border: 1px solid var(--paper);
  text-decoration: none;
}
.post-card--featured .read-more:hover { background: var(--paper); color: var(--ink); }

.post-card-media { outline: 1px solid var(--ink); outline-offset: -1px; }
.post-card-media img {
  aspect-ratio: 5 / 4;
  filter: grayscale(.86) contrast(1.075);
}
.post-card-media:hover img { transform: scale(1.018); filter: grayscale(0) contrast(1.04); }
.eyebrow { font-size: .56em; letter-spacing: .13em; }
.eyebrow::before { content: "●"; color: var(--accent); }
.post-card-title {
  margin-top: 18px;
  font-size: clamp(2.8rem, 6vw, 6.7rem);
  line-height: .82;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.post-card-excerpt { font-size: 1.03em; }
.read-more {
  margin-top: 18px;
  font-size: .58em;
  letter-spacing: .14em;
}

.archive-header {
  max-width: var(--wide);
  padding-top: clamp(66px, 9vw, 120px);
  padding-bottom: clamp(44px, 6vw, 76px);
  border-bottom: 5px solid var(--ink);
}
.archive-title {
  font-size: clamp(4.5rem, 12vw, 11.5rem);
  line-height: .7;
  letter-spacing: -.09em;
}

.single-wrap,
.page-wrap { max-width: var(--wide); }
.entry-header {
  position: relative;
  max-width: 1260px;
  padding-bottom: clamp(34px, 5vw, 62px);
  border-bottom: 5px solid var(--ink);
}
.entry-title {
  font-size: clamp(4rem, 11vw, 11.8rem);
  line-height: .72;
  letter-spacing: -.085em;
  text-transform: uppercase;
}
.entry-deck {
  max-width: 54rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}
.hero-image {
  width: calc(100% + (2 * var(--pad)));
  margin-left: calc(-1 * var(--pad));
  background: var(--ink);
}
.hero-image img {
  max-height: 92vh;
  filter: grayscale(.35) contrast(1.045);
}
.entry-content { font-size: clamp(1rem, 1.05vw, 1.08rem); }
.entry-content > p:first-of-type {
  font-size: clamp(1.2rem, 1.55vw, 1.38rem);
  line-height: 1.55;
}
.entry-content > p:first-of-type::first-letter {
  margin-right: .09em;
  font-size: 5.7em;
  line-height: .62;
}
.entry-content h2 {
  margin-top: 2.15em;
  padding-top: .2em;
  border-top: 3px solid var(--ink);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  text-transform: uppercase;
}
.entry-content h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
}
blockquote {
  width: min(1100px, calc(100vw - (2 * var(--pad))));
  max-width: none;
  margin-left: 0;
  padding: clamp(26px, 4vw, 54px);
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-style: normal;
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
}

.site-footer { border-top: 0; }
.footer-inner {
  position: relative;
  max-width: none;
  min-height: 240px;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(40px, 6vw, 72px);
  align-items: flex-end;
  overflow: hidden;
}
.footer-inner::before {
  content: "ERIC KIM";
  position: absolute;
  left: var(--pad);
  top: .16em;
  color: rgba(247,244,237,.07);
  font-size: clamp(7rem, 22vw, 22rem);
  font-weight: 1000;
  line-height: .72;
  letter-spacing: -.1em;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 900px) {
  body { background: var(--paper); }
  .primary-nav li { flex: 1 1 33.333%; }
  .primary-nav a { border-bottom: 1px solid var(--ink); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { border-left: 0; border-top: 3px solid var(--ink); padding-left: 0; padding-top: 28px; }
  .post-card--featured { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }
}

@media (max-width: 700px) {
  .site-header::before { text-align: left; white-space: nowrap; overflow: hidden; }
  .site-title { font-size: clamp(3.4rem, 18vw, 6rem); }
  .site-description { max-width: 100%; }
  .primary-nav li { flex-basis: 50%; }
  .hero { padding-top: 36px; }
  .hero-title { font-size: clamp(5rem, 27vw, 9rem); }
  .hero-title .hero-title-serif { padding-left: .42em; }
  .post-card { padding-top: 74px; }
  .post-card--featured .post-card-media img { aspect-ratio: 4 / 3; }
  .post-card--featured .post-card-title { font-size: clamp(3.3rem, 16vw, 6rem); }
  .post-card-title { font-size: clamp(2.8rem, 13vw, 5rem); }
  .entry-title { font-size: clamp(3.6rem, 17vw, 7rem); }
  blockquote { width: 100%; }
}
