/* Valentino Polin — navy, silver, ivory */
:root {
  --navy: #0B162B;
  --navy-2: #0D1A33;
  --navy-3: #0E1B35;
  --line: #2A3A57;
  --line-soft: #1A2A47;
  --silver: #C9CED6;
  --silver-2: #9AA3B2;
  --white: #F4F5F7;
  --ivory: #F2F0EA;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--sans); }
a { color: var(--silver); text-decoration: none; transition: color .3s ease; }
a:hover { color: #FFFFFF; }
img { max-width: 100%; }

.page { position: relative; width: 100%; overflow: hidden; }
.grain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: .12; mix-blend-mode: overlay; }

/* Nav */
.nav { width: 100%; max-width: 1200px; margin: 0 auto; padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; position: relative; z-index: 1; }
.nav .links { display: flex; gap: 40px; }
.nav .links a { padding: 14px 0; border-bottom: 1px solid transparent; }
.nav .links a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--silver); }
.mono { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -.2em; padding-right: .2em; text-transform: none; color: #D3D8E0; }

/* Motion */
@keyframes vpfade { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes vpshine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@supports (animation-timeline: view()) {
  .vp-reveal { animation: vpfade linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
.vp-shine { background: linear-gradient(100deg, #8C96A6 30%, #FFFFFF 50%, #8C96A6 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: vpshine 7s ease-in-out infinite; }
.vp-ivory a { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .vp-reveal, .vp-shine { animation: none; } }

/* Hero frame height */
.hero-frame { position: relative; height: clamp(600px, calc(100svh - 56px), 860px); border: 1px solid var(--line); display: flex; flex-direction: column; }

/* Article */
.prose { max-width: 680px; margin: 0 auto; font-family: var(--serif); font-size: 22px; line-height: 1.75; color: #DCE0E6; }
.prose p { margin: 0 0 1.4em; }
.prose h2 { font-weight: 400; font-size: 38px; line-height: 1.2; color: #FFFFFF; margin: 2em 0 .7em; }
.prose h3 { font-weight: 500; font-size: 28px; line-height: 1.3; color: #FFFFFF; margin: 1.8em 0 .6em; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 1px solid var(--silver-2); font-style: italic; color: var(--silver); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose a { color: #FFFFFF; border-bottom: 1px solid var(--silver-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose img { display: block; margin: 2em auto; }
.prose strong { font-weight: 500; color: #FFFFFF; }

@media (max-width: 640px) {
  .nav { padding: 24px 24px; }
  .nav .links { gap: 28px; }
  .prose { font-size: 20px; }
  .flow-item { padding: 40px 0 24px !important; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  section > div[style*="padding: 160px"], section[style*="padding: 160px"], section[style*="padding: 180px"] { padding-top: 104px !important; padding-bottom: 104px !important; }
  section div[style*="padding: 56px 48px"] { padding: 40px 28px !important; }
}
