/* ==========================================================================
   JordanFried.com — monochrome editorial
   ========================================================================== */

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --bg-3: #141414;
  --fg: #f3f3f1;
  --fg-2: #c9c9c6;
  --muted: #8b8b88;
  --dim: #555553;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 72px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--fg); color: var(--bg); }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 10px 14px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Film grain overlay */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 100; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* Layout helpers */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95; letter-spacing: -0.02em; margin: 16px 0 0;
}
.section-title em { font-style: italic; color: var(--fg-2); }

.serif { font-family: var(--serif); font-weight: 400; }
.muted { color: var(--muted); }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
  padding-bottom: 2px;
}
.link-u:hover { background-size: 100% 1px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500;
}
.arrow-link .arrow { transition: transform 0.3s var(--ease); }
.arrow-link:hover .arrow { transform: translate(3px, -3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.logo__mark {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1;
  letter-spacing: -0.02em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: 15px; color: var(--fg-2);
  transition: color 0.25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--fg); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--fg);
}
.nav .btn { height: 40px; padding: 0 18px; margin-left: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu__links a {
  display: block; font-family: var(--serif); font-size: clamp(48px, 13vw, 80px); line-height: 1.08;
  border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); position: relative; }
.hero__top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(12px, 2vw, 24px);
}
.hero__roles { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.hero__roles span + span::before { content: "/"; margin-right: 10px; color: var(--dim); }
.hero__loc { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.hero__name {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  font-size: clamp(40px, 14.6vw, 212px); line-height: 0.82; letter-spacing: -0.055em;
  margin: 0; white-space: nowrap; display: flex; justify-content: space-between;
}
@media (max-width: 600px) {
  .hero__name { flex-direction: column; font-size: 24vw; line-height: 0.84; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .hero__name .word:nth-child(2) { align-self: flex-end; }
}
.hero__name .word { display: inline-block; overflow: hidden; padding-bottom: 0.04em; }
.hero__name .word > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__name .word:nth-child(2) > span { animation-delay: 0.08s; }
@keyframes rise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero__name .word > span { transform: none; animation: none; } }

.hero__media {
  position: relative; margin-top: clamp(20px, 3vw, 40px);
  aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-3);
}
.hero__media img {
  width: 100%; height: 118%; object-fit: cover; object-position: 50% 35%;
  filter: grayscale(1) contrast(1.08); will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.75) 100%);
}
.hero__caption {
  position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 36px);
  z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero__quote {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 40px); line-height: 1.1; max-width: 22ch; margin: 0;
}
.hero__quote em { color: var(--fg-2); }
.hero__scroll { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero__scroll i { display: block; width: 1px; height: 36px; background: var(--fg-2); transform-origin: top; animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 700px) {
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__scroll { display: none; }
}

[data-parallax] img { height: 118% !important; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 28px) clamp(24px, 3vw, 40px) 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; max-width: 24ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ==========================================================================
   Press marquee
   ========================================================================== */
.press { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.press__label { margin-bottom: 28px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); padding-right: clamp(48px, 7vw, 110px); }
.marquee img {
  height: clamp(36px, 4.4vw, 56px); width: auto; opacity: 0.6;
  transition: opacity 0.3s var(--ease);
}
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 6vw, 96px); }
.intro__lead {
  font-family: var(--serif); font-size: clamp(32px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -0.015em; margin: 0;
}
.intro__lead em { color: var(--muted); }
.intro__body { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--fg-2); }
.intro__body p { margin: 0; }
.intro__cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__body { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   Ventures index
   ========================================================================== */
.ventures { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.venture { border-bottom: 1px solid var(--line); position: relative; }
.venture__link {
  display: grid; grid-template-columns: 64px 1.3fr 1fr 120px 40px; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 36px) 0; position: relative;
}
.venture__link::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--fg);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: -1;
}
.venture__num { font-family: var(--mono); font-size: 12px; color: var(--muted); transition: color 0.3s; }
.venture__name {
  font-family: var(--serif); font-size: clamp(36px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease);
}
.venture__role { color: var(--fg-2); font-size: 15px; line-height: 1.45; transition: color 0.3s; }
.venture__year { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-align: right; transition: color 0.3s; }
.venture__arrow { justify-self: end; transition: transform 0.4s var(--ease); }
.venture__desc {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease);
}
.venture__desc > div { overflow: hidden; }
.venture__desc p {
  margin: 0; padding: 0 0 32px calc(64px + 24px); max-width: 74ch; color: var(--fg-2);
}
.venture.is-open .venture__desc { grid-template-rows: 1fr; }

@media (hover: hover) and (min-width: 861px) {
  .venture__link:hover { color: var(--bg); }
  .venture__link:hover::before { transform: scaleY(1); transform-origin: top; }
  .venture__link:hover .venture__num,
  .venture__link:hover .venture__role,
  .venture__link:hover .venture__year { color: #333; }
  .venture__link:hover .venture__name { transform: translateX(12px); }
  .venture__link:hover .venture__arrow { transform: rotate(-45deg); }
}

.venture-preview {
  position: fixed; top: 0; left: 0; z-index: 40; width: 300px; aspect-ratio: 4/3; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.venture-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.venture-preview__domain { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.venture-preview__stat { font-family: var(--serif); font-size: 44px; line-height: 1; margin: 10px 0 6px; }
.venture-preview__note { font-size: 13px; color: var(--fg-2); }

@media (max-width: 860px) {
  .venture__link { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .venture__num { display: none; }
  .venture__name { grid-column: 1; }
  .venture__arrow { grid-column: 2; grid-row: 1; }
  .venture__role { grid-column: 1 / -1; }
  .venture__year { display: none; }
  .venture__desc { grid-template-rows: 1fr; }
  .venture__desc p { padding: 0 0 28px; font-size: 15px; }
  .venture-preview { display: none; }
}

/* ==========================================================================
   Big quote
   ========================================================================== */
.bigquote { text-align: center; }
.bigquote blockquote { margin: 0 auto; }
.bigquote p {
  font-family: var(--serif); font-size: clamp(44px, 7.4vw, 120px); line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 auto; max-width: 15ch; text-wrap: balance;
}
.bigquote p em { color: var(--muted); }
.bigquote cite { display: block; margin-top: 32px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Word reveal */
.reveal-words .w { display: inline-block; opacity: 0.14; transition: opacity 0.6s var(--ease); }
.reveal-words .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal-words .w { opacity: 1; } }

/* ==========================================================================
   Press features
   ========================================================================== */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature {
  background: var(--bg); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; min-height: 420px;
  transition: background 0.4s var(--ease);
}
.feature:hover { background: var(--bg-2); }
.feature__src { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.feature__title { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.feature__body { color: var(--fg-2); margin: 0; flex: 1; }
.feature .arrow-link { margin-top: auto; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } .feature { min-height: 0; } }

/* ==========================================================================
   Videos
   ========================================================================== */
.videos { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 24px); }
.video { grid-column: span 4; }
.video:not(.video--lg) .video__title { font-size: 15px; }
.video--lg { grid-column: span 12; }
.video__frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); width: 100%; display: block;
}
.video__btn { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.video__frame img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.8);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.video__frame:hover img { filter: grayscale(0) brightness(0.9); transform: scale(1.03); }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--fg); color: var(--bg);
  display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease);
}
.video__frame:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__meta { display: flex; justify-content: space-between; gap: 24px; padding-top: 16px; }
.video__title { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.35; max-width: 52ch; }
.video__idx { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .video { grid-column: span 12; } }

/* ==========================================================================
   Writing
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.6s var(--ease), transform 0.8s var(--ease); }
.post-card:hover .post-card__img img { filter: grayscale(0); transform: scale(1.04); }
.post-card__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
.post-card__ex { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* Writing list (blog index) */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-row a {
  display: grid; grid-template-columns: 140px 1fr 160px; gap: 32px; align-items: center;
  padding: clamp(20px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line);
}
.post-row__date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.post-row__title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.015em; margin: 0; transition: transform 0.5s var(--ease); }
.post-row__ex { color: var(--muted); font-size: 15px; margin: 6px 0 0; font-family: var(--sans); letter-spacing: 0; }
.post-row__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.5s var(--ease); }
.post-row a:hover .post-row__title { transform: translateX(10px); }
.post-row a:hover .post-row__img img { filter: none; }
@media (max-width: 760px) {
  .post-row a { grid-template-columns: 1fr 88px; gap: 8px 20px; }
  .post-row__date { grid-column: 1; grid-row: 1; }
  .post-row__img { grid-column: 2; grid-row: 1 / span 2; }
  .post-row__body { grid-column: 1; }
}

/* ==========================================================================
   Speaking band
   ========================================================================== */
.speak {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.speak__img { aspect-ratio: 5/4; overflow: hidden; background: var(--bg-3); }
.speak__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: grayscale(1) contrast(1.05); }
.speak__formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.speak p { color: var(--fg-2); margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .speak { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { text-align: left; border-top: 1px solid var(--line); }
.cta__kicker { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--muted); max-width: 30ch; margin: 0 0 clamp(24px, 3vw, 40px); }
.cta__big {
  display: block; font-weight: 600; text-transform: uppercase; letter-spacing: -0.055em;
  font-size: clamp(52px, 12.4vw, 190px); line-height: 0.86;
  position: relative; width: fit-content;
}
.cta__big .arrow-svg { display: inline-block; width: 0.55em; height: 0.55em; vertical-align: 0.08em; margin-left: 0.08em; transition: transform 0.5s var(--ease); }
.cta__big:hover .arrow-svg { transform: rotate(45deg); }
.cta__big::after {
  content: ""; position: absolute; left: 0; bottom: -0.04em; height: 0.035em; width: 100%; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.cta__big:hover::after { transform: scaleX(1); }
.cta__row { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); }
.cta__row a { color: var(--fg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 400; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--fg-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }
.newsletter p { color: var(--fg-2); margin: 0 0 20px; max-width: 36ch; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.field-inline { display: flex; border-bottom: 1px solid var(--line-strong); max-width: 420px; }
.field-inline input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--fg); font: inherit; padding: 14px 0; outline: none;
}
.field-inline input::placeholder { color: var(--dim); }
.field-inline button { padding: 0 4px 0 16px; font-weight: 500; }
.field-inline:focus-within { border-color: var(--fg); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 1.4em; }
.footer-bottom {
  margin-top: clamp(56px, 8vw, 96px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer-word {
  font-weight: 600; text-transform: uppercase; letter-spacing: -0.055em; line-height: 0.8;
  font-size: clamp(40px, 14.6vw, 212px); color: var(--bg-3); margin-top: clamp(40px, 6vw, 72px);
  white-space: nowrap; user-select: none; display: flex; justify-content: space-between;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-head { padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 10vw, 168px); line-height: 0.9; letter-spacing: -0.03em; margin: 20px 0 0;
}
.page-title em { color: var(--muted); }
.page-sub { margin: 28px 0 0; color: var(--fg-2); max-width: 54ch; font-size: clamp(17px, 1.4vw, 20px); }

/* ==========================================================================
   About
   ========================================================================== */
.about-hero { aspect-ratio: 21/10; overflow: hidden; background: var(--bg-3); margin-top: clamp(32px, 5vw, 64px); }
.about-hero img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 30%; filter: grayscale(1); }
@media (max-width: 700px) { .about-hero { aspect-ratio: 4/3; } }

.prose-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.prose-grid h2 { margin: 0; }
.prose-lg { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--fg-2); }
.prose-lg p { margin: 0 0 1em; }
.prose-lg strong { color: var(--fg); font-weight: 500; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr 1.4fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline__when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.timeline__what { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.timeline__detail { color: var(--fg-2); font-size: 15px; }
@media (max-width: 760px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

.press-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.press-wall div { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 48px); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); color: var(--fg-2); text-align: center; }
@media (max-width: 600px) { .press-wall { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Article
   ========================================================================== */
.article-head { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(32px, 5vw, 56px); }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--fg); }
.article-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 108px); line-height: 0.95; letter-spacing: -0.025em; margin: 24px 0 0; max-width: 18ch; }
.article-dek { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: clamp(22px, 2.2vw, 30px); margin: 20px 0 0; }
.article-meta { margin-top: 32px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.article-meta .avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.article-meta .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; filter: grayscale(1); }
.article-meta strong { color: var(--fg); font-weight: 500; }
.article-cover { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.prose { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: var(--fg-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--fg); letter-spacing: -0.01em; line-height: 1.1; margin: 2em 0 0.4em; }
.prose h2 { font-size: clamp(32px, 3vw, 42px); }
.prose h3 { font-size: clamp(26px, 2.4vw, 34px); }
.prose h4 { font-size: 26px; }
.prose b, .prose strong { color: var(--fg); font-weight: 600; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 1px solid var(--fg); font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--fg); }
.prose blockquote b, .prose blockquote strong { font-weight: 400; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.share { max-width: 680px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.share__links { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s, color 0.3s; }
.icon-btn:hover { background: var(--fg); color: var(--bg); }
.icon-btn svg { width: 18px; height: 18px; }

.next-post { display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0; }
.next-post__title { font-family: var(--serif); font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.02em; margin: 16px 0 0; transition: transform 0.5s var(--ease); }
.next-post:hover .next-post__title { transform: translateX(16px); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); }
.contact-aside dl { margin: 0; display: grid; gap: 28px; }
.contact-aside dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-aside dd { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--fg);
  font: inherit; font-size: 19px; padding: 10px 0 12px; outline: none; border-radius: 0; transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--fg); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fg); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-status { color: var(--fg-2); font-size: 15px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.notfound__num { font-weight: 600; font-size: clamp(120px, 30vw, 420px); line-height: 0.8; letter-spacing: -0.06em; }
