@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/lato-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/lato-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/lato-normal-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Home decor blog: design prototype v2 (Nov 15 2026)
   Type rule: headings in Cormorant Garamond (editorial serif, italic word for emphasis); everything else in Figtree.
   Shape rule: feature photos use an arch top (like an arched mirror); other photos and cards 14px; buttons, chips and inputs fully round.
   One accent (deep green), plus a deep forest band for contrast. Light + dark follow the visitor's system setting. */

:root {
  --bg: #f3f3ef;
  --surface: #ffffff;
  --ink: #18191b;
  --muted: #5b5f64;
  --line: #e1e1db;
  --accent: #2c5a45;
  --accent-ink: #ffffff;
  --accent-soft: #e2ebe5;
  --forest: #1c3128;
  --forest-ink: #eef2ee;
  --forest-muted: #b5c4ba;
  --forest-accent: #9fd0b5;
  --shadow: 0 1px 2px rgb(30 45 38 / .06), 0 10px 30px rgb(30 45 38 / .09);
  --r: 14px;
  --arch: 999px 999px var(--r) var(--r);
  --wrap: 1260px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --surface: #1a1d1b;
    --ink: #ecedea;
    --muted: #a5aaa6;
    --line: #2b302d;
    --accent: #8fc5a8;
    --accent-ink: #0e1913;
    --accent-soft: #1d2a23;
    --forest: #17221c;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
/* Grid children must be allowed to shrink below their photo's natural width (stops sideways scrolling on phones) */
.hero-grid > *, .feature > *, .post-layout > *, .signup > *, .foot-grid > *, .cat-head > * { min-width: 0; }
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--surface); padding: 8px 14px; border-radius: 999px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.eyebrow { margin: 0 0 10px; font: 700 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.stuck { border-bottom-color: var(--line); }
.head-row { height: 72px; display: flex; align-items: center; gap: 24px; }
.logo { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo-arch { width: 20px; height: 26px; border: 2px solid var(--accent); border-radius: 999px 999px 3px 3px; position: relative; flex: none; }
.logo-arch::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 2px; height: 11px; background: var(--accent); transform: translateX(-50%); }
.nav { display: none; gap: 2px; margin: 0 auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; font-size: 21px; transition: background .2s, transform .15s; }
.icon-btn:hover { background: var(--surface); }
.icon-btn:active { transform: scale(.94); }
.head-cta { display: none; }
@media (min-width: 640px) { .head-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .head-tools { margin-left: 0; }
  .menu-btn { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 4px 16px 20px; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 14px 4px; font-size: 24px; font-family: var(--display); font-weight: 600; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a i { font-size: 18px; color: var(--accent); }
@media (min-width: 1080px) { .mobile-nav.open { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), background .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-primary i { transition: transform .3s var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }

/* Hero (homepage) */
.hero { padding: 32px 0 56px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(50px, 8vw, 96px); line-height: .95; letter-spacing: -.02em; max-width: 10ch; }
.hero h1 em { display: inline-block; padding-bottom: .06em; }
.lede { font-size: 18px; color: var(--muted); max-width: 40ch; margin: 22px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { display: flex; gap: 28px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); max-width: 460px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats dt { font: 600 34px/1 var(--display); color: var(--ink); }
.hero-stats dd { margin: 0; font-size: 14px; color: var(--muted); }
.hero-art { position: relative; padding: 0 0 40px; }
.hero-main { display: block; width: 84%; margin-left: auto; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-main:hover img { transform: scale(1.04); }
.hero-small { position: absolute; left: 0; bottom: 0; width: min(300px, 70%); display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.hero-small:hover { transform: translateY(-3px); }
.hero-small-img { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; flex: none; background: var(--line); }
.hero-small-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-small-txt { font-weight: 600; font-size: 14px; line-height: 1.3; }
.hero-small-txt small { display: block; color: var(--accent); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.ring { position: absolute; top: 6%; left: 2%; width: 116px; height: 116px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.ring svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.ring text { font: 700 10.5px var(--body); letter-spacing: .18em; fill: var(--ink); }
.ring i { font-size: 30px; color: var(--accent); }
@media (max-width: 520px) { .ring { width: 92px; height: 92px; } .ring i { font-size: 24px; } .ring text { font-size: 11.5px; } }
@media (min-width: 960px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

/* Section headings */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 76px 0; } }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(36px, 4.6vw, 56px); }
.sec-head > a { font-weight: 600; color: var(--accent); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; padding-bottom: 6px; }
.sec-head > a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Browse by room: arched tiles */
.arches { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.arches::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .arches { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: 20px; overflow: visible; padding: 0; margin: 0; } }
.arch-tile { scroll-snap-align: start; text-align: center; }
.arch-img { aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--line); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.arch-tile:hover .arch-img img { transform: scale(1.05); }
.arch-tile h3 { font-size: 26px; margin-top: 14px; }
.arch-tile span { color: var(--muted); font-size: 14px; }
.arch-tile:hover h3 { color: var(--accent); }

/* Featured: one big story + a list */
.feature { display: grid; gap: 22px; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: stretch; } }
.feature-main { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--line); min-height: 460px; }
.feature-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-main:hover img { transform: scale(1.03); }
.feature-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 24px 24px; color: #fff;
  background: linear-gradient(to top, rgb(10 16 13 / .82), rgb(10 16 13 / .45) 55%, transparent); }
.feature-cap .kicker { color: #cfe6d8; }
.feature-cap h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 6px 0 14px; max-width: 18ch; }
.feature-cap .read { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.feature-main:hover .read i { transform: translateX(4px); }
.read i { transition: transform .3s var(--ease); }
.feature-side { display: grid; align-content: space-between; gap: 0; }
.feature-item { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-thumb { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--line); }
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-item:hover .feature-thumb img { transform: scale(1.06); }
.feature-item h3 { font-size: 24px; line-height: 1.12; margin-top: 4px; }
.feature-item:hover h3 { color: var(--accent); }
.kicker { display: block; font: 700 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* Color band: paint-chip cards on deep forest */
.band { background: var(--forest); color: var(--forest-ink); padding: 64px 0 56px; }
@media (min-width: 900px) { .band { padding: 84px 0 76px; } }
.band .eyebrow { color: var(--forest-accent); }
.band h2 em { color: var(--forest-accent); }
.band .sec-head > a { color: var(--forest-accent); }
.chips-row { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 16px 20px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: #3d5a4c transparent; }
@media (min-width: 768px) { .chips-row { grid-auto-columns: 204px; padding: 6px 32px 20px; margin: 0 -32px; } }
.paint { scroll-snap-align: start; background: #fbfbf9; border-radius: 16px; padding: 8px; color: #1b1d1c; transition: transform .4s var(--ease); }
.paint:hover { transform: translateY(-6px) rotate(-1deg); }
.paint-photo { aspect-ratio: 4 / 5; border-radius: 10px 10px 0 0; overflow: hidden; background: #ddd; }
.paint-photo img { width: 100%; height: 100%; object-fit: cover; }
.paint-chip { background: var(--sw); color: var(--sw-ink); border-radius: 0 0 10px 10px; padding: 14px 14px 16px; min-height: 76px; display: grid; align-content: end; }
.paint-chip strong { font: 600 24px/1.05 var(--display); }
.paint-chip small { font-size: 12px; opacity: .8; margin-top: 2px; }

/* Post cards: an even grid, photo cropped to 4:5 */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-count { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgb(255 255 255 / .86); color: #1b1d1c; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card .kicker { margin: 14px 0 4px; }
.card-img + h3 { margin-top: 14px; }
.card h3 { font-size: 23px; line-height: 1.1; }
.card:hover h3 { color: var(--accent); }

/* Newsletter */
.signup { background: var(--accent-soft); border-radius: 24px; overflow: hidden; display: grid; }
.signup-art { height: 220px; overflow: hidden; }
.signup-art img { width: 100%; height: 100%; object-fit: cover; }
.signup-body { padding: 32px 22px 36px; }
.signup h2 { font-size: clamp(34px, 4vw, 50px); }
.signup-body > p:not(.eyebrow) { color: var(--muted); margin: 12px 0 22px; max-width: 44ch; }
.signup form { display: grid; gap: 8px; max-width: 520px; }
.signup label { font-size: 14px; font-weight: 600; }
.signup .row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; height: 50px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  background: var(--surface); color: var(--ink); padding: 0 20px; font: inherit; }
.signup input::placeholder { color: var(--muted); }
@media (min-width: 900px) {
  .signup { grid-template-columns: 340px 1fr; align-items: center; }
  .signup-art { height: 100%; min-height: 380px; padding: 28px 0 0 28px; }
  .signup-art img { border-radius: var(--arch); }
  .signup-body { padding: 48px 56px; }
}

/* Footer */
.site-foot { margin-top: 40px; background: var(--forest); color: var(--forest-ink); padding: 56px 0 30px; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.foot-grid > div:first-child { grid-column: 1 / -1; }
.foot-logo { font: 600 44px/1 var(--display); }
.foot-grid p { color: var(--forest-muted); max-width: 32ch; margin: 12px 0 0; }
.foot-grid h3 { font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--forest-accent); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a:not(.foot-logo) { color: var(--forest-muted); }
.foot-grid a:hover { color: #fff; }
.foot-base { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); color: var(--forest-muted); font-size: 14px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: auto; } }

/* Section (category) page */
.cat-head { padding: 36px 0 30px; display: grid; gap: 24px; align-items: end; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.cat-head h1 { font-size: clamp(48px, 7vw, 84px); line-height: .98; }
.cat-head p { color: var(--muted); font-size: 18px; max-width: 48ch; margin: 14px 0 0; }
.cat-head .cat-count { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 10px; }
.cat-art { display: none; }
@media (min-width: 900px) {
  .cat-head { grid-template-columns: 1fr auto; padding: 56px 0 44px; }
  .cat-art { display: flex; gap: 12px; align-items: end; }
  .cat-art .arch-img { width: 120px; }
  .cat-art .arch-img:nth-child(2) { width: 140px; transform: translateY(-24px); }
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 26px; scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.chip.plain { padding-left: 16px; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.swatch { width: 20px; height: 20px; border-radius: 999px; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); flex: none; }

/* Post page */
.post-head { padding: 36px 0 30px; max-width: 860px; }
.post-head h1 { font-size: clamp(40px, 5.6vw, 66px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; margin-top: 18px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-layout { display: grid; gap: 40px; }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 700px) 290px; justify-content: space-between; } }
.toc-mobile { margin: 0 0 28px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); }
.toc-mobile summary { padding: 14px 18px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 10px; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile[open] summary { border-bottom: 1px solid var(--line); }
.toc-mobile ol { list-style: none; margin: 0; padding: 8px 18px 14px; display: grid; }
.toc-mobile a { display: flex; gap: 12px; padding: 6px 0; color: var(--muted); }
@media (min-width: 1100px) { .toc-mobile { display: none; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); overflow: auto; padding: 22px; background: var(--surface); border-radius: var(--r); }
}
.toc h2 { font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; gap: 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; transition: color .2s, background .2s; }
.toc a span, .toc-mobile a span { font: italic 600 17px/1.1 var(--display); color: var(--accent); min-width: 20px; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); background: var(--accent-soft); font-weight: 600; }

/* Article body: flat blocks so the ad script has many places to insert */
.prose { font-size: 18px; line-height: 1.75; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(30px, 3.2vw, 38px); margin: 1.8em 0 .55em; scroll-margin-top: 92px; }
.prose .idea-num { font-style: italic; font-weight: 500; color: var(--accent); margin-right: .35em; }
.prose h3 { font-size: 26px; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose figure { margin: 1.2em 0 1.6em; position: relative; }
.prose figure img { width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: var(--r); background: var(--line); }
.prose figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.save-btn { position: absolute; top: 12px; right: 12px; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: #e60023; color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s var(--ease); }
.prose figure:hover .save-btn, .save-btn:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .save-btn { opacity: 1; transform: none; } }

.related { padding-top: 40px; }
@media (min-width: 1100px) { .related .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Search */
.search { position: fixed; inset: 0; z-index: 40; display: none; background: rgb(10 14 12 / .45); padding: 10vh 16px 16px; }
.search.open { display: block; }
.search-box { max-width: 640px; margin: 0 auto; background: var(--surface); border-radius: var(--r); box-shadow: 0 24px 80px rgb(0 0 0 / .3); overflow: hidden; }
.search-box label { position: absolute; left: -999px; }
.search-input { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search-input i { font-size: 20px; color: var(--muted); }
.search-input input { flex: 1; height: 60px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 18px var(--body); }
.search-results { max-height: 60vh; overflow: auto; padding: 8px; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.search-results a:hover, .search-results a.on { background: var(--accent-soft); }
.search-results img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; flex: none; }
.search-results small { display: block; color: var(--accent); font-weight: 600; }
.search-results p { margin: 0; padding: 18px 10px; color: var(--muted); }

/* Motion: content settles in as it scrolls into view; the ring turns slowly */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .cards .reveal:nth-child(4n+2), .js .arches .reveal:nth-child(2) { transition-delay: .06s; }
  .js .cards .reveal:nth-child(4n+3), .js .arches .reveal:nth-child(3) { transition-delay: .12s; }
  .js .cards .reveal:nth-child(4n+4), .js .arches .reveal:nth-child(4) { transition-delay: .18s; }
  .js .arches .reveal:nth-child(5) { transition-delay: .24s; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-main { animation: rise 1.1s var(--ease) .1s both; }
  .hero-small { animation: rise 1s var(--ease) .35s both; }
  .ring { animation: rise 1s var(--ease) .45s both; }
  .ring svg { animation: spin 40s linear infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Launch additions (build-site.js): SVG icons, static pages, image sizing ---- */
i.ic { display: inline-flex; width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
i.ic svg { width: 100%; height: 100%; fill: currentColor; }
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline-flex; }
.prose figure img { height: auto; }
.page-body { max-width: 720px; padding-bottom: 72px; }
.contact-mail { display: flex; gap: 10px; align-items: center; font-size: 20px; }
.contact-mail i.ic { color: var(--accent); }
.post-head .lede { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 52ch; }
.ring i.ic svg { position: static; inset: auto; width: 100%; height: 100%; animation: none; }

/* ==== Editorial theme (owner picked Nov 22-23 2026): option A colors + masthead, fonts Playfair Display + Lato ==== */
:root {
  --bg: #f8f7f4; --surface: #ffffff; --ink: #111111; --muted: #5c5c5c; --line: #e2e0db;
  --accent: #a8322a; --accent-ink: #ffffff; --accent-soft: #f4e6e3;
  --forest: #111111; --forest-ink: #f3f1ec; --forest-muted: #b9b6b0; --forest-accent: #e9a99f;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 12px 32px rgb(0 0 0 / .08);
  --r: 2px; --arch: 999px 999px 2px 2px;
  --display: "Playfair Display", Georgia, serif; --body: "Lato", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212; --surface: #1b1b1b; --ink: #eeece8; --muted: #a9a6a1; --line: #2d2c2a;
    --accent: #e0857b; --accent-ink: #160b09; --accent-soft: #2a1d1b;
    --forest: #0b0b0b; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .3);
  }
}
body { font-size: 16.5px; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { font-weight: 400; }
.eyebrow, .kicker { color: var(--ink); letter-spacing: .22em; font-weight: 700; }
.band .eyebrow { color: var(--forest-accent); }

/* Masthead: centered name, nav on its own ruled line underneath */
@media (min-width: 1080px) {
  .head-row { height: auto; display: grid; grid-template-columns: 1fr auto 1fr; padding-top: 18px; }
  .head-row .logo { grid-column: 2; font-size: 36px; }
  .head-row .head-tools { grid-column: 3; justify-self: end; }
  .head-row .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; margin: 14px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); width: 100%; padding: 4px 0; }
  .nav a { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--ink); padding: 10px 16px; }
}
.logo-arch { border-color: var(--ink); }
.logo-arch::after { background: var(--ink); }

.btn { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.hero h1 { font-size: clamp(46px, 6.6vw, 86px); line-height: 1.04; }
.hero-stats { border-top-color: var(--ink); }
.card h3, .feature-item h3 { font-weight: 400; }
.card-count, .chip, .signup input { border-radius: 0; }
.signup { border-radius: 0; background: #efe9e3; }
@media (prefers-color-scheme: dark) { .signup { background: var(--surface); } }

/* ==== Post pages: article + ad columns (300px) on both sides on wide screens, right only on laptops ==== */
.post-wide { max-width: 1440px; }
.post-layout { display: grid; gap: 40px; }
.post-main { min-width: 0; max-width: 760px; }
.ad-rail { display: none; }
.ad-sticky { position: sticky; top: 100px; min-height: 600px; }
@media (min-width: 1080px) { .ad-sticky { top: 186px; } }
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .ad-rail-right { display: block; grid-column: 2; grid-row: 1; }
  .post-main { grid-column: 1; grid-row: 1; }
}
@media (min-width: 1440px) {
  .post-layout { grid-template-columns: 300px minmax(0, 1fr) 300px; }
  .ad-rail-left { display: block; grid-column: 1; grid-row: 1; }
  .post-main { grid-column: 2; margin: 0 auto; width: 100%; }
  .ad-rail-right { grid-column: 3; }
}
.post-main .post-head { padding-top: 28px; max-width: none; }
.post-main .post-head h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08; }
/* the contents list is a single closed "Jump to an idea" bar on every screen; no sidebar */
.toc { display: none !important; }
.toc-mobile { display: block !important; border-radius: 0; border-color: var(--ink); background: transparent; }
.toc-mobile summary { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; }
.toc a span, .toc-mobile a span { font-weight: 400; }
