/* Riccardo Mariti · Look A, "Quiet authority" */
:root {
  --white: #FFFFFF;
  --panel: #F7F5F0;
  --navy: #0B1F33;
  --ink: #1F2328;
  --muted: #5F6B76;
  --rule: #E4E1DA;
  --claret: #8E1B2C;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--claret); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--claret); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.read { max-width: 680px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--white); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.wordmark { font-family: var(--serif); font-size: 22px; color: var(--navy); text-decoration: none; letter-spacing: 0.01em; }
.wordmark:hover { color: var(--navy); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--claret); }
.nav a.connect { color: var(--claret); text-decoration: underline; }

/* Type */
.label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 32px; }
.label.accent { color: var(--claret); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); }
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.14; margin: 0 0 28px; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; margin: 0 0 20px; }
h3 { font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
.lede { font-size: 19px; max-width: 620px; margin: 0 0 28px; }
.small { font-size: 14px; color: var(--muted); }
.serif-line { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--navy); margin: 0; }
p { margin: 0 0 20px; }

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.panel { background: var(--panel); }
.ruled { border-top: 1px solid var(--rule); }
.rule-mark { width: 40px; height: 1px; background: var(--claret); margin: 0 0 28px; }
.center { text-align: center; }
.center .rule-mark { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero-photo { flex: 0 1 360px; min-width: 0; max-width: 360px; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }

.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof p { margin: 0; padding: 22px 0; font-size: 14px; line-height: 1.7; color: var(--muted); letter-spacing: 0.02em; }

.big-quote { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.35; color: var(--navy); margin: 0; }

/* Two-column split */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split > .side { flex: 1 1 220px; min-width: 0; }
.split > .main { flex: 999 1 520px; min-width: 0; max-width: 680px; }
.media-split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.media-split > * { flex: 1 1 360px; min-width: 0; }

/* Grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 56px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }

/* Quotes */
figure.quote { margin: 0; }
figure.quote blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--navy); }
figure.quote.large blockquote { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.38; }
figure.quote figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); }
blockquote.inline { margin: 0 0 24px; padding-left: 20px; border-left: 1px solid var(--claret); font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--navy); }
.sub-quote { margin: 16px 0 0; padding-left: 16px; border-left: 1px solid var(--rule); font-size: 16px; color: var(--ink); }
.sub-quote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Numbers */
.stat { border-top: 1px solid var(--claret); padding-top: 20px; }
.stat .n { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; color: var(--navy); margin: 0 0 8px; }
.stat .l { margin: 0; font-size: 16px; }
.stat .s { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* Images */
.photo { margin: 0; }
.photo figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.postcard img { width: 100%; max-width: min(440px, 100%); margin: 0 auto; box-shadow: 0 1px 2px rgba(11,31,51,.08), 0 8px 24px rgba(11,31,51,.08); }
.postcard figcaption { max-width: 440px; margin-left: auto; margin-right: auto; }
.mono img { filter: grayscale(100%) contrast(1.02); }
.covers { display: flex; gap: 24px; justify-content: center; align-items: flex-end; }
.covers img { width: 44%; max-width: 210px; box-shadow: 0 8px 24px rgba(11,31,51,.14); }

/* Record list */
.record-group { margin: 0 0 64px; }
.record-group:last-child { margin-bottom: 0; }
.record-group h3 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--claret); font-weight: 500; margin: 0 0 8px; }
.record { list-style: none; margin: 0; padding: 0; }
.record > li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.record > li:first-child { border-top: 1px solid var(--rule); }
.record strong { font-weight: 500; color: var(--navy); }
.record p { margin: 6px 0 0; }

/* Story cards */
.card { border-top: 1px solid var(--claret); padding-top: 24px; }
.card .meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.card p { font-size: 17px; }

/* Talks */
.talk { display: block; text-decoration: none; color: var(--ink); }
.talk:hover { color: var(--ink); }
.talk .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; margin-bottom: 16px; }
.talk .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%); opacity: .9; transition: filter .2s, opacity .2s; }
.talk:hover .thumb img { filter: grayscale(0%); opacity: 1; }
.talk .play { position: absolute; left: 16px; bottom: 16px; color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: rgba(11,31,51,.75); padding: 6px 10px; }
.talk .start { position: absolute; right: 16px; top: 16px; background: var(--claret); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.talk h3 { font-size: 20px; margin: 0 0 6px; }
.talk .when { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.talk p { font-size: 16px; margin: 0; }

/* Credentials */
.creds { margin: 0; padding: 0; list-style: none; columns: 2 320px; column-gap: 56px; font-size: 15px; }
.creds li { break-inside: avoid; padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--rule); }

/* Close */
.close-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; font-family: var(--serif); font-size: 26px; }
.close-links a { padding: 8px 0; }
.close-links a.secondary { color: var(--navy); }

/* Forms */
form.note { max-width: 620px; }
.field { margin: 0 0 28px; }
.field label { display: block; font-size: 15px; color: var(--navy); margin: 0 0 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 0; border-bottom: 1px solid #B9B4AA; padding: 10px 0; border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; border: 1px solid #B9B4AA; padding: 12px; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; }
button.link-button {
  font: inherit; font-family: var(--serif); font-size: 24px; color: var(--claret); background: none; border: 0; padding: 8px 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
button.link-button:hover { color: var(--navy); }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; max-width: 620px; }
.inline-form .field { flex: 1 1 280px; margin: 0; }
.thanks { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.hp { position: absolute; left: -9999px; }

/* References */
.ref { padding: 48px 0; border-bottom: 1px solid var(--rule); }
.ref:first-of-type { border-top: 1px solid var(--rule); }
.ref h3 { margin-bottom: 4px; }
.ref .role { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.gate { max-width: 460px; margin: 0 auto; text-align: center; padding: 120px 0; }
.gate input { text-align: center; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 32px; padding-bottom: 48px; font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-photo { max-width: 300px; }
  .close-links { font-size: 22px; flex-direction: column; align-items: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
