/* camillabend.com: "To Bend or Not to Bend"
   Paper, ink and one Milanese terracotta. Sans-serif throughout. */

:root {
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --ink: #1d1b19;
  --ink-soft: #4a4540;
  --muted: #857c72;
  --rule: #ddd3c6;
  --accent: #b9472f;       /* terracotta */
  --accent-soft: #e8cfc2;  /* blush */
  --display: 'Jost', 'DM Sans', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --prose: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent-soft); }

.cb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.cb-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.cb-skip:focus { left: 8px; }

/* ── Header ── */
.cb-header { border-bottom: 1px solid var(--rule); }
.cb-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.cb-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.cb-logo-name { font-family: var(--display); font-weight: 500; font-size: 1.55rem; letter-spacing: .02em; }
.cb-logo-col { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 4px; font-weight: 600; }
.cb-nav { display: flex; gap: 22px; }
.cb-nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-soft); padding-bottom: 2px; border-bottom: 1.5px solid transparent; }
.cb-nav a:hover, .cb-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ── Type ── */
.cb-kicker { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.cb-display { font-family: var(--display); font-weight: 300; font-size: clamp(2.8rem, 7.4vw, 5.4rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 24px; }
.cb-display em, .cb-article h1 em { font-style: normal; color: var(--accent); }
.cb-section-label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.cb-section-label::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.cb-btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 14px 24px; border-radius: 999px; transition: background .2s; }
.cb-btn:hover { background: var(--accent); }

/* ── Placeholder sketch ── */
.cb-ph { width: 100%; background: repeating-linear-gradient(-45deg, var(--paper-2), var(--paper-2) 10px, var(--paper) 10px, var(--paper) 20px); border: 1.5px dashed var(--rule); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.cb-ph svg { width: 30%; max-width: 120px; color: var(--ink-soft); opacity: .55; }
.cb-ph span { font-size: .7rem; letter-spacing: .08em; }

/* ── Home ── */
.cb-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.cb-intro-text p { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; margin: 0 0 30px; }
.cb-portrait { border-radius: 4px; mix-blend-mode: multiply; }
.cb-latest { padding-bottom: 72px; }
.cb-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; text-decoration: none; }
.cb-feature-img { border-radius: 4px; }
.cb-feature h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 14px; transition: color .2s; }
.cb-feature:hover h3 { color: var(--accent); }
.cb-feature p { color: var(--ink-soft); margin: 0 0 14px; }
.cb-meta, .cb-list small { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.cb-cast { padding-bottom: 80px; }
.cb-cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cb-cast-grid h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 500; margin: 0 0 6px; }
.cb-cast-grid p { font-size: .92rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.cb-cast-grid > div { border-top: 2px solid var(--ink); padding-top: 14px; }

.cb-list { list-style: none; padding: 0; margin: 0 0 72px; border-top: 1px solid var(--rule); }
.cb-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.cb-list span { font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: 0; }
.cb-list em { display: block; font-family: var(--sans); font-style: normal; font-weight: 400; font-size: .95rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0; }
.cb-list a:hover span { color: var(--accent); }
.cb-archive { padding-top: 64px; }

/* ── Article ── */
.cb-article-head { max-width: calc(var(--prose) + 48px); padding-top: 64px; }
.cb-article h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.5rem, 6.4vw, 4.3rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; }
.cb-dek { font-size: 1.25rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 28px; }
.cb-byline { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: var(--muted); padding-bottom: 36px; }
.cb-byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cb-byline-img, .cb-byline .cb-ph { width: 52px !important; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cb-byline .cb-ph span { display: none; }
.cb-hero { margin: 0 auto 48px; }
.cb-hero-img { border-radius: 4px; }

.cb-prose { max-width: calc(var(--prose) + 48px); }
.cb-prose p { margin: 0 0 22px; }
.cb-article .cb-prose > p:first-of-type { font-size: 1.2em; line-height: 1.6; color: var(--ink); }
.cb-prose h2 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; letter-spacing: -.005em; line-height: 1.15; margin: 48px 0 18px; }
.cb-prose a { color: var(--accent); text-underline-offset: 3px; }
.cb-pull { margin: 44px 0; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.cb-pull p { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3.8vw, 2.4rem); line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.cb-signoff { margin-top: 40px !important; font-style: italic; color: var(--ink-soft); }
.cb-signoff span { font-family: var(--display); font-style: normal; font-weight: 500; font-size: 1.45rem; color: var(--accent); }
.cb-further { max-width: calc(var(--prose) + 48px); margin-top: 24px; margin-bottom: 80px; }
.cb-further h2 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.cb-further ul { list-style: none; padding: 18px 20px; margin: 0; background: var(--paper-2); border-radius: 4px; }
.cb-further li { padding: 4px 0; }
.cb-further a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.cb-further a:hover { color: var(--accent); }

/* ── About ── */
.cb-about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding-top: 64px; padding-bottom: 80px; align-items: start; }
.cb-about-portrait { position: sticky; top: 32px; }
.cb-about .cb-prose { max-width: var(--prose); padding: 0; }
.cb-note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 36px !important; }

/* ── Footer ── */
.cb-footer { background: var(--ink); color: #d9d1c6; padding: 56px 0 28px; }
.cb-footer-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid #3a3632; }
.cb-footer-name { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: .02em; color: var(--paper); }
.cb-footer-tag { margin: 6px 0 0; font-size: .92rem; max-width: 380px; color: #a99f93; }
.cb-footer-links { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.cb-footer-links a { color: #d9d1c6; text-decoration: none; }
.cb-footer-links a:hover { color: var(--accent-soft); }
.cb-footer-fine { padding-top: 22px; font-size: .78rem; color: #8b8278; }
.cb-footer-fine p { margin: 0 0 6px; }
.cb-footer-fine a { color: #b9b0a5; }

/* ── Responsive ── */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .cb-intro, .cb-feature, .cb-about { grid-template-columns: 1fr; gap: 32px; }
  .cb-intro { padding-top: 44px; }
  .cb-intro-portrait { max-width: 360px; }
  .cb-about-portrait { position: static; max-width: 300px; }
  .cb-cast-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .cb-header-in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cb-cast-grid { grid-template-columns: 1fr; }
  .cb-list a { flex-direction: column; gap: 4px; }
}

/* Language switch */
.cb-nav .cb-lang { font-size: .72rem; letter-spacing: .14em; font-weight: 600; color: var(--accent); border: 1.5px solid var(--accent-soft); border-radius: 999px; padding: 3px 10px 2px; align-self: center; }
.cb-nav .cb-lang:hover { border-color: var(--accent); color: var(--accent); }

/* "And Camilla?" teaser */
.cb-whois { padding-bottom: 88px; }
.cb-whois-line { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.25; letter-spacing: -.01em; max-width: 820px; margin: 0 0 18px; }
.cb-link { color: var(--accent); font-weight: 600; font-size: .95rem; text-decoration: none; }
.cb-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Podcast player */
.cb-audio { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--paper-2); border-radius: 999px; padding: 10px 12px 10px 22px; margin: 0 0 36px; }
.cb-audio span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.cb-audio audio { flex: 1; min-width: 220px; height: 40px; }

/* Footer mystery line */
.cb-footer-fine .cb-mystery { font-style: italic; color: #d9d1c6; }
