/*
Theme Name: AKG Editorial Original
Theme URI: http://127.0.0.1:47311/
Author: Local foundation
Description: Classic theme foundation for Ankkit Kamal Grover. Local development only.
Version: 0.4.52
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: akg-editorial
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-serif-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-latin-600.woff2") format("woff2");
}

:root {
  --espresso: #211b19;
  --mocha: #6f4e37;
  --ivory: #faf8f4;
  --platinum: #e5e4e2;
  --lavender: #e6e0f0;
  --lavender-ink: #625880;
  --lavender-soft: rgba(230, 224, 240, 0.55);
  --ink: var(--espresso);
  --paper: var(--ivory);
  --muted: #6e5a49;
  --line: rgba(33, 27, 25, 0.14);
  --focus: var(--lavender-ink);
  --max: clamp(72rem, 88vw, 80rem);
  --max-wide: clamp(78rem, 88vw, 108rem);
  --pad: clamp(1.25rem, 2.6vw, 3.75rem);
  --measure: 38rem;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-ui: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, var(--lavender-soft), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(106, 83, 66, 0.12), transparent 50%),
    linear-gradient(180deg, #fbf7f0 0%, var(--paper) 42%, #f1ebe0 100%);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
  color: var(--mocha);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(248, 243, 234, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

body.akg-layout-wide .site-main,
body.akg-layout-wide .site-header__inner,
body.akg-layout-wide .site-footer__inner {
  width: min(100% - (var(--pad) * 2), var(--max-wide));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding: 1.15rem 0;
}

.site-brand {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 12rem;
}

.site-brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--espresso);
}

.site-brand__tag {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  text-transform: uppercase;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem 1.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.site-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: var(--mocha);
}

.site-nav a[aria-current="page"] {
  color: var(--espresso);
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: var(--lavender);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header__cta:hover,
.site-header__cta.is-current {
  background: transparent;
  color: var(--espresso);
}

.site-main {
  flex: 1;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(36, 28, 22, 0.03);
  padding: 1.75rem 0 2.25rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.site-footer__links a,
.site-footer__links .akg-footer-consent {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  letter-spacing: inherit;
  text-transform: none;
  box-shadow: none;
  border-radius: 0;
}

.site-footer__links .akg-footer-consent:hover,
.site-footer__links .akg-footer-consent:focus-visible {
  color: var(--espresso);
}

.site-footer__links .akg-footer-consent:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/*
 * Complianz generated CSS hides #cmplz-manage-consent .cmplz-manage-consent
 * at max-width 768px. Keep a keyboard-accessible path via the footer control
 * and restore the floating control when it is not dismissed/hidden.
 */
@media (max-width: 768px) {
  #cmplz-manage-consent .cmplz-manage-consent:not(.cmplz-hidden):not(.cmplz-dismissed) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 12px;
    left: auto;
    bottom: 0;
    z-index: 9998;
    min-height: 44px;
    height: auto;
    min-width: 7.5rem;
    padding: 0.65rem 0.9rem;
  }
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 40;
  background: var(--espresso);
  color: var(--ivory);
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--lavender-ink);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-title,
.entry-title,
.archive-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.page-title em,
.hero-title em {
  color: var(--mocha);
  font-style: italic;
}

.lede {
  max-width: 38rem;
  color: var(--mocha);
  font-size: 1.15rem;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--espresso);
  background: transparent;
  color: var(--espresso);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--espresso);
  color: var(--ivory);
}

.button--solid {
  background: var(--espresso);
  color: var(--ivory);
}

.button--solid:hover {
  background: var(--mocha);
  border-color: var(--mocha);
  color: var(--ivory);
}

.button--ghost {
  border-color: rgba(36, 28, 22, 0.28);
  color: var(--mocha);
}

.button--ghost:hover {
  border-color: var(--espresso);
  background: transparent;
  color: var(--espresso);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.local-badge {
  display: none;
}

.archive-count {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-deck {
  margin: -0.35rem 0 1.5rem;
  max-width: 40rem;
  color: var(--mocha);
  font-size: 1.15rem;
  line-height: 1.55;
}

.entry-author {
  color: var(--mocha);
}

/* About — Phase 2 art direction */
.about-page .hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 4.8vw, 4.85rem);
  line-height: 1.02;
  width: max-content;
  max-width: 100%;
}

.about-page .hero-line {
  display: block;
  white-space: nowrap;
}

.about-page .hero-line--emphasis em {
  color: var(--mocha);
}

.about-role {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.about-hero {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.about-hero__copy {
  min-width: 0;
  max-width: 36rem;
}

.about-hero__media {
  min-width: 0;
}

.about-hero__frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(143, 132, 168, 0.14), transparent 42%),
    #ebe4d8;
  border: 1px solid rgba(36, 28, 22, 0.16);
}

.about-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(248, 243, 234, 0.28);
  pointer-events: none;
  z-index: 1;
}

.about-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.about-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Atlas — portrait left (mirrors Home’s portrait-right for page change) */
.about-hero--atlas {
  grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
  min-height: calc(100svh - 5.75rem);
  padding-block: clamp(0.75rem, 2.2vh, 1.75rem);
  box-sizing: border-box;
  align-items: center;
}

.about-hero--atlas .about-hero__frame {
  aspect-ratio: 4 / 5;
  max-height: min(64svh, 700px);
  width: min(100%, 30rem);
}

.about-hero--atlas .about-hero__copy {
  padding-left: clamp(0rem, 2vw, 1.25rem);
}

.about-hero--atlas .lede {
  max-width: var(--measure);
  margin: 0;
  font-size: clamp(1.05rem, 1.15vw, 1.18rem);
}

.about-hero__cta {
  margin-top: 1.35rem;
}

.about-page .eyebrow {
  margin-bottom: 0.65rem;
}

.about-section {
  margin-top: clamp(3rem, 6vw, 4.75rem);
}

.about-section__intro--stack {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
}

.about-section__intro--stack h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.about-timeline {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-timeline__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.about-timeline__when {
  margin: 0 0 0.35rem;
  color: var(--lavender-ink);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-timeline__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
}

.about-timeline__item p {
  margin: 0;
  color: var(--mocha);
  max-width: 42rem;
}

.about-foundations {
  margin-top: 1.5rem;
  max-width: 46rem;
}

@media (min-width: 1440px) {
  .about-page .hero-title {
    font-size: clamp(3.5rem, 3.8vw, 5.2rem);
  }
}

@media (min-width: 1700px) {
  .about-page .hero-title {
    font-size: clamp(3.9rem, 3.5vw, 5.6rem);
  }

  .about-hero--atlas {
    grid-template-columns: minmax(22rem, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 4rem);
  }

  .about-hero--atlas .about-hero__frame {
    max-height: min(68svh, 820px);
    width: min(100%, 38rem);
  }
}

@media (max-width: 980px) {
  .about-page .hero-title {
    font-size: clamp(2.35rem, 10.5vw, 3.1rem);
  }

  .about-hero--atlas {
    min-height: 0;
  }

  .about-hero--atlas .about-hero__frame {
    width: 100%;
    max-height: none;
  }
}

.about-manifesto {
  margin: clamp(3.5rem, 8vw, 6.5rem) calc(50% - 50vw) 0;
  width: 100vw;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(143, 132, 168, 0.16), transparent 55%),
    var(--espresso);
  color: var(--ivory);
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad);
}

.about-manifesto__eyebrow {
  margin: 0 0 1.5rem;
  color: rgba(248, 243, 234, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-manifesto__quote {
  margin: 0;
  width: min(100%, var(--max-wide));
  margin-inline: auto;
}

.about-manifesto__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ivory);
}

.about-manifesto__quote p + p {
  margin-top: 0.12em;
}

.about-section--perspective {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.about-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.about-section__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-section__intro .lede {
  margin: 0;
  max-width: 34rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.about-grid__mark {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--lavender-ink);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.about-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}

.about-grid p {
  margin: 0;
  color: var(--mocha);
}

.about-bridge {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.about-bridge__rule {
  height: 1px;
  background: linear-gradient(90deg, var(--lavender), transparent 70%);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.about-bridge__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.about-bridge h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.about-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-note--quiet {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* Content is visible by default. Progressive reveal only after JS is ready. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-ready [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(12px);
  }

  html.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 650ms ease, transform 650ms ease;
  }
}

/* Blog archive */
.archive-intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  animation: akg-rise 700ms ease both;
}

.essay-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.essay-item {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  gap: 1.25rem 1.75rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  animation: akg-rise 750ms ease both;
}

.essay-item:nth-child(2) { animation-delay: 40ms; }
.essay-item:nth-child(3) { animation-delay: 80ms; }
.essay-item:nth-child(4) { animation-delay: 120ms; }

.essay-item__date {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.essay-item h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.essay-item h2 a {
  text-decoration: none;
}

.essay-item h2 a:hover {
  color: var(--mocha);
}

.essay-item p {
  margin: 0;
  color: var(--mocha);
  max-width: 42rem;
}

.essay-item__arrow {
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--espresso);
}

.essay-item__arrow:hover {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

.pagination {
  margin-top: 2.5rem;
}

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

.pagination .page-numbers {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  text-decoration: none;
  padding: 0 0.75rem;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

/* Single */
.single-article {
  max-width: 760px;
  animation: akg-rise 750ms ease both;
}

.single-article .entry-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.single-article .entry-meta a {
  text-decoration: none;
}

.single-article .post-thumbnail {
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
  overflow: hidden;
}

.single-article .post-thumbnail img {
  width: 100%;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.entry-content a {
  color: var(--mocha);
  text-decoration-color: var(--lavender);
}

.entry-content blockquote {
  margin: 1.75rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--lavender);
  color: var(--mocha);
}

.post-navigation {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.post-navigation a {
  text-decoration: none;
  max-width: 46%;
}

/* Generic page fallback */
.page-fallback .entry-content {
  max-width: 760px;
}

@keyframes akg-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes akg-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .about-hero--atlas,
  .about-grid,
  .about-section__intro,
  .about-bridge__grid,
  .essay-item {
    grid-template-columns: 1fr;
  }

  /* Keep copy above the portrait on small screens for reading order. */
  .about-hero--atlas .about-hero__copy {
    order: -1;
    padding-left: 0;
  }

  .essay-item__arrow {
    justify-self: start;
  }

  .site-header__inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding: 0.7rem 0;
  }

  .site-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-brand__tag {
    display: none;
  }

  .site-brand__name {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .site-header__cta {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.45rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    max-width: 11rem;
    text-align: center;
    line-height: 1.2;
  }

  .site-header__nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem 0.75rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.1rem 0.85rem;
    font-size: 0.84rem;
  }

  .site-nav a {
    min-height: 40px;
  }

  .site-main {
    padding-top: 1.35rem;
  }

  .post-navigation a {
    max-width: 100%;
  }
}


/* Large-display refinement: QHD/32-inch screens. */
@media (min-width: 1920px) {
  :root {
    --max: 92rem;
    --max-wide: 118rem;
    --pad: clamp(4rem, 5vw, 7rem);
    --measure: 42rem;
  }

  body {
    font-size: 1.125rem;
  }

  .site-header__inner {
    padding-block: 1.3rem;
  }

  .site-brand__name {
    font-size: 1.08rem;
  }

  .site-brand__tag {
    font-size: 0.8rem;
  }

  .site-nav {
    gap: 0.2rem 1.6rem;
    font-size: 0.98rem;
  }

  .site-header__cta {
    min-height: 46px;
    padding: 0.65rem 1.2rem;
    font-size: 0.88rem;
  }

  .site-main {
    padding-top: 4rem;
  }

  .lede {
    font-size: 1.22rem;
  }

  .button {
    min-height: 48px;
    padding: 0.78rem 1.25rem;
    font-size: 0.98rem;
  }

  .site-footer__inner {
    font-size: 0.95rem;
  }
}


/* Front-end QA release: overflow, consent and navigation polish — 2026-10-23. */
.entry-content a,
.entry-content code,
.entry-content li,
.entry-content p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* A compact, calm consent sheet with equal Accept and Reject choices. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  --cmplz_banner_background_color: rgba(250, 248, 244, 0.97);
  --cmplz_banner_border_color: rgba(33, 27, 25, 0.18);
  --cmplz_banner_border_radius: 18px;
  --cmplz_text_color: var(--espresso);
  --cmplz_hyperlink_color: var(--mocha);
  --cmplz_button_accept_background_color: var(--espresso);
  --cmplz_button_accept_border_color: var(--espresso);
  --cmplz_button_accept_text_color: var(--ivory);
  --cmplz_button_deny_background_color: transparent;
  --cmplz_button_deny_border_color: rgba(33, 27, 25, 0.35);
  --cmplz_button_deny_text_color: var(--espresso);
  --cmplz_button_settings_background_color: transparent;
  --cmplz_button_settings_border_color: transparent;
  --cmplz_button_settings_text_color: var(--mocha);
  left: 50%;
  right: auto;
  top: auto;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  width: min(34rem, calc(100% - 1.5rem));
  max-height: min(78svh, 44rem);
  padding: 1rem 1.1rem;
  transform: translateX(-50%);
  border-radius: 18px;
  box-shadow: 0 1.5rem 4rem rgba(33, 27, 25, 0.22);
  backdrop-filter: blur(18px);
  font-family: var(--font-ui);
  grid-gap: 0.7rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header {
  grid-template-columns: 1fr auto;
  min-height: 2rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-logo {
  display: none;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider {
  display: none;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
  min-height: 44px;
  height: auto;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:hover {
  transform: translateY(-1px);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-save-preferences {
  grid-column: 1 / -1;
  min-height: 36px;
  padding-block: 0.35rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#cmplz-manage-consent .cmplz-manage-consent:not(.cmplz-hidden):not(.cmplz-dismissed) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  right: 0.75rem;
  left: auto;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 27, 25, 0.18);
  background: rgba(250, 248, 244, 0.94);
  color: var(--espresso);
  box-shadow: 0 0.5rem 1.5rem rgba(33, 27, 25, 0.14);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  animation: none;
  backdrop-filter: blur(12px);
}

@media (max-width: 980px) {
  .site-nav {
    font-size: 0.9rem;
  }

  .site-nav a,
  .site-header__cta {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner {
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    width: calc(100% - 1rem);
    max-height: min(76svh, 38rem);
    padding: 0.9rem;
  }

  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message p {
    font-size: 0.82rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) and (min-width: 700px) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 0.65rem;
    padding-block: 0.3rem;
  }

  .site-brand {
    flex: 0 1 auto;
  }

  .site-brand__name {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .site-header__nav,
  .site-nav {
    width: auto;
    flex-wrap: nowrap;
  }

  .site-header__nav {
    margin-left: auto;
    gap: 0.45rem;
  }

  .site-nav {
    gap: 0.55rem;
    font-size: 0.76rem;
  }

  .site-header__cta {
    max-width: 7.5rem;
    padding-inline: 0.55rem;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
    transition: none;
  }
}


/* About QHD editorial grid correction — 2026-10-23. */
@media (min-width: 981px) {
  .about-section,
  .about-bridge {
    width: min(100%, 86rem);
    margin-inline: auto;
  }

  .about-section--journey .about-section__intro--stack {
    max-width: none;
    grid-template-columns: minmax(13rem, 0.62fr) minmax(0, 1.38fr);
    grid-template-areas:
      "journey-label journey-title"
      "journey-copy journey-title";
    column-gap: clamp(3rem, 6vw, 7rem);
    row-gap: 1.15rem;
    align-items: start;
  }

  .about-section--journey .eyebrow {
    grid-area: journey-label;
    padding-top: 0.55rem;
  }

  .about-section--journey h2 {
    grid-area: journey-title;
    max-width: 16ch;
    font-size: clamp(2.5rem, 3.5vw, 3.75rem);
  }

  .about-section--journey .lede {
    grid-area: journey-copy;
    max-width: 46rem;
    font-size: 1.14rem;
  }

  .about-section--experience {
    display: grid;
    grid-template-columns: minmax(20rem, 0.78fr) minmax(0, 1.22fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }

  .about-section--experience .about-section__intro--stack {
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0;
    align-content: start;
  }

  .about-section--experience .about-timeline {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .about-section--experience .about-foundations {
    grid-column: 2;
    grid-row: 2;
    max-width: 42rem;
    margin-top: 1.5rem;
  }

  .about-section--perspective .about-section__intro,
  .about-bridge__grid {
    column-gap: clamp(3rem, 6vw, 7rem);
  }
}

@media (min-width: 1920px) {
  .about-section,
  .about-bridge {
    width: min(100%, 90rem);
  }
}

/* Stage 1 (25 Oct): About page — justified body text; working principle split by line; journey text left, heading right. */

.about-manifesto__line {
  display: block;
}

@media (min-width: 981px) {
  .about-manifesto {
    display: grid;
    grid-template-columns: minmax(13rem, 0.62fr) minmax(0, 1.38fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }

  .about-manifesto__eyebrow {
    margin: 0.9rem 0 0;
  }

  .about-manifesto__quote {
    margin-inline: 0;
  }
}

/* Stage 1 (25 Oct): About page — approved stamp beside the working principle; journey and in-practice headings centred against their text. */
.about-manifesto__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.about-manifesto__head .about-manifesto__eyebrow {
  margin: 0;
}

/* 0.4.32: handwritten note beside the Approved stamp. */
.about-manifesto .about-manifesto__note {
  color: #f4efe6;
  margin: 0;
  padding-left: 0.4rem;
}

.about-practice {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 981px) {
  .about-section--journey h2,
  .about-practice h3 {
    align-self: center;
  }

  .about-practice {
    grid-template-columns: minmax(13rem, 0.62fr) minmax(0, 1.38fr);
    grid-template-areas:
      "practice-label practice-title"
      "practice-copy practice-title";
    column-gap: clamp(3rem, 6vw, 7rem);
    row-gap: 1.15rem;
    align-items: start;
  }

  .about-practice .eyebrow {
    grid-area: practice-label;
    padding-top: 0.55rem;
    margin: 0;
  }

  .about-practice .lede {
    grid-area: practice-copy;
    max-width: 46rem;
    margin: 0;
  }

  .about-practice h3 {
    grid-area: practice-title;
    margin: 0;
    max-width: 16ch;
  }
}

/* Stage 1 (25 Oct): headings centred against their text on desktop (journey, in practice, experience, beyond the professional lens). */
@media (min-width: 981px) {
  .about-section--journey .about-section__intro--stack,
  .about-practice {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: clamp(3rem, 6vw, 7rem);
  }

  .about-section--journey .lede,
  .about-practice .lede {
    max-width: 52ch;
  }

  .about-section--journey h2,
  .about-practice h3 {
    align-self: center;
    max-width: 14ch;
  }

  .about-section--experience {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "intro timeline"
      "intro foundations";
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: stretch;
  }

  .about-section--experience .about-section__intro--stack {
    grid-area: intro;
    align-self: center;
    max-width: none;
  }

  .about-section--experience .about-timeline {
    grid-area: timeline;
    margin-top: 0;
  }

  .about-section--experience .about-foundations {
    grid-area: foundations;
  }

  .about-bridge__grid {
    align-items: center;
  }
}

/* Stage 1 (25 Oct): About page polish. Wider text columns, larger split headings, perspective intro aligned to its heading. */
@media (min-width: 981px) {
  .about-section--journey .about-section__intro--stack,
  .about-practice {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .about-section--journey .lede,
  .about-practice .lede {
    max-width: none;
    font-size: 1.08rem;
  }

  .about-section--journey h2,
  .about-practice h3 {
    font-size: clamp(2.4rem, 3.6vw, 3.5rem);
    max-width: 13ch;
  }

  .about-section--perspective .about-section__intro {
    align-items: end;
  }

  .about-manifesto {
    align-items: center;
  }
}

/* Stage 1 (25 Oct): About page second polish. Wider split headings, larger body copy, tighter space around experience. */
@media (min-width: 981px) {
  .about-section--journey h2,
  .about-practice h3 {
    max-width: 18ch;
  }

  .about-section--journey .lede,
  .about-practice .lede {
    font-size: 1.14rem;
    line-height: 1.6;
  }

  .about-section--experience {
    margin-top: clamp(2rem, 4vw, 3rem);
  }

  .about-bridge {
    margin-top: clamp(2.5rem, 5vw, 4rem);
  }
}

/* Stage 1 (25 Oct): In practice block was capped at 46rem in pages.css; lift the cap on desktop so its split layout has room. */
@media (min-width: 981px) {
  .about-practice {
    max-width: none;
  }

  .about-section--journey .about-section__intro--stack,
  .about-practice {
    width: min(100%, 86rem);
  }
}

/* Stage 1 (25 Oct): In practice uses a plain two-column grid (copy left, heading right, centred). */
@media (min-width: 981px) {
  .about-practice {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas: none;
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: 100%;
    max-width: none;
  }

  .about-practice__copy {
    display: grid;
    gap: 1.15rem;
  }

  .about-practice .eyebrow,
  .about-practice .lede {
    grid-area: auto;
    margin: 0;
  }

  .about-practice .lede {
    max-width: none;
  }

  .about-practice h3 {
    grid-area: auto;
    align-self: center;
    margin: 0;
    max-width: none;
  }
}

/* Stage 1 (25 Oct): About audit P0 — the approved stamp on the dark working-principle band needs more contrast and a larger sub-line. */
.about-manifesto .akg-stamp {
  color: #e9a08c;
  opacity: 1;
}

.about-manifesto .akg-stamp__sub {
  font-size: 0.75rem;
}

/* Stage 1 (25 Oct): In practice aligns to the same two columns as Experience — copy left, heading in the timeline's right column, full section width. */
@media (min-width: 981px) {
  .about-section--perspective .about-practice {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .about-practice {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
  }

  .about-practice__copy {
    grid-column: 1;
  }

  .about-practice h3 {
    grid-column: 2;
    justify-self: start;
    max-width: 18ch;
  }
}

/* Stage 1 (25 Oct): QA on In practice and Experience — remove the stray intro rule over the experience heading (the timeline carries its own rule); balance heading line breaks. */
@media (min-width: 981px) {
  .about-section--experience .about-section__intro--stack {
    border-top: 0;
    padding-top: 0;
    margin-bottom: 0;
  }

  .about-practice h3,
  .about-section--journey h2,
  .about-section--experience h2 {
    text-wrap: balance;
  }
}

/* Stage 1 (25 Oct): one heading size across the About page. Match the Perspective heading ("Complexity is inevitable.") for journey, in practice, experience and beyond the professional lens. */
.about-section .about-section__intro h2,
.about-section .about-section__intro--stack h2,
.about-section .about-practice h3,
section.about-bridge h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* 0.4.49: About working-principle band fully centred (single column, stamp above quote) */
@media (min-width: 981px) {
  .about-manifesto {
    display: block;
    text-align: center;
  }
  .about-manifesto__head {
    justify-content: center;
    flex-direction: column;
  }
  .about-manifesto__quote {
    margin-inline: auto;
  }
}
