/*
Theme Name: George F
Theme URI: https://example.com/georgefeng
Description: Personal journal theme for George F — trader, researcher, founder of Rocket Capital. Modern editorial design inspired by the Salient showcase: Inter typography, soft gray-blue surfaces, deep black bands, electric blue accents. Built on Salient.
Author: George F
Template: salient
Version: 3.1.2
Text Domain: georgefeng
*/

:root {
  --bg: #ffffff;
  --surface: #f0f2f6;
  --surface-deep: #e7eaf1;
  --ink: #0a0a0a;
  --ink-soft: rgba(10, 10, 12, 0.64);
  --ink-faint: rgba(10, 10, 12, 0.4);
  --line: rgba(10, 10, 12, 0.1);
  --line-strong: rgba(10, 10, 12, 0.22);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.74);
  --white-faint: rgba(255, 255, 255, 0.45);
  --white-line: rgba(255, 255, 255, 0.14);
  --accent: #3452ff;
  --accent-deep: #2138d6;
  --accent-soft: #8c9aff;
  --amber: #ffc444;
  --navy: #021943;
  --hero-bg: #05050d;
  --sans: "Inter", "SF Pro SC", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display-serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: min(1340px, calc(100vw - 64px));
  --gutter: clamp(14px, 2vw, 30px);
  --radius-sm: 10px;
  --radius: 15px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 2px rgba(8, 12, 40, 0.05), 0 18px 44px rgba(8, 12, 40, 0.08);
  --shadow-card-hover: 0 2px 4px rgba(8, 12, 40, 0.06), 0 28px 64px rgba(8, 12, 40, 0.13);
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--bg);
}

body.georgefeng-site {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.76;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  transform: translateY(-160%);
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Kickers / labels -------------------------------------------------------- */
.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--accent);
}

/* Links & buttons --------------------------------------------------------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.25s ease, gap 0.35s var(--ease), opacity 0.25s ease;
}

.text-link span,
.text-link i {
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  color: var(--accent);
}

.text-link:hover span,
.text-link:hover i {
  transform: translate(3px, -1px);
}

.text-link--gold {
  color: var(--white);
}

.text-link--gold:hover {
  color: var(--accent-soft);
}

.btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.btn:hover,
.button-link:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(52, 82, 255, 0.28);
}

.btn--accent {
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(52, 82, 255, 0.3);
}

.btn--accent:hover {
  background: var(--accent-deep);
  box-shadow: 0 16px 36px rgba(52, 82, 255, 0.38);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(4, 6, 20, 0.35);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.btn--ghost-dark {
  border-color: rgba(140, 154, 255, 0.6);
  background: transparent;
  color: var(--white);
}

.btn--ghost-dark:hover {
  border-color: var(--accent-soft);
  background: rgba(52, 82, 255, 0.22);
  color: var(--white);
  box-shadow: none;
}

/* Shared post meta -------------------------------------------------------- */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-meta__category {
  color: var(--accent);
  transition: color 0.25s ease;
}

.post-meta__category:hover {
  color: var(--accent-deep);
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0);
  transition: transform 0.45s var(--ease), background 0.3s ease, border-color 0.3s ease;
  backface-visibility: hidden;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.is-hidden {
  transform: translateY(-105%);
}

.site-header__inner {
  display: flex;
  width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.site-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-right: auto;
  align-items: center;
  gap: 13px;
}

.site-brand__monogram {
  display: inline-flex;
  height: 28px;
  padding-right: 14px;
  align-items: center;
  border-right: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-brand:hover .site-brand__monogram {
  border-color: var(--accent);
  color: var(--accent);
}

.site-brand__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 52px);
}

.site-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  list-style: none;
}

.site-nav__list a {
  position: relative;
  padding-block: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
  color: var(--ink);
}

.site-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 0.35s var(--ease);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
}

.site-header__language {
  position: relative;
  z-index: 2;
  order: 3;
  flex: 0 0 auto;
}

.language-switcher a {
  display: grid;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  place-items: center;
  border-radius: 100px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}

.language-switcher a:hover {
  color: var(--ink);
}

.language-switcher a.is-active {
  background: var(--ink);
  color: var(--white);
}

.site-nav__search {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-nav__search:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.site-nav__search svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.3s var(--ease);
}

.site-nav__cta:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  order: 4;
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Hero -------------------------------------------------------------------- */
.home-hero {
  position: relative;
  margin: calc(var(--header-height) + var(--gutter)) var(--gutter) 0;
  padding: clamp(56px, 8vh, 110px) 0 clamp(120px, 16vh, 190px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(1100px 720px at 12% -8%, rgba(52, 82, 255, 0.55), transparent 62%),
    radial-gradient(900px 620px at 96% 110%, rgba(33, 56, 214, 0.3), transparent 60%),
    var(--hero-bg);
  color: var(--white);
}

.admin-bar .home-hero {
  margin-top: calc(var(--header-height) + var(--gutter) + 32px);
}

.home-hero__signal {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.home-hero__frame {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  gap: clamp(40px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  width: min(1340px, calc(100% - clamp(40px, 6vw, 96px)));
}

.home-hero__main {
  max-width: 720px;
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-hero__badge i {
	width: 7px;
	height: 7px;
  border-radius: 50%;
  background: var(--amber);
	animation: gf-blink 2.2s ease-in-out infinite;
}

.rocket-capital-link {
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.rocket-capital-link:hover {
	opacity: 0.72;
}

@keyframes gf-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.home-hero__title {
  margin: 0 0 26px;
  font-family: var(--display-serif);
  font-size: clamp(140px, 20vw, 220px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--white);
  text-wrap: balance;
}

.hero-swash {
  position: relative;
  display: inline-block;
  min-width: 1em;
}

.hero-swash svg {
  position: absolute;
  right: -2%;
  bottom: -0.12em;
  left: -2%;
  width: 104%;
  height: 0.28em;
  overflow: visible;
}

.hero-swash svg path {
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-width: 6;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}

.gf-loaded .hero-swash svg path {
  animation: gf-swash 1s var(--ease) 0.9s forwards;
}

@keyframes gf-swash {
  to { stroke-dashoffset: 0; }
}

.home-hero__sub {
  margin: 0;
  max-width: 520px;
  color: var(--white-soft);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.home-hero__side {
  display: grid;
  gap: 26px;
  align-content: start;
  padding-top: clamp(10px, 3vh, 46px);
}

.home-hero__intro {
  margin: 0;
  color: var(--white-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* Focus panel (glass card) */
.terminal {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 30, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(2, 4, 16, 0.5);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.terminal__title {
  color: var(--white-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.terminal__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.terminal__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: gf-blink 1.6s ease-in-out infinite;
}

.terminal__rows {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.terminal__rows li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.terminal__rows li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.terminal__rows em {
  margin-left: auto;
  color: var(--white-faint);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.terminal__rows b {
  font-size: 11px;
  font-weight: 400;
}

.terminal__rows b.is-up {
  color: var(--accent-soft);
}

.terminal__rows b.is-gold {
  color: var(--amber);
}

.terminal__note {
  margin: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-faint);
  font-size: 13.5px;
  line-height: 1.7;
}

.home-hero__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(44px, 7vh, 80px);
}

/* Sections ----------------------------------------------------------------- */
.latest-section {
  padding: clamp(90px, 12vh, 150px) 0 clamp(70px, 9vh, 110px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.section-heading__index {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.section-heading--onpanel h2,
.section-heading--onpanel .eyebrow {
  color: inherit;
}

/* Post cards --------------------------------------------------------------- */
.featured-post {
  margin-bottom: clamp(48px, 7vh, 80px);
}

.post-grid {
  display: grid;
  gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-grid--archive,
.post-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-card__visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s ease, transform 0.45s var(--ease);
}

.post-card:hover .post-card__visual {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.post-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.post-card:hover .post-card__visual img {
  transform: scale(1.045);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.post-card__title {
  margin: 0;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.3;
}

.post-card__title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 96%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.45s var(--ease), color 0.25s ease;
}

.post-card__title a:hover {
  background-size: 100% 2px;
}

.post-card__excerpt {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.72;
}

.post-card__excerpt p {
  margin: 0;
}

.post-card__read {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.post-card__read i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}

.post-card__read:hover {
  color: var(--accent);
}

.post-card__read:hover i {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  transform: translate(2px, -2px);
}

/* Featured card: split layout */
.post-card--featured {
  display: grid;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.post-card--featured .post-card__visual {
  aspect-ratio: 16 / 10.4;
  border-radius: var(--radius-lg);
}

.post-card--featured .post-card__title {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.028em;
  line-height: 1.16;
}

.post-card--featured .post-card__excerpt {
  font-size: 16.5px;
}

/* Empty state -------------------------------------------------------------- */
.empty-state {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding: clamp(40px, 6vh, 72px);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* Principles: bento grid ---------------------------------------------------- */
.principles-section {
  padding: clamp(40px, 6vh, 80px) 0 clamp(90px, 12vh, 150px);
}

.principle-list {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.principle {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.6vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.principle:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.principle:nth-child(1) {
  grid-column: span 7;
  background: var(--accent);
  color: var(--white);
}

.principle:nth-child(2) {
  grid-column: span 5;
}

.principle:nth-child(3) {
  grid-column: span 5;
  background: var(--amber);
}

.principle:nth-child(4) {
  grid-column: span 7;
  background: var(--ink);
  color: var(--white);
}

.principle::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 210px;
  height: 210px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.16;
  transition: transform 0.6s var(--ease);
}

.principle:hover::after {
  transform: scale(1.12);
}

.principle__index {
  display: block;
  margin-bottom: clamp(28px, 4vh, 54px);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px currentColor;
  opacity: 0.55;
}

.principle:nth-child(1) .principle__index,
.principle:nth-child(4) .principle__index {
  -webkit-text-stroke: 1.3px var(--white);
}

.principle:nth-child(2) .principle__index,
.principle:nth-child(3) .principle__index {
  -webkit-text-stroke: 1.3px var(--ink);
}

.principle__name {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.principle__text {
  margin: 0;
  max-width: 400px;
  font-size: 15.5px;
  line-height: 1.72;
  opacity: 0.82;
}

/* Black band: marquee + about ----------------------------------------------- */
.about-strip {
  margin: 0 var(--gutter);
  padding: clamp(60px, 9vh, 110px) 0 clamp(90px, 12vh, 140px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--white);
}

.outline-marquee {
  overflow: hidden;
  margin-bottom: clamp(56px, 9vh, 100px);
  pointer-events: none;
  user-select: none;
}

.outline-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  width: max-content;
  animation: gf-marquee 36s linear infinite;
}

.outline-marquee span {
  font-size: clamp(96px, 15vw, 210px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}

.outline-marquee i {
  width: clamp(14px, 1.6vw, 22px);
  height: clamp(14px, 1.6vw, 22px);
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  font-style: normal;
}

.outline-marquee i:nth-child(4n) {
  background: var(--amber);
}

@keyframes gf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about-strip__inner {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}

.about-strip__heading .eyebrow {
  color: var(--accent-soft);
}

.about-strip__heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.18;
  color: var(--white);
}

.about-strip__copy {
  display: grid;
  gap: 28px;
  justify-items: start;
  padding-top: clamp(6px, 2vh, 40px);
}

.about-strip__copy p {
  margin: 0;
  color: var(--white-soft);
  font-size: 16.5px;
  line-height: 1.8;
}

/* Topics -------------------------------------------------------------------- */
.topics-section {
  margin: clamp(90px, 12vh, 150px) var(--gutter);
  padding: clamp(60px, 8vh, 100px) 0;
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-row {
  display: grid;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  grid-template-columns: 56px minmax(0, 1fr) auto 44px;
  padding: clamp(18px, 2.4vh, 26px) clamp(20px, 2.6vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(8, 12, 40, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.topic-row:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--shadow-card-hover);
}

.topic-row__index {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.topic-row__name {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.022em;
}

.topic-row__count {
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 500;
}

.topic-row__arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}

.topic-row:hover .topic-row__arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  transform: translate(3px, -3px);
}

/* Archive / index pages ------------------------------------------------------ */
.archive-page {
  padding-top: calc(var(--header-height) + clamp(48px, 8vh, 96px));
}

.archive-hero {
  position: relative;
  display: grid;
  gap: 18px;
  padding-bottom: clamp(36px, 5vh, 56px);
}

.archive-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.06;
}

.archive-hero__index {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.archive-hero__intro {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.archive-hero--compact {
  padding-bottom: clamp(28px, 4vh, 44px);
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: clamp(40px, 6vh, 64px);
}

.category-filter a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.3s var(--ease);
}

.category-filter a:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.category-filter a.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.category-filter sup {
  top: 0;
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.55;
  vertical-align: super;
}

.archive-list {
  padding-bottom: clamp(90px, 12vh, 150px);
}

/* Pagination ---------------------------------------------------------------- */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(48px, 7vh, 72px);
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-links .page-numbers:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.nav-links .page-numbers.current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.nav-links .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* Single article ------------------------------------------------------------- */
.reading-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.reading-progress i {
  display: block;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.single-article {
  padding-top: calc(var(--header-height) + clamp(44px, 7vh, 80px));
}

.article-header {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-bottom: clamp(36px, 5vh, 56px);
}

.article-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.article-header__back:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.article-header__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.1;
}

.article-header__dek {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.7;
}

.article-header__author {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.author-monogram {
  display: inline-flex;
  height: 28px;
  padding-right: 14px;
  align-items: center;
  border-right: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
}

.article-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  grid-template-columns: 200px minmax(0, 1fr);
  padding-top: clamp(48px, 7vh, 80px);
}

.article-aside {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
}

.article-aside p {
  margin: 0;
}

.article-aside__line {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

/* Article typography --------------------------------------------------------- */
.article-body {
  max-width: 720px;
  font-size: 17.5px;
  line-height: 1.9;
}

.article-body > * {
  margin-top: 0;
  margin-bottom: 1.6em;
}

.article-body h2 {
  margin-top: 2.4em;
  margin-bottom: 0.9em;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.024em;
  line-height: 1.3;
}

.article-body h3 {
  margin-top: 2em;
  margin-bottom: 0.8em;
  font-size: clamp(21px, 2vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.article-body h4 {
  margin-top: 1.8em;
  margin-bottom: 0.7em;
  font-size: 18px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(52, 82, 255, 0.32);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-body a:hover {
  color: var(--accent-deep);
  text-decoration-color: currentColor;
}

.article-body strong {
  font-weight: 600;
}

.article-body blockquote {
  margin: 2.2em 0;
  padding: clamp(24px, 3vw, 36px) clamp(26px, 3.4vw, 44px);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  font-size: 1.06em;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

.article-body blockquote p {
  margin: 0;
}

.article-body blockquote p + p {
  margin-top: 1em;
}

.article-body blockquote cite {
  display: block;
  margin-top: 1.1em;
  color: var(--ink-faint);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body li::marker {
  color: var(--accent);
  font-weight: 600;
}

.article-body img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.article-body figure {
  margin: 2.2em 0;
}

.article-body figcaption {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}

.article-body hr {
  width: 72px;
  height: 4px;
  margin: 3em auto;
  border: 0;
  border-radius: 4px;
  background: var(--surface-deep);
}

.article-body code {
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.84em;
}

.article-body pre {
  overflow-x: auto;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #e8eaf2;
  font-size: 14px;
  line-height: 1.75;
}

.article-body pre code {
  padding: 0;
  background: transparent;
  font-size: inherit;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  border-bottom-color: var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body .wp-block-image {
  margin: 2.2em 0;
}

.article-body .field-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  margin: 2.2em 0;
}

.article-body .field-photo-pair figure {
  min-width: 0;
  margin: 0;
}

.article-body .field-photo-pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 640px) {
  .article-body .field-photo-pair {
    grid-template-columns: 1fr;
  }
}

.page-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2em 0;
  font-weight: 500;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3em;
}

.article-tags a {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.article-tags a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

/* Author note ---------------------------------------------------------------- */
.author-note {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 48px);
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: start;
  margin-top: clamp(70px, 10vh, 110px);
  padding: clamp(30px, 4vw, 56px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.author-note__label {
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-note h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.022em;
}

.author-note p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.author-note__monogram {
  display: flex;
  width: clamp(82px, 7vw, 100px);
  aspect-ratio: 1;
  padding: 14px;
  flex-direction: column;
  align-self: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.author-note__monogram::after {
  content: "JOURNAL";
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.related-posts {
  padding: clamp(70px, 10vh, 110px) 0 clamp(90px, 12vh, 150px);
}

/* Standard page --------------------------------------------------------------- */
.standard-page {
  padding-top: calc(var(--header-height) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(90px, 12vh, 150px);
}

.page-header {
  display: grid;
  gap: 16px;
  padding-bottom: clamp(40px, 6vh, 64px);
}

.page-header h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.page-header__intro {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.page-body {
  max-width: 720px;
}

/* Search ---------------------------------------------------------------------- */
.search-page {
  padding-top: calc(var(--header-height) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(90px, 12vh, 150px);
}

.search-hero {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-bottom: clamp(44px, 6vh, 72px);
}

.search-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.search-form {
  display: flex;
  width: min(560px, 100%);
  margin-top: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(52, 82, 255, 0.12), var(--shadow-card);
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 20px;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-form input[type="search"]::placeholder {
  color: var(--ink-faint);
}

.search-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s var(--ease);
}

.search-form button:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* 404 ------------------------------------------------------------------------- */
.not-found-page {
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 68vh;
  padding-top: calc(var(--header-height) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(90px, 12vh, 150px);
}

.not-found-page__code {
  font-size: clamp(110px, 18vw, 240px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.not-found-page__content {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.not-found-page__content h1 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.not-found-page__content p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
}

/* Footer ----------------------------------------------------------------------- */
.site-footer {
  margin: 0 var(--gutter) var(--gutter);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--white);
}

.home .site-footer,
.blog .site-footer {
  margin-top: 0;
}

.site-footer__inner {
  width: min(1340px, calc(100% - clamp(40px, 6vw, 96px)));
  margin-inline: auto;
  padding: clamp(70px, 10vh, 120px) 0 0;
}

.site-footer__top {
  display: grid;
  gap: clamp(40px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: start;
  padding-bottom: clamp(60px, 9vh, 100px);
}

.site-footer__statement {
  margin: 18px 0 34px;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--white);
}

.site-footer__statement em {
  font-style: normal;
  color: var(--white-faint);
}

.site-footer .eyebrow--gold {
  color: var(--accent-soft);
}

.site-footer__links {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding-top: 10px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--white-soft);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.25s ease, gap 0.3s var(--ease);
}

.site-footer__links a:hover {
  color: var(--white);
  gap: 16px;
}

.site-footer__links a span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  font-size: 12px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-footer__links a:hover span {
  border-color: var(--accent);
  background: var(--accent);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
  margin: 0;
  color: var(--white-faint);
  font-size: 13.5px;
}

/* Page transition curtain -------------------------------------------------------- */
html.js body {
  opacity: 1;
}

html.js::after {
  position: fixed;
  z-index: 999;
  inset: 0;
  background: var(--hero-bg);
  content: "";
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

html.js.gf-loaded::after {
  opacity: 0;
}

html.js.gf-exiting::after {
  opacity: 1;
  transition: opacity 0.38s ease;
}

/* Reveal animations ---------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease var(--delay, 0s), transform 0.9s var(--ease) var(--delay, 0s);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Split text */
.split-parent {
  --char-delay: 0s;
}

.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
  vertical-align: bottom;
}

.split-char {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.9s var(--ease) calc(var(--reveal-delay, 0s) + var(--char-delay, 0s));
}

.split-parent.is-visible .split-char,
html.no-js .split-char {
  transform: translateY(0);
}

/* Media curtain reveal: clip the inner layers, never the observed element */
html.js .media-reveal img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.06);
  transition: clip-path 1s var(--ease), transform 1.4s var(--ease);
}

html.js .media-reveal.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: none;
}

html.js .media-reveal.is-visible:hover img {
  transform: scale(1.045);
}

/* Custom cursor -------------------------------------------------------------------- */
.gf-cursor {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gf-cursor.is-on {
  opacity: 1;
}

.gf-cursor__dot {
  position: fixed;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  will-change: transform;
}

.gf-cursor__ring {
  position: fixed;
  top: -22px;
  left: -22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid rgba(52, 82, 255, 0.5);
  border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), top 0.3s var(--ease), left 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.gf-cursor__ring span {
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gf-cursor.is-link .gf-cursor__ring {
  top: -26px;
  left: -26px;
  width: 52px;
  height: 52px;
  border-color: rgba(52, 82, 255, 0.8);
  background: rgba(52, 82, 255, 0.1);
}

.gf-cursor.is-view .gf-cursor__ring {
  top: -38px;
  left: -38px;
  width: 76px;
  height: 76px;
  border-color: var(--accent);
  background: rgba(52, 82, 255, 0.9);
}

.gf-cursor.is-view .gf-cursor__ring span {
  opacity: 1;
}

.gf-cursor.is-view .gf-cursor__dot {
  opacity: 0;
}

/* Responsive ------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .home-hero__frame {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  .article-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 1020px) {
  .home-hero__frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero {
    padding-bottom: clamp(80px, 10vh, 120px);
  }

  .home-hero__side {
    max-width: 560px;
    padding-top: 0;
  }

  .post-grid--archive,
  .post-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card--featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .principle:nth-child(n) {
    grid-column: span 6;
  }

  .about-strip__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .article-aside {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .author-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .author-note__monogram {
    order: -1;
  }
}

@media (max-width: 860px) {
  :root {
    --wrap: calc(100vw - 48px);
    --header-height: 72px;
  }

  .site-header {
    backface-visibility: visible;
  }

  .site-header__inner {
    gap: 8px;
  }

  body.nav-open .site-header {
    transform: none;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.96);
  }

  .site-header__language {
    height: 44px;
    padding: 2px;
    border-color: var(--line-strong);
    box-shadow: 0 5px 18px rgba(8, 12, 40, 0.06);
  }

  .site-header__language a {
    min-width: 34px;
    height: 38px;
    padding: 0 6px;
    font-size: 10.5px;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }

  body.nav-open .nav-toggle {
    border-color: var(--line-strong);
    box-shadow: 0 5px 18px rgba(8, 12, 40, 0.06);
  }

  .nav-toggle__label {
    font-size: 13px;
    font-weight: 500;
  }

  .nav-toggle__lines {
    display: grid;
    gap: 4px;
  }

  .nav-toggle__lines i {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.35s var(--ease), opacity 0.3s ease;
  }

  body.nav-open .nav-toggle__lines i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  body.nav-open .nav-toggle__lines i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    align-content: center;
    justify-items: center;
    gap: 40px;
    padding: calc(var(--header-height) + 40px) max(24px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 22px;
  }

  .site-nav__list a {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .site-nav__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav__search {
    width: 44px;
    height: 44px;
  }

  .home-hero {
    margin-top: calc(var(--header-height) + 10px);
    border-radius: var(--radius-lg);
  }

  .post-grid,
  .post-grid--archive,
  .post-grid--related {
    grid-template-columns: minmax(0, 1fr);
  }

  .principle:nth-child(n) {
    grid-column: span 12;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .topic-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .topic-row__count {
    display: none;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .not-found-page {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 12px;
  }

  .article-visual {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: calc(100vw - 36px);
    --gutter: 10px;
  }

  body.georgefeng-site {
    font-size: 16px;
  }

  .site-brand__name {
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .site-nav__cta {
    display: none;
  }

  .home-hero__title {
    font-size: clamp(100px, 28vw, 142px);
  }

  .search-form {
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-lg);
  }

  .search-form button {
    justify-content: center;
  }

  .author-note {
    padding: 26px 22px;
  }
}

@media (max-width: 340px) {
  .site-brand__name {
    display: none;
  }
}

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

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

  html.js::after {
    display: none;
  }

  html.js .reveal,
  html.js .media-reveal img {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .split-char {
    transform: none;
  }

  .outline-marquee__track {
    animation: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .gf-cursor,
  .reading-progress {
    display: none !important;
  }
}
