:root {
  --paper: #f5f0e6;
  --letter: #fcf9f2;
  --ink: #202d43;
  --brass: #90651f;
  --midnight: #172735;
  --soft: #e8e4db;
  --on-dark: #f5f0e6;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  --display: clamp(64px, 7vw, 96px);
  --heading: clamp(36px, 4vw, 56px);
  --lead: 24px;
  --body: 16px;
  --small: 14px;
  --gutter: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  scrollbar-color: var(--brass) var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--body)/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
img, video { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex='0']:focus-visible { outline: 3px solid var(--brass); outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 400 var(--heading)/1.04 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: var(--display); line-height: 1; }
h3 { font-size: 36px; }
p { max-width: 68ch; }
[hidden] { display: none !important; }
.wrap { width: min(1552px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; min-height: 96px; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { font: 400 32px/1 var(--serif); letter-spacing: -.03em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--small); text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { position: relative; min-height: 680px; background: var(--midnight); display: grid; align-items: center; padding: 48px; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 35%; }
.hero-copy { position: relative; width: 46%; min-width: 470px; padding: 48px 40px; background: var(--paper); }
.hero-description { margin-top: 28px; font: 400 var(--lead)/1.4 var(--serif); max-width: 30ch; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; background: var(--ink); color: var(--paper); border: 0; font-size: var(--small); font-weight: 500; text-decoration: none; transition: background .18s, transform .18s var(--ease); }
.button:hover { background: var(--brass); }
.button:active { transform: translateY(2px); }
.hero .button { margin-top: 32px; }
.hero-signoff { margin-top: 28px; font-size: var(--small); }
.projects { padding-top: 112px; }
.finance-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; background: var(--letter); }
.finance-media { position: relative; background: #070f12; min-width: 0; }
.finance-media > a { display: block; height: 100%; }
.finance-media video { height: 100%; min-height: 420px; aspect-ratio: 16/10; object-fit: cover; }
.video-toggle { position: absolute; bottom: 16px; left: 16px; border: 0; min-height: 44px; padding: 10px 16px; background: var(--paper); color: var(--ink); font-size: var(--small); }
.video-toggle:hover { background: var(--soft); }
.finance-copy { padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: start; }
.finance-copy h3 { font-size: var(--heading); max-width: 12ch; }
.finance-copy p { margin-top: 24px; max-width: 39ch; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--small); font-weight: 600; transition: color .18s; }
.text-link:hover { color: var(--brass); }
.finance-copy .text-link { margin-top: 24px; }
.tools-intro { margin-bottom: 32px; }
.tools-intro p { margin-top: 20px; }
.film { margin-top: 112px; padding-block: 64px; background: var(--midnight); color: var(--on-dark); }
.film a:focus-visible { outline-color: var(--on-dark); }
.film-layout { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 64px; }
.film-copy h2 { max-width: 17ch; }
.film-copy p { margin-top: 24px; max-width: 39ch; }
.film-copy .text-link { margin-top: 24px; }
.film-copy .text-link:hover { color: #ebc58c; }
.film-still { display: block; overflow: hidden; }
.film-still img { aspect-ratio: 16/9; object-fit: contain; transition: transform .4s var(--ease); }
.film-still:hover img { transform: scale(1.015); }
.film-duration { font-size: var(--small); margin-top: 16px; }
.note { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; margin-block: 112px; }
.note-visual { background: var(--midnight); position: relative; }
.note-visual img { height: 100%; object-fit: cover; object-position: 56% center; }
.note-letter { background: var(--letter); padding: clamp(32px, 4vw, 64px); }
.note-letter h2 { margin-bottom: 32px; }
.note-letter p + p { margin-top: 20px; }
.note-letter .greeting { font: 400 var(--lead)/1.4 var(--serif); margin-bottom: 24px; }
.signature { margin-top: 28px; }
.signature strong { display: block; color: var(--brass); font: italic 400 36px/1.2 var(--serif); }
.signature span { font-size: var(--small); }
.tags-project { margin-top: 36px; padding-top: 28px; }
.tags-project h3 { font-size: var(--lead); margin-bottom: 12px; }
.tags-project p { font-size: var(--small); }
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 60px 28px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.footer-brand { font: 400 clamp(64px, 9vw, 128px)/1 var(--serif); letter-spacing: -.03em; text-decoration: none; }
.footer-top p { font: 400 var(--lead)/1.35 var(--serif); }
.footer-bottom { margin-top: 52px; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: var(--small); }
.site-footer a:focus-visible { outline-color: var(--on-dark); }
.footer-bottom nav { gap: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: letter-arrive .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-art { animation: study-arrive 1.1s var(--ease) both; }
  .chapter-arrive { animation: chapter-arrive .65s var(--ease) both; }
  @keyframes letter-arrive { from { transform: translateY(16px); opacity: .55; } to { transform: none; opacity: 1; } }
  @keyframes study-arrive { from { transform: scale(1.025); } to { transform: none; } }
  @keyframes chapter-arrive { from { transform: translateY(14px); opacity: .65; } to { transform: none; opacity: 1; } }
}
@media (min-width: 1700px) { .hero { min-height: 720px; } }
@media (max-width: 1100px) {
  .hero { padding: 32px; min-height: 560px; }
  .hero-copy { min-width: 400px; width: 47%; padding: 36px 28px; }
  h1 { font-size: 76px; }
  .hero-art { object-position: 66% center; }
  .finance-media video { min-height: 360px; }
  .film-layout { gap: 36px; }
}
@media (max-width: 850px) {
  :root { --gutter: 24px; }
  .site-header { min-height: 88px; }
  nav { gap: 24px; }
  .hero { min-height: 520px; padding: 24px; }
  .hero-copy { min-width: 340px; width: 49%; padding: 32px 24px; }
  h1 { font-size: 64px; }
  .hero-description { font-size: 24px; }
  .hero-signoff { margin-top: 20px; }
  .hero-art { object-position: 62% center; }
  .projects { padding-top: 80px; }
  .finance-feature { grid-template-columns: 1fr 1fr; }
  .finance-media video { min-height: 380px; object-position: 65%; }
  .finance-copy { padding: 28px; }
  .finance-copy h3 { font-size: 36px; }
  .film { margin-top: 80px; }
  .film-layout { gap: 32px; grid-template-columns: 1fr 1fr; }
  .note { margin-block: 80px; grid-template-columns: 1fr; }
  .note-visual img { height: auto; max-height: 520px; aspect-ratio: 4/3; object-position: center 35%; }
  .note-letter { padding: 32px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; --heading: 36px; }
  .site-header { min-height: 76px; gap: 12px; }
  .wordmark { font-size: 28px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: var(--small); }
  .site-header .film-nav { display: none; }
  .hero { min-height: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; overflow: visible; }
  .hero-copy { min-width: 0; width: 100%; padding: 28px 24px 32px; }
  h1 { font-size: clamp(56px, 16vw, 76px); }
  .hero-description { margin-top: 22px; font-size: 24px; line-height: 1.35; max-width: 25ch; }
  .hero .button { margin-top: 24px; }
  .hero-signoff { display: none; }
  .hero-art { position: static; height: 320px; object-fit: cover; object-position: 81% center; order: 2; }
  .projects { padding-top: 64px; }
  .finance-feature { grid-template-columns: 1fr; }
  .finance-media video { min-height: 0; aspect-ratio: 4/3; object-position: center; }
  .finance-copy { padding: 32px 24px; }
  .finance-copy h3 { max-width: none; }
  .finance-copy p { margin-top: 20px; }
  .finance-copy .text-link { margin-top: 20px; }
  .tools-intro { margin-bottom: 28px; }
  .film { margin-top: 64px; padding-block: 40px; }
  .film-layout { grid-template-columns: 1fr; gap: 32px; }
  .film-copy h2 { max-width: 13ch; }
  .film-copy p { margin-top: 20px; }
  .film-duration { margin-top: 12px; }
  .note { grid-template-columns: 1fr; margin-block: 64px; }
  .note-visual img { height: 350px; object-position: center 35%; }
  .note-letter { padding: 32px 24px; }
  .note-letter h2 { margin-bottom: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { font-size: clamp(60px, 16vw, 96px); }
  .site-footer { padding-block: 40px 24px; }
  .footer-bottom { align-items: start; margin-top: 32px; flex-direction: column; gap: 16px; }
  .footer-bottom nav { gap: 28px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .site-header nav { gap: 12px; }
  .wordmark { font-size: 26px; }
  .hero-copy, .finance-copy, .note-letter { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .film-still:hover img { transform: none; }
}
