/* World inside pictures theme. Tokens and components mirror the design system. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Gloock"; src: url("../fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f7f8f6; --paper-raised: #ffffff; --paper-sunk: #eceeea;
  --ink: #172322; --ink-muted: #4e5d5b; --line: #d5dbd8; --line-strong: #7f8f8c;
  --lagoon: #0e5a5e; --lagoon-deep: #0a3f42; --on-lagoon: #ffffff;
  --saffron: #f2b33d; --on-saffron: #172322; --mist: #d7e9e6; --blush: #f3dccf; --danger: #b3261e;
  --focus: var(--lagoon);
  --shadow-lift: 0 1px 2px rgba(23,35,34,.06), 0 10px 28px rgba(23,35,34,.10);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 112px;
  --radius-sm: 6px; --radius-md: 14px; --radius-lg: 24px; --radius-arch: 400px; --radius-pill: 999px;
  --container: 1240px; --measure: 700px; --header-height: 72px;
  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1716; --paper-raised: #172221; --paper-sunk: #0a1110;
    --ink: #eef3f1; --ink-muted: #a9b8b5; --line: #2a3836; --line-strong: #5b6e6b;
    --lagoon: #5fc2bf; --lagoon-deep: #8fd8d5; --on-lagoon: #0f1716;
    --mist: #1d3533; --blush: #3a2924; --danger: #ff8a80;
    --shadow-lift: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; }


/* World inside pictures — component styles. Every value comes from tokens.css. */
html, body { background: var(--paper); color: var(--ink); }
body { font-family: var(--font-body); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
.wip *, .wip *::before, .wip *::after { box-sizing: border-box; }
.wip a { color: inherit; text-decoration: none; }
.wip :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.wip img { display: block; max-width: 100%; }
.wip-wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.wip-label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.wip-muted { color: var(--ink-muted); }
.wip h1, .wip h2, .wip h3 { margin: 0; text-wrap: balance; }

/* Logo lockup: arch mark + name set live in the display face */
.wip-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.wip-logo svg { width: 36px; height: 36px; flex: none; }
.wip-logo__arch { fill: var(--lagoon); }
.wip-logo__sun { fill: var(--saffron); }
.wip-logo__name { font-family: var(--font-display); font-size: 24px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.wip-logo__name i { font-style: normal; color: var(--lagoon); }

/* Buttons */
.wip-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-3) 22px; border-radius: var(--radius-pill); border: 1.5px solid transparent; font: 700 15px/1 var(--font-body); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.wip-btn--primary { background: var(--lagoon); color: var(--on-lagoon); }
.wip-btn--primary:hover { background: var(--lagoon-deep); }
.wip-btn--accent { background: var(--saffron); color: var(--on-saffron); }
.wip-btn--accent:hover { box-shadow: inset 0 0 0 99px rgba(0,0,0,.08); }
.wip-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.wip-btn--ghost:hover { border-color: var(--lagoon); color: var(--lagoon); }
.wip-btn--sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.wip-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.wip-iconbtn:hover { background: var(--mist); }
.wip-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Category chip */
.wip-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--mist); color: var(--ink); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.wip-chip--blush { background: var(--blush); }
.wip-chip--new { background: var(--saffron); color: var(--on-saffron); }
.wip-chip--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
a.wip-chip:hover { box-shadow: inset 0 0 0 1.5px var(--lagoon); }

/* Header */
.wip-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.wip-header__bar { display: flex; align-items: center; gap: var(--space-5); height: var(--header-height); }
.wip-nav { display: flex; gap: var(--space-1); margin-left: auto; }
.wip-nav a { padding: 10px 12px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; color: var(--ink); }
.wip-nav a:hover { background: var(--mist); }
.wip-nav a[aria-current="page"] { color: var(--lagoon); box-shadow: inset 0 -2px 0 var(--lagoon); border-radius: 0; }
.wip-header__tools { display: flex; align-items: center; gap: var(--space-2); }
.wip-header__menu { display: none; }
@media (max-width: 900px) {
  .wip-nav, .wip-header__tools .wip-btn { display: none; }
  .wip-header__menu { display: inline-grid; }
  .wip-header__tools { margin-left: auto; }
  .wip-header__bar { height: 60px; }
}

/* Breadcrumbs */
.wip-crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); list-style: none; margin: 0; padding: 0; }
.wip-crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--line-strong); }
.wip-crumbs a { color: var(--lagoon); }
.wip-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Post card */
.wip-card { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.wip-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md); background: var(--paper-sunk); }
.wip-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wip-card:hover .wip-card__media img { transform: scale(1.03); }
.wip-card__media .wip-chip { position: absolute; left: var(--space-3); top: var(--space-3); }
.wip-card__title { font-family: var(--font-body); font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.wip-card:hover .wip-card__title { color: var(--lagoon); }
.wip-card__excerpt { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 26px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.wip-meta span + span::before { content: "·"; margin-right: var(--space-2); }
.wip-card--row { flex-direction: row; align-items: center; gap: var(--space-4); }
.wip-card--row .wip-card__media { flex: none; width: 96px; aspect-ratio: 1; border-radius: var(--radius-sm); }
.wip-card--row .wip-card__title { font-size: 17px; line-height: 24px; }

/* Lead story */
.wip-lead { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-7); align-items: center; }
.wip-lead__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); background: var(--paper-sunk); }
.wip-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.wip-lead__body { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; min-width: 0; }
.wip-lead__title { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 400; letter-spacing: -.01em; }
.wip-lead__dek { margin: 0; font-size: 19px; line-height: 32px; color: var(--ink-muted); max-width: 34em; }
@media (max-width: 900px) {
  .wip-lead { grid-template-columns: 1fr; gap: var(--space-5); }
  .wip-lead__title { font-size: 40px; line-height: 44px; }
}

/* Project facts: the box every how-to opens with */
.wip-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-raised); overflow: hidden; }
.wip-facts > div { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4) var(--space-5); min-width: 0; }
.wip-facts > div + div { border-left: 1px solid var(--line); }
.wip-facts dt { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }
.wip-facts dd { margin: 0; font-size: 18px; line-height: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.wip-skill { display: inline-flex; gap: 4px; vertical-align: middle; margin-left: 6px; }
.wip-skill i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.wip-skill i.on { background: var(--lagoon); }
@media (max-width: 640px) {
  .wip-facts { grid-template-columns: 1fr 1fr; }
  .wip-facts > div:nth-child(3) { border-left: 0; }
  .wip-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Table of contents */
.wip-toc { padding: var(--space-5); border-radius: var(--radius-md); background: var(--paper-raised); border: 1px solid var(--line); }
.wip-toc__title { margin: 0 0 var(--space-3); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }
.wip-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.wip-toc li { counter-increment: toc; }
.wip-toc a { display: flex; gap: var(--space-3); padding: 8px 10px; border-radius: var(--radius-sm); font-size: 15px; line-height: 22px; color: var(--ink); }
.wip-toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--ink-muted); font-weight: 600; }
.wip-toc a:hover { background: var(--mist); }
.wip-toc a[aria-current="true"] { background: var(--mist); color: var(--lagoon); font-weight: 600; }

/* Article prose */
.wip-prose { max-width: var(--measure); font-size: 19px; line-height: 32px; color: var(--ink); }
.wip-prose > * + * { margin-top: var(--space-5); }
.wip-prose p { margin-bottom: 0; }
.wip-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 34px; margin-top: var(--space-7); }
.wip-prose h3 { font-size: 20px; line-height: 28px; font-weight: 700; margin-top: var(--space-6); }
.wip-prose a { color: var(--lagoon); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wip-prose a:hover { color: var(--lagoon-deep); text-decoration-thickness: 2px; }
.wip-prose figure { margin-inline: 0; }
.wip-prose figure img { width: 100%; border-radius: var(--radius-md); }
.wip-prose figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.wip-prose ul { padding-left: 1.2em; }
.wip-prose li::marker { color: var(--lagoon); }
@media (max-width: 640px) { .wip-prose { font-size: 18px; line-height: 30px; } .wip-prose h2 { font-size: 24px; line-height: 30px; } }

/* Callouts */
.wip-callout { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--mist); font-size: 17px; line-height: 28px; }
.wip-callout__label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lagoon); }
.wip-callout--warn { background: var(--blush); }
.wip-callout--warn .wip-callout__label { color: var(--danger); }

/* Author box */
.wip-author { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; padding: var(--space-6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wip-author__photo { width: 72px; height: 72px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; color: var(--lagoon); }
.wip-author__name { font-size: 18px; line-height: 26px; font-weight: 700; }
.wip-author p { margin: 6px 0 var(--space-3); color: var(--ink-muted); }
.wip-author__links { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 14px; font-weight: 600; }
.wip-author__links a { color: var(--lagoon); }

/* Newsletter band */
.wip-news { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: center; padding: var(--space-7); border-radius: var(--radius-lg); background: var(--blush); }
.wip-news__title { font-family: var(--font-display); font-size: 36px; line-height: 42px; }
.wip-news p { margin: var(--space-3) 0 0; color: var(--ink); }
.wip-news form { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.wip-input { flex: 1 1 220px; min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--paper-raised); color: var(--ink); font: 400 16px var(--font-body); }
.wip-input::placeholder { color: var(--ink-muted); }
.wip-news small { flex-basis: 100%; color: var(--ink); font-size: 13px; }
@media (max-width: 760px) { .wip-news { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); } .wip-news__title { font-size: 28px; line-height: 34px; } }

/* Pagination */
.wip-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-1); }
.wip-pager a, .wip-pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-pill); font-weight: 600; font-variant-numeric: tabular-nums; }
.wip-pager a:hover { background: var(--mist); }
.wip-pager [aria-current="page"] { background: var(--lagoon); color: var(--on-lagoon); }

/* Section heading row */
.wip-sechead { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.wip-sechead h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 38px; }
.wip-sechead a { font-weight: 700; font-size: 15px; color: var(--lagoon); white-space: nowrap; }
.wip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.wip-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .wip-grid, .wip-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wip-grid, .wip-grid--3 { grid-template-columns: 1fr; } }

/* Footer */
.wip-footer { background: var(--paper-sunk); padding-block: var(--space-8) var(--space-6); }
.wip-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-6); }
.wip-footer h3 { margin: 0 0 var(--space-3); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }
.wip-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.wip-footer ul a:hover { color: var(--lagoon); }
.wip-footer__about { color: var(--ink-muted); margin: var(--space-4) 0 0; max-width: 30em; }
.wip-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
@media (max-width: 800px) { .wip-footer__top { grid-template-columns: 1fr 1fr; } .wip-footer__top > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { .wip *, .wip *::before, .wip *::after { transition: none !important; } }


/* ---------- WordPress layer ---------- */
.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; }
.wip-skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; padding: var(--space-3) var(--space-4); background: var(--lagoon); color: var(--on-lagoon); border-radius: var(--radius-sm); font-weight: 700; }
.wip-skip:focus { top: var(--space-3); }
.wip-wrap { padding-left: max(var(--space-6), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-6), env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .wip-wrap { padding-left: max(var(--space-4), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-4), env(safe-area-inset-right, 0px)); } }
.wip-logo-wrap { margin: 0; font: inherit; }
/* The header scrolls with the page: AdSense Auto ads can insert units inside it, and a sticky header would carry them along. */
.wip-header { position: relative; }
.wip-sheet { max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
.wip-header .wip-nav { flex-wrap: nowrap; overflow: hidden; }
.wip-header .wip-nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) { .wip-header .wip-nav a { padding: 10px 8px; font-size: 14px; } .wip-logo__name { font-size: 21px; } }

/* Search and menu sheets */
.wip-sheet { border-top: 1px solid var(--line); background: var(--paper); padding-block: var(--space-5); }
.wip-sheet--menu .wip-wrap { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.wip-mobile-nav { display: flex; flex-direction: column; width: 100%; }
.wip-mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; line-height: 30px; }
.wip-mobile-nav a[aria-current="page"] { color: var(--lagoon); }
.wip-search { display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 720px; }
.wip-search .wip-input { flex: 1 1 260px; }

/* Sections */
.wip-home-lead { padding-block: 56px var(--space-8); }
.wip-section { padding-bottom: var(--space-8); }
.wip-section--last { padding-bottom: 96px; }
.wip-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wip-lead__title a:hover { color: var(--lagoon); }
.wip-lead__media { display: block; }
@media (max-width: 640px) { .wip-home-lead { padding-block: var(--space-5) var(--space-7); } .wip-section { padding-bottom: var(--space-7); } .wip-sechead h2 { font-size: 26px; line-height: 32px; } }

/* Archive head */
.wip-archive-head { background: var(--mist); }
.wip-archive-head--warm { background: var(--blush); }
.wip-archive-head .wip-wrap { display: flex; flex-direction: column; gap: var(--space-4); padding-block: var(--space-7) var(--space-6); }
.wip-archive-head__title { font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 54px; letter-spacing: -.01em; margin: 0; }
.wip-archive-head__intro { max-width: 44em; font-size: 19px; line-height: 32px; }
.wip-archive-head__intro p { margin: 0; }
.wip-archive-head + .wip-section { padding-top: var(--space-7); }
@media (max-width: 640px) { .wip-archive-head__title { font-size: 34px; line-height: 40px; } .wip-archive-head__intro { font-size: 17px; line-height: 28px; } }

/* Pager from paginate_links */
.wip-pager { margin-top: var(--space-7); }
.wip-pager .current { background: var(--lagoon); color: var(--on-lagoon); }
.wip-pager .dots { color: var(--ink-muted); }

/* Article */
.wip-article { padding-block: var(--space-6) var(--space-8); }
.wip-article__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: 900px; margin: var(--space-5) 0 var(--space-6); }
.wip-article__title { font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 54px; letter-spacing: -.01em; }
.wip-article__dek { margin: 0; font-size: 19px; line-height: 32px; color: var(--ink-muted); max-width: 40em; }
.wip-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.wip-article__main { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }
.wip-article__hero { margin: 0; }
.wip-article__hero img { width: 100%; height: auto; max-height: 820px; object-fit: cover; border-radius: var(--radius-md); }
.wip-article__hero figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.wip-article__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--space-5); }
.wip-related { display: flex; flex-direction: column; gap: var(--space-4); }
.wip-related .wip-toc__title { margin: 0; }
.wip-toc--inline { display: none; }
.wip-article__tags { margin-top: calc(var(--space-2) * -1); }
.wip-author__photo { overflow: hidden; }
.wip-author__photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.wip-page .wip-prose { margin-bottom: var(--space-8); }
@media (max-width: 1000px) {
  .wip-article__layout { grid-template-columns: 1fr; }
  .wip-article__side { position: static; }
  .wip-toc--side { display: none; }
  .wip-toc--inline { display: block; }
}
@media (max-width: 640px) { .wip-article__title { font-size: 34px; line-height: 40px; } .wip-article__dek { font-size: 17px; line-height: 28px; } .wip-author { padding: var(--space-5) 0; } }

/* Content from the editor (classic and block) */
.wip-prose img { height: auto; border-radius: var(--radius-md); }
.wip-prose .wp-caption, .wip-prose .wp-block-image { max-width: 100%; margin-inline: 0; }
.wip-prose .wp-caption-text, .wip-prose .wp-element-caption { margin-top: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.wip-prose .aligncenter { margin-inline: auto; }
.wip-prose .alignleft { float: left; margin: 6px var(--space-5) var(--space-4) 0; max-width: 50%; }
.wip-prose .alignright { float: right; margin: 6px 0 var(--space-4) var(--space-5); max-width: 50%; }
.wip-prose::after { content: ""; display: table; clear: both; }
.wip-prose blockquote { margin-inline: 0; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--paper-sunk); font-family: var(--font-display); font-size: 22px; line-height: 32px; }
.wip-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; display: block; overflow-x: auto; }
.wip-prose th, .wip-prose td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--line); text-align: left; }
.wip-prose iframe, .wip-prose video { max-width: 100%; }
.wip-prose ol { padding-left: 1.4em; }
.wip-prose ol li::marker { color: var(--lagoon); font-weight: 700; }
@media (max-width: 640px) { .wip-prose .alignleft, .wip-prose .alignright { float: none; margin: 0 0 var(--space-4); max-width: 100%; } }

/* Yoast breadcrumbs */
.wip-crumbs-wrap { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.wip-crumbs-wrap a { color: var(--lagoon); }
.wip-crumbs-wrap a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer extras */
.wip-footer__h { margin: 0 0 var(--space-3); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }
.wip-footer__news { margin-bottom: var(--space-8); }
.wip-footer__bottom a:hover { color: var(--lagoon); }

/* Card without any image */
.wip-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--paper-sunk); }
.wip-noimg svg { width: 56px; height: 56px; opacity: .55; }

/* Widgets and comments */
.wip-widget { font-size: 15px; }
.comments-area, #comments, #wpdcom { margin-top: var(--space-5); }
.wip-404 .wip-search { margin-top: var(--space-5); }


/* ---------- Editorial layer: masthead, logo, hero, tiles, features, article ---------- */

/* Logo: double-framed arch with a sunrise inside; two-line wordmark */
.wip-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.wip-logo .wip-mark { width: 34px; height: 42px; flex: none; }
.wip-mark__frame { fill: none; stroke: var(--lagoon); stroke-width: 2.2; }
.wip-mark__window { fill: #0e5a5e; }
.wip-mark__sun { fill: #f2b33d; }
.wip-mark__hill2 { fill: #3d8c86; }
.wip-mark__hill1 { fill: #a8d5cd; }
.wip-logo__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.wip-logo__kicker { font: 600 9px/1 var(--font-body); letter-spacing: .42em; text-transform: uppercase; color: var(--lagoon); margin: 0 0 5px 2px; }
.wip-logo__name { font-family: var(--font-display); font-size: 30px; line-height: .9; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.wip-logo--masthead { gap: 16px; }
.wip-logo--masthead .wip-mark { width: 46px; height: 57px; }
.wip-logo--masthead .wip-logo__kicker { font-size: 11px; margin-bottom: 7px; }
.wip-logo--masthead .wip-logo__name { font-size: 50px; }

/* Masthead */
.wip-masthead { position: relative; background: var(--paper); }
.wip-masthead__util { border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.wip-masthead__utilrow { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 38px; font-size: 13px; }
.wip-masthead__tagline { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.wip-masthead__social { display: flex; gap: 4px; }
.wip-masthead__social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink-muted); }
.wip-masthead__social a:hover { color: var(--lagoon); background: var(--mist); }
.wip-masthead__social .wip-icon { width: 17px; height: 17px; }
.wip-masthead__brand { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4); padding-block: 26px 22px; }
.wip-masthead__menu { justify-self: start; visibility: hidden; }
.wip-masthead__tools { justify-self: end; display: flex; align-items: center; gap: var(--space-2); }
.wip-masthead__navrow { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Main menu: eight topics, dropdowns for the ones with sub-categories */
.wip-nav--masthead { display: flex; justify-content: center; align-items: stretch; gap: 2px; margin: 0; height: 54px; overflow: visible; }
.wip-nav__item { position: relative; display: flex; align-items: center; }
.wip-nav--masthead .wip-nav__top { position: relative; display: flex; align-items: center; height: 100%; padding: 0 12px; border-radius: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.wip-nav--masthead .has-sub .wip-nav__top { padding-right: 2px; }
.wip-nav--masthead .wip-nav__top:hover { background: none; color: var(--lagoon); }
.wip-nav--masthead .wip-nav__top::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--lagoon); transform: scaleX(0); transition: transform .2s ease; }
.wip-nav--masthead .has-sub .wip-nav__top::after { right: 2px; }
.wip-nav__item:hover .wip-nav__top::after, .wip-nav--masthead .wip-nav__top[aria-current="page"]::after { transform: scaleX(1); }
.wip-nav--masthead .wip-nav__top[aria-current="page"] { color: var(--lagoon); box-shadow: none; }
.wip-nav__caret { display: grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-muted); cursor: pointer; }
.wip-nav__caret svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.wip-nav__caret:hover { color: var(--lagoon); background: var(--mist); }
.wip-nav__panel { position: absolute; top: 100%; left: 0; z-index: 50; display: flex; flex-direction: column; min-width: 240px; padding: 10px; margin-top: 1px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.wip-nav__item.has-sub:hover .wip-nav__panel, .wip-nav__item.has-sub:focus-within .wip-nav__panel, .wip-nav__item.is-open .wip-nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wip-nav__item:hover .wip-nav__caret svg, .wip-nav__item.is-open .wip-nav__caret svg { transform: rotate(180deg); }
.wip-nav--masthead .wip-nav__panel a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); white-space: nowrap; }
.wip-nav--masthead .wip-nav__panel a span { font-family: var(--font-body); font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.wip-nav--masthead .wip-nav__panel a:hover, .wip-nav--masthead .wip-nav__panel a[aria-current="page"] { background: var(--mist); color: var(--lagoon); box-shadow: none; border-radius: var(--radius-sm); }
.wip-nav--masthead .wip-nav__panel a.wip-nav__all { margin-bottom: 6px; padding-bottom: 12px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; border-bottom: 1px solid var(--line); font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lagoon); }
.wip-nav__item:last-child .wip-nav__panel { left: auto; right: 0; }
@media (max-width: 1180px) { .wip-nav--masthead .wip-nav__top { padding: 0 8px; letter-spacing: .07em; font-size: 12px; } .wip-nav__caret { margin-right: 2px; width: 22px; } .wip-masthead__tagline { display: none; } }
@media (max-width: 1000px) { .wip-nav--masthead .wip-nav__top { padding: 0 6px; letter-spacing: .04em; font-size: 11.5px; } }

/* Mobile menu: each topic with its sub-categories as small links */
.wip-mobile-nav .wip-nav__item { flex-direction: column; align-items: stretch; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wip-mobile-nav .wip-nav__top { padding: 0; border: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; }
.wip-mobile-nav .wip-nav__top[aria-current="page"] { color: var(--lagoon); }
.wip-mobile-nav .wip-nav__subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wip-mobile-nav .wip-nav__subs a { padding: 6px 12px; border: 0; border-radius: var(--radius-pill); background: var(--mist); font-family: var(--font-body); font-size: 13px; line-height: 18px; font-weight: 600; }
.wip-mobile-nav .wip-nav__subs a[aria-current="page"] { background: var(--lagoon); color: var(--on-lagoon); }
@media (max-width: 900px) {
  .wip-masthead__util, .wip-masthead__navrow, .wip-masthead__sub { display: none; }
  .wip-masthead__menu { visibility: visible; }
  .wip-masthead__brand { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .wip-logo--masthead { gap: 10px; }
  .wip-logo--masthead .wip-mark { width: 30px; height: 37px; }
  .wip-logo--masthead .wip-logo__kicker { font-size: 8px; margin-bottom: 4px; letter-spacing: .38em; }
  .wip-logo--masthead .wip-logo__name { font-size: 28px; }
}

/* Shared editorial bits */
.wip-kicker { font: 700 11px/14px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon); }
a.wip-kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.wip-eyebrow { margin: 0 0 var(--space-2); padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 12px/16px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.wip-sechead { border-bottom: 2px solid var(--ink); }
.wip-sechead h2 { font-size: 36px; line-height: 42px; }
.wip-sechead--center { justify-content: center; border-bottom: 0; }
.wip-sechead--center h2 { display: flex; align-items: center; gap: 20px; }
.wip-sechead--center h2::before, .wip-sechead--center h2::after { content: ""; width: 48px; height: 1px; background: var(--line-strong); }
.wip-card__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 28px; }
.wip-band { background: var(--paper-sunk); padding-block: 64px; margin-bottom: var(--space-8); }
@media (max-width: 640px) { .wip-sechead h2 { font-size: 28px; line-height: 34px; } .wip-band { padding-block: 40px; margin-bottom: var(--space-7); } }

/* Hero: Just in | lead | side stories */
.wip-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr) minmax(0, 1fr); grid-template-areas: "list lead side"; gap: 32px; align-items: start; padding-block: 40px 64px; }
.wip-hero__list { grid-area: list; padding-right: 32px; border-right: 1px solid var(--line); }
.wip-hero__lead { grid-area: lead; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; min-width: 0; }
.wip-hero__side { grid-area: side; padding-left: 32px; border-left: 1px solid var(--line); }
.wip-hero__media { display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-sunk); border-radius: 50% 50% var(--radius-md) var(--radius-md) / 30% 30% var(--radius-md) var(--radius-md); margin-bottom: 10px; }
.wip-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wip-hero__media:hover img { transform: scale(1.025); }
.wip-hero__title { font-family: var(--font-display); font-weight: 400; font-size: 50px; line-height: 54px; letter-spacing: -.01em; max-width: 15em; }
.wip-hero__title a:hover { color: var(--lagoon); }
.wip-hero__dek { margin: 0; max-width: 34em; font-size: 18px; line-height: 29px; color: var(--ink-muted); }
.wip-card--list { display: flex; flex-direction: column; gap: 6px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.wip-card--list:last-child { border-bottom: 0; }
.wip-card--list .wip-card__title { font-size: 20px; line-height: 26px; }
.wip-card--side { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.wip-card--side:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.wip-card--side .wip-card__media { aspect-ratio: 3 / 2; border-radius: var(--radius-md); }
.wip-card--side .wip-card__title { font-size: 20px; line-height: 26px; }
.wip-card:hover .wip-card__title { color: var(--lagoon); }
@media (max-width: 1100px) {
  .wip-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lead lead" "list side"; }
  .wip-hero__list { padding-right: 24px; }
  .wip-hero__side { padding-left: 24px; }
}
@media (max-width: 700px) {
  .wip-hero { grid-template-columns: 1fr; grid-template-areas: "lead" "side" "list"; gap: 32px; padding-block: 20px 48px; }
  .wip-hero__list, .wip-hero__side { padding: 0; border: 0; }
  .wip-hero__title { font-size: 34px; line-height: 40px; }
  .wip-hero__dek { font-size: 17px; line-height: 27px; }
}

/* Homepage opening: one lead story, then three latest cards */
.wip-lead2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 48px 72px; }
.wip-lead2__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-sunk); }
.wip-lead2__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wip-lead2__media:hover img { transform: scale(1.02); }
.wip-lead2__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.wip-lead2__title { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 58px; letter-spacing: -.015em; }
.wip-lead2__title a:hover { color: var(--lagoon); }
.wip-lead2__dek { margin: 0; font-size: 18px; line-height: 30px; color: var(--ink-muted); max-width: 30em; }
.wip-lead2__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; width: 100%; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.wip-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--lagoon); }
.wip-textlink .wip-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.wip-textlink:hover .wip-icon { transform: translateX(4px); }
.wip-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.wip-card--latest { gap: 10px; }
.wip-card--latest .wip-card__media { aspect-ratio: 3 / 2; border-radius: var(--radius-md); }
.wip-card--latest .wip-kicker { margin-top: 6px; }
.wip-card--latest .wip-card__title { font-size: 24px; line-height: 30px; }
@media (max-width: 1000px) {
  .wip-lead2 { gap: 40px; }
  .wip-lead2__title { font-size: 40px; line-height: 46px; }
  .wip-latest { gap: 24px; }
  .wip-card--latest .wip-card__title { font-size: 20px; line-height: 26px; }
}
@media (max-width: 760px) {
  .wip-lead2 { grid-template-columns: 1fr; gap: 20px; padding-block: 16px 48px; }
  .wip-lead2__media { aspect-ratio: 4 / 3.4; border-radius: var(--radius-md); }
  .wip-lead2__body { gap: 12px; }
  .wip-lead2__title { font-size: 32px; line-height: 38px; }
  .wip-lead2__dek { font-size: 17px; line-height: 27px; }
  .wip-latest { grid-template-columns: 1fr; gap: 0; }
  .wip-card--latest { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 4px; align-items: start; padding-block: 16px; border-bottom: 1px solid var(--line); }
  .wip-card--latest:first-child { padding-top: 0; }
  .wip-card--latest:last-child { border-bottom: 0; }
  .wip-card--latest .wip-card__media { grid-row: 1 / span 3; aspect-ratio: 1; border-radius: var(--radius-sm); }
  .wip-card--latest .wip-kicker { margin-top: 2px; }
  .wip-card--latest .wip-card__title { font-size: 19px; line-height: 25px; }
}

/* Topic tiles: one large, six small */
.wip-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.wip-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); background: var(--lagoon); }
.wip-tile--wide { grid-column: span 2; grid-row: span 2; }
.wip-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wip-tile:hover img { transform: scale(1.05); }
.wip-tile__label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding: 10px 14px; border-radius: 10px; background: var(--paper-raised); color: var(--ink); }
.wip-tile__name { font-family: var(--font-display); font-size: 20px; line-height: 24px; }
.wip-tile--wide .wip-tile__name { font-size: 30px; line-height: 34px; }
.wip-tile__count { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.wip-tile:hover .wip-tile__name { color: var(--lagoon); }
@media (max-width: 900px) { .wip-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; } .wip-tile--wide { grid-row: span 1; } .wip-tile__name { font-size: 17px; } .wip-tile--wide .wip-tile__name { font-size: 24px; } }

/* Category feature: one big story + three rows */
.wip-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.wip-feature--flip .wip-feature__main { order: 2; }
.wip-card--feature { gap: 12px; }
.wip-card--feature .wip-card__media { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
.wip-card--feature .wip-card__title { font-size: 32px; line-height: 38px; }
.wip-feature__rest { display: flex; flex-direction: column; }
.wip-card--row { padding-block: 18px; border-bottom: 1px solid var(--line); gap: 18px; }
.wip-feature__rest .wip-card--row:first-child { padding-top: 0; }
.wip-feature__rest .wip-card--row:last-child { border-bottom: 0; }
.wip-card--row .wip-card__media { width: 112px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
.wip-card--row .wip-card__title { font-size: 20px; line-height: 26px; margin-bottom: 6px; }
@media (max-width: 900px) { .wip-feature { grid-template-columns: 1fr; gap: 24px; } .wip-feature--flip .wip-feature__main { order: 0; } .wip-card--feature .wip-card__title { font-size: 26px; line-height: 32px; } }

/* Article */
.wip-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.wip-progress span { display: block; width: 0; height: 100%; background: var(--saffron); }
.wip-article { padding-block: 0 0; }
.wip-article__head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: none; margin: 0; padding-block: 36px 36px; text-align: center; }
.wip-article__head .wip-crumbs, .wip-article__head .wip-crumbs-wrap { justify-content: center; }
.wip-article__title { font-size: 58px; line-height: 62px; max-width: 17em; }
.wip-article__dek { max-width: 38em; }
.wip-byline { display: flex; align-items: center; gap: 14px; width: min(100%, 760px); margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.wip-byline__avatar img { display: block; width: 44px; height: 44px; border-radius: 50%; }
.wip-byline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wip-byline__name { font-weight: 700; }
.wip-byline__name a:hover { color: var(--lagoon); }
.wip-byline__meta { font-size: 14px; color: var(--ink-muted); }
.wip-share { display: flex; gap: 6px; margin-left: auto; }
.wip-share .wip-iconbtn { width: 40px; height: 40px; border: 1px solid var(--line); }
.wip-share .wip-iconbtn .wip-icon { width: 18px; height: 18px; }
.wip-share .is-copied { background: var(--mist); color: var(--lagoon); }
.wip-article__hero { max-width: 1180px; margin: 0 auto 56px; }
.wip-article__hero img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; border-radius: var(--radius-lg); }
.wip-article__hero figcaption { text-align: center; }
.wip-article__layout { grid-template-columns: 240px minmax(0, var(--measure)); justify-content: center; gap: 64px; }
.wip-article__rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.wip-widgets { display: flex; flex-direction: column; gap: 24px; }
.wip-widgets .wp-block-social-links { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wip-widgets .wp-block-social-links a { color: var(--ink); }
.wip-article__rail .wip-toc { padding: 0 0 0 16px; background: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.wip-article__rail .wip-toc a { padding: 6px 8px; font-size: 14px; line-height: 20px; }
.wip-article__main { gap: var(--space-6); }
.wip-prose--article > p:first-of-type::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--font-display); font-size: 78px; line-height: 62px; color: var(--lagoon); }
.wip-prose--article h2 { font-size: 32px; line-height: 38px; }
.wip-author { padding: 28px; border: 0; border-radius: var(--radius-lg); background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--line); }
.wip-author .wip-eyebrow { display: inline-block; margin: 0 0 6px; padding: 0; border: 0; color: var(--ink-muted); }
.wip-author p { margin-top: 6px; }
.wip-band--end { margin: 72px 0 0; }
.wip-toc--inline { display: none; }
@media (max-width: 1240px) {
  .wip-article__layout { grid-template-columns: minmax(0, var(--measure)); }
  /* The rail keeps its widgets but moves below the article; the inline TOC takes over. */
  .wip-article__rail { position: static; order: 2; }
  .wip-article__rail .wip-toc--side { display: none; }
  .wip-toc--inline { display: block; }
}
@media (max-width: 1000px) {
  .wip-article__layout, .wip-article__layout.has-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wip-article__head { padding-block: 20px 24px; }
  .wip-article__title { font-size: 34px; line-height: 40px; }
  .wip-byline { flex-wrap: wrap; }
  .wip-share { margin-left: 0; width: 100%; }
  .wip-article__hero { margin-bottom: 32px; padding-inline: 0; }
  .wip-article__hero img { border-radius: 0; max-height: 70vh; }
  .wip-prose--article > p:first-of-type::first-letter { font-size: 62px; line-height: 50px; }
}

/* The canvas below the page takes the footer colour, so space AdSense adds under the page for its anchor ad reads as footer. */
html { background: #0b2e30; }
body { background: var(--paper); }

/* Footer: deep lagoon band, one look in both themes */
.wip-footer { background: #0b2e30; color: #dce9e7; padding-block: 56px 0; margin-top: 0; }
.wip-band--end + .wip-footer, .wip-section--last + .wip-footer { margin-top: 0; }
main + .wip-footer { margin-top: 0; }
.wip-footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.wip-footer .wip-logo { color: #ffffff; }
.wip-footer .wip-logo__name { font-size: 34px; color: #ffffff; }
.wip-footer .wip-logo__kicker { color: #8fd8d5; }
.wip-footer .wip-mark__frame { stroke: #8fd8d5; }
.wip-footer__about { margin: 16px 0 0; max-width: 30em; color: #a9c4c0; font-size: 15px; line-height: 24px; }
.wip-footer__social { display: flex; gap: 8px; margin-top: 20px; }
.wip-footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: #ffffff; }
.wip-footer__social a:hover { background: #f2b33d; color: #172322; box-shadow: none; }
.wip-footer__social .wip-icon { width: 18px; height: 18px; }
.wip-footer__h { color: #8fd8d5; margin-bottom: 14px; }
.wip-footer ul { gap: 10px; }
.wip-footer ul a { color: #e8f1ef; font-size: 15px; }
.wip-footer ul a:hover { color: #f2b33d; }
.wip-footer__bottom { margin-top: 0; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a9c4c0; font-size: 13px; }
.wip-footer__top-link { color: #e8f1ef; font-weight: 600; }
.wip-footer__top-link:hover { color: #f2b33d; }
.wip-footer :focus-visible { outline-color: #f2b33d; }
.wip-band--end { margin-bottom: 0; }
@media (max-width: 800px) {
  .wip-footer { padding-top: 40px; }
  .wip-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; padding-bottom: 28px; }
  .wip-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .wip-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wip-footer__bottom { flex-direction: column; gap: 6px; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wip-section { padding-bottom: 48px; }
  .wip-sechead { margin-bottom: 18px; }
  /* Grids: one column, landscape photos so a card fits on one screen */
  .wip-grid, .wip-grid--3 { gap: 28px; }
  .wip-grid .wip-card__media { aspect-ratio: 3 / 2; }
  .wip-card__title { font-size: 21px; line-height: 27px; }
  /* Hero */
  .wip-hero__media { aspect-ratio: 4 / 4.2; border-radius: 50% 50% var(--radius-md) var(--radius-md) / 24% 24% var(--radius-md) var(--radius-md); }
  .wip-card--side { flex-direction: row; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; }
  .wip-card--side .wip-card__media { flex: none; width: 112px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
  .wip-card--side .wip-kicker { display: none; }
  .wip-card--side .wip-card__title { font-size: 19px; line-height: 25px; }
  .wip-card--list .wip-card__title { font-size: 19px; line-height: 25px; }
  /* Tiles: two columns, the first full width */
  .wip-tiles { grid-auto-rows: 150px; gap: 10px; }
  .wip-tile__label { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
  .wip-tile__count { display: none; }
  /* Feature rows */
  .wip-card--row .wip-card__media { width: 96px; }
  .wip-card--row .wip-card__title { font-size: 18px; line-height: 24px; }
  .wip-card--feature .wip-card__media { border-radius: var(--radius-md); }
  /* Archive head */
  .wip-archive-head .wip-wrap { padding-block: 28px 24px; gap: 12px; }
  .wip-chips { gap: 8px; }
  .wip-chips .wip-chip { padding: 6px 10px; }
  /* Article */
  .wip-article__dek { font-size: 17px; line-height: 27px; }
  .wip-byline { gap: 10px; }
  .wip-share .wip-iconbtn { width: 44px; height: 44px; }
  .wip-facts dd { font-size: 16px; }
  .wip-author { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .wip-prose--article h2 { font-size: 26px; line-height: 32px; }
  .wip-pager a, .wip-pager span { min-width: 40px; height: 40px; padding: 0 8px; }
  .wip-crumbs, .wip-crumbs-wrap { font-size: 13px; }
  /* On phones the category kicker already says where you are. */
  .wip-article__head .wip-crumbs, .wip-article__head .wip-crumbs-wrap { display: none; }
}
/* Search and menu open as overlays pinned to the top of the screen, so ads placed under the header never push them down. */
.wip-sheet { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding-block: 0 28px; border: 0; background: var(--paper); box-shadow: var(--shadow-lift); }
.wip-sheet--menu { bottom: 0; }
.wip-sheet .wip-sheet__bar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.wip-sheet__title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.wip-sheet__bar .wip-logo .wip-mark { width: 28px; height: 35px; }
.wip-sheet__bar .wip-logo__name { font-size: 26px; }
.wip-sheet__body { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
html.wip-locked, html.wip-locked body { overflow: hidden; }
