/* Logo Redraw Journal theme: design-journal composition for logoredraws.com.
   Restrained paper/ink base, a Logo Lab indigo accent and one vivid accent per journal rubric.
   All graphics are inline SVG/CSS; motion is limited and switched off for prefers-reduced-motion. */
:root {
  --lr-ink: #16181d; --lr-paper: #f5f3ee; --lr-indigo: #3b2fc9; --lr-indigo-soft: #ebe9fb;
  --lr-redesign: #c4320a; --lr-color: #a3127a; --lr-type: #1d5fd1; --lr-formats: #0f7a4a;
  --lr-shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 14px 30px -18px rgba(22, 24, 29, .22);
  --lr-shadow-hover: 0 2px 4px rgba(22, 24, 29, .08), 0 22px 40px -20px rgba(22, 24, 29, .3);
}
body { font-size: 1.0625rem; line-height: 1.65; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.12; }
a { transition: color .2s ease, text-decoration-color .2s ease; }

/* header */
.site-header { background: rgba(255, 255, 255, .92); border-block-end: 1px solid var(--c-border); }
.header-inner { padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; letter-spacing: -.01em; min-width: 0; }
.brand-name { min-width: 0; overflow-wrap: anywhere; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.bm-tile { fill: var(--lr-ink); }
.bm-r { fill: none; stroke: #ffffff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.bm-dot { fill: #ff7a45; }
.site-nav a { font-weight: 600; }
.site-nav a[href$="/redesign/"]:hover, .site-nav a[href$="/redesign/"][aria-current] { border-block-end-color: var(--lr-redesign); }
.site-nav a[href$="/color/"]:hover, .site-nav a[href$="/color/"][aria-current] { border-block-end-color: var(--lr-color); }
.site-nav a[href$="/typography/"]:hover, .site-nav a[href$="/typography/"][aria-current] { border-block-end-color: var(--lr-type); }
.site-nav a[href$="/file-formats/"]:hover, .site-nav a[href$="/file-formats/"][aria-current] { border-block-end-color: var(--lr-formats); }

/* page accent follows the rubric of the page (journal colour coding) */
body:has(.kicker a[href$="/redesign/"]), body:has(.site-nav a[aria-current="page"][href$="/redesign/"]) { --c-accent: var(--lr-redesign); }
body:has(.kicker a[href$="/color/"]), body:has(.site-nav a[aria-current="page"][href$="/color/"]) { --c-accent: var(--lr-color); }
body:has(.kicker a[href$="/typography/"]), body:has(.site-nav a[aria-current="page"][href$="/typography/"]) { --c-accent: var(--lr-type); }
body:has(.kicker a[href$="/file-formats/"]), body:has(.site-nav a[aria-current="page"][href$="/file-formats/"]) { --c-accent: var(--lr-formats); }

/* main */
.main { padding-block: var(--s4) var(--s5); }
.blocks { gap: clamp(40px, 6vw, 88px); }

/* hero: asymmetric 12-column grid */
.hero, .hero-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-items: center; margin-block-end: clamp(32px, 6vw, 72px); padding-block: var(--s3) 0; border: 0; }
.hero-copy { min-width: 0; }
.hero-kicker { display: inline-block; margin-block-end: var(--s2); padding: 4px 12px; border: 1px solid var(--c-border); border-radius: 999px; background: var(--c-surface); font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--c-muted); }
.hero h1 { font-size: clamp(2.5rem, 1rem + 5vw, 5.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-block-end: var(--s3); max-width: 15ch; }
.hero .lead { font-size: 1.2rem; }
.hero-note { max-width: 40rem; font-size: 1.1rem; color: var(--c-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 0; }
.hero-link { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border: 2px solid var(--lr-ink); border-radius: 999px; color: var(--lr-ink); font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.hero-link:hover { transform: translateY(-2px); }
.hero-link-main { background: var(--lr-ink); color: #ffffff; }
.hero-figure { margin: 0; min-width: 0; }
.hero-svg { display: block; width: 100%; height: auto; }
.hero-figure figcaption { margin-block-start: var(--s2); font-size: .92rem; color: var(--c-muted); }
.demo-tag { display: inline-block; margin-inline-end: 6px; padding: 1px 9px; border-radius: 999px; background: var(--lr-ink); color: #ffffff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.hs-paper { fill: #ffffff; stroke: var(--c-border); stroke-width: 2; }
.hs-grid path { fill: none; stroke: #ece8df; stroke-width: 1; }
.hs-guide { fill: none; stroke: #c9c3f3; stroke-width: 1.4; stroke-dasharray: 5 6; }
.hs-old { fill: none; stroke: #b9b3a6; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 10; }
.hs-mark { fill: none; stroke: var(--lr-indigo); stroke-width: 10; }
.hs-leaf { fill: none; stroke: var(--lr-redesign); stroke-width: 8; stroke-linejoin: round; }
.hs-stem { fill: none; stroke: var(--lr-ink); stroke-width: 6; stroke-linecap: round; }
.hs-anchors rect { fill: #ffffff; stroke: var(--lr-indigo); stroke-width: 2; }
.hs-label { font: 800 18px/1 var(--font-heading); fill: var(--lr-ink); letter-spacing: .12em; }
.sw-1 { fill: var(--lr-ink); } .sw-2 { fill: var(--lr-indigo); } .sw-3 { fill: var(--lr-redesign); } .sw-4 { fill: var(--lr-color); } .sw-5 { fill: var(--lr-formats); }
.draw-path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: lr-draw 2.2s cubic-bezier(.6, 0, .2, 1) both; }
.hs-leaf.draw-path { animation-delay: .5s; }
.hs-stem.draw-path { animation-delay: 1s; }
.palette-strip { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--lr-shadow); min-width: 0; }
.palette-strip li { flex: 1 1 140px; min-height: 64px; display: flex; align-items: flex-end; padding: 10px 12px; color: #ffffff; font-size: .82rem; font-weight: 600; }
.ps-1 { background: var(--lr-ink); } .ps-2 { background: var(--lr-indigo); } .ps-3 { background: var(--lr-redesign); }
.ps-4 { background: var(--lr-color); } .ps-5 { background: var(--lr-type); } .ps-6 { background: var(--lr-formats); }
@media (min-width: 960px) {
  .hero, .hero-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s4); }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-figure { grid-column: 8 / span 5; }
  .palette-strip { grid-column: 1 / -1; }
}

/* mockup scenes strip */
.scene-strip h2, .rubrics h2 { max-width: 20ch; }
.scenes { display: grid; gap: var(--s3); list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.scene { margin: 0; padding: var(--s2); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 18px; box-shadow: var(--lr-shadow); animation: lr-rise .7s ease-out both; }
.scene:nth-child(2) { animation-delay: .1s; transform: translateY(18px); } .scene:nth-child(3) { animation-delay: .2s; }
.scene svg { display: block; width: 100%; height: auto; }
.scene p { margin: var(--s1) 0 0; font-weight: 700; }
.sc-bg { fill: #efece5; } .sc-card { fill: #ffffff; stroke: #d9d4c9; } .sc-frame { fill: var(--lr-ink); }
.sc-logo { fill: var(--lr-indigo); } .sc-logo-path { fill: var(--lr-redesign); }
.sc-line { fill: none; stroke: #9a958a; stroke-width: 3; stroke-linecap: round; }
.scene-sign .sc-bg { fill: #273043; } .scene-screen .sc-bg { fill: #e9e6f8; }
@media (min-width: 960px) { .scene:nth-child(2) { transform: translateY(28px); } }

/* rubric cards: one vivid accent per journal rubric */
.rubric-redesign { --rubric: var(--lr-redesign); } .rubric-color { --rubric: var(--lr-color); }
.rubric-typography { --rubric: var(--lr-type); } .rubric-formats { --rubric: var(--lr-formats); }
.rubrics-grid { display: grid; gap: var(--s3); list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.rubric-card { position: relative; min-width: 0; padding: var(--s4) var(--s3) var(--s3); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 18px; box-shadow: var(--lr-shadow); transition: box-shadow .25s ease, transform .25s ease; animation: lr-rise .7s ease-out both; }
.rubric-card:hover { transform: translateY(-3px); box-shadow: var(--lr-shadow-hover); }
.rubric-card:focus-within { outline: 3px solid var(--rubric); outline-offset: 2px; }
.rubric-card h3 { font-size: 1.5rem; }
.rubric-card h3 a { color: var(--rubric); text-decoration: none; }
.rubric-card h3 a::after { content: ""; position: absolute; inset: 0; }
.rubric-card p { margin: 0; color: var(--c-muted); }
.rubric-swatch { display: block; width: 44px; height: 10px; margin-block-end: var(--s2); border-radius: 999px; background-color: var(--rubric); }
@media (min-width: 960px) { .rubric-card:nth-child(even) { margin-block-start: 28px; } }

/* journal cards and pages */
.card { border: 1px solid var(--c-border); border-radius: 18px; box-shadow: var(--lr-shadow); padding: var(--s3); transition: box-shadow .25s ease, transform .25s ease; animation: lr-rise .6s ease-out both; }
.card:hover { transform: translateY(-3px); box-shadow: var(--lr-shadow-hover); }
.card-title { font-size: 1.25rem; font-weight: 800; }
.cards-featured .card:first-child { grid-column: 1 / -1; }
.journal-header h1 { font-size: clamp(2.1rem, 1rem + 3.6vw, 4rem); line-height: 1.05; letter-spacing: -.025em; }
.journal-rule { display: block; width: 72px; height: 6px; margin-block-start: var(--s3); border-radius: 999px; background: var(--c-accent); }
.kicker a { color: var(--c-accent); }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.prose blockquote { border-inline-start-color: var(--c-accent); border-radius: 0 12px 12px 0; }
.toc, .faq-item, .empty-state { border-radius: 14px; }
.chips a { border-radius: 999px; font-weight: 600; }
.button { border-radius: 999px; min-height: 48px; }
.search-form input { min-height: 48px; border-radius: 999px; padding-inline: 20px; }
.pagination a, .pagination span { border-radius: 12px; }

/* footer */
.site-footer { background: var(--lr-ink); color: #e9e7f2; border: 0; }
.site-footer a { color: #ffffff; }
.site-footer .muted, .footer-note { color: #c4c1d0; }
.footer-links { display: grid; gap: var(--s4); margin-block-start: var(--s4); padding-block-start: var(--s4); border-block-start: 1px solid rgba(255, 255, 255, .16); }
.footer-title { margin: 0 0 var(--s1); font-weight: 800; font-family: var(--font-heading); font-size: 1.15rem; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 6px; }
.footer-note { margin: 0; font-size: .9rem; }
@media (min-width: 960px) { .footer-links { grid-template-columns: 1.4fr 1fr; } .footer-note { grid-column: 1 / -1; } }

/* module composition: on the home page the Logo Lab band follows the hero directly (owner order) */
.family-home .site-module-layout { display: flex; flex-direction: column; gap: 0; }
.family-home .site-module-main, .family-home .site-module-main > .home { display: contents; }
.family-home .site-module-layout .hero { order: 1; }
.family-home .site-module-layout .site-module-sidebar { order: 2; margin-block-end: clamp(40px, 6vw, 88px); }
.family-home .site-module-layout .home > .blocks { order: 3; }
@media (min-width: 1024px) {
  body:not(.family-home) .site-module-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: var(--s5); }
}

@keyframes lr-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rubric-card:hover, .card:hover, .hero-link:hover { transform: none; }
}
