/* ==========================================================
   Forever Fledging — premium redesign
   ========================================================== */
:root {
  --night: #0a1222;
  --night-2: #101b31;
  --night-3: #16243f;
  --blue: #5b9be6;
  --blue-soft: #8fc0ff;
  --amber: #f0b46a;
  --amber-deep: #e08a3c;
  --rose: #e98f7d;
  --cream: #f7f0e4;
  --paper: #fbf7f0;
  --ink: #1b2236;
  --ink-soft: #4b5368;
  --muted: #8a93a8;
  --line: rgba(255, 255, 255, .1);
  --line-dark: rgba(27, 34, 54, .12);
  --quiet: #6fb3ff;
  --bold: #f0b46a;
  --fearless: #e9776a;
  --archive: #a8b4c9;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -20px rgba(4, 9, 20, .55);
  --shadow-soft: 0 18px 40px -18px rgba(27, 34, 54, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream);
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--night); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--amber); color: var(--night); padding: 10px 18px; border-radius: 10px; font-weight: 600; transition: top .3s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); }
  60% { transform: translate(-4%,-2%); } 80% { transform: translate(3%,3%); }
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--night);
  display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo { width: 96px; height: 96px; border-radius: 50%; position: relative; margin: 0 auto 22px; }
.preloader__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; animation: floaty 2.4s ease-in-out infinite; }
.preloader__logo::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--amber); border-right-color: var(--blue);
  animation: spin 1.1s linear infinite;
}
.preloader__name { font-family: var(--serif); font-size: 26px; letter-spacing: .02em; }
.preloader__bar { width: 180px; height: 2px; background: var(--line); margin: 16px auto 0; overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--amber)); transition: width .3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 50% { transform: translateY(-6px); } }


/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--amber), var(--rose)); }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, box-shadow .4s;
}
.site-header.scrolled { padding: 10px 0; background: rgba(10, 18, 34, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.site-header { transition: transform .5s var(--ease), padding .4s var(--ease), background .4s; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(240, 180, 106, .5), 0 8px 20px rgba(0, 0, 0, .35); transition: transform .6s var(--ease); flex-shrink: 0; }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.06); }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .01em; display: block; }
.brand__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: rgba(247, 240, 228, .82); transition: color .3s, background .3s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--cream); background: rgba(255, 255, 255, .07); }
.main-nav > ul > li.active > a::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); margin-left: 2px; }
.main-nav .caret { width: 10px; height: 10px; transition: transform .3s; }
.main-nav .has-sub:hover .caret, .main-nav .has-sub.open .caret { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 10px;
  background: rgba(16, 27, 49, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) rotateX(-12deg); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotateX(0); }
.sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.sub-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: rgba(247, 240, 228, .8); transition: background .25s, color .25s, padding .3s var(--ease); }
.sub-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--cream); padding-left: 18px; }
.sub-menu .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: var(--cream); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(240, 180, 106, .5); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.menu-toggle .bars > span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle .bars > span + span { margin-top: 4px; }
.menu-toggle .bars { display: block; }
body.menu-open .menu-toggle .bars > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle .bars > span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bars > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile nav */
@media (max-width: 1040px) {
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: rgba(10, 18, 34, .97); backdrop-filter: blur(20px);
    padding: 110px var(--gutter) 40px; overflow-y: auto;
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease);
  }
  body.menu-open .main-nav { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  body.menu-open .main-nav > ul > li { opacity: 1; transform: none; }
  body.menu-open .main-nav > ul > li:nth-child(2) { transition-delay: .06s; }
  body.menu-open .main-nav > ul > li:nth-child(3) { transition-delay: .12s; }
  body.menu-open .main-nav > ul > li:nth-child(4) { transition-delay: .18s; }
  body.menu-open .main-nav > ul > li:nth-child(5) { transition-delay: .24s; }
  body.menu-open .main-nav > ul > li:nth-child(6) { transition-delay: .3s; }
  .main-nav > ul > li > a { font-family: var(--serif); font-size: 28px; padding: 18px 4px; border-radius: 0; justify-content: space-between; background: none !important; }
  .main-nav > ul > li.active > a::after { display: none; }
  .main-nav .caret { width: 16px; height: 16px; }
  .sub-menu { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 14px; min-width: 0; backdrop-filter: none; }
  .has-sub:hover > .sub-menu { transform: none; }
  .has-sub.open > .sub-menu { display: block; }
  .sub-menu a { font-size: 16px; }
}

/* ---------- search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 11, 22, .9); backdrop-filter: blur(18px);
  display: grid; place-items: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay form { width: 100%; max-width: 760px; transform: translateY(30px); transition: transform .7s var(--ease); }
.search-overlay.open form { transform: none; }
.search-overlay label { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.search-overlay .field { display: flex; align-items: center; border-bottom: 2px solid rgba(255, 255, 255, .25); }
.search-overlay input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--cream); font-family: var(--serif); font-size: clamp(28px, 6vw, 56px); padding: 12px 0; }
.search-overlay input::placeholder { color: rgba(247, 240, 228, .3); }
.search-overlay .go { background: none; border: 0; color: var(--amber); padding: 10px; }
.search-overlay .go svg { width: 32px; height: 32px; }
.search-overlay .close { position: absolute; top: 24px; right: 24px; }
.search-overlay p { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ==========================================================
   Buttons & shared bits
   ========================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: linear-gradient(120deg, var(--amber), var(--amber-deep)); color: var(--night); box-shadow: 0 14px 30px -10px rgba(240, 180, 106, .6); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(240, 180, 106, .7); }
.btn--ghost { color: var(--cream); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { transform: translateY(-3px); background: #0d1324; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 20px; }
.section-title em { font-style: italic; color: var(--amber); font-weight: 400; }
.section-lead { font-size: clamp(17px, 1.6vw, 19px); color: rgba(247, 240, 228, .72); max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }
.text-center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.cat-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(10, 18, 34, .65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--cream); border: 1px solid rgba(255, 255, 255, .14); }
.cat-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--amber)); box-shadow: 0 0 10px var(--c, var(--amber)); }
[data-cat="quiet"] { --c: var(--quiet); }
[data-cat="bold"] { --c: var(--bold); }
[data-cat="fearless"] { --c: var(--fearless); }
[data-cat="archive"] { --c: var(--archive); }

/* reveal helpers (only hidden when JS is ready) */
.js-ready .reveal { opacity: 0; transform: translateY(40px); }
.split-line { display: block; overflow: hidden; padding: 0 .04em .2em; margin-bottom: -.2em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ==========================================================
   Hero (home)
   ========================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 130px 0 90px; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1200px 600px at 80% 110%, rgba(240, 180, 106, .28), transparent 60%),
    radial-gradient(900px 600px at 10% -10%, rgba(91, 155, 230, .28), transparent 60%),
    linear-gradient(180deg, #0a1222 0%, #13213d 55%, #2a2440 100%);
}
#webgl { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: -1; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 9vw, 128px); line-height: .95; letter-spacing: -.035em; margin: 22px 0 26px; }
.hero__title em { font-style: italic; font-weight: 300; background: linear-gradient(100deg, var(--blue-soft), var(--amber) 60%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero__tagline { font-size: clamp(18px, 2vw, 23px); color: rgba(247, 240, 228, .78); max-width: 520px; margin: 0 0 38px; font-weight: 300; }
.hero__tagline strong { color: var(--cream); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; perspective: 1400px; }
.tilt-card { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }
.hero__frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); transform: translateZ(0); }
.hero__frame img { width: 100%; aspect-ratio: 1024 / 819; object-fit: cover; transform: scale(1.08); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(255, 255, 255, .22), transparent 40%); mix-blend-mode: overlay; pointer-events: none; }
.hero__glare { position: absolute; inset: 0; border-radius: 28px; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .25), transparent 45%); opacity: 0; transition: opacity .3s; z-index: 2; }
.tilt-card:hover .hero__glare { opacity: 1; }
.float-badge {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(16, 27, 49, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35;
  transform: translateZ(80px);
}
.float-badge img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.float-badge strong { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; }
.float-badge small { color: var(--muted); }
.float-badge--a { left: -34px; bottom: 34px; animation: bob 6s ease-in-out infinite; }
.float-badge--b { right: -24px; top: 30px; padding: 12px 16px; animation: bob 7s ease-in-out -2s infinite; }
.float-badge--b .dots { display: flex; gap: 6px; }
.float-badge--b .dots span { width: 10px; height: 10px; border-radius: 50%; }
@keyframes bob { 50% { translate: 0 -12px; } }
.hero__orbit { position: absolute; inset: -40px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 50%; z-index: -1; animation: spin 60s linear infinite; }
.hero__orbit::before { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 20px var(--amber); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; border-radius: 2px; background: var(--amber); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--night); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(26px, 4vw, 46px); font-style: italic; font-weight: 300; white-space: nowrap; color: rgba(247, 240, 228, .9); }
.marquee__track span i { font-style: normal; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--amber)); display: inline-block; }
.marquee__track span b { font-weight: 300; -webkit-text-stroke: 1px rgba(247, 240, 228, .55); color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- welcome ---------- */
.welcome { background: var(--night); overflow: hidden; padding-bottom: clamp(24px, 3vw, 40px); }
.welcome__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.welcome__media { position: relative; perspective: 1200px; }
.welcome__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.welcome__media figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.welcome__media figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 18, 34, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13.5px; line-height: 1.5; color: rgba(247, 240, 228, .9); display: flex; gap: 10px; }
.welcome__media figcaption svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--amber); }
.welcome__media .ring { position: absolute; width: 180px; height: 180px; right: -50px; top: -50px; border-radius: 50%; border: 1px solid rgba(240, 180, 106, .4); z-index: -1; }
.welcome__media .ring::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 1px dashed rgba(91, 155, 230, .4); }
.welcome__body p { color: rgba(247, 240, 228, .78); font-size: 18px; margin: 0 0 20px; }
.welcome__body p strong { color: var(--cream); font-weight: 600; }
.welcome__body .lead-quote { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--cream); font-weight: 400; margin: 0 0 28px; }
.welcome__body .lead-quote em { color: var(--amber); }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.signature img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(240, 180, 106, .5); }
.signature strong { font-family: var(--serif); font-size: 26px; font-style: italic; font-weight: 400; display: block; line-height: 1.1; }
.signature span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }

/* ---------- currents (3D cards) ---------- */
.currents { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); overflow: hidden; padding-top: clamp(24px, 3vw, 40px); }
.currents__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 6px 40px; margin-bottom: 36px; flex-wrap: wrap; }
.currents__head .section-title { margin-bottom: 0; }
.currents__head .section-lead { margin: 0; }
.currents__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1600px; }
.current-card {
  --c: var(--quiet);
  position: relative; min-height: 470px; border-radius: 26px; padding: 34px 30px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1); transform-style: preserve-3d;
  display: flex; flex-direction: column; isolation: isolate;
  transition: border-color .4s, box-shadow .5s var(--ease);
}
.current-card:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--c) 45%, transparent); }
.current-card::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); z-index: -1; transition: transform .8s var(--ease); }
.current-card:hover::before { transform: scale(1.4); }
.current-card__num { font-family: var(--serif); font-size: 120px; line-height: .8; font-weight: 300; font-style: italic; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 70%, transparent); transform: translateZ(40px); }
.current-card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); position: absolute; top: 34px; right: 30px; transform: translateZ(60px); }
.current-card__icon svg { width: 30px; height: 30px; }
.current-card__label { margin-top: auto; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--c); font-weight: 600; transform: translateZ(30px); }
.current-card h3 { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.05; margin: 10px 0 16px; transform: translateZ(50px); }
.current-card p { color: rgba(247, 240, 228, .72); font-size: 15.5px; margin: 0 0 26px; transform: translateZ(30px); }
.current-card .more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; transform: translateZ(40px); }
.current-card .more span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); transition: background .4s, transform .4s var(--ease); }
.current-card .more svg { width: 16px; height: 16px; }
.current-card:hover .more span { background: var(--c); color: var(--night); transform: rotate(-45deg); }
.current-card--bold { --c: var(--bold); }
.current-card--fearless { --c: var(--fearless); }
.current-card .wave { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; opacity: .35; }

/* ---------- explore paths ---------- */
.explore { background: var(--paper); color: var(--ink); border-radius: 48px 48px 0 0; margin-top: -48px; position: relative; z-index: 2; }
.explore .eyebrow { color: var(--amber-deep); }
.explore .section-title em { color: var(--amber-deep); }
.explore .section-lead { color: var(--ink-soft); }
.explore__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.explore__head .section-title { margin-bottom: 0; }
.explore__head .section-lead { margin: 0 0 8px; justify-self: end; max-width: 440px; }
.path-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.path-card { position: relative; background: #fff; border: 1px solid var(--line-dark); border-radius: 22px; padding: 28px 28px 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; min-height: 230px; overflow: hidden; transition: box-shadow .5s var(--ease), border-color .4s; isolation: isolate; }
.path-card::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(240,180,106,.22), transparent 70%); z-index: -1; transition: transform .8s var(--ease); }
.path-card:hover { box-shadow: 0 30px 60px -24px rgba(27,34,54,.4); border-color: rgba(224,138,60,.4); }
.path-card:hover::after { transform: scale(1.6); }
.path-card__link { position: absolute; inset: 0; z-index: 1; }
.path-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.path-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--amber); transition: transform .5s var(--ease), background .4s; }
.path-card:hover .path-card__icon { transform: rotate(-8deg) scale(1.06); background: var(--amber-deep); color: #fff; }
.path-card__icon svg { width: 24px; height: 24px; }
.path-card__num { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 42px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(27,34,54,.25); }
.path-card .tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #f1e6d4; color: #8a5a22; }
.path-card h4 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.path-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.path-card__go { margin-top: auto; padding-top: 22px; display: inline-flex; width: 40px; height: 40px; }
.path-card__go svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .4s, color .4s, transform .4s var(--ease); }
.path-card:hover .path-card__go svg { background: var(--ink); color: var(--cream); transform: rotate(-45deg); }
.path-sub { list-style: none; padding: 0; margin: auto 0 0; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.path-sub a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--paper); border: 1px solid var(--line-dark); transition: background .3s, color .3s, transform .3s var(--ease); }
.path-sub a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.path-sub a:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

/* ---------- latest writing (home) ---------- */
.latest { background: var(--paper); color: var(--ink); padding-top: 0; }
.latest__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.latest .eyebrow { color: var(--amber-deep); }
.latest .section-title em { color: var(--amber-deep); }
.latest__nav { display: flex; gap: 10px; }
.latest__nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-dark); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease); }
.latest__nav button:hover { background: var(--ink); color: var(--cream); transform: scale(1.06); }
.latest__nav svg { width: 20px; height: 20px; }
.slider { overflow: hidden; margin: 0 calc(var(--gutter) * -1); padding: 20px var(--gutter) 40px; cursor: grab; }
.slider:active { cursor: grabbing; }
.slider__track { display: flex; gap: 26px; transition: transform .8s var(--ease); will-change: transform; }

/* ---------- post card (shared) ---------- */
.post-card { position: relative; flex: 0 0 clamp(280px, 30vw, 380px); perspective: 1000px; }
.post-card__inner { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line-dark); height: 100%; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .5s var(--ease); }
.post-card:hover .post-card__inner { box-shadow: 0 40px 70px -25px rgba(27, 34, 54, .45); }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e9e1d3; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.08); }
.post-card__media .cat-pill { position: absolute; left: 14px; top: 14px; }
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-card__meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; display: inline-block; }
.post-card h3 { font-family: var(--serif); font-size: 23px; line-height: 1.22; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.post-card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.post-card:hover h3 a { background-size: 100% 1.5px; }
.post-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .read { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.post-card .read svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.post-card:hover .read svg { transform: translateX(5px); }
.post-card__link { position: absolute; inset: 0; z-index: 1; }
.post-card .read, .post-card h3 a { position: relative; z-index: 2; }

/* ---------- about the journey band ---------- */
.journey { background: var(--paper); color: var(--ink); padding-top: 0; }
.journey__box {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 90px);
  background: linear-gradient(135deg, #0f1a30, #1b2a4b 60%, #3a2b45); color: var(--cream); text-align: center; isolation: isolate;
}
.journey__box canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.journey__box .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.journey__quote { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 48px); line-height: 1.25; font-weight: 300; margin: 26px auto 34px; max-width: 980px; }
.journey__quote strong { font-weight: 500; font-style: italic; }
.journey__quote .q { color: var(--quiet); } .journey__quote .b { color: var(--bold); } .journey__quote .f { color: var(--fearless); }

/* ---------- subscribe ---------- */
.subscribe { background: var(--paper); color: var(--ink); padding-top: 0; }
.subscribe__box { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft); }
.subscribe__logo { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #f4ead9, 0 20px 40px -10px rgba(27, 34, 54, .35); }
.subscribe__logo img { width: 100%; height: 100%; object-fit: cover; }
.subscribe h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; margin: 0 0 6px; line-height: 1.1; }
.subscribe p { margin: 0 0 22px; color: var(--ink-soft); }
.subscribe form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input { flex: 1 1 240px; min-width: 0; padding: 16px 22px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); outline: 0; transition: border-color .3s, box-shadow .3s; }
.subscribe input:focus { border-color: var(--amber-deep); box-shadow: 0 0 0 4px rgba(240, 180, 106, .25); }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; min-height: 1em; }

/* ==========================================================
   Page hero (blog / single)
   ========================================================== */
.page-hero { position: relative; overflow: hidden; padding: 190px 0 120px; isolation: isolate; text-align: center; }
.page-hero .hero__bg { background: radial-gradient(900px 500px at 85% 120%, rgba(240, 180, 106, .25), transparent 60%), radial-gradient(800px 500px at 10% -20%, rgba(91, 155, 230, .3), transparent 60%), linear-gradient(180deg, #0a1222, #15233f); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 10vw, 140px); line-height: .95; letter-spacing: -.035em; margin: 20px 0 18px; }
.page-hero h1 em { font-style: italic; font-weight: 300; background: linear-gradient(100deg, var(--blue-soft), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.page-hero p { font-size: clamp(17px, 1.8vw, 20px); color: rgba(247, 240, 228, .72); max-width: 600px; margin: 0 auto; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span:last-child { color: var(--cream); }

/* ---------- blog layout ---------- */
.blog-area { background: var(--paper); color: var(--ink); border-radius: 48px 48px 0 0; margin-top: -48px; position: relative; z-index: 2; padding: 80px 0 120px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 56px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-dark); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.filter-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink)); }
.filter-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-btn .count { font-size: 12px; opacity: .6; }

.featured { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line-dark); margin-bottom: 60px; position: relative; transform-style: preserve-3d; }
.featured__media { position: relative; overflow: hidden; min-height: 380px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.06); }
.featured__star { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--amber); color: var(--night); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; z-index: 2; }
.featured__star svg { width: 14px; height: 14px; }
.featured__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured__body .cat-pill { align-self: flex-start; background: var(--ink); }
.featured h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 500; margin: 20px 0 14px; letter-spacing: -.01em; }
.featured h2 a:hover { color: var(--amber-deep); }
.featured p { color: var(--ink-soft); margin: 0 0 24px; }
.featured .post-card__meta { margin-bottom: 26px; }
.featured .btn { align-self: flex-start; }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-grid .post-card { flex: none; }
.post-card.is-hidden { display: none; }
.empty-state { display: none; grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-soft); background: #fff; border-radius: var(--radius); border: 1px dashed var(--line-dark); }
.empty-state.show { display: block; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span { min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; font-weight: 600; font-size: 15px; border: 1px solid var(--line-dark); background: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.pagination a:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.pagination .current { background: linear-gradient(135deg, var(--amber), var(--amber-deep)); border-color: transparent; color: var(--night); }
.pagination .label { border: 0; background: none; color: var(--muted); font-weight: 500; }
.pagination svg { width: 18px; height: 18px; }

.sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.widget { background: #fff; border-radius: 24px; padding: 28px; border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft); }
.widget h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.widget h3::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.widget-search { display: flex; border: 1px solid var(--line-dark); border-radius: 999px; overflow: hidden; background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.widget-search:focus-within { border-color: var(--amber-deep); box-shadow: 0 0 0 4px rgba(240, 180, 106, .22); }
.widget-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 13px 18px; font: inherit; font-size: 15px; outline: 0; color: var(--ink); }
.widget-search button { border: 0; background: var(--ink); color: var(--cream); width: 48px; display: grid; place-items: center; }
.widget-search svg { width: 18px; height: 18px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li + li { border-top: 1px solid var(--line-dark); }
.cat-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px; transition: color .3s, padding .4s var(--ease); }
.cat-list a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--archive)); flex-shrink: 0; }
.cat-list a:hover { color: var(--amber-deep); padding-left: 6px; }
.widget--dark { background: linear-gradient(150deg, #0f1a30, #24304f); color: var(--cream); border: 0; position: relative; overflow: hidden; }
.widget--dark h3::after { background: var(--line); }
.widget--dark p { margin: 0; color: rgba(247, 240, 228, .8); font-size: 15.5px; }
.widget--dark p strong { color: var(--amber); font-weight: 600; }
.widget--dark img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; box-shadow: 0 0 0 3px rgba(240, 180, 106, .45); }

/* ==========================================================
   Single post
   ========================================================== */
.single-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 160px 0 110px; }
.single-hero__img { position: absolute; inset: -10% 0 0; z-index: -2; }
.single-hero__img img { width: 100%; height: 110%; object-fit: cover; }
.single-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 34, .45) 0%, rgba(10, 18, 34, .3) 35%, rgba(10, 18, 34, .92) 85%, var(--night) 100%); }
.single-hero__content { max-width: 960px; }
.single-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.03em; margin: 22px 0 26px; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: rgba(247, 240, 228, .78); font-size: 15px; }
.single-meta .author { display: flex; align-items: center; gap: 12px; }
.single-meta .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(240, 180, 106, .6); }
.single-meta .author strong { color: var(--cream); font-weight: 600; }
.single-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.single-meta svg { width: 16px; height: 16px; color: var(--amber); }

.article-wrap { background: var(--paper); color: var(--ink); border-radius: 48px 48px 0 0; margin-top: -48px; position: relative; z-index: 2; padding: 80px 0 100px; }
.article-grid { display: grid; grid-template-columns: 80px minmax(0, 760px) 1fr; gap: 40px; justify-content: center; }
.share-rail { position: sticky; top: 130px; align-self: start; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.share-rail span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 10px; }
.share-rail a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; background: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.share-rail a:hover { background: var(--ink); color: var(--cream); transform: scale(1.08); }
.share-rail svg { width: 18px; height: 18px; }

.caption-card { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); padding: 16px 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line-dark); margin-bottom: 44px; }
.caption-card svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--amber-deep); }

.prose { font-size: 19px; line-height: 1.85; color: #2a3146; }
.prose > p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 88px; line-height: .8; padding: 10px 14px 0 0; color: var(--amber-deep); font-weight: 500; }
.prose p { margin: 0 0 1.4em; }
.prose em, .prose i { font-style: italic; }
.prose strong { color: var(--ink); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 14px; }
.prose ul li { position: relative; padding: 20px 22px 20px 62px; background: #fff; border-radius: 18px; border: 1px solid var(--line-dark); box-shadow: 0 10px 30px -20px rgba(27, 34, 54, .3); font-size: 17px; line-height: 1.7; }
.prose ul li::before { content: ""; position: absolute; left: 22px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 15%, var(--c) 16%); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
.prose blockquote { position: relative; margin: 2.2em 0; padding: 40px 40px 34px; border-radius: 26px; background: linear-gradient(140deg, #0f1a30, #253255); color: rgba(247, 240, 228, .88); font-size: 17.5px; overflow: hidden; }
.prose blockquote::before { content: "\201C"; position: absolute; right: 26px; top: -20px; font-family: var(--serif); font-size: 200px; color: rgba(240, 180, 106, .18); line-height: 1; }
.prose blockquote strong { color: var(--amber); font-family: var(--serif); font-size: 22px; font-weight: 500; display: inline; }
.prose blockquote p { margin: 0; position: relative; }
.prose .closing { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-style: italic; color: var(--ink); text-align: center; margin: 1.6em 0; }
.prose .closing::before, .prose .closing::after { content: ""; display: block; width: 60px; height: 2px; margin: 18px auto; background: linear-gradient(90deg, var(--blue), var(--amber)); }
.prose .composed { font-size: 15px; color: var(--ink-soft); border-left: 3px solid var(--amber); padding-left: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0; padding-top: 34px; border-top: 1px solid var(--line-dark); }
.tags a { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; background: #fff; border: 1px solid var(--line-dark); transition: background .3s, color .3s, transform .3s var(--ease); }
.tags a::before { content: "#"; color: var(--amber-deep); margin-right: 2px; }
.tags a:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.author-box { display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: center; padding: 34px; border-radius: 28px; background: #fff; border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft); }
.author-box img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #f4ead9; }
.author-box small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; }
.author-box h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 4px 0 10px; }
.author-box p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; }
.author-box a { font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.author-box a svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.author-box a:hover svg { transform: translateX(4px); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 50px 0; }
.post-nav a { position: relative; display: block; padding: 26px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line-dark); transition: transform .4s var(--ease), box-shadow .4s, background .4s, color .4s; overflow: hidden; }
.post-nav a:hover { transform: translateY(-4px); background: var(--ink); color: var(--cream); box-shadow: var(--shadow); }
.post-nav small { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; }
.post-nav a:hover small { color: var(--amber); }
.post-nav small svg { width: 14px; height: 14px; }
.post-nav strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.3; margin-top: 8px; }
.post-nav .next { text-align: right; }

.comment-form { padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line-dark); }
.comment-form h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 0 0 6px; }
.comment-form > p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 26px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 22px 18px 10px; border-radius: 14px; border: 1px solid var(--line-dark); background: var(--paper); font: inherit; font-size: 15.5px; color: var(--ink); outline: 0; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field textarea { min-height: 160px; }
.field label { position: absolute; left: 18px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--amber-deep); box-shadow: 0 0 0 4px rgba(240, 180, 106, .2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 11.5px; color: var(--amber-deep); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; accent-color: var(--amber-deep); }

.toc-side { align-self: start; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mini-post { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: 16px; transition: background .3s; }
.mini-post:hover { background: var(--paper); }
.mini-post__img { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: #e9e1d3; }
.mini-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mini-post:hover .mini-post__img img { transform: scale(1.1); }
.mini-post__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-post__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mini-post__cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--archive)); }
.mini-post strong { font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color .3s; }
.mini-post:hover strong { color: var(--amber-deep); }
.mini-post time { font-size: 12.5px; color: var(--muted); }
.toc-side .widget { padding: 24px; }

.related { background: var(--paper); color: var(--ink); padding: 0 0 120px; }
.related .eyebrow { color: var(--amber-deep); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.related-grid .post-card { flex: none; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { position: relative; background: var(--night); overflow: hidden; padding: clamp(48px, 6vw, 72px) 0 28px; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -500px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(91, 155, 230, .18), transparent 65%); z-index: -1; }
.footer-cta { text-align: center; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-family: var(--serif); font-size: clamp(40px, 7vw, 96px); font-weight: 400; line-height: 1; letter-spacing: -.03em; margin: 12px 0 28px; }
.footer-cta h2 em { font-style: italic; font-weight: 300; color: var(--amber); }
.footer-sub { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 860px; margin: 0 auto; text-align: left; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.footer-sub__logo { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px rgba(240,180,106,.35), 0 20px 40px -10px rgba(0,0,0,.5); }
.footer-sub__logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-sub h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; margin: 0 0 4px; line-height: 1.15; }
.footer-sub p { margin: 0 0 18px; color: rgba(247,240,228,.7); font-size: 15px; }
.footer-sub form { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-sub input { flex: 1 1 220px; min-width: 0; padding: 15px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--cream); font: inherit; font-size: 15px; outline: 0; transition: border-color .3s, box-shadow .3s; }
.footer-sub input::placeholder { color: rgba(247,240,228,.45); }
.footer-sub input:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(240,180,106,.2); }
.footer-sub .form-note { margin: 10px 0 0; color: var(--amber); font-size: 13px; min-height: 1em; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 44px 0 36px; }
.footer-brand p { color: rgba(247, 240, 228, .65); font-size: 15px; max-width: 340px; margin: 18px 0 0; }
.footer-col h4 { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin: 6px 0 20px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(247, 240, 228, .75); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: color .3s, transform .4s var(--ease); }
.footer-col a:hover { color: var(--cream); transform: translateX(5px); }
.footer-col a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--amber); }
.to-top { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: rgba(255, 255, 255, .04); color: var(--cream); transition: background .3s, transform .4s var(--ease); }
.to-top:hover { background: var(--amber); color: var(--night); transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .sidebar .widget--dark { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 60px minmax(0, 1fr); }
  .toc-side { grid-column: 2; }
  .toc-side .sidebar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero__grid, .welcome__grid, .explore__head { grid-template-columns: 1fr; }
  .explore__head { gap: 14px; }
  .explore__head .section-lead { justify-self: start; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 120px; }
  .hero__visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .currents__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .current-card { min-height: 400px; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .welcome__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .scroll-cue { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 18px; }
  .brand__logo { width: 42px; height: 42px; }
  .nav-actions .icon-btn { width: 42px; height: 42px; }
  .float-badge--a { left: 8px; bottom: 12px; }
  .float-badge--b { right: 8px; top: 12px; }
  .hero__orbit { inset: -16px; }
  .post-grid, .related-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .toc-side { grid-column: 1; order: 3; }
  .toc-side .sidebar { grid-template-columns: 1fr; }
  .share-rail { position: static; flex-direction: row; justify-content: center; order: 2; }
  .share-rail span { writing-mode: horizontal-tb; transform: none; margin: 0 6px 0 0; }
  .prose { font-size: 17.5px; }
  .prose ul li { padding: 18px 18px 18px 54px; }
  .prose ul li::before { left: 18px; }
  .prose blockquote { padding: 30px 24px; }
  .author-box { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .author-box img { margin: 0 auto; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .comment-form { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .subscribe__box { grid-template-columns: 1fr; text-align: center; }
  .subscribe__logo { margin: 0 auto; width: 100px; height: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-sub { grid-template-columns: 1fr; text-align: center; }
  .footer-sub__logo { margin: 0 auto; width: 88px; height: 88px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .path-grid { grid-template-columns: 1fr; gap: 16px; }
  .path-card { min-height: 0; padding: 22px; }
  .explore, .blog-area, .article-wrap { border-radius: 30px 30px 0 0; }
  .journey__box { border-radius: 26px; }
  .current-card h3 { font-size: 34px; }
  .current-card__num { font-size: 96px; }
  .page-hero { padding: 150px 0 100px; }
  .single-hero { min-height: 80svh; padding-bottom: 90px; }
  .single-meta { gap: 14px; font-size: 14px; }
  .latest__nav button { width: 46px; height: 46px; }
  .post-card { flex-basis: 82vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-delay: 0s !important; animation-delay: 0s !important; }
  .main-nav > ul > li { opacity: 1 !important; transform: none !important; }
}
