/* ============================================================================
   Crafty Captain — "Cutting mat" (cc-theme 1.0.0, 2026-09-30)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Paper ground; a step-strip hero; a yellow tape-measure category strip; a
   deep-green self-healing cutting mat with a measuring grid and ruler edges,
   holding white project tiles snapped to a 12-column grid; a toolbox-tray
   footer. Mat green is the one accent; ruler yellow is ticks and rulers only.
   ========================================================================= */

/* --- Base ------------------------------------------------------------------- */

html { overflow-x: clip; background: var(--cc-paper); }
body {
    background: var(--cc-paper);
    color: var(--cc-ink);
    font-family: var(--cc-text);
    font-size: var(--cc-size-body);
    line-height: var(--cc-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--cc-display); color: var(--cc-ink); line-height: var(--cc-lh-head); font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--cc-green); }
a:hover { color: var(--cc-green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--cc-green); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--cc-ui); }
::selection { background: var(--cc-green); color: var(--cc-on-green); }
img { background: var(--cc-tint); }

.site-container { max-width: var(--cc-page-max); margin: 0 auto; padding-left: var(--cc-gutter); padding-right: var(--cc-gutter); }
/* Templates own their spacing. Every template ends in the newsletter panel:
   the last block's 0.5rem + the newsletter's 1rem = 24px on every page. */
.site-main { padding-top: 0; padding-bottom: 0.5rem; }

.cc-skip-link { position: absolute; left: -9999px; top: 0; background: var(--cc-green); color: var(--cc-on-green); padding: 0.75rem 1rem; z-index: 2000; font-weight: 800; }
.cc-skip-link:focus { left: 1rem; top: 1rem; }

/* Full-bleed helper: a band edge to edge while its content stays on the grid. */
.cc-tape, .cc-mat:not(.cc-mat--related) { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* Small labels: Space Mono, uppercase, tracked. */
.cc-kicker, .cc-tile-cat, .cc-meta, .cc-measure, .cc-archive-count, .cc-steps-title, .cc-frame-num, .cc-tile-span {
    font-family: var(--cc-mono); letter-spacing: 0.04em;
}
.cc-kicker { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--cc-green); }
.cc-meta { margin: 0; font-size: 0.75rem; color: var(--cc-meta); display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.5rem; }
.cc-meta .sep { color: var(--cc-rule-strong); }

/* A ruler rule: a short line with tick marks, used beside measurements. */
.cc-measure-rule {
    display: inline-block; width: 48px; height: 10px; margin-right: 0.6rem; vertical-align: middle;
    border-bottom: 2px solid var(--cc-ink);
    background: repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 8px);
    background-size: 100% 6px; background-position: bottom; background-repeat: no-repeat;
}

/* --- Masthead: paper, typeset wordmark, one-row nav, a ruler-tick edge -------- */

.cc-masthead { background: var(--cc-paper); position: relative; z-index: 100; }
.cc-masthead::after {
    content: ""; display: block; height: 12px; border-top: 1px solid var(--cc-ink);
    background:
        repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 60px) top left / 100% 11px no-repeat,
        repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 12px) top left / 100% 6px no-repeat;
}
.cc-masthead-inner {
    max-width: var(--cc-page-max); margin: 0 auto; padding: 0 var(--cc-gutter);
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav actions" "search search search";
    align-items: center; column-gap: 2rem; min-height: 84px; position: relative;
}
.cc-brand { grid-area: brand; display: flex; align-items: center; }
.cc-brand-h1 { margin: 0; line-height: 1; font-size: inherit; }
.cc-wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--cc-ink); }
.cc-wordmark-mascot { display: block; width: auto; height: 56px; flex: 0 0 auto; background: none; }
.cc-wordmark-text { display: inline-flex; flex-direction: column; justify-content: center; min-height: var(--cc-tap); text-decoration: none; color: var(--cc-ink); }
.cc-wordmark:hover { color: var(--cc-ink); }
.cc-wordmark-name b { font-weight: inherit; color: var(--cc-green); }
.cc-wordmark-name { font-family: var(--cc-display); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.cc-wordmark-tag { font-family: var(--cc-mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cc-green); margin-top: 0.35rem; white-space: nowrap; }
.cc-masthead .header-actions { grid-area: actions; display: flex; align-items: center; gap: 0.25rem; }
.cc-masthead .main-navigation { grid-area: nav; justify-self: end; min-width: 0; }
.cc-drawer-clip { display: contents; }
.cc-masthead .primary-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.cc-masthead .main-navigation a {
    display: inline-flex; align-items: center; min-height: 84px; padding: 0 0.8rem; white-space: nowrap;
    font-family: var(--cc-ui); font-size: 0.9375rem; font-weight: 800; color: var(--cc-ink); text-decoration: none; position: relative;
}
.cc-masthead .main-navigation a:hover { color: var(--cc-green); }
.cc-masthead .main-navigation a::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0; height: 4px; background: var(--cc-green); opacity: 0; }
.cc-masthead .main-navigation .current-menu-item > a,
.cc-masthead .main-navigation .current-post-ancestor > a,
.cc-masthead .main-navigation .current-cat > a { color: var(--cc-green); }
.cc-masthead .main-navigation .current-menu-item > a::after,
.cc-masthead .main-navigation .current-post-ancestor > a::after,
.cc-masthead .main-navigation .current-cat > a::after { opacity: 1; }
.cc-masthead .desktop-search-toggle, .cc-masthead .mobile-search-toggle, .cc-masthead .mobile-menu-toggle {
    width: var(--cc-tap); height: var(--cc-tap); min-width: var(--cc-tap); color: var(--cc-ink); background: transparent; border: 0;
}
.cc-masthead .desktop-search-toggle:hover svg, .cc-masthead .mobile-search-toggle:hover svg { color: var(--cc-green); }
.cc-masthead .hamburger-line { background: var(--cc-ink); }
.cc-masthead .desktop-search-form, .cc-masthead .mobile-search-form { grid-area: search; background: var(--cc-card); border-top: 1px solid var(--cc-rule); margin-bottom: 0; }
.cc-masthead .search-field { font-family: var(--cc-ui); font-size: 1rem; min-height: var(--cc-tap); border-radius: var(--cc-radius); border: 1px solid var(--cc-rule-strong); background: var(--cc-card); color: var(--cc-ink); }
.cc-masthead .desktop-search-form button, .cc-masthead .mobile-search-form button { min-height: var(--cc-tap); border-radius: var(--cc-radius); font-weight: 800; background: var(--cc-green); color: var(--cc-on-green); border: 0; }
.cc-masthead .search-close, .cc-masthead .mobile-search-close { background: transparent !important; color: var(--cc-ink) !important; }

/* --- Section heads: title left, a measurement right -------------------------- */

.cc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.cc-head-text { min-width: 0; flex: 1 1 auto; }
.cc-head-title { margin: 0; font-size: var(--cc-h2); font-weight: 800; text-wrap: balance; }
.cc-measure { margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 700; color: var(--cc-ink); white-space: nowrap; display: flex; align-items: center; }
.cc-head-link { font-weight: 800; font-size: 0.9375rem; text-decoration: none; min-height: var(--cc-tap); display: inline-flex; align-items: center; white-space: nowrap; }
.cc-head-link:hover { text-decoration: underline; }

/* --- Step strip hero: one project, its own H2s as numbered frames ------------- */

.cc-hero { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.5rem); }
.cc-hero-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.cc-hero-head .cc-kicker, .cc-hero-title, .cc-hero-dek { grid-column: 1; }
.cc-hero-title { margin: 0 0 0.6rem; font-size: var(--cc-h1); font-weight: 800; line-height: 1.05; text-wrap: balance; max-width: 22ch; }
.cc-hero-title a { color: var(--cc-ink); text-decoration: none; }
.cc-hero-title a:hover { color: var(--cc-green); }
.cc-hero-dek { margin: 0; font-size: 1.125rem; color: var(--cc-meta); max-width: 46rem; }
.cc-hero-all { grid-column: 2; grid-row: 1 / span 3; align-self: end; font-weight: 800; text-decoration: none; min-height: var(--cc-tap); display: inline-flex; align-items: center; white-space: nowrap; }
.cc-hero-all:hover { text-decoration: underline; }
.cc-frames {
    list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem;
    background: repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 24px) top left / 100% 8px no-repeat;
    border-top: 1px solid var(--cc-ink);
}
.cc-frame { min-width: 0; margin: 0; }
.cc-frame a { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 0.75rem; background: var(--cc-card); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); color: var(--cc-ink); text-decoration: none; box-shadow: 0 1px 2px rgba(28,35,33,.05); }
.cc-frame a:hover { border-color: var(--cc-green); }
.cc-frame a:hover .cc-frame-text { color: var(--cc-green); }
.cc-frame-num { font-size: 0.75rem; font-weight: 700; color: var(--cc-green); text-transform: uppercase; }
.cc-frame-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--cc-radius-sm); background: var(--cc-tint); }
.cc-frame-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-frame-photo--empty { display: flex; align-items: center; justify-content: center; font-family: var(--cc-display); font-weight: 800; font-size: 2.5rem; color: var(--cc-green); }
.cc-frame-text { font-family: var(--cc-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Tape measure: every category with its count ------------------------------- */

.cc-tape { background: var(--cc-sun); border-top: 1px solid rgba(28,35,33,.35); border-bottom: 1px solid rgba(28,35,33,.35); }
.cc-tape-inner {
    max-width: var(--cc-page-max); margin: 0 auto; padding: 0 var(--cc-gutter);
    background: repeating-linear-gradient(90deg, rgba(28,35,33,.55) 0 1px, transparent 1px 10px) top left / 100% 7px no-repeat;
}
.cc-tape-list { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.cc-tape-list::-webkit-scrollbar { display: none; }
.cc-tape-list li { flex: 0 0 auto; border-left: 1px solid rgba(28,35,33,.55); }
.cc-tape-list li:last-child { border-right: 1px solid rgba(28,35,33,.55); }
.cc-tape-list a { display: flex; align-items: baseline; gap: 0.5rem; min-height: 52px; padding: 16px 1rem 0.5rem; color: var(--cc-ink); text-decoration: none; font-weight: 800; font-size: 0.9375rem; white-space: nowrap; }
.cc-tape-list a:hover .cc-tape-name, .cc-tape-list a.is-current .cc-tape-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.cc-tape-count { font-family: var(--cc-mono); font-size: 0.75rem; font-weight: 700; }

/* --- The cutting mat: captain blue, measuring grid, ruler edges, tiles on 12 columns --- */

.cc-mat-head { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.cc-mat {
    background-color: var(--cc-mat);
    background-image:
        linear-gradient(var(--cc-mat-line-strong) 1px, transparent 1px),
        linear-gradient(90deg, var(--cc-mat-line-strong) 1px, transparent 1px),
        linear-gradient(var(--cc-mat-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--cc-mat-line) 1px, transparent 1px);
    background-size: calc(var(--cc-cell) * 5) calc(var(--cc-cell) * 5), calc(var(--cc-cell) * 5) calc(var(--cc-cell) * 5), var(--cc-cell) var(--cc-cell), var(--cc-cell) var(--cc-cell);
    background-position: center top;
    padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.cc-mat-inner { max-width: var(--cc-page-max); margin: 0 auto; padding: 0 var(--cc-gutter) 0 calc(var(--cc-gutter) + 28px); position: relative; }
/* Left ruler: ink ticks down the mat edge (yellow vanishes on the blue mat). */
.cc-mat-inner::before {
    content: ""; position: absolute; left: var(--cc-gutter); top: 0; bottom: 0; width: 16px;
    background:
        repeating-linear-gradient(180deg, var(--cc-mat-ink) 0 2px, transparent 2px 60px) left top / 16px 100% no-repeat,
        repeating-linear-gradient(180deg, var(--cc-mat-ink) 0 1px, transparent 1px 12px) left top / 8px 100% no-repeat;
    opacity: .55;
}
.cc-ruler--top {
    display: flex; justify-content: space-between; padding: 0.35rem 0 0.4rem; margin-bottom: 1rem;
    font-family: var(--cc-mono); font-size: 0.6875rem; font-weight: 700; color: var(--cc-mat-ink);
    background: repeating-linear-gradient(90deg, var(--cc-mat-ink) 0 1px, transparent 1px 12px) bottom left / 100% 6px no-repeat;
}
.cc-mat-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--cc-cell); align-items: stretch; grid-auto-flow: row dense; }

/* A project tile: white, 8px corners, span label in the corner. */
.cc-tile { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--cc-card); border-radius: var(--cc-radius); padding: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 20px -12px rgba(0,0,0,.45); }
.cc-mat-grid > .cc-tile--xl   { grid-column: span 8; grid-row: span 2; }
.cc-mat-grid > .cc-tile--tall { grid-column: span 4; grid-row: span 2; }
.cc-mat-grid > .cc-tile--half { grid-column: span 6; }
.cc-mat-grid > .cc-tile--sq   { grid-column: span 4; }
.cc-tile-span { position: absolute; top: 20px; right: 20px; z-index: 1; padding: 0.15rem 0.45rem; border-radius: var(--cc-radius-sm); background: var(--cc-sun); color: var(--cc-ink); font-size: 0.6875rem; font-weight: 700; pointer-events: none; }
.cc-tile-photo { display: block; overflow: hidden; border-radius: var(--cc-radius-sm); aspect-ratio: 16 / 10; background: var(--cc-tint); }
.cc-tile--xl .cc-tile-photo { aspect-ratio: 16 / 9; }
.cc-tile--tall .cc-tile-photo { aspect-ratio: auto; flex: 1 1 auto; min-height: 220px; }
.cc-tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.cc-tile:hover .cc-tile-photo img { transform: scale(1.03); }
.cc-tile-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.85rem 0.25rem 0.15rem; }
.cc-tile--tall .cc-tile-body { flex: 0 0 auto; }
.cc-tile-cat { margin: 0; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; }
.cc-tile-cat a { color: var(--cc-green); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--cc-tap); margin: -14px 0; }
.cc-tile-cat a:hover { text-decoration: underline; }
.cc-tile-title { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.22; text-wrap: balance; }
.cc-tile--xl .cc-tile-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; }
.cc-tile-title a { color: var(--cc-ink); text-decoration: none; display: inline-block; padding: 13px 0; margin: -13px 0; }
.cc-tile-title a:hover { color: var(--cc-green); }
.cc-tile-dek { margin: 0.1rem 0 0.2rem; color: var(--cc-meta); font-size: 1rem; line-height: 1.55; max-width: 44rem; }
.cc-tile-meta { margin-top: auto; padding-top: 0.25rem; }

/* Related tiles on a single post: a contained mat inside the article column. */
.cc-mat--related { border-radius: var(--cc-radius-lg); padding-bottom: 1.25rem; }
.cc-mat--related .cc-mat-inner { padding: 0 1rem 0 calc(1rem + 22px); }
.cc-mat--related .cc-mat-inner::before { left: 0.6rem; }
.cc-mat--related .cc-ruler--top { margin-bottom: 0.75rem; }
.cc-mat--related .cc-tile-title { font-size: 1.0625rem; }

/* --- Category shelves (homepage) and list rows --------------------------------- */

.cc-shelf { padding-top: clamp(2rem, 4vw, 2.75rem); }
.cc-shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cc-cell); }
.cc-shelf .cc-tile { box-shadow: none; border: 1px solid var(--cc-rule); }

.cc-rows { display: grid; gap: 0; }
.cc-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--cc-rule); align-items: start; }
.cc-row-photo { display: block; width: 88px; height: 88px; overflow: hidden; border-radius: var(--cc-radius-sm); }
.cc-row-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-row-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.cc-row-title { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.cc-row-title a { color: var(--cc-ink); text-decoration: none; display: inline-block; padding: 13px 0; margin: -13px 0; }
.cc-row-title a:hover { color: var(--cc-green); }

/* --- Archive: paper head, tape, the category's own mat ------------------------- */

.cc-archive-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 1.75rem); }
.cc-archive-head-text { min-width: 0; flex: 1 1 32rem; }
.cc-archive-title { margin: 0; font-size: var(--cc-h1); font-weight: 800; line-height: 1.05; text-wrap: balance; }
.cc-archive-description { margin: 0.75rem 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--cc-meta); max-width: 46rem; }
.cc-archive-count { margin: 0 0 0.4rem; font-size: 0.875rem; font-weight: 700; color: var(--cc-ink); white-space: nowrap; display: flex; align-items: center; }
.cc-archive-head--search .cc-archive-title { font-size: var(--cc-h2); }
.cc-mat--archive { padding-top: 0; }
.cc-archive-foot { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1.5rem; }
.cc-ad--archive { max-width: 760px; width: 100%; margin: 0 auto; }

/* Pager: square ruler segments. */
.cc-pager { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cc-pager .nav-links { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--cc-ink); border-radius: var(--cc-radius-sm); overflow: hidden; }
.cc-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: var(--cc-tap); min-height: var(--cc-tap); padding: 0 0.75rem; border-right: 1px solid var(--cc-ink); background: var(--cc-card); font-family: var(--cc-mono); font-size: 0.875rem; font-weight: 700; color: var(--cc-ink); text-decoration: none; }
.cc-pager .page-numbers:last-child { border-right: 0; }
.cc-pager .page-numbers:hover { background: var(--cc-tint); color: var(--cc-green); }
.cc-pager .page-numbers.current { background: var(--cc-green); color: var(--cc-on-green); }
.cc-pager .page-numbers.dots { background: var(--cc-paper); }
.cc-pager-count { font-family: var(--cc-mono); font-size: 0.8125rem; color: var(--cc-meta); }

/* --- Ad frames: hairline, labelled, reserved; collapse when unfilled ----------- */

.cc-ad { text-align: center; border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); padding: 0.75rem 0; background: var(--cc-card); }
.cc-ad::before { content: "Advertisement"; display: block; font-family: var(--cc-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cc-meta); margin-bottom: 0.5rem; }
.cc-ad:has(ins[data-ad-status="unfill-optimized"]), .cc-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.cc-ad-placeholder { border: 1px dashed var(--cc-rule-strong); padding: 2rem 1rem; color: var(--cc-meta); font-size: 0.875rem; margin: 0 1rem; }

/* --- Newsletter: a white panel with the craft-tools line art ------------------- */

.cc-newsletter { padding: 1.5rem var(--cc-gutter) 1.5rem; background: var(--cc-paper); }
.cc-newsletter-inner {
    max-width: calc(var(--cc-page-max) - 2 * var(--cc-gutter)); margin: 0 auto; position: relative;
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
    border: 1px solid var(--cc-rule); border-radius: var(--cc-radius-lg); padding: clamp(2rem, 4vw, 3.25rem);
    background: var(--cc-card) url('../images/newsletter-lineart.webp?v=cc100') right center / cover no-repeat;
    box-shadow: var(--cc-shadow);
}
.cc-newsletter-eyebrow { margin: 0 0 0.5rem; font-family: var(--cc-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cc-green); }
.cc-newsletter h2 { margin: 0 0 0.6rem; font-size: var(--cc-h2); font-weight: 800; text-wrap: balance; }
.cc-newsletter-text p { margin: 0; color: var(--cc-ink); max-width: 36rem; }
.cc-newsletter .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.cc-newsletter .newsletter-form input[type="email"] { min-height: 52px; padding: 0 1rem; border: 1px solid var(--cc-rule-strong); border-radius: var(--cc-radius); background: var(--cc-card); color: var(--cc-ink); font-size: 1.0625rem; }
.cc-newsletter .newsletter-form input[type="email"]:focus { border-color: var(--cc-green); outline: none; }
.cc-newsletter .newsletter-form button { min-height: 52px; border: 0; border-radius: var(--cc-radius); background: var(--cc-green); color: var(--cc-on-green); font-weight: 800; font-size: 1rem; cursor: pointer; }
.cc-newsletter .newsletter-form button:hover { background: var(--cc-green-dark); }
.cc-newsletter-note { margin: 0.6rem 0 0; font-size: 0.8125rem; color: var(--cc-meta); }
.cc-newsletter .newsletter-message.success { color: var(--cc-green); font-weight: 700; }
.cc-newsletter .newsletter-message.error { color: #B42318; font-weight: 700; }

/* --- Footer: the toolbox tray ----------------------------------------------------- */

.cc-footer { background: var(--cc-tray); color: var(--cc-on-green); }
.cc-footer-inner { max-width: var(--cc-page-max); margin: 0 auto; padding: 0 var(--cc-gutter) 1.75rem; }
.cc-tray-ruler {
    height: 22px; margin: 0 calc(-1 * var(--cc-gutter)); background-color: var(--cc-sun);
    background-image:
        repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 60px),
        repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 12px);
    background-size: 100% 14px, 100% 7px; background-repeat: no-repeat; background-position: top left, top left;
}
.cc-tray {
    display: grid; gap: 10px; padding: 10px; margin-top: 1.75rem; border-radius: var(--cc-radius-lg);
    background: #0F3A32; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.5fr);
    grid-template-areas: "projects site mail id" "fine fine fine fine";
}
.cc-cell { background: var(--cc-tray-cell); border-radius: var(--cc-radius); padding: 1.1rem 1.25rem 1.2rem; box-shadow: inset 0 3px 8px rgba(0,0,0,.35), inset 0 -1px 0 rgba(255,255,255,.06); min-width: 0; }
.cc-cell--projects { grid-area: projects; }
.cc-cell--site { grid-area: site; }
.cc-cell--mail { grid-area: mail; }
.cc-cell--id { grid-area: id; }
.cc-cell--fine { grid-area: fine; }
.cc-cell-label { margin: 0 0 0.6rem; font-family: var(--cc-mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cc-sun); }
.cc-cell-list { list-style: none; margin: 0; padding: 0; }
.cc-cell-list li { margin: 0; }
.cc-cell-list a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: var(--cc-tap); color: var(--cc-on-green); text-decoration: none; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.cc-cell-list a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.cc-cell-list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.cc-cell-count { font-family: var(--cc-mono); font-size: 0.75rem; color: var(--cc-tray-muted); }
.cc-cell-list--fine { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
.cc-cell-list--fine a { font-weight: 600; font-size: 0.8125rem; color: var(--cc-tray-muted); justify-content: flex-start; }
.cc-footer-wordmark { display: inline-flex; align-items: center; min-height: var(--cc-tap); font-family: var(--cc-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--cc-on-green); text-decoration: none; }
.cc-footer-tagline { margin: 0 0 0.75rem; font-family: var(--cc-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cc-tray-muted); }
.cc-footer-owner { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--cc-tray-muted); }
.cc-footer-owner a { color: var(--cc-on-green); display: inline-flex; align-items: center; min-height: var(--cc-tap); }
.cc-colophon { margin: 1.25rem 0 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.8125rem; color: var(--cc-tray-muted); }

/* --- Single: head on paper, framed lead photo, steps strip, reading sheet --------- */

.cc-single { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--cc-sidebar) + var(--cc-side-gap) + 1px); gap: 0; padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; align-items: start; }
.cc-article { min-width: 0; padding-right: var(--cc-side-gap); }
.cc-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9375rem; color: var(--cc-meta); margin-bottom: 1rem; }
.cc-breadcrumb a { color: var(--cc-green); font-weight: 700; text-decoration: none; min-height: var(--cc-tap); margin: -10px 0; display: inline-flex; align-items: center; }
.cc-breadcrumb a:hover { text-decoration: underline; }
.cc-breadcrumb .sep { color: var(--cc-rule-strong); }
.cc-article-head { margin-bottom: 1.75rem; }
.cc-title { font-size: var(--cc-title); font-weight: 800; margin: 0 0 0.9rem; line-height: 1.08; text-wrap: balance; }
.cc-standfirst { margin: 0 0 1rem; font-size: 1.1875rem; line-height: 1.55; color: var(--cc-meta); max-width: 44rem; }
.cc-article-meta { padding-bottom: 1rem; border-bottom: 1px solid var(--cc-rule); }
.cc-lead-photo { margin: 0 0 1.75rem; position: relative; padding-top: 14px; }
.cc-lead-photo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-top: 1px solid var(--cc-ink); background: repeating-linear-gradient(90deg, var(--cc-ink) 0 1px, transparent 1px 12px) top left / 100% 6px no-repeat; }
.cc-lead-photo img { width: 100%; height: auto; display: block; border-radius: var(--cc-radius); }
.cc-caption { font-size: 0.8125rem; color: var(--cc-meta); padding: 0.6rem 0 0; }

/* Steps strip: the table of contents, a ruled strip of numbered segments. */
.cc-steps { margin: 0 0 1.75rem; background: var(--cc-card); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); overflow: hidden; }
.cc-steps-title { margin: 0; padding: 0.6rem 1.1rem; background: var(--cc-tint); border-bottom: 1px solid var(--cc-rule); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--cc-green); display: flex; justify-content: space-between; }
.cc-steps-title span { color: var(--cc-meta); }
.cc-reading .entry-content .cc-steps-list, .cc-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cc-steps-list li { margin: 0; border-right: 1px solid var(--cc-rule); border-bottom: 1px solid var(--cc-rule); }
.cc-steps-list a { display: flex; gap: 0.6rem; align-items: baseline; min-height: 56px; height: 100%; padding: 0.7rem 1rem; color: var(--cc-ink); text-decoration: none; font-weight: 700; font-size: 0.9375rem; line-height: 1.35; }
.cc-steps-list a:hover { background: var(--cc-tint); color: var(--cc-green); }
.cc-steps-num { flex: none; font-family: var(--cc-mono); font-size: 0.75rem; font-weight: 700; color: var(--cc-green); }

.cc-reading { background: var(--cc-card); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); padding: clamp(1.25rem, 3.5vw, 3rem); }
.cc-article .entry-content { font-size: var(--cc-size-body); line-height: var(--cc-lh-body); color: var(--cc-ink); }
.cc-article .entry-content > * { max-width: 100%; }
.cc-article .entry-content p { text-wrap: pretty; }
.cc-article .entry-content h2 { font-size: var(--cc-h2); font-weight: 800; margin: 3rem 0 1rem; padding-top: 14px; scroll-margin-top: 1.5rem; background: repeating-linear-gradient(90deg, var(--cc-sun) 0 2px, transparent 2px 12px) top left / 96px 6px no-repeat; }
.cc-article .entry-content h3 { font-size: var(--cc-h3); margin: 2rem 0 0.75rem; scroll-margin-top: 1.5rem; }
.cc-article .entry-content h4 { font-family: var(--cc-ui); font-weight: 800; }
.cc-article .entry-content a { color: var(--cc-green); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.cc-article .entry-content a:hover { color: var(--cc-green-dark); text-decoration-thickness: 2px; }
.cc-article .entry-content img { border-radius: var(--cc-radius-sm); }
.cc-article .entry-content figure { margin: 2rem 0; }
.cc-article .entry-content figcaption { font-size: 0.8125rem; color: var(--cc-meta); padding-top: 0.5rem; }
.cc-article .entry-content li::marker { color: var(--cc-green); font-weight: 700; }
.cc-article .entry-content blockquote { border-left: 4px solid var(--cc-green); background: var(--cc-tint); border-radius: 0 var(--cc-radius) var(--cc-radius) 0; margin: 2rem 0; padding: 1rem 1.25rem; font-size: 1.125rem; color: var(--cc-ink); }
.cc-article .entry-content blockquote p { margin: 0; }
.cc-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.cc-article .entry-content hr { border: 0; border-top: 1px solid var(--cc-rule); }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); }
.table-scroll table { min-width: 520px; margin: 0; }
.cc-article .entry-content table { border-collapse: collapse; width: 100%; }
.cc-article .entry-content th { background: var(--cc-green); color: var(--cc-on-green); font-size: 0.875rem; text-align: left; }
.cc-article .entry-content td, .cc-article .entry-content th { border-bottom: 1px solid var(--cc-rule); padding: 0.7rem 0.9rem; vertical-align: top; }
.cc-article .entry-content tr:nth-child(even) td { background: #FAF9F5; }

.cc-page-links { margin: 1.75rem 0; display: flex; gap: 0.5rem; align-items: center; }
.cc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 1.75rem 0 0; }
.cc-share .cc-label { font-family: var(--cc-mono); font-size: 0.75rem; text-transform: uppercase; color: var(--cc-meta); }
.cc-share a { color: var(--cc-green); text-decoration: none; font-weight: 800; font-size: 0.9375rem; min-height: var(--cc-tap); display: inline-flex; align-items: center; justify-content: center; min-width: var(--cc-tap); }
.cc-share a:hover { text-decoration: underline; }
.cc-related { margin-top: 2.5rem; }

.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--cc-h3); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; background: var(--cc-card); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--cc-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--cc-radius); border: 1px solid var(--cc-rule-strong); background: var(--cc-card); color: var(--cc-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--cc-green); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--cc-green) !important; border: none; border-radius: var(--cc-radius) !important; color: var(--cc-on-green) !important; font-weight: 800; min-height: var(--cc-tap); padding: 0 1.5rem; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--cc-green-dark) !important; }
.comments-area .comment-body { background: var(--cc-card); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); }

/* --- Sidebar ------------------------------------------------------------------------- */

.cc-sidebar { display: flex; flex-direction: column; gap: 1.75rem; border-left: 1px solid var(--cc-rule); padding-left: var(--cc-side-gap); min-width: 0; }
.cc-widget { margin: 0; }
.cc-widget-title { margin: 0 0 0.5rem; padding-bottom: 0.5rem; font-size: 1.25rem; font-weight: 800; border-bottom: 2px solid var(--cc-ink); }
.cc-mostread { list-style: none; margin: 0; padding: 0; }
.cc-mostread li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--cc-rule); }
.cc-mostread-num { font-family: var(--cc-mono); font-weight: 700; color: var(--cc-green); font-size: 0.875rem; line-height: 1.6; }
.cc-mostread-text { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.cc-mostread-title { font-family: var(--cc-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; color: var(--cc-ink); text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }
.cc-mostread-title:hover { color: var(--cc-green); }
.cc-cat-list { list-style: none; margin: 0; padding: 0; }
.cc-cat-list li { border-bottom: 1px solid var(--cc-rule); }
.cc-cat-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: var(--cc-tap); font-size: 0.9375rem; font-weight: 700; color: var(--cc-ink); text-decoration: none; }
.cc-cat-list a:hover { color: var(--cc-green); }
.cc-cat-count { font-family: var(--cc-mono); font-size: 0.8125rem; color: var(--cc-meta); }
.cc-widget-news { background: var(--cc-card); border: 1px solid var(--cc-rule); border-top: 4px solid var(--cc-green); border-radius: var(--cc-radius); padding: 1.25rem; }
.cc-widget-news .cc-widget-title { border-bottom: 0; padding-bottom: 0; }
.cc-widget-news p { margin: 0 0 0.9rem; font-size: 0.9375rem; }
.cc-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.cc-widget-news .newsletter-form input[type="email"] { border: 1px solid var(--cc-rule-strong); border-radius: var(--cc-radius); background: var(--cc-card); color: var(--cc-ink); min-height: var(--cc-tap); padding: 0 0.9rem; font-size: 0.9375rem; }
.cc-widget-news .newsletter-form button { border: 0; border-radius: var(--cc-radius); min-height: var(--cc-tap); background: var(--cc-green); color: var(--cc-on-green); font-weight: 800; cursor: pointer; }
.cc-widget-news .newsletter-form button:hover { background: var(--cc-green-dark); }
.cc-widget-news .cc-newsletter-note { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--cc-meta); }

/* --- Static pages, search, 404, empty states ----------------------------------------- */

.cc-page { max-width: 800px; margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) 0 0.5rem; }
.cc-page .entry-content { background: var(--cc-card); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius); padding: clamp(1.25rem, 3.5vw, 3rem); }
.cc-empty { max-width: 640px; margin: 0 auto; padding: 3rem 0 2rem; text-align: center; }
.cc-empty h1 { font-size: var(--cc-h2); }
.cc-empty .search-form { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.cc-empty .search-field { min-height: var(--cc-tap); border: 1px solid var(--cc-rule-strong); border-radius: var(--cc-radius); padding: 0 0.9rem; }
.cc-empty .search-submit, .cc-empty button { min-height: var(--cc-tap); border: 0; border-radius: var(--cc-radius); background: var(--cc-green); color: var(--cc-on-green); font-weight: 800; padding: 0 1.25rem; }

/* --- Responsive ------------------------------------------------------------------------- */

@media (min-width: 1025px) and (max-width: 1240px) {
    .cc-masthead-inner { column-gap: 1.25rem; }
    .cc-masthead .main-navigation a { padding: 0 0.55rem; font-size: 0.875rem; }
    .cc-masthead .main-navigation a::after { left: 0.55rem; right: 0.55rem; }
    .cc-wordmark-name { font-size: 1.5rem; }
}

@media (max-width: 1024px) {
    .cc-masthead-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand actions" "search search"; min-height: 72px; }
    .cc-masthead .main-navigation { grid-area: auto; }
    /* Contain the off-canvas drawer so its parking spot never widens the page. */
    .cc-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .cc-drawer-clip .main-navigation { position: absolute; pointer-events: auto; background: var(--cc-card); }
    .cc-masthead .main-navigation { display: block; justify-self: auto; }
    .cc-masthead .primary-menu, .cc-masthead .main-navigation ul { display: block; text-align: left; }
    .cc-masthead .main-navigation li { border-bottom: 1px solid var(--cc-rule); }
    .cc-masthead .main-navigation a { min-height: var(--cc-nav-tap); padding: 0 1.5rem; font-size: 1rem; }
    .cc-masthead .main-navigation a::after { display: none; }
    .cc-masthead .header-actions { margin-left: auto; grid-column: 2; }
    .cc-masthead .mobile-menu-toggle.active { position: fixed; top: 0.75rem; right: 0.75rem; z-index: 1002; }

    .cc-frames { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
    .cc-frames::-webkit-scrollbar { display: none; }
    .cc-frame { scroll-snap-align: start; }
    .cc-single { grid-template-columns: minmax(0, 1fr); }
    .cc-article { padding-right: 0; }
    .cc-sidebar { border-left: none; border-top: 1px solid var(--cc-rule); padding-left: 0; padding-top: 2rem; margin-top: 2.5rem; }
    .cc-tray { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "projects projects" "site mail" "id id" "fine fine"; }
}

@media (max-width: 900px) {
    .cc-mat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .cc-mat-grid > .cc-tile--xl { grid-column: span 6; grid-row: auto; }
    .cc-mat-grid > .cc-tile--tall { grid-column: span 3; grid-row: auto; }
    .cc-tile--tall .cc-tile-photo { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
    .cc-mat-grid > .cc-tile--half, .cc-mat-grid > .cc-tile--sq { grid-column: span 3; }
    .cc-shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cc-shelf-grid > .cc-tile:nth-child(3) { grid-column: 1 / -1; }
    .cc-newsletter-inner { grid-template-columns: minmax(0, 1fr); background-position: right bottom; }
    .cc-hero-head { grid-template-columns: minmax(0, 1fr); }
    .cc-hero-all { grid-column: 1; grid-row: auto; justify-self: start; }
}

@media (max-width: 640px) {
    .cc-mat-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .cc-mat-grid > .cc-tile { grid-column: 1 / -1; }
    .cc-mat-inner { padding-left: calc(var(--cc-gutter) + 22px); }
    .cc-ruler--top span:nth-child(even) { visibility: hidden; }
    .cc-shelf-grid { grid-template-columns: minmax(0, 1fr); }
    .cc-shelf-grid > .cc-tile:nth-child(3) { grid-column: auto; }
    .cc-frames { grid-template-columns: repeat(5, minmax(72%, 1fr)); }
    .cc-wordmark-name { font-size: 1.375rem; }
    .cc-wordmark-tag { font-size: 0.625rem; }
    .cc-wordmark-mascot { height: 44px; }
    .cc-wordmark { gap: 0.45rem; }
    .cc-reading { padding: 1.1rem; }
    .cc-steps-list { grid-template-columns: minmax(0, 1fr); }
    .cc-article-meta { display: flex; flex-wrap: wrap; column-gap: 0.75rem; }
    .cc-article-meta .sep { display: none; }
    .cc-tray { grid-template-columns: minmax(0, 1fr); grid-template-areas: "projects" "site" "mail" "id" "fine"; }
    .cc-cell-list--cols { grid-template-columns: minmax(0, 1fr); }
    .cc-row { grid-template-columns: 64px minmax(0, 1fr); }
    .cc-row-photo { width: 64px; height: 64px; }
    .cc-colophon { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}


/* --- Trust / static pages (1.1.0, 2026-09-30) ------------------------------------------ */
.cc-page { max-width: 820px; }
.cc-page-head {
    position: relative; margin: 0 0 1.5rem; padding: 1.5rem 0 1.25rem;
    border-bottom: 2px solid var(--cc-ink);
    background: linear-gradient(90deg, var(--cc-rule-strong) 1px, transparent 1px) left bottom / var(--cc-cell) 8px repeat-x;
}
.cc-page-kicker { margin: 0 0 .5rem; font-family: var(--cc-mono); font-size: var(--cc-size-meta); letter-spacing: .06em; text-transform: uppercase; color: var(--cc-green); }
.cc-page-head .cc-page-title { margin: 0; font-family: var(--cc-display); font-size: var(--cc-title); line-height: var(--cc-lh-head); color: var(--cc-ink); text-wrap: balance; }
.cc-page-standfirst { margin: .75rem 0 0; font-size: 1.1875rem; line-height: 1.55; color: var(--cc-meta); max-width: 38rem; }
.cc-page-updated { margin: .9rem 0 .5rem; font-family: var(--cc-mono); font-size: var(--cc-size-meta); color: var(--cc-meta); }
.cc-page .entry-content h2 { font-family: var(--cc-display); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; margin: 2rem 0 .75rem; scroll-margin-top: 1.25rem; }
.cc-page .entry-content h2:first-child { margin-top: 0; }
.cc-onpage { margin: 0 0 1.75rem; padding: 1rem 1.25rem; background: var(--cc-tint); border: 1px solid var(--cc-rule); border-left: 4px solid var(--cc-green); border-radius: var(--cc-radius-sm); }
.cc-onpage-title { margin: 0 0 .5rem; font-family: var(--cc-mono); font-size: var(--cc-size-meta); letter-spacing: .06em; text-transform: uppercase; color: var(--cc-green); }
.cc-page .entry-content .cc-onpage ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.cc-page .entry-content .cc-onpage li { margin: 0; padding: 0; break-inside: avoid; }
.cc-page .entry-content .cc-onpage li::marker { content: none; }
.cc-page .entry-content .cc-onpage a { display: flex; gap: .6rem; align-items: baseline; min-height: var(--cc-tap); padding: .45rem 0; color: var(--cc-ink); text-decoration: none; font-weight: 700; line-height: 1.35; }
.cc-page .entry-content .cc-onpage a:hover span:last-child { color: var(--cc-green); text-decoration: underline; }
.cc-onpage-num { flex: none; font-family: var(--cc-mono); font-size: .8125rem; color: var(--cc-green); }
.cc-page-ask { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border: 1px dashed var(--cc-rule-strong); border-radius: var(--cc-radius); background: var(--cc-card); }
.cc-page-ask-title { margin: 0 0 .25rem; font-family: var(--cc-display); font-weight: 700; font-size: 1.125rem; }
.cc-page-ask p { margin: 0; }
.cc-page-ask a, .cc-contact-email a { display: inline-flex; align-items: center; min-height: var(--cc-tap); color: var(--cc-green); font-weight: 700; }
.cc-contact-intro { margin: 0 0 1.5rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--cc-rule); }
.cc-contact-intro p { margin: 0 0 .5rem; }
.cc-contact-email { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cc-contact-email .cc-label { font-family: var(--cc-mono); font-size: var(--cc-size-meta); text-transform: uppercase; letter-spacing: .06em; color: var(--cc-meta); }
/* #INEDIT Contact form inside the reading column */
.cc-page .inedit-form-group { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .35rem; }
.cc-page .inedit-form-group label { font-weight: 700; }
.cc-page .inedit-form-group input, .cc-page .inedit-form-group textarea { font: inherit; min-height: var(--cc-tap); padding: .6rem .8rem; border: 1px solid var(--cc-rule-strong); border-radius: var(--cc-radius-sm); background: var(--cc-paper); color: var(--cc-ink); }
.cc-page .inedit-form-group textarea { min-height: 160px; }
.cc-page .inedit-contact-submit { min-height: var(--cc-tap); padding: 0 1.5rem; border: 0; border-radius: var(--cc-radius); background: var(--cc-green); color: var(--cc-on-green); font-weight: 800; cursor: pointer; }
@media (max-width: 640px) {
    .cc-page .entry-content .cc-onpage ol { columns: 1; }
}
