:root {
  --black: #0a0a0b;
  --black-2: #111012;
  --black-3: #171316;
  --gold: #c4a25f;
  --gold-soft: rgba(196, 162, 95, .2);
  --burgundy: #321017;
  --burgundy-2: #5b1f23;
  --ivory: #ede8dd;
  --muted: #a79f94;
  --line: rgba(196, 162, 95, .18);
  --line-strong: rgba(196, 162, 95, .42);
  --shadow: 0 34px 110px rgba(0, 0, 0, .55);
  --glow: 0 0 80px rgba(196, 162, 95, .16);
  --serif: "Bodoni Moda", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --space-page: clamp(1.25rem, 4vw, 4.5rem);
  --space-section: clamp(6rem, 12vw, 12rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body.hasseib-body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 4%, rgba(91, 31, 35, .4), transparent 32rem),
    radial-gradient(circle at 20% 42%, rgba(196, 162, 95, .08), transparent 26rem),
    linear-gradient(180deg, var(--black), #0d0b0c 38%, var(--black-2) 70%, var(--black));
  color: var(--ivory);
  font-family: var(--sans);
  letter-spacing: 0;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 11, .76);
  border-bottom: 1px solid rgba(196, 162, 95, .12);
  display: flex;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 1rem var(--space-page);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand,
.primary-nav,
.eyebrow,
.hero-intel,
.credibility-strip,
.entry-meta {
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: .7rem;
  white-space: nowrap;
}

.brand span {
  font-size: 1.15rem;
  line-height: 1;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(.9rem, 2vw, 1.8rem);
}

.primary-nav ul {
  display: flex;
  gap: clamp(.9rem, 2vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: rgba(237, 232, 221, .72);
  transition: color .55s var(--ease);
}

.primary-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: .55rem .7rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.screen-reader-text:focus {
  background: var(--black);
  border: 1px solid var(--gold);
  clip: auto;
  color: var(--ivory);
  height: auto;
  left: 1rem;
  padding: .75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100;
}

.section-space {
  padding: var(--space-section) var(--space-page);
}

.lux-hero {
  display: grid;
  min-height: calc(100vh - 4.75rem);
  overflow: hidden;
  padding: clamp(5rem, 9vw, 9rem) var(--space-page) clamp(3rem, 7vw, 6rem);
  place-items: center;
  position: relative;
  text-align: center;
}

.lux-hero__atmosphere {
  background:
    radial-gradient(circle at 50% 42%, rgba(196, 162, 95, .16), transparent 18rem),
    radial-gradient(circle at 50% 54%, rgba(91, 31, 35, .44), transparent 34rem),
    linear-gradient(135deg, rgba(10, 10, 11, .2), rgba(10, 10, 11, .9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='760' viewBox='0 0 1200 760'%3E%3Crect width='1200' height='760' fill='%230a0a0b'/%3E%3Cpath d='M138 560 C312 386 474 476 626 304 C756 158 890 226 1056 96' fill='none' stroke='%23c4a25f' stroke-opacity='.24' stroke-width='1.4'/%3E%3Cpath d='M240 612 C386 508 500 430 626 338 C780 228 912 220 1066 152' fill='none' stroke='%23ede8dd' stroke-opacity='.08' stroke-width='1'/%3E%3Ccircle cx='602' cy='316' r='182' fill='%235b1f23' fill-opacity='.28'/%3E%3Ccircle cx='602' cy='316' r='82' fill='%23c4a25f' fill-opacity='.08'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: .9;
  position: absolute;
  will-change: transform;
}

.lux-frame {
  border: 1px solid rgba(196, 162, 95, .12);
  inset: clamp(1rem, 2.5vw, 2.2rem);
  position: absolute;
}

.lux-frame::before,
.lux-frame::after {
  background: var(--gold);
  content: "";
  height: 1px;
  left: 50%;
  opacity: .55;
  position: absolute;
  transform: translateX(-50%);
  width: min(14rem, 40vw);
}

.lux-frame::before {
  top: 0;
}

.lux-frame::after {
  bottom: 0;
}

.knight-mark {
  color: rgba(196, 162, 95, .28);
  font-family: var(--serif);
  font-size: clamp(8rem, 24vw, 21rem);
  line-height: .75;
  position: absolute;
  text-shadow: 0 0 90px rgba(196, 162, 95, .16);
  top: clamp(5rem, 8vw, 8rem);
}

.lux-hero__content {
  max-width: 74rem;
  position: relative;
  z-index: 2;
}

.lux-hero h1 {
  font-family: var(--serif);
  font-size: clamp(5.8rem, 16vw, 17rem);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: .78;
  margin: clamp(5rem, 10vw, 9rem) 0 1rem;
}

.hero-subline {
  color: rgba(237, 232, 221, .82);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  margin: 0 auto 2.4rem;
  max-width: 42rem;
}

.hero-intel {
  bottom: clamp(2rem, 4vw, 4rem);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: var(--space-page);
  position: absolute;
  right: var(--space-page);
  z-index: 2;
}

.hasseib-button,
.ghost-button,
.wp-element-button,
.elementor-button {
  align-items: center;
  border-radius: 0;
  display: inline-flex;
  justify-content: center;
  letter-spacing: .18em;
  min-height: 3.25rem;
  overflow: hidden;
  padding: .95rem 1.25rem;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  transition: transform .55s var(--ease), border-color .55s var(--ease), background .55s var(--ease), color .55s var(--ease), box-shadow .55s var(--ease);
}

.hasseib-button,
.wp-element-button,
.elementor-button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--black);
}

.ghost-button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
}

.hasseib-button:hover,
.ghost-button:hover,
.wp-element-button:hover,
.elementor-button:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.section-kicker {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.section-kicker span {
  color: rgba(196, 162, 95, .5);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.strategist-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
}

.display-statement h2,
.section-heading h2,
.read-copy h2,
.archive-shell h1,
.single-shell h1,
.form-page h1,
.wp-demo-section h2 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .9;
  margin: 0;
}

.editorial-copy {
  border-left: 1px solid var(--line-strong);
  max-width: 44rem;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}

.editorial-copy p,
.section-heading p,
.read-copy p,
.form-page p,
.entry-card p,
.content-flow,
.wp-demo-section p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.85;
}

.credibility-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: 1.1fr repeat(4, 1fr);
}

.credibility-strip span,
.credibility-strip strong {
  align-items: center;
  background: rgba(17, 16, 18, .62);
  display: flex;
  min-height: 6rem;
  padding: 1rem var(--space-page);
}

.credibility-strip strong {
  color: rgba(237, 232, 221, .82);
  font-weight: 400;
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 62rem;
}

.section-heading p {
  max-width: 40rem;
}

.citadel-matrix {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
}

.citadel-matrix::before,
.citadel-matrix::after {
  background: var(--line);
  content: "";
  position: absolute;
}

.citadel-matrix::before {
  height: 100%;
  left: 50%;
  top: 0;
  width: 1px;
}

.citadel-matrix::after {
  height: 1px;
  left: 0;
  top: 50%;
  width: 100%;
}

.citadel-matrix article {
  background: rgba(17, 16, 18, .48);
  min-height: clamp(16rem, 28vw, 24rem);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  position: relative;
}

.citadel-matrix article:nth-child(2) {
  background:
    radial-gradient(circle at 50% 30%, rgba(196, 162, 95, .18), transparent 17rem),
    rgba(25, 20, 18, .86);
  box-shadow: inset 0 0 90px rgba(196, 162, 95, .12), var(--glow);
}

.citadel-matrix span,
.capability-card span {
  color: rgba(196, 162, 95, .7);
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.citadel-matrix h3,
.capability-card h3,
.entry-card h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  margin: clamp(3rem, 7vw, 6rem) 0 1rem;
}

.citadel-matrix article:nth-child(2) h3 {
  color: var(--gold);
  text-shadow: 0 0 32px rgba(196, 162, 95, .24);
  text-transform: uppercase;
}

.citadel-matrix p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 28rem;
}

.capability-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card {
  background: linear-gradient(180deg, rgba(17, 16, 18, .82), rgba(10, 10, 11, .72));
  border: 1px solid rgba(196, 162, 95, .12);
  min-height: 17rem;
  overflow: hidden;
  padding: 1.4rem;
  position: relative;
  transition: border-color .55s var(--ease), box-shadow .55s var(--ease), transform .55s var(--ease);
}

.capability-card::after {
  background: var(--gold);
  bottom: 0;
  content: "";
  height: 1px;
  left: 1.4rem;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .65s var(--ease);
  width: calc(100% - 2.8rem);
}

.capability-card h3 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.capability-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  transform: translateY(-5px);
}

.capability-card:hover::after {
  transform: scaleX(1);
}

.strategic-read-section {
  align-items: start;
  background:
    radial-gradient(circle at 76% 20%, rgba(196, 162, 95, .11), transparent 22rem),
    linear-gradient(180deg, rgba(50, 16, 23, .18), rgba(10, 10, 11, .5));
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
}

.read-copy {
  max-width: 42rem;
}

.read-console {
  background:
    linear-gradient(180deg, rgba(17, 16, 18, .84), rgba(10, 10, 11, .92));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.hasseib-form {
  display: grid;
  gap: 1rem;
}

.hasseib-form label {
  color: var(--muted);
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  margin-bottom: -.55rem;
  text-transform: uppercase;
}

.hasseib-form input,
.hasseib-form select,
.hasseib-form textarea,
.filter-form input {
  background: rgba(10, 10, 11, .94);
  border: 1px solid rgba(196, 162, 95, .18);
  color: var(--ivory);
  min-height: 3.25rem;
  padding: .9rem 1rem;
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
  width: 100%;
}

.hasseib-form textarea {
  resize: vertical;
}

.hasseib-form input:focus,
.hasseib-form select:focus,
.hasseib-form textarea:focus,
.filter-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 162, 95, .1);
  outline: none;
}

.archive-shell,
.single-shell,
.form-page,
.wp-demo-section {
  padding: var(--space-section) var(--space-page);
}

.entry-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  margin-top: clamp(2rem, 5vw, 4rem);
}

.entry-card {
  background: rgba(17, 16, 18, .56);
  border: 1px solid rgba(196, 162, 95, .13);
  min-height: 20rem;
  padding: 1.25rem;
  transition: border-color .55s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease);
}

.entry-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.entry-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.entry-media img,
.featured-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.single-shell article {
  margin: 0 auto;
  max-width: 62rem;
}

.content-flow {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.form-page {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
}

.notice {
  border: 1px solid var(--line-strong);
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 1rem;
}

.filter-form {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
  max-width: 44rem;
}

.page-links {
  border-top: 1px solid var(--line);
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
  padding-top: 1rem;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: clamp(3rem, 7vw, 6rem) var(--space-page);
}

.footer-brand {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 .8rem;
}

.site-footer a {
  color: var(--gold);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.elementor-full-shell {
  min-height: 60vh;
}

.elementor-section.hasseib-dark,
.hasseib-dark {
  background: var(--black);
  color: var(--ivory);
}

.hasseib-section {
  padding: var(--space-section) var(--space-page);
}

.hasseib-editorial-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .9;
}

.hasseib-gold {
  color: var(--gold);
}

.wp-demo-section {
  border-top: 1px solid var(--line);
}

.wp-demo-section p {
  max-width: 48rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease);
}

@media (min-width: 920px) {
  .strategist-layout,
  .strategic-read-section,
  .form-page {
    grid-template-columns: .92fr 1.08fr;
  }
}

@media (max-width: 980px) {
  .credibility-strip,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credibility-strip span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header,
  .primary-nav,
  .primary-nav ul,
  .site-footer,
  .filter-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-nav {
    font-size: .68rem;
    width: 100%;
  }

  .primary-nav ul {
    gap: .7rem;
  }

  .lux-hero {
    min-height: 88vh;
    text-align: left;
  }

  .lux-hero__content {
    width: 100%;
  }

  .knight-mark {
    left: var(--space-page);
    opacity: .72;
  }

  .lux-hero h1 {
    font-size: clamp(4.7rem, 24vw, 7.5rem);
  }

  .hero-intel {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-cta {
    width: 100%;
  }

  .credibility-strip,
  .citadel-matrix,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .citadel-matrix::before,
  .citadel-matrix::after {
    display: none;
  }

  .citadel-matrix article {
    border-top: 1px solid var(--line);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HASSEIB v1.0.0 — Extensions
   Mobile Nav · Full Footer · Post Navigation · Single Meta · 404 · Search
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Mobile navigation toggle ─────────────────────────────────────────── */

.nav-toggle {
  align-items: center;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .6rem .75rem;
}

.nav-toggle-bar {
  background: var(--ivory);
  display: block;
  height: 1px;
  transition: transform .42s var(--ease), opacity .28s;
  width: 22px;
}

.nav-toggle[aria-expanded="true"] .bar-top {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar-mid {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .bar-bot {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
    flex-direction: row;
    align-items: center;
  }

  .primary-nav {
    align-items: stretch;
    background: rgba(10, 10, 11, .97);
    backdrop-filter: blur(26px);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 1.5rem var(--space-page) 2.5rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .primary-nav ul li {
    border-bottom: 1px solid var(--line);
  }

  .primary-nav ul a {
    color: rgba(237, 232, 221, .82);
    display: block;
    font-size: .88rem;
    letter-spacing: .14em;
    padding: 1.1rem 0;
  }

  .nav-cta {
    border: 1px solid var(--line-strong);
    display: block;
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
  }
}

/* Prevent scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

/* ── Sticky header scroll state ────────────────────────────────────────── */

.site-header.is-scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}

/* ── Full footer ───────────────────────────────────────────────────────── */

.site-footer {
  align-items: stretch;
  border-top: 1px solid var(--line);
  display: block;
  padding: 5rem var(--space-page) 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.6fr 1fr 1fr;
  margin-bottom: 4rem;
}

.footer-brand {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 0 0 1rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: .88rem;
  letter-spacing: .04em;
  line-height: 1.75;
  margin: 0 0 2rem;
  max-width: 32ch;
}

.footer-cta {
  border: 1px solid var(--line-strong);
  color: var(--gold);
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .22em;
  padding: .7rem 1.2rem;
  text-transform: uppercase;
  transition: background .45s var(--ease), color .45s var(--ease);
}

.footer-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.footer-col-title {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .28em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: .85rem;
}

.footer-links a {
  color: var(--muted);
  font-size: .88rem;
  letter-spacing: .04em;
  transition: color .4s var(--ease);
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-contact-item {
  color: var(--muted);
  font-size: .88rem;
  letter-spacing: .03em;
  line-height: 1.65;
  margin-bottom: .9rem;
}

.footer-contact-item a {
  color: var(--ivory);
  transition: color .3s;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bar {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 2rem;
}

.footer-copy {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .08em;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .06em;
  transition: color .3s;
}

.footer-legal a:hover {
  color: var(--ivory);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ── 404 page ──────────────────────────────────────────────────────────── */

.not-found {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  padding: var(--space-section) var(--space-page);
  text-align: center;
}

.not-found-code {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0 0 1rem;
  opacity: .42;
}

.not-found h1 {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  margin: .5rem 0 1rem;
}

.not-found > p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Search results ────────────────────────────────────────────────────── */

.search-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-section) var(--space-page);
}

.search-form-inline {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 4rem;
  max-width: 52rem;
}

.search-form-inline input[type="search"] {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  flex: 1;
  font-family: var(--sans);
  font-size: .95rem;
  min-height: 3.25rem;
  padding: .85rem 1.2rem;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.search-form-inline input[type="search"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 162, 95, .1);
  outline: none;
}

.search-form-inline input::placeholder {
  color: var(--muted);
}

.search-result-item {
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.search-results-list .search-result-item:first-child {
  border-top: 1px solid var(--line);
}

.search-result-type {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .28em;
  margin: 0 0 .6rem;
  text-transform: uppercase;
}

.search-result-item h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  margin: 0 0 .7rem;
}

.search-result-item h2 a {
  transition: color .3s;
}

.search-result-item h2 a:hover {
  color: var(--gold);
}

.search-result-excerpt {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.72;
  margin: 0;
}

.search-no-results {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 2rem;
}

/* ── Single post — entry meta + nav ────────────────────────────────────── */

.entry-header {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  max-width: 62rem;
}

.entry-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  gap: .5rem;
  letter-spacing: .12em;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

.meta-sep {
  color: var(--line-strong);
}

.meta-framework {
  color: var(--gold);
}

.post-navigation {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
}

/* ── Journal preview on homepage ───────────────────────────────────────── */

.journal-preview {
  border-top: 1px solid var(--line);
}

/* ── inc/setup.php — text domain fix (theme renamed) ───────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   HASSEIB v1.1.0 — Rich Visual Enhancements
   Single · Archive · Forms · Nav Active · Admin
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Active nav link ───────────────────────────────────────────────────────── */
.primary-nav a[aria-current="page"],
.primary-nav .current-menu-item > a,
.primary-nav .current-page-ancestor > a { color: var(--gold); }

/* ── Richer single post layout ─────────────────────────────────────────────── */
.single-shell { padding: 0; }

.entry-hero {
  background:
    radial-gradient(circle at 20% 60%, rgba(196,162,95,.10), transparent 28rem),
    radial-gradient(circle at 75% 10%, rgba(91,31,35,.35), transparent 32rem),
    var(--black);
  border-bottom: 1px solid var(--line);
  padding: clamp(6rem,12vw,10rem) var(--space-page) clamp(4rem,8vw,6rem);
}

.entry-hero .entry-header { max-width: 72rem; }

.entry-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem,8vw,8rem);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: .88;
  margin: 1rem 0 2rem;
}

.entry-body {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4rem,8vw,7rem) var(--space-page);
}

.entry-body h2 {
  font-family: var(--serif);
  font-size: clamp(2rem,4vw,4rem);
  font-weight: 400;
  margin: 3rem 0 1.2rem;
  color: var(--ivory);
}

.entry-body h3 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .24em;
  margin: 2.5rem 0 .8rem;
  text-transform: uppercase;
}

.entry-body p {
  color: var(--muted);
  font-size: clamp(1.02rem,1.4vw,1.18rem);
  line-height: 1.9;
  margin-bottom: 1.4rem;
  max-width: 66ch;
}

.entry-body ul, .entry-body ol {
  color: var(--muted);
  font-size: clamp(1rem,1.3vw,1.12rem);
  line-height: 1.85;
  margin: 1.2rem 0 1.8rem 1.4rem;
  max-width: 62ch;
}

.entry-body li { margin-bottom: .55rem; }

.entry-body strong { color: var(--ivory); font-weight: 500; }

.entry-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

.entry-body blockquote {
  border-left: 2px solid var(--gold);
  margin: 2.5rem 0;
  padding: 1.2rem 0 1.2rem 2rem;
}

.entry-body blockquote p {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.2rem,2vw,1.6rem);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.entry-body .eyebrow {
  color: var(--gold);
  display: block;
  font-size: .72rem;
  letter-spacing: .28em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* ── Post navigation ─────────────────────────────────────────────────────────── */
.post-navigation {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(4rem,8vw,7rem);
  padding-top: 2.5rem;
}

.post-navigation .ghost-button {
  font-size: .72rem;
  letter-spacing: .12em;
  min-height: 2.8rem;
  padding: .7rem 1.2rem;
}

/* ── Archive pages ───────────────────────────────────────────────────────────── */
.archive-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(91,31,35,.32), transparent 28rem),
    var(--black);
  border-bottom: 1px solid var(--line);
  padding: clamp(7rem,12vw,11rem) var(--space-page) clamp(4rem,7vw,6rem);
}

.archive-hero .eyebrow { margin-bottom: 1.2rem; }

.archive-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem,8vw,8rem);
  font-weight: 400;
  line-height: .88;
  margin: 0 0 1.5rem;
}

.archive-hero p {
  color: var(--muted);
  font-size: clamp(1rem,1.5vw,1.2rem);
  line-height: 1.8;
  max-width: 48ch;
}

.archive-body { padding: clamp(4rem,8vw,7rem) var(--space-page); }

.filter-bar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(3rem,6vw,5rem);
  padding-bottom: 2rem;
}

.filter-form { display: flex; flex: 1; gap: .8rem; max-width: 44rem; }

.filter-form input[type="search"] {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  flex: 1;
  font-family: var(--sans);
  font-size: .95rem;
  min-height: 3rem;
  padding: .7rem 1rem;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.filter-form input[type="search"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,162,95,.1);
  outline: none;
}

.filter-form input::placeholder { color: var(--muted); }

/* ── Richer entry cards ───────────────────────────────────────────────────────── */
.entry-card {
  display: flex;
  flex-direction: column;
}

.entry-card .entry-media {
  display: block;
  overflow: hidden;
}

.entry-card .entry-media img,
.entry-card .entry-media svg {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .85s var(--ease);
  width: 100%;
}

.entry-card:hover .entry-media img { transform: scale(1.04); }

.entry-card-body { flex: 1; padding: 1.4rem; }

.entry-meta {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .22em;
  margin: 0 0 .8rem;
  text-transform: uppercase;
}

.entry-card h3 {
  font-size: clamp(1.6rem,2.5vw,2.4rem);
  line-height: 1.05;
  margin: 0 0 .8rem;
}

.entry-card h3 a { transition: color .4s var(--ease); }
.entry-card h3 a:hover { color: var(--gold); }

.entry-card > p,
.entry-card-body > p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.72;
  margin: 0;
}

/* ── Form page — rich 2-column layout ────────────────────────────────────────── */
.form-page {
  display: grid;
  gap: 0;
  min-height: 70vh;
}

.form-intro {
  background:
    radial-gradient(circle at 20% 50%, rgba(196,162,95,.09), transparent 24rem),
    var(--black);
  border-right: 1px solid var(--line);
  padding: clamp(6rem,12vw,10rem) clamp(2rem,5vw,5rem) clamp(4rem,8vw,6rem);
}

.form-intro h1, .contact-intro h1, .read-intro h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem,6vw,6rem);
  font-weight: 400;
  line-height: .9;
  margin: 1rem 0 2rem;
}

.form-intro .content-flow p,
.contact-intro .content-flow p,
.read-intro .content-flow p {
  color: var(--muted);
  font-size: clamp(1rem,1.4vw,1.15rem);
  line-height: 1.85;
  margin-bottom: 1.3rem;
  max-width: 56ch;
}

.form-intro h3, .contact-intro h3, .read-intro h3 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  margin: 2.2rem 0 .8rem;
  text-transform: uppercase;
}

.form-intro ul, .contact-intro ul, .read-intro ul {
  color: var(--muted);
  font-size: clamp(.95rem,1.2vw,1.05rem);
  line-height: 1.85;
  margin: .8rem 0 1.5rem 1.2rem;
}

.form-intro li, .contact-intro li, .read-intro li { margin-bottom: .5rem; }

.contact-form-section,
.read-form-section {
  background: var(--black-2);
  padding: clamp(6rem,12vw,10rem) clamp(2rem,5vw,4rem) clamp(4rem,8vw,6rem);
}

.read-console {
  background: linear-gradient(180deg, rgba(17,16,18,.9), rgba(10,10,11,.95));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  padding: clamp(1.5rem,4vw,2.8rem);
}

@media (min-width: 860px) {
  .form-page { grid-template-columns: 1fr 1fr; }
  .form-intro  { position: sticky; top: 0; align-self: start; }
}

/* ── Form enhancements ────────────────────────────────────────────────────────── */
.hasseib-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23c4a25f' stroke-opacity='.7' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  padding-right: 2.5rem;
}

.hasseib-form button[type="submit"] {
  margin-top: .5rem;
  width: 100%;
}

.hasseib-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.navigation.pagination {
  margin-top: clamp(3rem,6vw,5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.nav-links a, .nav-links span {
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  letter-spacing: .1em;
  min-width: 2.8rem;
  min-height: 2.8rem;
  padding: .4rem .7rem;
  transition: border-color .4s, color .4s;
}

.nav-links a:hover { border-color: var(--line-strong); color: var(--ivory); }
.nav-links span.current { border-color: var(--gold); color: var(--gold); }

/* ── Section divider ─────────────────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── Journal preview on homepage ─────────────────────────────────────────────── */
.journal-preview .entry-grid { gap: 1.5rem; }

/* ── Homepage hero polish ────────────────────────────────────────────────────── */
.lux-hero {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Crect width='1440' height='900' fill='%230a0a0b'/%3E%3C/svg%3E");
}

/* ── Ghost button states ─────────────────────────────────────────────────────── */
.ghost-button:hover {
  background: rgba(196,162,95,.08);
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Responsive overrides for archive/single ─────────────────────────────────── */
@media (max-width: 720px) {
  .entry-hero { padding-top: 5rem; }
  .archive-hero { padding-top: 5rem; }
  .form-page { grid-template-columns: 1fr; }
  .form-intro { position: static; border-right: none; border-bottom: 1px solid var(--line); }
  .entry-body p, .entry-body ul { max-width: 100%; }
  .post-navigation { flex-direction: column; }
}
