/* asq-tokens: css/base/tokens.css */
/* Design tokens. theme.json mirrors the palette for the block editor. */
:root {
  --bg: #0B0B0C;
  --fg: #E8E4DC;
  --fg-2: #A8A49C;
  --mute: #8F8A82; /* lightened from #6E6A64 for WCAG AA contrast (2026-09-28) */
  --faint: #4A4844;
  --gold: #C4A574;
  --line: #1C1C1F;
  --line-2: #202024;
  --edge: #26262A;
  --panel: #101012;
  --panel-hi: #131315;
  --gut: 16px;
  --sec-y: 64px;
  --sec-gap: 40px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --display: Archivo, sans-serif;
  color-scheme: dark;
}
@media (min-width: 640px) {
  :root { --gut: 24px; --sec-y: 80px; }
}
@media (min-width: 900px) {
  :root { --gut: 56px; --sec-y: 96px; --sec-gap: 56px; }
}
@media (min-width: 1181px) {
  :root { --sec-y: 120px; --sec-gap: 90px; }
}

/* asq-fonts: css/base/fonts.css */
/* Self-hosted (SIL OFL 1.1), latin subset. No request leaves asenq.com for fonts. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/archivo-latin.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;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-mono-400-latin.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;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-mono-500-latin.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;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-sans-latin.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;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("https://asenq.com/wp-content/themes/asenq/assets/css/base/../../fonts/plex-sans-italic-latin.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;
}

/* asq-base: css/base/base.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-family: var(--sans);
}
a { color: var(--fg); text-decoration: none; transition: color .15s; }
@media (hover: hover) {
  a:hover { color: var(--gold); }
}
button { font: inherit; color: inherit; }
::selection { background: rgba(196,165,116,.3); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
code { font-family: var(--mono); font-size: 13px; color: var(--fg); }
.gold { color: var(--gold); }
.fg { color: var(--fg); }
.dim { color: var(--mute); }

.screen-reader-text {
  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: fixed !important; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; margin: 0;
  padding: 10px 14px; clip: auto; background: var(--panel); border: 1px solid var(--gold); color: var(--fg);
  font-family: var(--mono); font-size: 12px;
}

@keyframes aqUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aqIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes aqPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- page chrome ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='4'/%3E%3C/filter%3E%3Crect%20width='160'%20height='160'%20filter='url(https://asenq.com/wp-content/themes/asenq/assets/css/base/%23n)'/%3E%3C/svg%3E");
}
.page { position: relative; min-height: 100vh; min-height: 100svh; overflow-x: clip; }
.page > * { position: relative; z-index: 10; }

/* asq-nav: css/components/nav.css */
.nav {
  z-index: 20; display: flex; align-items: baseline; justify-content: space-between;
  padding: 26px max(var(--gut), env(safe-area-inset-left)) 0;
  padding-right: max(var(--gut), env(safe-area-inset-right));
}
.logo { font-family: var(--display); font-variation-settings: 'wdth' 78, 'wght' 700; font-size: 21px; letter-spacing: -.02em; position: relative; }
/* Tap target overlay for logo */
.logo::after { content: ''; position: absolute; inset: -11px -8px; }
.nav-links { display: flex; gap: 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { color: var(--mute); position: relative; }
/* Tap target overlay for nav links */
.nav-links a::after { content: ''; position: absolute; inset: -14px -8px; }
.nav-links a.hi { color: var(--fg-2); }
@media (hover: hover) {
  .nav-links a:hover { color: var(--gold); }
}
.nav-links a[aria-current="page"] { color: var(--fg); }

.wide-only { display: none; }
@media (min-width: 900px) {
  .wide-only { display: revert; }
  .nav-links { gap: 34px; }
}

/* asq-buttons: css/components/buttons.css */
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }

.btn-copy {
  padding: 13px 16px; border: 1px solid var(--gold); background: transparent; color: var(--fg);
  font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background .18s; border-radius: 0;
}
@media (hover: hover) {
  .btn-copy:hover { background: rgba(196,165,116,.12); }
}
.btn-copy:active { background: rgba(196,165,116,.22); }
.btn-copy .copy-done { display: none; color: var(--gold); }
.btn-copy.copied .copy-idle { display: none; }
.btn-copy.copied .copy-done { display: inline; }
.btn-ghost {
  display: inline-block; padding: 13px 16px; border: 1px solid var(--edge); color: var(--fg-2); font-size: 14px;
  transition: border-color .18s, color .18s;
}
@media (hover: hover) {
  .btn-ghost:hover { border-color: #3A3A40; color: var(--fg); }
}

@media (min-width: 640px) {
  .cta { margin-top: 44px; }
  .btn-copy, .btn-ghost { padding: 14px 22px; }
}

/* asq-section: css/components/section.css */
/* Two-column "split" section with eyebrow + display h2 (homepage; reusable on pages). */
/* Mobile-first: single column is the default. */
.split {
  border-top: 1px solid var(--line); padding: var(--sec-y) max(var(--gut), env(safe-area-inset-left));
  padding-right: max(var(--gut), env(safe-area-inset-right));
  display: grid; grid-template-columns: 1fr; gap: var(--sec-gap); align-items: start;
}
.split.rev > .split-text { order: 0; }
.split.first { margin-top: 96px; }
.split.noline { border-top: 0; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--mute);
}
.eyebrow .rule { width: 26px; height: 1px; background: var(--edge); }
.split h2, .close h2 {
  margin: 0; max-width: 18ch; font-family: var(--display); font-variation-settings: 'wdth' 76, 'wght' 600;
  font-size: clamp(38px, 3.75vw, 54px); line-height: .98; letter-spacing: -.03em; color: var(--fg); text-wrap: balance;
}
.split h2.narrow { max-width: 18ch; }
.split-text p { margin: 24px 0 0; max-width: 38ch; font-size: 15.5px; line-height: 1.65; color: var(--fg-2); text-wrap: pretty; }

@media (min-width: 900px) {
  .split { grid-template-columns: .9fr 1.1fr; }
  .split.rev { grid-template-columns: 1.1fr .9fr; }
  .split.rev > .split-text { order: 2; }
  .split.first { margin-top: 130px; }
  .split h2, .split h2.narrow { max-width: 14ch; }
  .split h2.narrow { max-width: 13ch; }
}

/* asq-post-card: css/components/post-card.css */
/* Post card for blog index, archives, search. */
.post-card {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  transition: border-color .2s;
}
.post-card:first-child { border-top: 0; }

.post-card-thumb {
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
}
.post-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity .2s;
}
@media (hover: hover) {
  .post-card-thumb:hover img { opacity: .85; }
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mute);
  margin-bottom: 12px;
}
.post-card-meta a { color: var(--mute); }
@media (hover: hover) {
  .post-card-meta a:hover { color: var(--gold); }
}

.post-card-title {
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-variation-settings: 'wdth' 78, 'wght' 600;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--fg);
  text-wrap: balance;
}
.post-card-title a { color: inherit; }
@media (hover: hover) {
  .post-card-title a:hover { color: var(--gold); }
}

.post-card-excerpt {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold);
  padding: 4px 0;
}
@media (hover: hover) {
  .post-card-link:hover { color: var(--fg); }
}

/* Two-column card layout on wide screens */
@media (min-width: 900px) {
  .post-card-thumb + .post-card-body { /* thumbnail present */ }
  .post-card:has(.post-card-thumb) {
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
  }
  .post-card:has(.post-card-thumb) .post-card-thumb {
    margin-bottom: 0;
  }
}

@media (max-width: 639px) {
  .post-card { padding: 24px 0; }
  .post-card-excerpt { font-size: 14.5px; }
}

/* asq-pagination: css/components/pagination.css */
/* Pagination for post listings. */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.pagination-prev,
.pagination-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 44px;
  min-width: 44px;
  color: var(--fg-2);
  transition: color .15s;
}

@media (hover: hover) {
  a.pagination-prev:hover,
  a.pagination-next:hover { color: var(--gold); }
}

.pagination-disabled {
  color: var(--mute);
  cursor: default;
}

.pagination-info {
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}

@media (max-width: 639px) {
  .pagination {
    padding: 20px 0;
    font-size: 11px;
  }
  .pagination-prev,
  .pagination-next {
    padding: 10px 10px;
  }
}

/* asq-search-form: css/components/search-form.css */
/* Search form used on search page and 404. */
.search-form {
  display: flex;
  gap: 0;
  max-width: 520px;
}

.search-form-input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-right: 0;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color .15s;
}
.search-form-input::placeholder { color: var(--mute); }
.search-form-input:focus { border-color: var(--gold); }

.search-form-btn {
  padding: 14px 22px;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
}

@media (hover: hover) {
  .search-form-btn:hover { background: rgba(196,165,116,.12); }
}
.search-form-btn:active { background: rgba(196,165,116,.22); }

@media (max-width: 639px) {
  .search-form { max-width: none; }
  .search-form-input { padding: 12px 14px; }
  .search-form-btn { padding: 12px 16px; }
}

/* asq-consent: css/components/consent.css */
/* Consent banner: fixed bottom panel, site style. */
.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 0 var(--gut);
  pointer-events: none;
}

.consent-banner[hidden] {
  display: none;
}

.consent-inner {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  pointer-events: auto;
}

.consent-title {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
}

.consent-text {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}

.consent-text a {
  color: var(--fg-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}

@media (hover: hover) {
  .consent-text a:hover {
    color: var(--gold);
  }
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-btn {
  flex: 1 1 0;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 20px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--fg-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

@media (hover: hover) {
  .consent-btn:hover {
    border-color: var(--gold);
    color: var(--fg);
  }
}

.consent-btn:active {
  background: rgba(196, 165, 116, .08);
}

/* Footer "Cookie settings" button: inherits footer mono style, meets 44x44 tap target. */
.footer-links [data-asq-consent-open] {
  padding: 5px 0;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--mute);
  font: inherit;
  letter-spacing: inherit;
  transition: color .15s;
}

@media (hover: hover) {
  .footer-links [data-asq-consent-open]:hover {
    color: var(--gold);
  }
}

@media (max-width: 639px) {
  .consent-inner {
    margin-bottom: 16px;
    padding: 18px 16px;
  }

  .consent-text {
    font-size: 13px;
  }

  .consent-btn {
    padding: 12px 12px;
    font-size: 11px;
  }
}

/* asq-footer: css/components/footer.css */
.footer {
  border-top: 1px solid var(--line); padding: 22px max(var(--gut), env(safe-area-inset-left)) 34px;
  padding-right: max(var(--gut), env(safe-area-inset-right));
  display: flex; flex-direction: column; gap: 14px 26px;
  justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mute);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a, .footer-links button { color: var(--mute); text-transform: uppercase; position: relative; }
/* Tap target overlay for footer links */
.footer-links a::after, .footer-links button::after { content: ''; position: absolute; inset: -14px -8px; }
.footer-links button {
  padding: 0; background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; transition: color .15s;
}
@media (hover: hover) {
  .footer-links a:hover, .footer-links button:hover { color: var(--gold); }
}

@media (min-width: 640px) {
  .footer { flex-direction: row; flex-wrap: wrap; }
}

/* asq-page-blog: css/pages/blog.css */
/* Blog index + archive + search page layout. */
.blog-index {
  padding: 0 var(--gut);
}

.blog-header {
  padding-top: var(--sec-y);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.blog-header h1 {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 76, 'wght' 600;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--fg);
  text-wrap: balance;
}
.blog-intro {
  margin: 16px 0 0;
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-2);
}

.post-cards {
  max-width: 900px;
}

/* Search page: move the form directly after the header. */
.search-page .search-form {
  margin-top: 28px;
}
.search-query {
  color: var(--gold);
  font-style: italic;
}

/* Empty state */
.empty-state {
  padding: var(--sec-y) 0;
  max-width: 480px;
}
.empty-state-title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 78, 'wght' 600;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--fg);
  text-wrap: balance;
}
.empty-state-text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
}
.empty-state-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 639px) {
  .blog-header { padding-top: 48px; padding-bottom: 28px; }
  .blog-intro { font-size: 14.5px; }
}

