:root {
  --paper: #f7f5ef;
  --card: #ffffff;
  --ink: #13283a;
  --muted: #526271;
  --line: #d7dee2;
  --blue: #173d59;
  --blue-dark: #0e2a40;
  --yellow: #d2b477;
  --shadow: 0 16px 45px rgba(12, 35, 52, .12);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.learning-week-preview { display:block; max-width:480px; width:100%; height:auto; margin:1rem 0 2rem; }
.detail-notes table { border-collapse:collapse; width:100%; margin:18px 0; }
.detail-notes th,.detail-notes td { text-align:left; padding:12px; border-bottom:1px solid #d7d7cf; }
.detail-notes caption { text-align:left; font-weight:600; margin-bottom:10px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 14px; z-index: 100; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,245,239,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 230px; }
.brand img { width: 230px; height: 58px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 650; font-size: .94rem; }
.nav a:hover, .nav a:focus-visible { color: var(--blue); }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 9px 12px; }

.ticker { border-bottom: 1px solid #29465b; background: #102d43; }
.ticker .container { display: flex; justify-content: center; gap: 42px; padding: 10px 0; color: #d9e2e8; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.hero { padding: 76px 0 78px; border-bottom: 1px solid #29465b; overflow: hidden; color: #f7f5ef; background: #102d43; }
.hero .lede { color: #d3dfe7; }
.hero .eyebrow { color: #e4d1a6; border-color: #9e8a61; }
.hero .button.primary { background: #ddc797; border-color: #ddc797; color: #102d43; }
.hero .button.primary:hover { background: #e8d6af; }
.hero .button.secondary { border-color: #f7f5ef; color: #f7f5ef; }
.hero .button.secondary:hover { background: #f7f5ef; color: #102d43; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.eyebrow { margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--blue); color: var(--blue); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 750; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 500; }
h1 { margin: 24px 0 20px; font-size: clamp(3rem, 5.2vw, 4.4rem); letter-spacing: -.04em; max-width: 780px; }
h2 { margin: 0 0 14px; font-size: clamp(2.2rem, 4.2vw, 3.8rem); letter-spacing: -.035em; }
h3 { margin: 0; font-size: 1.28rem; }
.lede { max-width: 660px; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--ink); background: transparent; text-decoration: none; font-weight: 650; cursor: pointer; }
.button.primary { background: var(--blue); border-color: var(--blue); color: white; }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary:hover { background: white; }
.button.small { min-height: 40px; padding: 0 14px; font-size: .88rem; }

.hero-art { position: relative; min-height: 470px; }
.feature-sheet { position: absolute; inset: 0 34px 0 0; background: #f0eee6; color: #16364d; border-radius: 10px; box-shadow: var(--shadow); padding: 50px; overflow: hidden; }
.feature-sheet::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #a8b9c5; right: -140px; bottom: -160px; opacity: .9; }
.feature-sheet .sheet-label { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; }
.feature-sheet h3 { margin-top: 120px; max-width: 235px; font-size: 2rem; }
.mini-card { position: absolute; width: 178px; height: 226px; padding: 24px; border-radius: 8px; box-shadow: var(--shadow); font-family: var(--serif); font-weight: 800; line-height: 1.15; }
.mini-card.one { right: 0; top: 46px; background: #ddc797; color: #16364d; transform: rotate(4deg); }
.mini-card.two { right: 20px; bottom: 34px; background: var(--card); color: #16364d; transform: rotate(-4deg); }

.section { padding: 96px 0; }
.section.alt { background: #edf1f3; border-block: 1px solid var(--line); }
#about.section.alt { background: #0d2639; color: #f5f4ed; border-color: #0d2639; }
#about .about-copy p { color: #d3dfe7; }
#about .eyebrow { color: #e4d1a6; border-color: #9e8a61; }
#about .fact { color: #f5f4ed; background: #16364c; border-color: #3c5669; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 38px; }
.section-heading p { margin: 0; color: var(--muted); max-width: 520px; }
.country-control { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #ffffff; border: 1px solid var(--line); border-radius: 10px; }
.country-control label { font-weight: 750; font-size: .9rem; }
.country-control select { background: transparent; border: 0; min-width: 170px; color: var(--ink); }

.grid { display: grid; gap: 26px; }
.books-grid { grid-template-columns: repeat(3, 1fr); }
.templates-grid { grid-template-columns: repeat(4, 1fr); }
.journal-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(12,35,52,.05); }
.book-cover-image { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: center; background: #e9edef; border-bottom: 1px solid var(--line); }
.book-cover { aspect-ratio: 4 / 5; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: linear-gradient(145deg, #111827, #26344f); position: relative; isolation: isolate; }
.book-cover::before { content: ''; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.28); z-index: -1; }
.book-cover.sky { background: linear-gradient(145deg, #173c71, #e88b42); }
.book-cover.moon { background: linear-gradient(145deg, #122247, #6d55b6); }
.book-cover.light { background: linear-gradient(145deg, #0c5364, #e8b956); }
.book-cover.leo { background: linear-gradient(145deg, #266b75, #df9c55); }
.book-cover.quiet { background: linear-gradient(145deg, #3d315b, #d17f7a); }
.book-cover span { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; opacity: .78; }
.book-cover strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.15rem); line-height: 1.06; }
.card-body { padding: 26px; }
.card-body p { color: var(--muted); margin: 10px 0 18px; }
.edition-links { display: flex; flex-wrap: wrap; gap: 8px; }
.templates-grid .card { display: flex; flex-direction: column; }
.template-cover { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #e9edef; border-bottom: 1px solid var(--line); }
.templates-grid .card-body { display: flex; flex-direction: column; flex: 1; }
.templates-grid .price { margin-top: auto; }
.product-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.product-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 750; }
.product-link:hover, .product-link:focus-visible, .read-link:hover, .read-link:focus-visible { text-decoration: underline; }
.price { color: var(--ink) !important; font-weight: 850; }
.templates-more { text-align: center; margin-top: 34px; }

.journal-card .visual { height: 170px; background: #dbe4e9; display: flex; align-items: end; padding: 24px; }
.journal-card .visual span { font-family: var(--serif); font-size: 1.75rem; font-weight: 800; color: #17384f; }
.journal-card:nth-child(2) .visual { background: var(--yellow); }
.journal-card:nth-child(3) .visual { background: #ccdcd7; }
.journal-card:nth-child(4) .visual { background: #d4dee7; }
.journal-card:nth-child(5) .visual { background: #ddc797; }
.journal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.journal-card time { display: block; margin: 10px 0 6px; color: var(--muted); font-size: .82rem; }
.tag { display: inline-block; color: var(--blue); background: #e9eff3; padding: 4px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.read-link { color: var(--blue); text-decoration: none; font-weight: 780; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.portrait { border-radius: 26px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.fact { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.fact strong { display: block; font-size: 1.45rem; }

.contact-panel { background: #102d43; color: #f7f5ef; border-radius: 24px; padding: clamp(34px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.contact-panel p { color: #d3dfe7; max-width: 650px; }
.contact-panel .eyebrow { color: #e4d1a6; border-color: #9e8a61; }
.contact-panel .button { border-color: white; color: white; }

.site-footer { padding: 38px 0; border-top: 1px solid #29465b; background: #102d43; color: #f5f4ed; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 20px; font-size: .9rem; }
.legal { max-width: 840px; margin: 60px auto; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 40px; }
.legal h1 { font-size: 3rem; }
.legal h2 { font-size: 1.6rem; margin-top: 32px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 440px; }
  .books-grid, .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand { min-width: 180px; }
  .brand img { width: 185px; }
  .ticker .container { justify-content: flex-start; overflow-x: auto; gap: 24px; white-space: nowrap; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 46px; }
  .hero-art { min-height: 380px; }
  .feature-sheet { right: 14px; padding: 34px; }
  .feature-sheet h3 { margin-top: 130px; max-width: 170px; font-size: 1.8rem; }
  .mini-card { width: 145px; height: 178px; padding: 18px; }
  .books-grid, .templates-grid, .journal-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Product detail and shopping information pages. */
.buying-grid { grid-template-columns: repeat(3, 1fr); }
.detail-nav { display:flex; gap:20px; flex-wrap:wrap; }
.detail-nav a { font-weight:700; }
.product-detail { display:grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); gap:48px; margin-top:30px; align-items:start; }
.product-detail > img { width:100%; max-height:650px; object-fit:contain; border-radius:16px; background:var(--card); }
.product-detail h1 { font-size:clamp(2.4rem,5vw,4rem); }
.detail-notes { max-width:800px; margin:64px auto 0; }
.detail-notes h2 { font-size:2rem; margin-top:32px; }
@media(max-width:760px) { .product-detail,.buying-grid { grid-template-columns:1fr; } .product-detail { gap:28px; } .detail-nav { gap:12px; font-size:.9rem; } }

/* Shared visual styling; content and shopping destinations are unchanged. */
.card-body h3 { line-height: 1.25; font-size: 1.4rem; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button:focus-visible, .product-link:focus-visible, .read-link:focus-visible, .nav a:focus-visible, select:focus-visible { outline: 3px solid #b78935; outline-offset: 4px; }
.detail-nav a { text-decoration: none; }
.detail-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.card { transition: box-shadow .18s ease; }
.card:hover { box-shadow: 0 10px 28px rgba(12,35,52,.10); }
@media(max-width:620px) {
  h1 { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .hero { padding-bottom: 58px; }
  .section { padding: 64px 0; }
  .nav-wrap { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .footer-links { gap: 12px 18px; }
  .country-control { flex-wrap: wrap; max-width: 100%; }
  .country-control select { max-width: 100%; min-width: 0; }
  .button { padding: 12px 18px; text-align: center; }
  .legal { margin: 30px 12px; padding: 24px; }
  .legal h1 { font-size: 2.5rem; overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion:reduce) { .button,.card { transition: none; } }

/* The Daily Titus — collection storefront, October 2026. */
:root { --paper:#fcfcfa; --ink:#102d40; --muted:#536370; --blue:#154e73; --blue-dark:#0b3654; --line:#dce3e7; --yellow:#e6c984; }
.container { width:min(1280px,calc(100% - 80px)); }
.nav-wrap { min-height:88px; }
.brand { min-width:196px; }
.brand img { width:196px; height:52px; }
.nav { gap:28px; }
.nav a { font-size:14px; position:relative; }
.nav a::after { content:''; position:absolute; bottom:-8px; left:0; right:0; height:2px; background:var(--blue); transform:scaleX(0); transition:transform .18s; }
.nav a:hover::after,.nav a:focus-visible::after { transform:scaleX(1); }
.ticker { background:#f3f6f7; border-block:1px solid var(--line); }
.ticker .container { gap:48px; padding:13px 0; font-size:14px; font-weight:600; letter-spacing:.02em; text-transform:none; }
.ticker a { color:var(--ink); text-decoration:none; }
.ticker a:hover { text-decoration:underline; text-underline-offset:5px; }
.hero { background:#102f49; padding:58px 0 64px; border-bottom:0; }
.hero-grid { grid-template-columns:1.1fr .9fr; gap:80px; }
h1 { font-size:clamp(2.8rem,4.7vw,4.6rem); line-height:1.05; letter-spacing:-.045em; margin:22px 0; }
.hero h1 { max-width:670px; }
.eyebrow { border:0; padding:0; border-radius:0; font-size:14px; font-weight:650; letter-spacing:.12em; text-transform:uppercase; }
.hero .eyebrow { color:#e6c984; }
.hero .lede { font-size:1rem; max-width:570px; line-height:1.8; }
.hero .actions { margin-top:28px; }
.button { min-height:48px; border-radius:5px; padding:12px 20px; font-size:14px; line-height:1.45; text-align:center; }
.hero .button.primary { background:#e6c984; border-color:#e6c984; }
.hero .button.secondary { border-color:#728a9b; }
.collection-display { min-height:0; display:grid; gap:18px; }
.spotlight { display:grid; grid-template-columns:1.05fr 1fr; background:#fff; color:var(--ink); border-radius:6px; overflow:hidden; text-decoration:none; box-shadow:0 22px 55px #00152240; }
.spotlight-image { padding:24px 0 24px 24px; background:#edf2f5; }
.spotlight-image img { width:100%; aspect-ratio:8.5/11; object-fit:contain; box-shadow:0 12px 20px #06263d24; }
.spotlight-caption { padding:30px 22px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:20px; }
.spotlight-caption > span:first-child { color:var(--muted); font-size:14px; }
.spotlight-caption strong { font-family:var(--serif); font-size:clamp(1.4rem,2.1vw,2rem); line-height:1.16; font-weight:500; }
.spotlight-cta { font-size:14px; text-decoration:underline; text-underline-offset:5px; font-weight:650; }
.planner-spotlight { display:grid; grid-template-columns:90px 1fr; gap:24px; padding:18px 22px; border:1px solid #48667b; border-radius:6px; text-decoration:none; align-items:center; background:#193a54; }
.planner-spotlight img { width:90px; height:112px; object-fit:contain; background:white; }
.planner-spotlight div { display:grid; gap:9px; }
.planner-spotlight span { color:#d3dfe7; font-size:14px; }
.planner-spotlight span:last-child { color:#e6c984; text-decoration:underline; text-underline-offset:4px; }
.planner-spotlight strong { font-family:var(--serif); font-size:1.4rem; font-weight:500; line-height:1.2; }
.section { padding:82px 0; scroll-margin-top:88px; }
h2 { font-size:clamp(2rem,3.5vw,3.25rem); }
.section-heading { margin-bottom:30px; gap:40px; }
.section-heading p { max-width:700px; line-height:1.75; }
.country-control { flex-direction:column; align-items:flex-start; gap:4px; padding:12px 18px; min-width:220px; border-radius:6px; flex-shrink:0; }
.country-control select { width:100%; min-height:30px; font-size:16px; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:26px 0 8px; }
.catalog-filters { display:flex; flex-wrap:wrap; gap:8px; }
.catalog-filters button { color:var(--muted); border:1px solid var(--line); border-radius:4px; background:white; font:600 14px var(--sans); padding:11px 16px; min-height:44px; cursor:pointer; }
.catalog-filters button[aria-pressed=true] { color:white; background:var(--ink); border-color:var(--ink); }
.catalog-search { flex-basis:320px; flex-shrink:0; }
.catalog-search input { font:14px var(--sans); width:100%; padding:13px 16px; min-height:46px; border:1px solid #bbc8d0; border-radius:4px; background:#fff; color:var(--ink); }
.catalog-search input::placeholder { color:#657580; opacity:1; }
.catalog-status { font-size:14px; color:var(--muted); margin:12px 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
[hidden] { display:none !important; }
.grid { gap:28px; }
.card { border-radius:6px; box-shadow:none; }
.card:hover { box-shadow:0 12px 32px #102d4010; }
.books-grid .card { display:flex; flex-direction:column; }
.book-cover-image { aspect-ratio:1/1; padding:24px; background:#eef2f4; }
.books-grid .card-body { display:flex; flex-direction:column; flex:1; }
.card-body { padding:24px; }
.card-body h3 { font-size:1.5rem; line-height:1.2; font-weight:500; }
.card-body p { line-height:1.7; }
.edition-links { margin-top:auto; display:grid; grid-template-columns:1fr; }
.edition-links .button { min-height:46px; font-size:14px; }
.templates-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.template-cover { aspect-ratio:4/3; padding:16px; background:#f1f4f6; }
.section.alt { background:#f3f6f7; }
.templates-grid .product-link { display:block; padding-top:14px; border-top:1px solid var(--line); }
.templates-grid .product-links { gap:8px; }
.journal-grid { gap:24px; }
.journal-card .visual { height:130px; background:#e8eff3; border-bottom:1px solid var(--line); }
.journal-card .visual span { font-size:1.8rem; font-weight:500; }
.journal-card:nth-child(2n) .visual { background:#eee5d0; }
.journal-card:nth-child(3n) .visual { background:#dce8ef; }
.tag,.journal-card time { font-size:14px; }
.tag { border-radius:3px; font-weight:600; }
.journal-card h3 { font-size:1.6rem; }
#buying-guide { padding:64px 0; background:#102f49; color:white; }
#buying-guide .eyebrow { color:#e6c984; }
#buying-guide .section-heading p { color:#d3dfe7; }
#buying-guide .card { background:#193a54; border-color:#426078; }
#buying-guide .card-body p { color:#d3dfe7; }
#buying-guide .read-link { color:#e6c984; }
#about.section.alt { background:#f3f6f7; color:var(--ink); border-color:var(--line); }
#about .eyebrow { color:var(--blue); }
#about .about-copy p { color:var(--muted); }
#about .fact { color:var(--ink); background:white; border-color:var(--line); border-radius:4px; font-size:14px; }
.portrait { border-radius:6px; max-height:480px; }
.about-grid { grid-template-columns:.8fr 1.2fr; gap:80px; }
.contact-panel { border-radius:6px; }
.contact-panel .button { overflow-wrap:anywhere; }
.detail-nav a { font-size:14px; }
.site-footer { font-size:14px; }
.footer-grid { align-items:flex-start; }
.footer-links { font-size:14px; }
.legal { border-radius:6px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #bf9236; outline-offset:4px; }
@media(min-width:901px) and (max-width:1100px) { .hero-grid { gap:40px; } .nav { gap:18px; } .brand { min-width:170px; } .brand img { width:170px; } .catalog-toolbar { align-items:flex-start; flex-direction:column; } .catalog-search { flex-basis:auto; width:100%; } }
@media(max-width:900px) {
 .container { width:calc(100% - 48px); }
 .nav { top:88px; }
 .hero-grid { grid-template-columns:1fr; gap:40px; }
 .hero h1 { max-width:700px; font-size:clamp(3rem,7vw,4rem); }
 .collection-display { display:grid; grid-template-columns:1.2fr 1fr; align-items:stretch; }
 .spotlight { grid-template-columns:1fr; }
 .spotlight-image { padding:22px; }
 .spotlight-image img { max-height:270px; }
 .spotlight-caption { padding:24px; gap:12px; }
 .planner-spotlight { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
 .planner-spotlight img { width:100%; height:210px; }
 .planner-spotlight strong { font-size:1.6rem; }
 .templates-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .catalog-toolbar { flex-direction:column; align-items:stretch; gap:16px; }
 .catalog-search { flex-basis:auto; }
 .about-grid { grid-template-columns:1fr; gap:32px; }
 .portrait { max-width:420px; }
 .section-heading { gap:20px; }
}
@media(max-width:620px) {
 .container { width:calc(100% - 32px); }
 .nav-wrap { min-height:76px; flex-wrap:nowrap; padding:8px 0; gap:8px; }
 .nav { top:76px; }
 .brand { min-width:0; }
 .brand img { width:172px; }
 .ticker .container { gap:24px; justify-content:flex-start; padding:12px 0; }
 .hero { padding:40px 0; }
 .hero h1 { font-size:clamp(2.75rem,10vw,3.6rem); }
 .hero .lede { font-size:16px; }
 .hero-grid { gap:32px; }
 .collection-display { grid-template-columns:1fr; }
 .spotlight { grid-template-columns:1fr 1fr; }
 .spotlight-image { padding:16px 0 16px 16px; }
 .spotlight-caption { padding:20px 16px; }
 .spotlight-caption strong { font-size:1.5rem; }
 .planner-spotlight { display:grid; grid-template-columns:80px 1fr; gap:18px; padding:16px; }
 .planner-spotlight img { width:80px; height:110px; }
 .planner-spotlight strong { font-size:1.3rem; }
 .section { padding:56px 0; scroll-margin-top:76px; }
 .books-grid,.templates-grid,.journal-grid { grid-template-columns:1fr; }
 .card-body { padding:22px; }
 .book-cover-image { height:360px; aspect-ratio:auto; }
 .country-control { min-width:0; width:100%; }
 .catalog-filters button { padding:10px 13px; }
 .contact-panel { padding:28px 22px; gap:20px; }
 .contact-panel .button { font-size:14px; padding:12px; }
 .contact-panel h2 { font-size:2rem; }
 .product-detail h1 { font-size:2.7rem; }
 .detail-nav { gap:10px 16px; justify-content:flex-end; }
 .product-detail img { max-height:480px; }
}
@media(prefers-reduced-motion:reduce) { .nav a::after { transition:none; } }

/* Reference palette supplied by Titus; colour-only overrides. */
:root {
  --paper:#f3eee5;
  --card:#fffaf1;
  --ink:#351f16;
  --muted:#76695b;
  --line:#ded1c2;
  --blue:#922e16;
  --blue-dark:#7c220f;
  --yellow:#f7ca55;
  --shadow:0 16px 45px rgba(53,31,22,.12);
}
.site-header { background:rgba(243,238,229,.97); }
.ticker { background:#7c220f; border-color:#93412e; }
.ticker .container,.ticker a { color:#fffaf1; }
.hero { background:#7c220f; color:#fffaf1; }
.hero .lede { color:#f1e3d3; }
.hero .eyebrow { color:#fffaf1; }
.hero .button.primary { background:#fffaf1; border-color:#fffaf1; color:#7c220f; }
.hero .button.primary:hover { background:#e6d7c3; border-color:#e6d7c3; }
.hero .button.secondary { border-color:#d0a48b; color:#fffaf1; }
.hero .button.secondary:hover { background:#fffaf1; color:#7c220f; }
.spotlight { background:#fffaf1; box-shadow:0 22px 55px #351f1630; }
.spotlight-image { background:#e6d7c3; }
.spotlight-image img { box-shadow:0 12px 20px #351f1624; }
.planner-spotlight { background:#e6d7c3; border-color:#e6d7c3; color:#351f16; }
.planner-spotlight img { background:#fffaf1; }
.planner-spotlight span { color:#66503f; }
.planner-spotlight span:last-child { color:#7c220f; }
.country-control,.menu-toggle,.catalog-search input,.catalog-filters button { background:#fffaf1; }
.catalog-search input { border-color:#c5b4a3; }
.catalog-search input::placeholder { color:#76695b; }
.catalog-filters button[aria-pressed=true] { background:#922e16; border-color:#922e16; color:#fffaf1; }
.button.secondary:hover { background:#e6d7c3; }
.card { box-shadow:0 4px 16px rgba(53,31,22,.04); }
.card:hover { box-shadow:0 12px 32px #351f1614; }
.book-cover-image,.template-cover { background:#e9e4dc; }
.section.alt { background:#e9e1d5; }
.tag { background:#f2dfd3; }
.journal-card .visual { background:#b8c5d6; }
.journal-card:nth-child(2n) .visual { background:#f7ca55; }
.journal-card:nth-child(3n) .visual { background:#b8c5d6; }
.journal-card:nth-child(3) .visual { background:#90b7b0; }
.journal-card .visual span { color:#351f16; }
#buying-guide { background:#f3eee5; color:#351f16; }
#buying-guide .eyebrow { color:#922e16; }
#buying-guide .section-heading p { color:#76695b; }
#buying-guide .card { background:#fffaf1; border-color:#ded1c2; }
#buying-guide .card-body p { color:#76695b; }
#buying-guide .read-link { color:#922e16; }
#about.section.alt { background:#351f16; color:#fffaf1; border-color:#351f16; }
#about .eyebrow { color:#fffaf1; }
#about .about-copy p { color:#f1e3d3; }
#about .fact { background:#4b2d21; color:#fffaf1; border-color:#795442; }
.contact-panel { background:#7c220f; color:#fffaf1; }
.contact-panel p { color:#f1e3d3; }
.contact-panel .eyebrow { color:#fffaf1; }
.contact-panel .button { border-color:#fffaf1; color:#fffaf1; }
.site-footer { background:#7c220f; color:#fffaf1; border-color:#93412e; }
.legal { background:#fffaf1; }

/* Matching landscape and portrait artwork previews. */
.skins-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.skin-preview{position:relative;padding:24px 70px 38px 24px;background:#e9e1d5;overflow:hidden}
.skin-landscape{width:100%;aspect-ratio:8/5;object-fit:cover;border-radius:12px;box-shadow:0 10px 22px #351f1630}
.skin-portrait{position:absolute;width:22%;height:auto;aspect-ratio:9/20;object-fit:cover;right:22px;bottom:16px;border:4px solid #fffaf1;border-radius:16px;box-shadow:0 8px 18px #351f1640}
.skin-card .tag{margin-bottom:12px}.skin-formats{font-size:14px}
.skin-note{margin-top:28px;padding:20px 24px;border:1px solid var(--line);border-radius:12px;font-size:16px;color:var(--muted);background:var(--card)}
.ticker .container{gap:26px;flex-wrap:wrap}
.nav{gap:16px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:620px){.skins-grid{grid-template-columns:1fr}.ticker .container{flex-wrap:nowrap}.skin-preview{padding:20px 64px 36px 20px}.skin-note{padding:18px}}

/* One device image per skin design. */
.skins-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.skin-device-view{margin:0;padding:20px;background:#e9e1d5}
.skin-device-view img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px}
.skin-view-label{font-size:14px;font-weight:650;text-align:center;margin:12px 0 0;color:var(--ink)}
@media(max-width:620px){.skins-grid{grid-template-columns:1fr}.skin-device-view{padding:16px}}

.skin-collection-heading{margin:30px 0 20px}.skin-collection-heading h3{margin:0 0 8px;font-size:25px}.skin-collection-heading p{margin:0;color:var(--muted)}.skin-product-detail .skin-device-view{padding:12px;border-radius:12px;align-self:start}.worksheet-cover{aspect-ratio:4/5;object-fit:contain;background:#f3eee5}.worksheet-detail-cover{width:100%;height:auto;object-fit:contain;border-radius:12px}

/* Compact product browsing uses the existing site palette. */
.catalog-choice { flex:1; min-width:0; }
.catalog-choice label { display:block; margin-bottom:8px; font-weight:650; color:var(--ink); }
.catalog-choice select { width:100%; min-height:48px; padding:12px; border:1px solid var(--line); border-radius:5px; background:var(--card); color:var(--ink); font:inherit; }
.catalog-choice select:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.catalog-choice select:disabled { opacity:.7; }
#templates .catalog-toolbar,.skin-choices { display:flex; flex-wrap:wrap; gap:20px; align-items:end; }
#template-products,.skins-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#templates .card[hidden],#skins .card[hidden],.skin-collection-heading[hidden] { display:none!important; }
@media(max-width:620px) { .catalog-choice { flex-basis:100%; } #template-products,.skins-grid { grid-template-columns:1fr; } }

/* Four desktop cards, two columns on tablets, one on narrow phones. */
#template-products,.skins-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
#templates .card-body h3,#skins .card-body h3 { font-size:1.3rem; }
@media(max-width:1050px) { #template-products,.skins-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { #template-products,.skins-grid { grid-template-columns:1fr; } }

/* Intrinsic image dimensions reserve space without fixing the responsive height. */
.spotlight-image img,.book-cover-image,.template-cover,.portrait { height:auto; }

/* Show the complete portrait inside its existing frame without moving sections. */
#about .portrait {
  width:100%;
  max-width:100%;
  object-fit:contain;
  object-position:center;
  background:#111;
}
#about .about-grid > * { min-width:0; }

/* Keep book artwork compact even when an image has intrinsic height attributes. */
.books-grid { align-items:start; }
.books-grid .book-cover-image {
  display:block;
  width:100%;
  height:340px;
  min-height:0;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  padding:16px;
  flex:none;
}
.books-grid .card-body { flex:none; }
.books-grid .edition-links { margin-top:16px; }
@media(max-width:620px) {
  .books-grid .book-cover-image { height:300px; padding:12px; }
}

/* Country preferences */
.country-controls {display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;max-width:100%}.country-controls .country-control{min-width:180px;max-width:100%}.country-controls select{width:100%;max-width:280px}.country-status{margin:0 0 8px;font-weight:600}.country-note{font-size:.85rem;color:var(--muted);max-width:850px;margin:0 0 20px}@media(max-width:600px){.country-controls{width:100%}.country-controls .country-control{flex:1;min-width:140px}.country-controls select{max-width:100%}}

/* Journal media and direct digital shopping */
.journal-visual{margin:0;background:#142b3c;position:relative}.journal-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.journal-visual figcaption{font-size:11px;padding:6px 14px;color:#efe6d3;background:#213449}.journal-video{border-top:1px solid var(--line);padding:14px 20px;margin-top:auto}.journal-video summary{cursor:pointer;font-weight:600;color:var(--rust);font-size:14px;line-height:1.5}.journal-video video{display:block;width:100%;aspect-ratio:16/9;margin:12px 0 0;border-radius:8px;background:#142b3c}.journal-video p{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0}.journal-card{display:flex;flex-direction:column}.journal-card .card-body{flex:1}.direct-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.direct-shop-grid .template-cover{height:270px;object-fit:contain;background:#ece5d7}.direct-shop-grid .actions{gap:12px;align-items:center}.payment-methods{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#f7f0e2}.payment-methods span{padding:6px 13px;background:#fff9ef;border:1px solid #d8cbb7;border-radius:24px;font-size:14px;font-weight:700}.payment-methods p{flex-basis:100%;margin:6px 0 0;font-size:14px;max-width:900px}.shop-support,.checkout-explanation{font-size:14px;line-height:1.7;margin-top:24px}.checkout-explanation{padding-bottom:24px}@media(max-width:760px){.direct-shop-grid{grid-template-columns:1fr}.direct-shop-grid .template-cover{height:230px}}

/* Distinguish store, format and fulfilment before payment. */
.store-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.store-choice{padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.store-choice h3{margin:14px 0;font-size:1.75rem}.store-choice p{max-width:52ch}.purchase-footnote{font-size:14px;margin-top:20px}.product-store-note{border-top:1px solid var(--line);padding-top:24px;margin-top:28px;padding-bottom:24px}.product-store-note h2{font-size:1.5rem}.product-store-note p{max-width:75ch}.purchase-table-wrap{overflow-x:auto}.purchase-table-wrap table{width:100%;border-collapse:collapse}.purchase-table-wrap th,.purchase-table-wrap td{padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}@media(max-width:680px){.store-choice-grid{grid-template-columns:1fr}.store-choice{padding:22px}.purchase-options h2{font-size:2rem}.purchase-table-wrap th,.purchase-table-wrap td{padding:10px;font-size:14px}}

/* Book discovery and dedicated edition pages. */
.book-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:24px 0; }
.book-paths a { display:block; padding:20px; border:1px solid var(--line); border-radius:10px; background:var(--card); text-decoration:none; }
.book-paths strong { display:block; color:var(--blue); font-size:1.05rem; margin-bottom:5px; }
.book-paths span,.book-format-label { font-size:.87rem; color:var(--muted); }
.book-paths a:hover,.book-paths a:focus-visible { border-color:var(--blue); background:#edf1f3; }
.book-cover-link { display:block; background:#f1f2ef; }
.book-cover-link:focus-visible { outline:3px solid var(--blue); outline-offset:-3px; }
.book-format-label { display:block; margin-bottom:12px; font-weight:650; }
.book-explore { margin:18px 0 0; }
.book-art { padding:24px; border:1px solid var(--line); border-radius:14px; background:var(--card); }
.book-art img { width:100%; height:auto; max-height:560px; object-fit:contain; }
.book-art > p { margin:14px 0 0; text-align:center; font-size:.8rem; color:var(--muted); }
.book-byline { font-weight:650; color:var(--blue); }
.book-specs { padding:14px 0; border-block:1px solid var(--line); font-size:.9rem; }
.book-share { margin-top:24px; }
.book-share p { font-size:.88rem; overflow-wrap:anywhere; color:var(--muted); }
.book-editions,.book-buying-guide,.book-related { margin-top:64px; scroll-margin-top:115px; }
.book-detail-page h2 { font-size:clamp(1.8rem,3.5vw,2.5rem); }
.book-format-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; }
.book-format { padding:24px; border:1px solid var(--line); border-radius:12px; background:var(--card); }
.book-format:only-child { grid-column:1 / -1; }
.book-format h3 { font-size:1.6rem; }
.book-format .button { max-width:100%; height:auto; padding:12px 18px; text-align:center; }
.book-buying-guide { max-width:850px; }
.book-buying-guide li { margin-bottom:12px; }
.book-buying-guide details { padding:18px 0; border-bottom:1px solid var(--line); }
.book-buying-guide summary { font-weight:650; cursor:pointer; }
.related-books { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:24px; }
.related-book { display:flex; gap:20px; align-items:center; padding:20px; border:1px solid var(--line); border-radius:12px; text-decoration:none; background:var(--card); }
.related-book img { width:80px; height:110px; object-fit:contain; flex:none; }
.related-book strong,.related-book span span { display:block; }
.related-book span span { margin-top:8px; color:var(--muted); font-size:.85rem; }
.related-book:hover strong { text-decoration:underline; }
@media(max-width:760px) { .book-paths,.book-format-grid,.related-books { grid-template-columns:1fr; } .book-art { max-width:400px; width:100%; margin:auto; } .book-editions,.book-buying-guide,.book-related { margin-top:44px; } }

/* Clear red Payhip and Amazon purchase choices */
.button.purchase-button,
.button[data-asin]:not([aria-disabled="true"]),
.button[href^="https://payhip.com/b/"],
.button[href^="https://payhip.com/buy?"] {
  background:#c62828; border-color:#c62828; color:#fff;
}
.button.purchase-button:hover,
.button[data-asin]:not([aria-disabled="true"]):hover,
.button[href^="https://payhip.com/b/"]:hover,
.button[href^="https://payhip.com/buy?"]:hover {
  background:#a51d1d; border-color:#a51d1d; color:#fff;
}
.product-link[href^="https://payhip.com/b/"],
.product-link[href^="https://payhip.com/buy?"] { color:#b71c1c; }
.button[data-asin][aria-disabled="true"] {
  background:#eee7df; border-color:#c7bbae; color:#5c5148; cursor:default;
}
#worksheet-store-options { margin-top:40px; scroll-margin-top:100px; }
#worksheet-store-options h2 { font-size:clamp(1.8rem,4vw,2.5rem); }
#worksheet-store-options th:first-child { min-width:170px; }
#worksheet-store-options .button { min-width:150px; }
.book-publication-note { font-size: .88rem; line-height: 1.6; color: #4c5349; }
.edition-pending { font-size: .9rem; line-height: 1.5; font-weight: 600; padding: .65rem 0; }
.book-marketplaces { width: 100%; border-collapse: collapse; min-width: 580px; margin-top: 1rem; }
.book-marketplaces th, .book-marketplaces td { text-align: left; padding: .8rem; border-bottom: 1px solid #deded5; vertical-align: top; }
.book-marketplaces caption { text-align: left; font-weight: 600; padding: .8rem; }

/* Explicit local/import choice for countries without direct KDP print distribution. */
.store-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 28px; border: 1px solid #cfbca3; border-radius: 10px; background: #fffaf1; color: #3b2419; box-shadow: 0 16px 64px #0005; }
.store-dialog::backdrop { background: #21150fc9; }
.store-dialog h2 { font-size: 1.6rem; margin: 0 0 16px; }
.store-dialog p { margin: 0 0 20px; line-height: 1.65; }
.store-dialog .actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.store-dialog .button { width: 100%; white-space: normal; background: #c82026; border-color: #c82026; color: #fff; }
.store-dialog button.button { background: transparent; color: #7c220f; border-color: #cfbca3; cursor: pointer; }

/* Customer access: matching red actions, including small screens. */
.customer-access{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.customer-access .button{display:inline-flex;align-items:center;justify-content:center;min-width:175px;min-height:48px;padding:12px 20px;background:#a72b20!important;border:2px solid #a72b20!important;color:#fff!important;font-weight:700;line-height:1.35;text-decoration:none;white-space:normal;text-align:center}
.customer-access .button:hover{background:#852117!important;border-color:#852117!important}
.customer-access .button:focus-visible{outline:3px solid #321c12;outline-offset:4px}
@media(max-width:620px){.customer-access{width:100%}.customer-access .button{flex:1 1 180px;min-width:0}}

/* Owner-requested single featured book. */
.hero-art.collection-display { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) and (max-width: 900px) { .hero-art.collection-display .spotlight { grid-template-columns: 1fr 1fr; } }
