/* 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-prose: css/components/prose.css */
/* Long-form text: readable measure, site typography. Used by single posts and pages. */
.prose {
  max-width: 68ch;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--fg-2);
}

/* Spacing between blocks */
.prose > * + * { margin-top: 1.5em; }
.prose > *:first-child { margin-top: 0; }

/* Headings */
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 78, 'wght' 600;
  letter-spacing: -.02em;
  color: var(--fg);
  line-height: 1.15;
  text-wrap: balance;
}
.prose h2 { font-size: clamp(24px, 2vw, 30px); margin-top: 2.4em; margin-bottom: 0; }
.prose h3 { font-size: clamp(20px, 1.6vw, 24px); margin-top: 2em; margin-bottom: 0; }
.prose h4 { font-size: clamp(17px, 1.2vw, 20px); margin-top: 1.6em; margin-bottom: 0; }
.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.75em; }

/* Paragraphs */
:where(.prose p) { margin: 0; }

/* Links */
.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s;
}
@media (hover: hover) {
  .prose a:hover { color: var(--fg); }
}

/* Bold / strong */
.prose strong,
.prose b { color: var(--fg); }

/* Inline code */
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  color: var(--fg);
}
/* Don't double-style code inside pre */
.prose pre code {
  white-space: pre;
  overflow-wrap: normal;
  padding: 0;
  background: none;
  border: none;
  font-size: inherit;
}

/* Code blocks */
.prose pre,
.prose .wp-block-code,
.prose .wp-block-preformatted {
  background: var(--panel);
  border: 1px solid var(--line-2);
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Blockquote */
.prose blockquote,
.prose .wp-block-quote {
  margin: 1.5em 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--fg-2);
}
.prose blockquote p,
.prose .wp-block-quote p { margin: 0; }
.prose blockquote cite,
.prose .wp-block-quote cite {
  display: block;
  margin-top: 0.75em;
  font-style: normal;
  font-size: 0.88em;
  color: var(--mute);
}

/* Lists */
.prose ul,
.prose ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}
.prose li { margin-top: 0.4em; }
.prose li::marker { color: var(--mute); }

/* Tables */
/* Core table blocks already sit in <figure class="wp-block-table">: that figure scrolls. */
.prose .table-scroll,
.prose .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prose table,
.prose .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
}
.prose table th,
.prose table td {
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  text-align: left;
}
.prose table th {
  background: var(--panel);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 0.88em;
  letter-spacing: 0.04em;
}
.prose table td { color: var(--fg-2); }

/* Images, figures, captions */
.prose img {
  max-width: 100%;
  height: auto;
  display: block;
}
.prose figure {
  margin: 1.5em 0;
}
.prose figcaption,
.prose .wp-element-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  text-align: center;
}

/* Separator / hr */
.prose hr,
.prose .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

/* Embeds */
.prose .wp-block-embed {
  margin: 1.5em 0;
}
.prose .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.prose .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* WP gallery */
.prose .wp-block-gallery {
  margin: 1.5em 0;
}

@media (max-width: 639px) {
  .prose pre,
  .prose .wp-block-code,
  .prose .wp-block-preformatted {
    padding: 16px;
    font-size: 13px;
  }
  .prose table th,
  .prose table td {
    padding: 8px 10px;
  }
}

/* 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: css/pages/page.css */
/* Generic page layout: eyebrow + display h1 + prose body. */
.page-content {
  padding: var(--sec-y) var(--gut);
  max-width: calc(800px + 2 * var(--gut));
}

.page-header {
  margin-bottom: 48px;
}

.page-header .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);
}

.page-header .eyebrow .rule {
  width: 26px;
  height: 1px;
  background: var(--edge);
}

.page-title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 76, 'wght' 600;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--fg);
}

@media (max-width: 639px) {
  .page-content {
    padding: 56px var(--gut) 64px;
  }
}

/* asq-page-legal: css/pages/legal.css */
/* Legal page: last-updated line + table of contents. */
.legal-updated {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mute);
}

.legal-toc {
  margin-bottom: 48px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.legal-toc-heading {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg-2);
  list-style-position: outside;
}

.legal-toc li {
  padding: 0;
}

.legal-toc a {
  display: inline-block;
  min-height: 44px;
  padding: 12px 0;
  color: var(--fg-2);
  text-decoration: none;
  transition: color .15s;
}

@media (hover: hover) {
  .legal-toc a:hover {
    color: var(--gold);
  }
}

@media (max-width: 639px) {
  .legal-toc {
    padding: 18px 16px;
  }
}

