/* ==========================================================================
   PrintNotch — base styles (every page)
   ========================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
         url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --pn-ink: #0f172a;
    --pn-ink-2: #1e293b;
    --pn-body: #334155;
    --pn-muted: #475569;
    --pn-subtle: #64748b;
    --pn-line: #e2e8f0;
    --pn-line-2: #cbd5e1;
    --pn-wash: #f8fafc;
    --pn-wash-2: #f1f5f9;
    --pn-blue: #2F76AF;
    --pn-blue-dark: #26618F;
    --pn-blue-wash: #EDF4FA;
    --pn-green: #16a34a;
    --pn-red: #dc2626;
    --pn-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --pn-radius: 10px;
    --pn-header-h: 72px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--pn-header-h) + 16px); }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--pn-font); font-size: 16px; line-height: 1.6; color: var(--pn-body); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { max-width: 100%; height: auto; }
img { border-style: none; }
a { color: var(--pn-blue); text-underline-offset: 3px; }
a:hover { color: var(--pn-blue-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; color: var(--pn-ink); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pn-blue); outline-offset: 3px; }
[hidden] { display: none !important; }

.screen-reader-text, .pn-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; margin: 0; }

.pn-skip-link { position: absolute; left: 12px; top: -60px; z-index: 100001; padding: 10px 16px; border-radius: 8px; background: var(--pn-ink); color: #fff; font-weight: 700; text-decoration: none; }
.pn-skip-link:focus { top: 12px; color: #fff; }

.pn-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ─── Buttons ───────────────────────────────────────────────── */
.pn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px;
    border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: 0.92rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s;
}
.pn-btn-primary { background: var(--pn-blue); color: #fff; }
.pn-btn-primary:hover { background: var(--pn-blue-dark); color: #fff; }
.pn-btn-dark { background: var(--pn-ink); color: #fff; }
.pn-btn-dark:hover { background: var(--pn-ink-2); color: #fff; }
.pn-btn-outline { background: #fff; color: var(--pn-ink); border-color: var(--pn-line); }
.pn-btn-outline:hover { border-color: var(--pn-ink); color: var(--pn-ink); }

.pn-icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--pn-ink); cursor: pointer; text-decoration: none; transition: background-color .2s; }
.pn-icon-btn:hover, .pn-icon-btn[aria-expanded="true"] { background: var(--pn-wash-2); color: var(--pn-ink); }

/* ─── Top bar (above the header) ─────────────────────────── */
.pn-topbar { background: var(--pn-blue-wash); border-bottom: 1px solid #D7E7F4; color: var(--pn-ink-2); font-size: 0.82rem; font-weight: 600; }
.pn-topbar-list { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 36px; min-height: 38px; margin: 0 auto; padding-top: 6px; padding-bottom: 6px; list-style: none; }
.pn-topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pn-topbar-item .pn-icon { color: var(--pn-blue); flex-shrink: 0; }
.pn-topbar-item a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.pn-topbar-item a:hover { color: var(--pn-blue-dark); text-decoration: underline; }

/* ─── Header ────────────────────────────────────────────────── */
/* Solid background, no live blur: a blurred sticky header is redrawn every frame while scrolling. */
.pn-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--pn-line); }
/* The scroll shadow fades with opacity only, which the GPU handles without repainting the page. */
.pn-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; pointer-events: none; background: linear-gradient(rgba(15, 23, 42, .07), rgba(15, 23, 42, 0)); opacity: 0; transition: opacity .2s; }
.pn-header.is-scrolled::after { opacity: 1; }
.pn-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--pn-header-h); }

.pn-logo { flex-shrink: 0; display: flex; align-items: center; }
.pn-logo .custom-logo-link { display: flex; align-items: center; }
.pn-logo .custom-logo { width: auto; max-height: 44px; }
.pn-logo-text { color: var(--pn-ink); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.pn-logo-text:hover { color: var(--pn-ink); }

.pn-nav { flex: 1; min-width: 0; }
.pn-nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pn-nav-list > li { position: relative; }
.pn-nav-list a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--pn-body); font-size: 0.93rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.pn-nav-list a:hover { color: var(--pn-ink); background: var(--pn-wash-2); }
.pn-nav-list .current-menu-item > a, .pn-nav-list .current-menu-ancestor > a, .pn-nav-list .current_page_item > a { color: var(--pn-ink); }
.pn-nav-list .current-menu-item > a::after, .pn-nav-list .current_page_item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--pn-blue); }
.pn-nav-list .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.pn-nav-list .sub-menu { position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--pn-line); border-radius: 12px; box-shadow: 0 18px 48px rgba(15, 23, 42, .12); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.pn-nav-list li:hover > .sub-menu, .pn-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.pn-nav-list .sub-menu a { min-height: 38px; }

.pn-header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pn-header-cta { margin-right: 8px; min-height: 42px; padding: 8px 18px; }
.pn-nav-toggle { display: none; margin-left: -10px; }

.pn-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pn-blue); color: #fff; font-size: 0.68rem; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }

/* Account menu */
.pn-acct-wrap { position: relative; }
.pn-acct-menu { position: absolute; top: calc(100% + 10px); right: -8px; z-index: 20; width: 260px; background: #fff; border: 1px solid var(--pn-line); border-radius: 12px; box-shadow: 0 18px 48px rgba(15, 23, 42, .16); overflow: hidden; }
.pn-acctmenu-head { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 12px; border-bottom: 1px solid var(--pn-line); background: var(--pn-wash); }
.pn-acctmenu-head strong { font-size: 0.95rem; color: var(--pn-ink); }
.pn-acctmenu-head span { font-size: 0.8rem; color: var(--pn-subtle); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-acctmenu-list { margin: 0; padding: 6px; list-style: none; }
.pn-acctmenu-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--pn-ink); font-size: 0.92rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.pn-acctmenu-list a .pn-icon { color: var(--pn-subtle); flex-shrink: 0; }
.pn-acctmenu-list a:hover, .pn-acctmenu-list a:focus-visible { background: var(--pn-blue-wash); color: var(--pn-blue-dark); outline: none; }
.pn-acctmenu-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--pn-blue); }
.pn-acctmenu-list a:hover .pn-icon, .pn-acctmenu-list a:focus-visible .pn-icon { color: var(--pn-blue); }
.pn-acctmenu-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--pn-line); }
.pn-acctmenu-sep a { color: #b91c1c; }
.pn-acctmenu-sep a:hover, .pn-acctmenu-sep a:focus-visible { background: #fef2f2; color: #991b1b; }
.pn-acctmenu-sep a:hover .pn-icon, .pn-acctmenu-sep a:focus-visible .pn-icon { color: #b91c1c; }

/* Mobile drawer */
.pn-drawer { position: fixed; inset: 0; z-index: 100000; }
.pn-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity .25s; }
.pn-drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); display: flex; flex-direction: column; padding: 12px 20px 28px; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease; box-shadow: 0 0 40px rgba(15, 23, 42, .2); }
.pn-drawer.is-open .pn-drawer-backdrop { opacity: 1; }
.pn-drawer.is-open .pn-drawer-panel { transform: none; }
.pn-drawer-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -10px 8px 0; }
.pn-drawer-title { font-weight: 800; color: var(--pn-ink); }
.pn-drawer-list { margin: 0; padding: 0; list-style: none; }
.pn-drawer-list a { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--pn-line); color: var(--pn-ink); font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.pn-drawer-list .sub-menu { margin: 0; padding: 0 0 0 16px; list-style: none; }
.pn-drawer-list .sub-menu a { font-size: 0.97rem; font-weight: 500; }
.pn-drawer-cta { width: 100%; margin: 22px 0 18px; min-height: 50px; }
.pn-drawer-secondary a { min-height: 44px; font-size: 0.95rem; font-weight: 500; color: var(--pn-muted); }
html.pn-lock, html.pn-lock body { overflow: hidden; }

/* ─── Page layouts ──────────────────────────────────────────── */
.pn-main { display: block; }
.pn-page-head { padding: 48px 0 8px; }
.pn-page-head h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.1; }
.pn-page-head p { margin: 10px 0 0; color: var(--pn-muted); font-size: 1.05rem; max-width: 60ch; }
.pn-crumbs { margin-bottom: 14px; font-size: 0.82rem; color: var(--pn-subtle); }
.pn-crumbs a { color: var(--pn-muted); text-decoration: none; }
.pn-crumbs a:hover { color: var(--pn-blue); text-decoration: underline; }
.pn-crumbs span[aria-hidden] { margin: 0 6px; color: var(--pn-line-2); }

.pn-page-body { padding: 32px 0 80px; }
.pn-narrow { max-width: 800px; }
.pn-wide { max-width: 1240px; }

/* Editor content */
.pn-prose { color: var(--pn-body); font-size: 1.02rem; line-height: 1.75; }
.pn-prose > * { margin-top: 0; margin-bottom: 1.2em; }
.pn-prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.pn-prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.pn-prose h4 { margin-top: 1.4em; font-size: 1.05rem; }
.pn-prose ul, .pn-prose ol { padding-left: 1.3em; }
.pn-prose li { margin-bottom: 0.4em; }
.pn-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--pn-blue); color: var(--pn-ink); font-size: 1.1rem; }
.pn-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pn-prose th, .pn-prose td { padding: 10px 12px; border: 1px solid var(--pn-line); text-align: left; }
.pn-prose th { background: var(--pn-wash); color: var(--pn-ink); }
.pn-prose img { border-radius: 10px; }
.pn-prose hr { border: 0; border-top: 1px solid var(--pn-line); margin: 2.4em 0; }
.pn-prose code { padding: 2px 6px; border-radius: 4px; background: var(--pn-wash-2); font-size: 0.9em; }
.pn-prose .alignwide { max-width: 1200px; margin-left: calc(50% - min(600px, 50vw - 20px)); margin-right: calc(50% - min(600px, 50vw - 20px)); width: auto; }
.pn-prose .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.pn-prose .alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.pn-prose .alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.pn-prose .aligncenter { margin-left: auto; margin-right: auto; }
.pn-prose .wp-block-button__link, .pn-prose .wp-element-button { border-radius: 8px; background: var(--pn-blue); color: #fff; font-weight: 700; padding: 12px 24px; text-decoration: none; }
.pn-prose .wp-block-button__link:hover { background: var(--pn-blue-dark); color: #fff; }
.pn-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--pn-ink); border: 1px solid var(--pn-line); }
.pn-prose figcaption, .wp-caption-text { font-size: 0.85rem; color: var(--pn-subtle); text-align: center; }
.pn-full-width .pn-page-body { padding: 0; }
.pn-full-width .pn-prose > .alignfull:first-child { margin-top: 0; }

/* Post lists */
.pn-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pn-post-card { display: flex; flex-direction: column; }
.pn-post-card-img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--pn-wash); margin-bottom: 14px; }
.pn-post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pn-post-card h2 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.35; }
.pn-post-card h2 a { color: var(--pn-ink); text-decoration: none; }
.pn-post-card h2 a:hover { color: var(--pn-blue); }
.pn-post-meta { font-size: 0.84rem; color: var(--pn-subtle); margin: 0 0 8px; }
.pn-post-card p { font-size: 0.95rem; color: var(--pn-muted); margin: 0; }
.pn-post-hero { margin: 0 0 32px; border-radius: 14px; overflow: hidden; }
.pn-post-hero img { width: 100%; height: auto; display: block; }
.pn-post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--pn-line); font-weight: 600; }
.pn-post-nav a { text-decoration: none; }
.pn-empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--pn-line-2); border-radius: 14px; background: var(--pn-wash); }
.pn-empty h2 { font-size: 1.3rem; }
.pn-empty p { color: var(--pn-muted); margin: 0 auto 20px; max-width: 46ch; }

.pn-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.pn-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--pn-line); color: var(--pn-ink); font-weight: 600; text-decoration: none; }
.pn-pagination a.page-numbers:hover { border-color: var(--pn-ink); }
.pn-pagination .current { background: var(--pn-ink); border-color: var(--pn-ink); color: #fff; }
.pn-pagination .dots { border-color: transparent; }

/* Search form */
.pn-search { display: flex; gap: 8px; max-width: 520px; }
.pn-search input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--pn-line); border-radius: 10px; background: #fff; font-size: 0.95rem; }
.pn-search input[type="search"]:focus { outline: none; border-color: var(--pn-blue); box-shadow: 0 0 0 3px rgba(47, 118, 175, .18); }

/* 404 */
.pn-404 { padding: 96px 0 110px; text-align: center; }
.pn-404-code { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--pn-blue-wash); color: var(--pn-blue-dark); font-weight: 700; font-size: 0.85rem; }
.pn-404 h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; }
.pn-404 p { max-width: 50ch; margin: 0 auto 28px; color: var(--pn-muted); font-size: 1.05rem; }
.pn-404-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Comments */
.pn-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--pn-line); }
.pn-comments ol { list-style: none; padding: 0; }
.pn-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--pn-line); }
.pn-comments textarea, .pn-comments input[type="text"], .pn-comments input[type="email"], .pn-comments input[type="url"] { width: 100%; padding: 12px 14px; border: 1px solid var(--pn-line); border-radius: 8px; }

/* ─── Forms (general + WooCommerce) ─────────────────────────── */
.pn-theme input[type="text"], .pn-theme input[type="email"], .pn-theme input[type="password"], .pn-theme input[type="tel"],
.pn-theme input[type="number"], .pn-theme input[type="url"], .pn-theme input[type="search"], .pn-theme select, .pn-theme textarea {
    border: 1px solid var(--pn-line); border-radius: 8px; background: #fff; font-size: 0.95rem; color: var(--pn-ink);
}
.pn-theme input:focus, .pn-theme select:focus, .pn-theme textarea:focus { outline: none; border-color: var(--pn-blue); box-shadow: 0 0 0 3px rgba(47, 118, 175, .18); }

.woocommerce-page .pn-prose input[type="text"], .woocommerce-page .pn-prose input[type="email"], .woocommerce-page .pn-prose input[type="password"],
.woocommerce-page .pn-prose input[type="tel"], .woocommerce-page .pn-prose select { min-height: 46px; padding: 0 14px; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wp-element-button, .wc-block-components-button:not(.is-link) {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px;
    border: 0; border-radius: 8px; background: var(--pn-blue); color: #fff; font-family: var(--pn-font); font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wp-element-button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--pn-blue-dark); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .5; padding: 10px 22px; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    margin: 0 0 24px; padding: 14px 18px; list-style: none; border: 1px solid var(--pn-line); border-top: 0; border-left: 4px solid var(--pn-blue);
    border-radius: 10px; background: var(--pn-wash); color: var(--pn-ink); font-size: 0.94rem;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message { border-left-color: var(--pn-green); background: #f0fdf4; }
.woocommerce-error { border-left-color: var(--pn-red); background: #fef2f2; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: 6px 14px; font-size: 0.85rem; }

/* Cart and checkout (classic and block versions) */
.pn-wc-flow .pn-page-head { padding-bottom: 0; }
.woocommerce table.shop_table { border: 1px solid var(--pn-line); border-radius: 12px; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--pn-wash); color: var(--pn-ink); font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 14px 16px; border-color: var(--pn-line); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-billing-fields h3 { font-size: 1.2rem; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar { font-family: var(--pn-font); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { border-color: var(--pn-line) !important; }
.wc-block-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { min-height: 52px; font-size: 1rem; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select { border-radius: 8px !important; }

/* ─── Footer ────────────────────────────────────────────────── */
.pn-footer { background: var(--pn-wash); border-top: 1px solid var(--pn-line); color: var(--pn-muted); font-size: 0.93rem; }
.pn-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.pn-footer-logo { display: inline-block; margin-bottom: 10px; color: var(--pn-ink); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.pn-footer-logo:hover { color: var(--pn-ink); }
.pn-footer-brand p { max-width: 36ch; margin: 0 0 18px; line-height: 1.6; }
.pn-social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pn-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pn-line); background: #fff; color: var(--pn-ink); transition: border-color .2s, color .2s; }
.pn-social a:hover { border-color: var(--pn-ink); color: var(--pn-blue); }
.pn-footer-col h2 { margin: 0 0 14px; font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: var(--pn-ink); }
.pn-footer-list { margin: 0; padding: 0; list-style: none; }
.pn-footer-list li { margin: 0 0 10px; }
.pn-footer-list a { color: var(--pn-muted); text-decoration: none; }
.pn-footer-list a:hover { color: var(--pn-ink); text-decoration: underline; }
.pn-footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.pn-footer-contact .pn-icon { color: var(--pn-subtle); flex-shrink: 0; }
.pn-footer-bottom { border-top: 1px solid var(--pn-line); }
.pn-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 24px; font-size: 0.82rem; color: var(--pn-subtle); }
.pn-company { margin: 0; max-width: 80ch; }
.pn-legal-list { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.pn-legal-list a { color: var(--pn-subtle); text-decoration: none; }
.pn-legal-list a:hover { color: var(--pn-ink); text-decoration: underline; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .pn-header-cta { display: none; }
}

@media (max-width: 960px) {
    :root { --pn-header-h: 60px; }
    .pn-nav { display: none; }
    .pn-nav-toggle { display: inline-grid; }
    .pn-header-inner { gap: 8px; }
    .pn-logo { margin-right: auto; }
    .pn-logo .custom-logo { max-height: 36px; }
    .pn-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pn-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pn-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* One item at a time on phones (rotated by theme.js) */
    .pn-topbar { font-size: 0.8rem; }
    .pn-topbar-list { min-height: 36px; padding-top: 0; padding-bottom: 0; }
    .pn-topbar-item { position: absolute; left: 20px; right: 20px; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
    .pn-topbar-item.is-active { opacity: 1; transform: none; }
    .pn-page-head { padding-top: 32px; }
    .pn-page-body { padding: 24px 0 56px; }
    .pn-acct-menu { right: -48px; width: min(280px, calc(100vw - 32px)); }
    .pn-post-grid { grid-template-columns: minmax(0, 1fr); }
    .pn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; }
    .pn-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .pn-prose .alignleft, .pn-prose .alignright { float: none; margin: 0 0 1em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
