/* phonenetic — bold editorial tech news (original; not affiliated with any brand) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafafa;
  --fg: #0a0a0a;
  --muted: #4a4a4a;
  --accent: #e10600;
  --accent-dark: #b00500;
  --card: #fff;
  --line: #e5e5e5;
  --dark: #111;
  --dark-fg: #f2f2f2;
  --max: 720px;
  --wide: 1100px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--fg); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.placeholder {
  background: #fff3cd;
  border-left: 3px solid #e6a800;
  padding: 0.2em 0.45em;
  font-style: italic;
  color: #5c4a00;
  display: inline;
}

/* Chrome */
.topbar {
  background: var(--dark);
  color: var(--dark-fg);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  text-align: center;
}
.site-header {
  border-bottom: 4px solid var(--fg);
  background: var(--card);
}
.nav {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--fg);
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  list-style: none; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }

/* Featured hero */
.featured {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 2.5rem;
  background: var(--card);
  border: 1px solid var(--line);
}
@media (min-width: 800px) {
  .featured { grid-template-columns: 1.2fr 1fr; }
}
.featured-art {
  min-height: 220px;
  background: linear-gradient(145deg, #1a1a1a 0%, #333 40%, var(--accent) 100%);
  overflow: hidden;
  position: relative;
}
.featured-art img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.featured-body { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.topic {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.featured-body h1 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.featured-body h1 a { text-decoration: none; }
.featured-body .deck {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.meta { font-size: 0.8rem; color: var(--muted); }

/* Story list */
.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--fg);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.story-list { list-style: none; margin-bottom: 3rem; }
.story-item {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .story-item { grid-template-columns: 140px 1fr; align-items: start; }
}
.story-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(120deg, #222, #555);
  border-radius: 4px;
  overflow: hidden;
}
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-item h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.story-item h2 a { text-decoration: none; }
.story-item .deck { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }

/* Article */
.article-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.article-wrap .topic { margin-bottom: 0.75rem; }
.article-wrap h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.article-wrap .deck {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.article-hero-art {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #111 0%, #444 50%, var(--accent-dark) 100%);
  margin: 1.5rem 0 2rem;
  border-radius: 4px;
  overflow: hidden;
}
.article-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-art figcaption,
.hero-caption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-family: var(--sans);
}
.prose {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1a1a1a;
}
.prose p { margin-bottom: 1.35rem; }
.prose h2 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.85rem;
}
.prose a { color: var(--accent-dark); }

.site-footer {
  background: var(--dark);
  color: #999;
  padding: 2.5rem 1.25rem;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer a { color: #ccc; }
.site-footer strong { color: #fff; display: block; margin-bottom: 0.5rem; font-size: 1rem; }
