/* ===== Colors & fonts — change these to restyle the whole site ===== */
:root {
  --bg: #f4ece1;          /* cream background */
  --text: #2a231d;        /* dark brown-black text */
  --muted: #6b5f55;       /* small gray-brown text */
  --accent: #c0502a;      /* rust-orange links */
  --card-dark: #121418;   /* dark profile card */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

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

/* Overall text scale: raise or lower this one number to resize ALL text */
html { font-size: 115%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.75;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; width: 100%; height: 100%; object-fit: cover; background: #d9cfc2; }
figure { margin: 0; }

main { max-width: 980px; margin: 0 auto; padding: 0 24px 160px; }

/* ===== Header ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(42, 35, 29, 0.12);
}
.site-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--text);
}
.header-meta { text-align: right; font-family: var(--sans); font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.header-meta a { color: var(--muted); }

/* ===== Intro ===== */
.intro { padding-top: 22px; }
.intro h1 { font-size: 2.5rem; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.intro p { font-size: 1.15rem; }
.strong-link { font-weight: 600; text-decoration: underline; }

/* ===== Image + text side by side ===== */
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; margin-top: 22px; align-items: start; }
.split-image { aspect-ratio: 3 / 4; }
.split-text h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
.split-text p { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.split-text blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-top: 12px;
  font-style: italic;
  font-size: 1.05rem;
  max-width: 400px;
}
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Social box as an image ===== */
.social-image { margin-top: 48px; }
.social-image img { width: 100%; height: auto; object-fit: contain; background: none; }

/* ===== Image + big headline ===== */
.feature { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; margin-top: 56px; align-items: center; }
.feature-image { aspect-ratio: 5 / 8; }
.feature-text h2 { font-family: var(--sans); font-weight: 600; font-size: 3rem; line-height: 1.2; margin-bottom: 18px; }
.feature-quote { font-family: var(--sans); font-style: italic; font-size: 1.85rem; line-height: 1.45; }

/* ===== Two images side by side ===== */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; align-items: start; }
.card { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #000; padding: 4px; }

/* ===== Dark profile card ===== */
.profile-card {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 48px;
  padding: 36px 48px;
  background: var(--card-dark);
  color: #f2f2f2;
  font-family: var(--sans);
}
.avatar { width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; }
.profile-handle { font-size: 1.8rem; font-weight: 600; }
.profile-handle span { color: #aaa; font-size: 1rem; }
.profile-name { font-size: 0.95rem; margin-bottom: 10px; }
.profile-stats { display: flex; gap: 22px; margin-bottom: 14px; }
.profile-bio { font-size: 0.95rem; line-height: 1.4; }

/* ===== Footer ===== */
.site-footer {
  display: flex;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }

/* ===== Phones ===== */
@media (max-width: 700px) {
  .split, .feature, .pair { grid-template-columns: 1fr; }
  .feature-text h2 { font-size: 2rem; }
  .profile-card { flex-direction: column; text-align: center; padding: 28px; }
  .profile-stats { justify-content: center; }
  .site-header, .site-footer { flex-direction: column; gap: 6px; text-align: center; }
  .header-meta { text-align: center; }
}

.video-wrap { position: relative; width: 100%; height: 100%; }
.unmute {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.6); color: #fff;
  border: none; border-radius: 50%;
  width: 44px; height: 44px; font-size: 20px; cursor: pointer;
}

/* ===== X posts side by side ===== */
.x-posts {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}
.x-posts .twitter-tweet,
.x-posts .twitter-tweet-rendered {
  margin: 0 !important;
  flex: 0 1 450px;
}
.x-posts iframe {
  margin: 0 !important;
}