@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:400;font-display:swap;src:url(/_site/dx0tfo/folio/font-caslon) format("woff2");}
@font-face{font-family:"Libre Caslon Text";font-style:italic;font-weight:400;font-display:swap;src:url(/_site/dx0tfo/folio/font-caslon-italic) format("woff2");}
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:700;font-display:swap;src:url(/_site/dx0tfo/folio/font-caslon-bold) format("woff2");}
/* Folio website template (19 Nov 2026): a minimal editorial portfolio.
   White page, a fixed sidebar with the name in bold stacked serif capitals,
   a small uppercase menu, and a masonry wall of photographs in thin
   film-scan frames. Libre Caslon Text (self-hosted) + the system sans. */
html, body { margin: 0; background: #fff; }
.tpl-folio {
  background: var(--paper);
  --paper: #ffffff;
  --on-ink: #ffffff;
  --ink: #1c1c1c;
  --text: #444;
  --muted: #8a8780;
  --line: #e7e5e1;
  --frame: #efeeeb;
  --side: 248px;
  --serif: "Libre Caslon Text", "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
.tpl-folio *, .tpl-folio *::before, .tpl-folio *::after { box-sizing: border-box; }
.tpl-folio a { color: inherit; }
.tpl-folio img { display: block; max-width: 100%; }
.tpl-folio .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-folio .skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border: 1px solid var(--ink); }
.tpl-folio .skip:focus { left: 8px; }

/* ── Sidebar ── */
.tpl-folio .side { position: fixed; inset: 0 auto 0 0; width: var(--side); padding: 34px 26px 28px 30px; display: flex; flex-direction: column; gap: 30px; overflow-y: auto; }
.tpl-folio .name { display: grid; font-family: var(--serif); font-weight: 700; font-size: 1.55rem; line-height: 1.02; letter-spacing: 0.005em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.tpl-folio .menu { display: grid; gap: 7px; justify-items: start; font-family: var(--serif); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; }
.tpl-folio .menu a, .tpl-folio .work-toggle { color: var(--text); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.tpl-folio .menu a:hover, .tpl-folio .work-toggle:hover { color: var(--ink); }
.tpl-folio .work { display: grid; gap: 7px; }
.tpl-folio .work-toggle { display: inline-flex; gap: 6px; align-items: baseline; }
.tpl-folio .work-toggle span { transition: transform 0.2s ease; display: inline-block; }
.tpl-folio .work-toggle[aria-expanded="false"] span { transform: rotate(-90deg); }
.tpl-folio .work-list { list-style: none; margin: 2px 0 8px; padding: 0 0 0 12px; display: grid; gap: 6px; text-transform: none; letter-spacing: 0.01em; font-size: 0.8rem; }
.tpl-folio .work-toggle[aria-expanded="false"] + .work-list { display: none; }
.tpl-folio .work-list a { color: var(--muted); }
.tpl-folio .work-list a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tpl-folio .social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; color: var(--muted); }
.tpl-folio .social a { color: inherit; display: block; }
.tpl-folio .social a:hover { color: var(--ink); }
.tpl-folio .rights { margin: auto 0 0; font-family: var(--serif); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ── Main column ── */
.tpl-folio .main { margin-left: var(--side); padding: 34px 34px 40px 10px; }
.tpl-folio .intro-head { max-width: 40rem; margin: 0 0 34px; }
.tpl-folio .intro-head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.35; color: var(--ink); }
.tpl-folio .intro-head h1 em, .tpl-folio h2 em { font-style: italic; }
.tpl-folio .intro-head p { margin: 10px 0 0; color: var(--muted); max-width: 34em; }

/* ── The wall ── */
.tpl-folio [hidden] { display: none !important; }
.tpl-folio .project-head { display: grid; gap: 4px; margin: 0 0 22px; max-width: 40rem; }
.tpl-folio .project-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--ink); }
.tpl-folio .project-head p { margin: 0; color: var(--muted); }
.tpl-folio .project-head a { font-size: 0.8rem; color: var(--muted); text-underline-offset: 3px; }
.tpl-folio .project-head a:hover { color: var(--ink); }
.tpl-folio .wall { columns: 3; column-gap: 18px; }
.tpl-folio .tile { break-inside: avoid; margin: 0 0 18px; padding: 7px; background: var(--frame); border: 0; display: block; width: 100%; cursor: zoom-in; opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
.tpl-folio .tile.in { opacity: 1; transform: none; }
.tpl-folio .tile img { width: 100%; height: auto; background: var(--frame); }
.tpl-folio .tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tpl-folio .wall-status, .tpl-folio .empty { color: var(--muted); font-size: 0.85rem; }
.tpl-folio .wall-status:empty { display: none; }

/* ── Content blocks ── */
.tpl-folio .block { max-width: 46rem; padding: clamp(56px, 8vw, 96px) 0 0; scroll-margin-top: 24px; }
.tpl-folio .label { margin: 0 0 12px; font-family: var(--serif); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.tpl-folio .block h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--ink); }
.tpl-folio .block p { margin: 0 0 14px; }
.tpl-folio .intro { color: var(--muted); }
.tpl-folio .plain-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tpl-folio .plain-list li { padding-left: 16px; position: relative; }
.tpl-folio .plain-list li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.tpl-folio .plain-list strong { color: var(--ink); font-weight: 600; }
.tpl-folio .about { display: grid; gap: 28px; max-width: 60rem; }
.tpl-folio .about-portrait { margin: 0; max-width: 340px; padding: 7px; background: var(--frame); }
.tpl-folio .about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-folio .about-portrait figcaption { margin-top: 8px; font-family: var(--serif); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.tpl-folio .about .block-text { max-width: 46rem; }
@media (min-width: 980px) { .tpl-folio .about.has-portrait { grid-template-columns: 300px minmax(0, 46rem); align-items: start; gap: 44px; } }
.tpl-folio .rows { border-top: 1px solid var(--line); }
.tpl-folio .row { display: grid; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tpl-folio .row h3, .tpl-folio .steps h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; color: var(--ink); }
.tpl-folio .row p { margin: 0; }
@media (min-width: 760px) { .tpl-folio .row { grid-template-columns: 14rem 1fr; } }
.tpl-folio .steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 22px; }
.tpl-folio .steps li { counter-increment: s; display: grid; gap: 4px; padding-left: 44px; position: relative; }
.tpl-folio .steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--serif); font-size: 0.8rem; color: var(--muted); }
.tpl-folio .steps p { margin: 0; }
.tpl-folio .quotes { display: grid; gap: 30px; }
.tpl-folio .quotes figure { margin: 0; }
.tpl-folio .quotes blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.tpl-folio .quotes figcaption { margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tpl-folio .faq { border-top: 1px solid var(--line); }
.tpl-folio .faq details { border-bottom: 1px solid var(--line); }
.tpl-folio .faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.tpl-folio .faq summary::-webkit-details-marker { display: none; }
.tpl-folio .faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; color: var(--muted); transition: transform 0.2s ease; }
.tpl-folio .faq details[open] summary::after { transform: rotate(45deg); }
.tpl-folio .faq details p { margin: 0 0 18px; }

/* ── Enquiry form ── */
.tpl-folio .form { display: grid; gap: 16px; margin-top: 10px; }
.tpl-folio .form-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .tpl-folio .form-row { grid-template-columns: 1fr 1fr; } }
.tpl-folio .field { display: grid; gap: 6px; font-family: var(--serif); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tpl-folio .field input, .tpl-folio .field select, .tpl-folio .field textarea { width: 100%; font: inherit; font-family: var(--sans); font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--ink); background: #fff; border: 0; border-bottom: 1px solid #cfccc6; border-radius: 0; padding: 8px 0; outline: none; transition: border-color 0.2s ease; }
.tpl-folio .field select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8780' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 22px; }
.tpl-folio .field textarea { resize: vertical; }
.tpl-folio .field input:focus, .tpl-folio .field select:focus, .tpl-folio .field textarea:focus { border-bottom-color: var(--ink); }
.tpl-folio .send { justify-self: start; margin-top: 6px; background: var(--ink); color: var(--on-ink); border: 0; padding: 12px 30px; font-family: var(--serif); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.tpl-folio .send:hover { opacity: 0.85; }
.tpl-folio .send:disabled { opacity: 0.5; }
.tpl-folio .form-error { margin: 0; color: #a4231a; font-size: 0.9rem; }
.tpl-folio .form-sent { margin: 0; color: #1f5130; font-size: 0.95rem; }

.tpl-folio .foot { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: clamp(64px, 9vw, 110px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
.tpl-folio .foot a { color: inherit; text-underline-offset: 3px; }
.tpl-folio .foot a:hover { color: var(--ink); }

/* ── Photo viewer ── */
.tpl-folio .viewer { position: fixed; inset: 0; z-index: 95; background: var(--paper); display: grid; place-items: center; padding: 56px 72px; }
.tpl-folio .viewer[hidden] { display: none; }
.tpl-folio .viewer img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; }
.tpl-folio .viewer button { position: absolute; background: none; border: 0; color: var(--ink); cursor: pointer; font-family: var(--serif); line-height: 1; padding: 12px; }
.tpl-folio .viewer-close { top: 14px; right: 18px; font-size: 2rem; }
.tpl-folio .viewer-bar { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.tpl-folio .viewer-bar button { position: static; width: 48px; height: 48px; padding: 0; font-size: 2.2rem; color: var(--muted); }
.tpl-folio .viewer-bar button:hover { color: var(--ink); }
.tpl-folio .viewer-count { margin: 0; min-width: 5.5em; text-align: center; font-family: var(--serif); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }

.tpl-folio .preview-flag { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--on-ink); font-size: 0.75rem; padding: 7px 14px; border-radius: 999px; margin: 0; }

/* ── Phones and small tablets: top bar, menu sheet, two columns ── */
.tpl-folio .topbar, .tpl-folio .mobile-menu { display: none; }
@media (max-width: 1100px) { .tpl-folio .wall { columns: 2; } }
@media (max-width: 860px) {
  .tpl-folio .side { display: none; }
  .tpl-folio .topbar { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: rgba(255, 255, 255, 0.96); }
  .tpl-folio .name-inline { display: block; font-size: 0.95rem; line-height: 1.2; }
  .tpl-folio .menu-btn { width: 40px; height: 40px; border: 0; background: none; position: relative; cursor: pointer; }
  .tpl-folio .menu-btn i, .tpl-folio .menu-btn i::before, .tpl-folio .menu-btn i::after { position: absolute; left: 10px; width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
  .tpl-folio .menu-btn i { top: 19px; }
  .tpl-folio .menu-btn i::before, .tpl-folio .menu-btn i::after { content: ""; left: 0; }
  .tpl-folio .menu-btn i::before { top: -6px; }
  .tpl-folio .menu-btn i::after { top: 6px; }
  .tpl-folio .menu-btn[aria-expanded="true"] i { background: transparent; }
  .tpl-folio .menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
  .tpl-folio .menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
  .tpl-folio .mobile-menu { display: block; position: fixed; inset: 72px 0 0; z-index: 39; background: var(--paper); padding: 18px 22px 40px; overflow-y: auto; }
  .tpl-folio .mobile-menu[hidden] { display: none; }
  .tpl-folio .mobile-menu .menu { font-size: 0.9rem; gap: 14px; }
  .tpl-folio .mobile-menu .work-list { font-size: 0.95rem; gap: 10px; }
  .tpl-folio .mobile-menu .social { margin-top: 28px; gap: 18px; }
  .tpl-folio .main { margin-left: 0; padding: 4px 14px 32px; }
  .tpl-folio .wall { column-gap: 10px; }
  .tpl-folio .tile { margin-bottom: 10px; padding: 5px; }
  .tpl-folio .viewer { padding: 60px 8px 76px; }
  .tpl-folio .viewer img { max-height: calc(100vh - 136px); }
  .tpl-folio .viewer-bar { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-folio .tile { opacity: 1; transform: none; transition: none; }
}
/* Sidebar tagline and blurb: shown by Stage; Folio keeps its quiet intro above the wall. */
.tpl-folio .side-tagline, .tpl-folio .side-blurb { display: none; }

/* Show more, project chips (phones), top-bar tagline (phones). */
.tpl-folio .wall-more { display: block; margin: 8px auto 0; padding: 12px 26px; background: none; border: 1px solid var(--ink); color: var(--ink); font-family: var(--serif); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.tpl-folio .wall-more:hover { background: var(--ink); color: var(--on-ink); }
.tpl-stage .wall-more { font-weight: 800; border-color: var(--ink); color: var(--ink); }
.tpl-stage .wall-more:hover { background: var(--accent); border-color: var(--accent); }
.tpl-folio .chips { display: none; }
.tpl-folio .topbar-tagline { display: none; }
@media (max-width: 860px) {
  .tpl-folio .topbar { padding: 14px 16px 12px; }
  .tpl-folio .name-inline { display: grid; gap: 3px; }
  .tpl-stage .topbar-tagline { display: block; font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .tpl-folio .intro-head { margin: 8px 2px 22px; }
  .tpl-folio .intro-head h1 { font-size: 1.3rem; }
  .tpl-folio .chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px 14px; padding: 2px 14px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tpl-folio .chips::-webkit-scrollbar { display: none; }
  .tpl-folio .chips a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--serif); font-size: 0.72rem; letter-spacing: 0.06em; text-decoration: none; color: var(--muted); white-space: nowrap; }
  .tpl-folio .chips a[aria-current="true"] { border-color: var(--ink); color: var(--ink); }
  .tpl-stage .chips a { border-color: var(--line); font-weight: 800; text-transform: uppercase; color: var(--text); }
  .tpl-stage .chips a[aria-current="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
  .tpl-folio .project-head { margin-bottom: 14px; }
  .tpl-folio .block { padding-top: 64px; }
  .tpl-folio .block h2 { font-size: 1.6rem; }
  .tpl-stage .block h2 { font-size: 1.75rem; }
  .tpl-folio .foot { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 64px; padding-bottom: 8px; }
}

/* Loading: shimmering placeholder frames while the photo list arrives, and
   each photo fading in once it has loaded (no "Loading…" text). */
@keyframes folio-shimmer { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.tpl-folio .ghost { break-inside: avoid; margin: 0 0 18px; padding: 7px; background: var(--frame); }
.tpl-folio .ghost i { display: block; background: linear-gradient(100deg, var(--frame) 30%, var(--paper) 50%, var(--frame) 70%) 0 0 / 300% 100%; animation: folio-shimmer 1.6s ease-in-out infinite; }
.tpl-stage .ghost { padding: 0; background: var(--frame); margin-bottom: 22px; }
.tpl-stage .ghost i { background-image: linear-gradient(100deg, var(--frame) 30%, var(--line) 50%, var(--frame) 70%); }
.tpl-folio .tile img { opacity: 0; transition: opacity 0.6s ease; }
.tpl-folio .tile img.loaded { opacity: 1; }
.tpl-folio .viewer img { opacity: 0; transition: opacity 0.35s ease; }
.tpl-folio .viewer img.loaded { opacity: 1; }
.tpl-folio .viewer.busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  border: 1.5px solid var(--line); border-top-color: var(--ink); animation: folio-spin 0.9s linear infinite; }
@keyframes folio-spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .tpl-folio .ghost { margin-bottom: 10px; padding: 5px; } .tpl-stage .ghost { padding: 0; } }
@media (prefers-reduced-motion: reduce) { .tpl-folio .ghost i, .tpl-folio .viewer.busy::after { animation: none; } }

/* Colour themes (21 Nov 2026): each design's palette variants, chosen in the
   Website editor and set as body[data-theme]. Appended after every design's
   stylesheet, so these override the design's defaults. */
body[data-theme="ocean"] { background: #0b171f; }
body[data-theme="ocean"] .tpl-sunset { --night: #0b171f; --night-2: #0f212e; --dusk: #122138; --plum: #1f235c; --rose: #9e45c8; --band-a: #152548; --band-b: #5a2f8a; --band-c: #763aa1; --band-d: #7d3fa8; --band-f: #0d222e; --band-g: #1b2d5a; --band-h: #122840; --sky-a: #143b50; --sky-b: #242d70; --deep-a: #071116; --deep-b: #0f2633; --deep-c: #1b2552; --deep-d: #773a9c; --ridge-a: #502f8a; --ridge-b: #1a204f; --text-muted: #cdb6cc; --accent: #1f5f8a; --accent-bright: #2f80b5; --accent-dark: #174a6b; --on-glow: #10263a; }
body[data-theme="forest"] { background: #0b1f0d; }
body[data-theme="forest"] .tpl-sunset { --night: #0b1f0d; --night-2: #0f2e13; --dusk: #12381d; --plum: #1f5c46; --rose: #4597c8; --band-a: #154829; --band-b: #2f7a8a; --band-c: #3a84a1; --band-d: #3f89a8; --band-f: #0d2e0f; --band-g: #1b5a35; --band-h: #12401d; --sky-a: #145017; --sky-b: #247051; --deep-a: #071607; --deep-b: #0f3311; --deep-c: #1b5238; --deep-d: #3a7d9c; --ridge-a: #2f848a; --ridge-b: #1a4f39; --text-muted: #b6bccd; --accent: #2f6b3a; --accent-bright: #3f8c4d; --accent-dark: #23512b; --on-glow: #15301b; }
body[data-theme="rose"] { background: #1f0b17; }
body[data-theme="rose"] .tpl-sunset { --night: #1f0b17; --night-2: #2e0f21; --dusk: #381221; --plum: #5c1f23; --rose: #c89e45; --band-a: #481525; --band-b: #8a5a2f; --band-c: #a1763a; --band-d: #a87e3f; --band-f: #2e0d22; --band-g: #5a1b2d; --band-h: #401228; --sky-a: #50143b; --sky-b: #70242d; --deep-a: #160711; --deep-b: #330f26; --deep-c: #521b25; --deep-d: #9c773a; --ridge-a: #8a502f; --ridge-b: #4f1a20; --text-muted: #cccdb6; --accent: #a62b4f; --accent-bright: #c94a6e; --accent-dark: #7f1f3b; --on-glow: #3a1626; }
/* ── Folio ── */
body[data-theme="cream"] { background: #f6f1e8; }
body[data-theme="cream"] .tpl-folio { --paper: #f6f1e8; --frame: #ebe4d7; --line: #e1d9cb; --ink: #2a2520; --text: #4a443c; --muted: #8f877a; }
body[data-theme="slate"] { background: #1f2124; }
body[data-theme="slate"] .tpl-folio { --paper: #1f2124; --on-ink: #1f2124; --frame: #2a2d31; --line: #35393f; --ink: #f2f2f0; --text: #cfd0cc; --muted: #8c8f93; }
body[data-theme="sage"] { background: #eef1ec; }
body[data-theme="sage"] .tpl-folio { --paper: #eef1ec; --frame: #e1e6dd; --line: #d3dacd; --ink: #1f2a22; --text: #45524a; --muted: #7c877f; }
/* ── Stage ── */
body[data-theme="yellow"] .tpl-stage { --accent: #ffd400; --on-accent: #000000; }
body[data-theme="white"] .tpl-stage { --accent: #ffffff; --on-accent: #000000; }
body[data-theme="navy"] { background: #070b14; }
body[data-theme="navy"] .tpl-stage { --paper: #070b14; --on-ink: #070b14; --frame: #10172a; --line: #1c2540; --text: #cdd3e3; --muted: #7d86a0; --accent: #28d7ff; --on-accent: #000000; }
/* ── Catalogue ── */
body[data-theme="graphite"] { background: #f2f3f4; }
body[data-theme="graphite"] .tpl-catalogue { --paper: #f2f3f4; --paper-2: #e7e9eb; --ink: #1e2328; --text: #454c54; --muted: #7f878f; --line: #d9dde1; --accent: #9c7c45; --foot: #1e2328; }
body[data-theme="noir"] { background: #141311; }
body[data-theme="noir"] .tpl-catalogue { --paper: #141311; --paper-2: #1f1d1a; --card: #1b1916; --ink: #f3efe8; --on-ink: #141311; --text: #c9c2b7; --muted: #8f877b; --line: #2d2a26; --accent: #c9a06a; --foot: #0b0a09; }
body[data-theme="olive"] { background: #eef0ea; }
body[data-theme="olive"] .tpl-catalogue { --paper: #eef0ea; --paper-2: #e2e6dc; --ink: #1e2a23; --text: #44524a; --muted: #7e8a80; --line: #d4dacf; --accent: #6b7f5a; --foot: #1e2a23; }
/* ── Estate ── */
body[data-theme="sand"] { background: #f7f1e8; }
body[data-theme="sand"] .tpl-estate { --paper: #f7f1e8; --paper-2: #eee3d3; --ink: #3a2a1f; --text: #5a4a3d; --muted: #96846f; --line: #e3d6c3; --accent: #b85c38; --foot: #3a2a1f; --foot-text: #d9cdbd; }
body[data-theme="coast"] { background: #f3f6f7; }
body[data-theme="coast"] .tpl-estate { --paper: #f3f6f7; --paper-2: #e4ebee; --ink: #13303f; --text: #3e5260; --muted: #7b8c96; --line: #d4dde2; --accent: #b89a5a; --foot: #13303f; --foot-text: #c5d1d8; }
body[data-theme="charcoal"] { background: #171717; }
body[data-theme="charcoal"] .tpl-estate { --paper: #171717; --paper-2: #222222; --card: #1d1d1d; --ink: #f1ede6; --on-ink: #171717; --text: #c6c0b6; --muted: #8a857c; --line: #2e2e2e; --accent: #c9a86a; --foot: #0d0d0d; }
/* ── Press ── */
body[data-theme="crimson"] .tpl-press { --accent: #c81e3a; }
body[data-theme="forest"] .tpl-press { --accent: #1f6f4a; }
body[data-theme="dark"] { background: #0f1115; }
body[data-theme="dark"] .tpl-press { --paper: #0f1115; --paper-2: #181b21; --card: #14171c; --ink: #f3f4f6; --on-ink: #0f1115; --text: #c3c7cf; --muted: #8b919c; --line: #272b33; --accent: #4f86ff; --foot: #07080a; }
/* ── Season ── */
body[data-theme="blue"] .tpl-season { --accent: #1f5fff; }
body[data-theme="green"] .tpl-season { --accent: #1b9e4b; }
body[data-theme="night"] { background: #121317; }
body[data-theme="night"] .tpl-season { --paper: #121317; --paper-2: #1b1d23; --card: #17191e; --ink: #f5f5f2; --on-ink: #121317; --text: #c9cacf; --muted: #858893; --line: #2a2d35; --accent: #ff6a2b; --foot: #0a0b0d; }
/* ── Bistro ── */
body[data-theme="night"]:has(.tpl-bistro) { background: #15130f; }
body[data-theme="night"] .tpl-bistro { --paper: #15130f; --paper-2: #1f1b16; --card: #1b1813; --ink: #f4ecdf; --on-ink: #15130f; --text: #cdc3b3; --muted: #8e8577; --line: #2b2721; --accent: #e8763f; --foot: #0b0a08; }
body[data-theme="olive"]:has(.tpl-bistro) { background: #f1f2ea; }
body[data-theme="olive"] .tpl-bistro { --paper: #f1f2ea; --paper-2: #e5e7da; --ink: #1f2a1f; --text: #44503f; --muted: #7d8676; --line: #d6dacb; --accent: #5f7a3d; --foot: #1f2a1f; }
body[data-theme="navy"]:has(.tpl-bistro) { background: #f5f4ef; }
body[data-theme="navy"] .tpl-bistro { --paper: #f5f4ef; --paper-2: #eae8df; --ink: #132433; --text: #3f4d5a; --muted: #7c8792; --line: #d9d7cd; --accent: #b8963f; --foot: #132433; }
