﻿:root {
  --ink: #ffffff;
  --muted: rgba(255,255,255,.76);
  --line: rgba(255,255,255,.20);
  --accent: #d77a36;
  --accent-dark: #b96027;
  --surface: rgba(255,255,255,.08);
  --bg1: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=86');
  --bg2: url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1800&q=86');
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #08090b;
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; }
.font-playfair { font-family: 'Playfair Display', Georgia, serif; }
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; }
.brand-mark { width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.78); position: relative; transform: rotate(45deg); overflow: hidden; background: rgba(255,255,255,.08); }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; inset: 5px; border-top: 1px solid rgba(255,255,255,.82); transform: rotate(-45deg); }
.brand-mark::after { inset: 13px 3px 0 3px; opacity: .55; }
.wordmark { font-size: 25px; line-height: 1; font-style: italic; font-weight: 500; }
.nav-pill { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(20px); }
.nav-pill a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 15px; border-radius: 999px; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.nav-pill a:hover, .nav-pill a.active { color: white; background: rgba(255,255,255,.20); }
.right-link { color: #111318; background: white; text-decoration: none; font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.right-link:hover { transform: translateY(-1px); background: #f1f1f1; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); }
.hamburger span { display: block; width: 18px; height: 2px; background: white; margin: 4px auto; }
.hero { position: relative; width: 100%; height: 100vh; height: 100dvh; min-height: 660px; overflow: hidden; background: #050608; }
.base-image, .reveal-image { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; pointer-events: none; }
.base-image { z-index: 10; background-image: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.25)), var(--bg1); transform-origin: center; }
.reveal-image { z-index: 30; background-image: linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.14)), var(--bg2); opacity: .98; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.shade { position: absolute; inset: 0; z-index: 40; pointer-events: none; background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.10), transparent 24%), linear-gradient(180deg, rgba(0,0,0,.36), rgba(0,0,0,.10) 42%, rgba(0,0,0,.76)); }
.grain { position: absolute; inset: -80px; z-index: 45; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 72px 72px; transform: rotate(-6deg); }
.heading { position: absolute; top: 13.5%; left: 0; right: 0; z-index: 50; text-align: center; padding: 0 20px; pointer-events: none; }
h1 { margin: 0; color: white; line-height: .96; font-weight: 600; text-wrap: balance; }
h1 span { display: block; }
.line-one { font-size: clamp(52px, 8.4vw, 124px); font-style: italic; font-weight: 400; }
.line-two { margin-top: 0; font-size: clamp(44px, 7.1vw, 104px); font-weight: 700; }
.subtitle { max-width: 620px; margin: 22px auto 0; color: rgba(255,255,255,.80); font-size: 16px; line-height: 1.75; }
.bottom-left { position: absolute; z-index: 50; left: 48px; bottom: 52px; max-width: 300px; }
.bottom-right { position: absolute; z-index: 50; right: 54px; bottom: 74px; max-width: 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.eyebrow { margin: 0 0 12px; color: rgba(255,255,255,.56); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: white; text-decoration: none; font-size: 14px; font-weight: 800; padding: 13px 22px; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.cta:hover { transform: translateY(-1px) scale(1.02); background: var(--accent-dark); box-shadow: 0 16px 42px rgba(215,122,54,.30); }
.cta svg { width: 17px; height: 17px; }
.section { position: relative; padding: 96px 24px; background: #08090b; }
.section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%); }
.wrap { position: relative; width: min(1080px, 100%); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
.section-title { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.section-desc { margin: 0; max-width: 420px; color: rgba(255,255,255,.68); line-height: 1.75; font-size: 14px; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.note-card { min-height: 268px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.note-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.30); background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.06)); }
.note-card time { color: rgba(255,255,255,.52); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.note-card h3 { margin: 18px 0 12px; font-size: 22px; line-height: 1.25; }
.note-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.72; }
.note-card .read { color: white; font-size: 13px; font-weight: 800; }
.footer { padding: 38px 24px 52px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.52); background: #08090b; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 13px; }
.article-shell { min-height: 100vh; background: radial-gradient(circle at 10% 0, rgba(215,122,54,.18), transparent 28%), #08090b; padding: 120px 24px 80px; }
.article { width: min(760px, 100%); margin: 0 auto; }
.article a.back { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; font-weight: 700; }
.article h1 { margin: 30px 0 18px; font-size: clamp(38px, 7vw, 72px); line-height: 1.05; }
.article .meta { color: rgba(255,255,255,.56); font-size: 13px; margin-bottom: 34px; }
.article p, .article li { color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.9; }
.article h2 { margin: 44px 0 12px; font-size: 25px; }
.article code { color: #ffd3b5; background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 5px; }
.article pre { overflow: auto; padding: 18px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); }
.article pre code { padding: 0; background: transparent; color: rgba(255,255,255,.86); }
@keyframes heroReveal { 0%{opacity:0;transform:translateY(28px);filter:blur(12px)} 100%{opacity:1;transform:translateY(0);filter:blur(0)} }
@keyframes heroFadeUp { 0%{opacity:0;transform:translateY(20px)} 100%{opacity:1;transform:translateY(0)} }
@keyframes heroZoom { 0%{transform:scale(1.12)} 100%{transform:scale(1)} }
.hero-anim { opacity: 0; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(.16,1,.3,1); }
.hero-reveal { animation-name: heroReveal; animation-duration: 1.1s; }
.hero-fade { animation-name: heroFadeUp; animation-duration: 1s; }
.hero-zoom { animation: heroZoom 1.8s cubic-bezier(.16,1,.3,1) forwards; }
@media (max-width: 860px) {
  .hero { min-height: 720px; }
  .nav-pill, .right-link { display: none; }
  .hamburger { display: block; }
  nav { padding: 16px; }
  .heading { top: 14%; }
  .subtitle { max-width: 350px; font-size: 14px; }
  .bottom-left { display: none; }
  .bottom-right { left: 20px; right: 20px; bottom: 34px; max-width: none; }
  .copy { font-size: 13px; }
  .wordmark { font-size: 23px; }
  .section { padding: 72px 20px; }
  .section-head { display: block; }
  .section-desc { margin-top: 16px; }
  .note-grid { grid-template-columns: 1fr; }
  .note-card { min-height: 220px; }
  .footer .wrap { display: block; line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .hero-anim, .hero-zoom { animation: none; opacity: 1; } }
.note-grid.four { grid-template-columns: repeat(4, 1fr); }
.tool-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-list a { padding: 22px; min-height: 96px; display: flex; align-items: end; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.06); color: white; text-decoration: none; font-weight: 800; }
.index-shell { min-height: 100vh; padding: 120px 24px 80px; background: radial-gradient(circle at 10% 0, rgba(215,122,54,.16), transparent 28%), #08090b; }
.page-title { width: min(1080px, 100%); margin: 0 auto 34px; }
.page-title h1 { margin: 0 0 14px; font-size: clamp(42px, 8vw, 86px); line-height: 1.02; }
.page-title p { max-width: 620px; color: rgba(255,255,255,.70); line-height: 1.8; }
.archive-list { width: min(900px, 100%); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.12); }
.archive-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: white; text-decoration: none; align-items: center; }
.archive-item time { color: rgba(255,255,255,.52); font-size: 13px; }
.archive-item strong { font-size: 20px; }
.archive-item span { color: rgba(255,255,255,.56); }
@media (max-width: 1100px) { .note-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .note-grid.four, .tool-list { grid-template-columns: 1fr; } .archive-item { grid-template-columns: 1fr; gap: 8px; } }
