/* Homepage only. Plain CSS, scoped under .hb-home so nothing leaks to other pages. */
.hb-home {
  --hb-bg: #F3F2EE;
  --hb-ink: #121212;
  --hb-muted: #5A5A55;
  --hb-line: #C9C6BB;
  --hb-accent: #2B3FE0;
  margin: 0;
  background: var(--hb-bg);
  color: var(--hb-ink);
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.hb-home *, .hb-home *::before, .hb-home *::after { box-sizing: border-box; }
.hb-home a { color: inherit; text-decoration: none; }
.hb-home a:hover { opacity: .6; }
.hb-home a:focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 4px; }
:where(.hb-home) :where(h1, h2, h3, p) { margin: 0; padding: 0; }

.hb-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.hb-label { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hb-rule { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--hb-ink); padding-top: 20px; margin-bottom: 48px; font-size: 14px; font-weight: 500; }

/* Nav */
.hb-nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.hb-brand { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hb-brand span, .hb-accent { color: var(--hb-accent); }
.hb-links { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 500; }

/* Hero */
.hb-hero { padding-top: 96px; padding-bottom: 120px; }
.hb-eyebrow { margin-bottom: 32px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-muted); }
.hb-hero h1 { max-width: 1000px; font-size: clamp(44px, 8.5vw, 116px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hb-hero-foot { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-top: 72px; }
.hb-lede { max-width: 440px; font-size: 20px; line-height: 1.5; color: #3A3A36; }
.hb-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--hb-ink); color: var(--hb-bg) !important; font-size: 16px; font-weight: 500; }

/* Work */
.hb-section { padding-bottom: 120px; }
.hb-work { display: flex; flex-direction: column; gap: 64px; }
.hb-work-row { display: flex; flex-wrap: wrap; gap: 32px; }
.hb-card { display: block; min-width: 0; }
.hb-card.w7 { flex: 7 1 480px; }
.hb-card.w5 { flex: 5 1 320px; }
.hb-thumb { display: flex; align-items: center; justify-content: center; padding: 10%; border-radius: 4px; overflow: hidden; }
.hb-thumb img { max-width: 60%; max-height: 60%; width: auto; height: auto; mix-blend-mode: multiply; }
.hb-thumb.r43 { aspect-ratio: 4 / 3; }
.hb-thumb.r45 { aspect-ratio: 4 / 5; }
.hb-thumb.r2 { aspect-ratio: 900 / 462; }
.hb-thumb.r11 { aspect-ratio: 1 / 1; }
.hb-thumb.r1610 { aspect-ratio: 16 / 10; }
.hb-thumb.t1 { background: #DAD8D0; }
.hb-thumb.t2 { background: #CFD3F6; }
.hb-thumb.t3 { background: #C9C6BB; }
.hb-thumb.t4 { background: #E6E3DA; }
.hb-card-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.hb-card-name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.hb-card-tag { font-size: 15px; color: var(--hb-muted); text-align: right; }

/* Photo thumbs (real screenshots) */
.hb-thumb.photo { padding: 0; background: #DAD8D0; }
.hb-thumb.photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; mix-blend-mode: normal; }

/* Podcast */
.hb-podcast { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.hb-podcast > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hb-podcast h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; max-width: 720px; }
.hb-podcast p:not(.hb-post-meta) { font-size: 18px; line-height: 1.5; color: #3A3A36; max-width: 560px; }
.hb-podcast img { width: 180px; height: 180px; object-fit: cover; border-radius: 4px; }

/* Two-column sections (label left, content right) */
.hb-split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.hb-split > .hb-label { flex: 1 1 240px; align-self: flex-start; padding-top: 20px; border-top: 1px solid var(--hb-ink); }
.hb-split > .hb-body { flex: 3 1 480px; min-width: 0; }

.hb-service { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; padding: 28px 0; border-top: 1px solid var(--hb-line); }
.hb-service:last-child { border-bottom: 1px solid var(--hb-line); }
.hb-service-name { font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -.035em; }
.hb-service-note { font-size: 16px; line-height: 1.5; color: var(--hb-muted); max-width: 340px; }

.hb-statement { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; }
.hb-statement span { color: #8A887E; }

/* Journal */
.hb-journal { display: flex; flex-wrap: wrap; gap: 48px 32px; }
.hb-post { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hb-post-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--hb-muted); }
.hb-post h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.hb-post p { font-size: 16px; line-height: 1.5; color: #3A3A36; }
.hb-post-go { font-size: 15px; font-weight: 500; color: var(--hb-accent); }

/* Contact */
.hb-contact { background: var(--hb-ink); color: var(--hb-bg); }
.hb-contact .hb-wrap { padding-top: 120px; padding-bottom: 40px; }
.hb-contact .hb-eyebrow { color: #A8A69C; margin-bottom: 24px; }
.hb-contact-link { display: inline-block; font-size: clamp(36px, 8vw, 112px); line-height: 1; letter-spacing: -.04em; font-weight: 600; word-break: break-word; }
.hb-foot { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; margin-top: 120px; padding-top: 24px; border-top: 1px solid #3A3A36; font-size: 14px; color: #A8A69C; }
.hb-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Article page */
.hb-page { padding-top: 72px; padding-bottom: 120px; }
.hb-page-title { max-width: 1000px; font-size: clamp(36px, 6.5vw, 88px); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.hb-page-sub { margin-top: 32px; max-width: 640px; }
.hb-page-body { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--hb-ink); }
.hb-page-body > .hb-label { border-top: 0; padding-top: 0; }
.hb-prose > :first-child { margin-top: 0; }
.hb-prose { max-width: 720px; font-size: 19px; line-height: 1.65; color: #2A2A27; }
.hb-prose > * + * { margin-top: 1.25em; }
.hb-prose h2 { margin-top: 2.2em; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; color: var(--hb-ink); }
.hb-prose h3 { margin-top: 2em; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.03em; font-weight: 600; color: var(--hb-ink); }
.hb-prose h4 { margin-top: 1.8em; font-size: 18px; font-weight: 600; color: var(--hb-ink); }
.hb-prose h2 + *, .hb-prose h3 + *, .hb-prose h4 + * { margin-top: .7em; }
.hb-prose a { color: var(--hb-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hb-prose strong { font-weight: 600; color: var(--hb-ink); }
.hb-prose ul, .hb-prose ol { padding-left: 1.3em; }
.hb-prose li + li { margin-top: .5em; }
.hb-prose blockquote { margin-left: 0; margin-right: 0; padding: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; color: var(--hb-ink); }
.hb-prose img { max-width: 100%; height: auto; border-radius: 4px; }
.hb-prose hr { border: 0; border-top: 1px solid var(--hb-line); margin: 2.5em 0; }
.hb-prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: #E6E3DA; padding: .1em .35em; border-radius: 3px; }
.hb-prose pre { overflow-x: auto; padding: 16px 20px; background: var(--hb-ink); color: var(--hb-bg); border-radius: 4px; font-size: 15px; line-height: 1.5; }
.hb-prose pre code { background: none; padding: 0; color: inherit; }
.hb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.hb-prose th, .hb-prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hb-line); }
.hb-post-image { margin-top: 56px; aspect-ratio: 16 / 6; border-radius: 4px; background-color: #DAD8D0; background-size: cover; background-position: center; }
.hb-meta dl { margin: 0; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; font-weight: 400; }
.hb-meta dt { margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-muted); }
.hb-meta dt:first-child { margin-top: 0; }
.hb-meta dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.hb-standfirst { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -.015em; font-weight: 500; color: var(--hb-ink); }
.hb-prose .hb-tags code { margin-right: 8px; font-size: 13px; color: var(--hb-muted); }
.hb-seealso, .hb-author, .hb-newsletter { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--hb-line); }
.hb-seealso h3, .hb-newsletter h3 { margin-top: 0; }
.hb-seealso ul { list-style: none; padding: 0; }
.hb-seealso li + li { margin-top: 12px; }
.hb-author { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; line-height: 1.5; }
.hb-author img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.hb-author > div { flex: 1 1 280px; min-width: 0; }
.hb-author > div > * + * { margin-top: 8px; }
.hb-author h3 { margin-top: 4px; }
.hb-newsletter p { font-size: 17px; }
.hb-newsletter .hb-btn { margin-top: 24px; color: var(--hb-bg); text-decoration: none; }
.hb-contact.is-compact .hb-contact-link { font-size: clamp(28px, 5vw, 64px); }
.hb-contact.is-compact .hb-wrap { padding-top: 80px; }
.hb-contact.is-compact .hb-foot { margin-top: 80px; }

@media (max-width: 640px) {
  .hb-page { padding-top: 40px; padding-bottom: 80px; }
  .hb-page-body { margin-top: 48px; }
  .hb-prose { font-size: 18px; }
  .hb-wrap { padding: 0 20px; }
  .hb-hero { padding-top: 56px; padding-bottom: 80px; }
  .hb-section { padding-bottom: 80px; }
  .hb-contact .hb-wrap { padding-top: 80px; }
  .hb-foot { margin-top: 80px; }
}
