/* Iman Abrishamchi — site styles. Visual language follows Apple's Human Interface conventions:
   system typography, generous whitespace, quiet surfaces, one accent blue, pill buttons. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --dark: #000000;
  --dark-2: #1d1d1f;
  --on-dark: #f5f5f7;
  --on-dark-muted: #a1a1a6;
  --nav-bg: rgba(255, 255, 255, .72);
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101010;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #424245;
    --accent: #0071e3;
    --link: #2997ff;
    --dark: #1d1d1f;
    --dark-2: #2c2c2e;
    --nav-bg: rgba(22, 22, 23, .72);
    --shadow: 0 0 0 1px rgba(255,255,255,.06);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 980px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }

/* ---------- TimeCoach mark (used everywhere, takes the current text color) ---------- */
.mark {
  display: inline-block; width: 13px; height: 28px; flex: none;
  background: currentColor;
  -webkit-mask: url(assets/logos/timecoach-mark.png) center / contain no-repeat;
          mask: url(assets/logos/timecoach-mark.png) center / contain no-repeat;
}
.mark--sm { width: 9px; height: 19px; }
.mark--lg { width: 22px; height: 46px; }
.mark--white { color: #fff; }

/* generic mask icon */
.ico, .logo__img, .cred-group__logo, .video__ted {
  display: inline-block; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
}
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 400; letter-spacing: -.01em;
  padding: 11px 22px; border-radius: 980px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--sm { font-size: 12px; padding: 5px 12px; }
.btn[disabled] { opacity: .5; cursor: progress; }

.link-arrow { font-size: 17px; color: var(--link); display: inline-flex; align-items: center; gap: 2px; }
.link-arrow::after { content: "›"; font-size: 1.15em; line-height: 1; margin-left: 4px; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow--light { color: #2997ff; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(0,0,0,.08); }
@media (prefers-color-scheme: dark) { .nav.is-scrolled { border-bottom-color: rgba(255,255,255,.1); } }
.nav__inner { width: min(1080px, 100% - 44px); margin-inline: auto; height: 52px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 11px; height: 23px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--text); opacity: .8; font-size: 12px; letter-spacing: -.01em; transition: opacity .2s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; text-decoration: none; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; color: var(--text); }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { padding: 8px 22px 22px; }
.menu a { display: block; color: var(--text); font-size: 24px; font-weight: 600; padding: 9px 0; border-bottom: 1px solid var(--line); }
.menu a:last-child { border: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 84px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--muted); margin-top: 22px; max-width: 30ch; letter-spacing: -.02em; }
.hero__badges { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badges li { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 980px; padding: 5px 12px; }
.hero__photo { margin: 0; position: relative; max-width: 440px; justify-self: end; width: 100%; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--bg-alt); }
.hero__tag {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.75); color: #1d1d1f;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  font-size: 13px; font-weight: 500; padding: 8px 14px 8px 12px; border-radius: 980px;
}

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.kicker { font-size: 17px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.kicker--light { color: #2997ff; }
h2 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; }
.section__sub { font-size: 21px; color: var(--muted); margin-top: 16px; line-height: 1.4; }
.fine { font-size: 12px; color: var(--muted); margin-top: 28px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px clamp(32px, 6vw, 80px); }
.about__body p { font-size: 21px; line-height: 1.48; color: var(--muted); letter-spacing: -.018em; }
.about__body p + p { margin-top: 18px; }
.about__body p:first-child { color: var(--text); }
.pull { grid-column: 1 / -1; margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(32px, 5vw, 56px); background: var(--bg-alt); border-radius: var(--radius-lg); }
.pull p { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.18; font-weight: 600; letter-spacing: -.028em; max-width: 26ch; }
.pull cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); font-size: 14px; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); padding: 30px 26px 34px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__num { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Logos */
.group-title { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: none; margin: 0 0 16px; letter-spacing: -.01em; }
.group-title ~ .group-title { margin-top: 44px; }
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.logo {
  display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; min-height: 172px;
  transition: border-color .3s, transform .4s var(--ease);
}
.logo:hover { border-color: var(--muted); transform: translateY(-2px); }
.logo__img { color: var(--text); max-width: 100%; flex: none; }
.logos .logo { justify-content: flex-start; }
.logo__img, .logo__word { align-self: flex-start; }
.logo__img--sm { height: 34px; width: calc(34px * var(--ar, 1)); margin-top: 9px; }
.logo__word { font-size: 22px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; line-height: 66px; margin-bottom: 0; }
.logo__word--serif { font-family: "Didot", "Bodoni 72", "Times New Roman", serif; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; font-size: 21px; }
.logo__word--mono { letter-spacing: .14em; font-weight: 600; font-size: 19px; }
.logo__name { font-size: 15px; font-weight: 600; margin-top: 22px; }
.logo__role { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.35; }

/* Ventures */
.venture { border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.venture h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.028em; font-weight: 700; margin: 6px 0 16px; }
.venture p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.venture .btn, .venture .link-arrow { margin-top: 26px; }
.venture__eyebrow { font-size: 14px !important; font-weight: 600; color: var(--muted); }
.venture--tc { background: var(--surface); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.venture__logo { width: 44px; height: auto; margin-bottom: 26px; }
@media (prefers-color-scheme: dark) { .venture__logo { filter: invert(1); } }
.programs { list-style: none; margin: 0; padding: 0; }
.programs li { padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.programs li:last-child { border-bottom: 1px solid var(--line); }
.programs strong { font-size: 19px; font-weight: 600; }
.programs span { color: var(--muted); font-size: 14px; }
.venture-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.venture--dark { background: #000; color: #f5f5f7; min-height: 440px; }
.venture--dark p { color: #a1a1a6; }
.venture--dark .venture__eyebrow { color: #a1a1a6; }
.venture__ghost { position: absolute; right: -20px; bottom: -40px; width: 150px; height: 315px; color: #fff; opacity: .08; }
.venture--within { background: linear-gradient(160deg, #fbf7f1 0%, #f1e6d6 100%); color: #1d1d1f; min-height: 440px; }
.venture--within p, .venture--within .venture__eyebrow { color: #6b5f50; }
.venture--within .link-arrow { color: #0066cc; }
@media (prefers-color-scheme: dark) { .venture--dark { box-shadow: inset 0 0 0 1px #2c2c2e; } }

/* Credentials */
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 80px); align-items: start; }
.creds .section__head { margin-bottom: 0; position: sticky; top: 90px; }
.creds .cta-row { gap: 14px 22px; }
.cred-group { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 28px 14px; }
.cred-group + .cred-group { margin-top: 16px; }
.cred-group__logo { color: var(--text); width: 104px; height: 33px; margin-bottom: 10px; }
.cred-group__label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.cred-group ul { list-style: none; margin: 0; padding: 0; }
.cred-group li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.cred-group li b { color: var(--text); font-weight: 600; }

/* Ideas rail */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 80vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(22px, calc((100vw - 1080px) / 2)) 30px;
  scroll-padding-inline: max(22px, calc((100vw - 1080px) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.idea { scroll-snap-align: start; background: var(--surface); border-radius: var(--radius-lg); padding: 30px 28px; min-height: 380px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.idea__tag { font-size: 12px; font-weight: 600; color: var(--muted); }
.idea h3 { font-size: 28px; line-height: 1.12; letter-spacing: -.026em; font-weight: 700; margin-top: 14px; }
.idea p { margin-top: auto; color: var(--muted); font-size: 15px; padding-top: 24px; }
.idea--dark { background: #000; color: #f5f5f7; }
.idea--dark .idea__tag, .idea--dark p { color: #a1a1a6; }
.idea--accent { background: linear-gradient(150deg, #0071e3, #5e5ce6); color: #fff; }
.idea--accent .idea__tag, .idea--accent p { color: rgba(255,255,255,.8); }

/* Talks & podcast */
.media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.video { border-radius: var(--radius-lg); overflow: hidden; background: #111; aspect-ratio: 16 / 10; position: relative; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__facade {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; text-align: left; color: #fff; font: inherit;
  background: radial-gradient(120% 90% at 85% 10%, #3a0b0b 0%, #120404 45%, #000 100%);
  padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column;
}
.video__ted { color: #e62b1e; width: 64px; height: 24px; vertical-align: middle; }
.video__x { color: #e62b1e; font-weight: 700; font-size: 30px; line-height: 1; margin-left: 2px; vertical-align: middle; }
.video__event { color: #fff; font-size: 22px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.video__brand { display: flex; align-items: baseline; gap: 2px; }
.video__brand .video__ted { align-self: center; }
.video__title { margin-top: auto; font-size: clamp(26px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; max-width: 14ch; }
.video__play { position: absolute; right: clamp(24px, 4vw, 44px); bottom: clamp(24px, 4vw, 44px); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--ease), background .3s; }
.video__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 17px solid #fff; border-block: 11px solid transparent; }
.video__facade:hover .video__play { transform: scale(1.08); background: rgba(255,255,255,.28); }
.video__facade { line-height: 1.2; }

.pod { background: var(--dark-2); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; }
.pod__art { width: 76px; height: 76px; border-radius: 18px; background: linear-gradient(145deg, #f55b23, #c2185b); display: grid; place-items: center; margin-bottom: 24px; }
.pod__art .mark { width: 16px; height: 34px; }
.pod__fa { font-size: 15px; color: var(--on-dark-muted); margin-bottom: 4px; font-family: "Vazirmatn", "Tahoma", var(--font); }
.pod h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.024em; }
.pod > p:not(.pod__fa) { color: var(--on-dark-muted); font-size: 15px; margin-top: 12px; }
.btn--castbox { background: #f55b23; margin-top: auto; }
.pod .btn--castbox { margin-top: 28px; }
.btn--castbox:hover { background: #ff6a33; }
.pod__alt { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.pod__alt a { color: var(--on-dark-muted); font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.pod__alt a:hover { color: #fff; text-decoration: none; }
.pod__alt .ico { width: 15px; height: 15px; }

.talks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.talks a { display: flex; flex-direction: column; gap: 8px; height: 100%; background: var(--dark-2); border-radius: var(--radius); padding: 22px; color: #f5f5f7; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; transition: background .3s; }
.talks a:hover { background: #2c2c2e; text-decoration: none; }
.talks span { font-size: 12px; font-weight: 600; color: #2997ff; letter-spacing: 0; }

/* Articles */
.articles { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.articles li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 19px; letter-spacing: -.02em; }
.articles time { color: var(--muted); font-size: 15px; padding-top: 3px; font-variant-numeric: tabular-nums; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro p:not(.kicker) { font-size: 21px; color: var(--muted); margin-top: 18px; line-height: 1.45; }
.contact__mark { width: 40px; height: 84px; color: var(--line); margin-top: 48px; }
.form { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.opt { font-weight: 400; opacity: .7; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--text); background: var(--bg-alt);
  border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s; -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% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.18); background: var(--surface); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e30000; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__status { font-size: 15px; color: var(--muted); }
.form__status.ok { color: #1d8f3a; }
.form__status.err { color: #e30000; }

/* Footer */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 48px 0 24px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.footer__brand:hover { text-decoration: none; }
.footer__brand strong { display: block; font-size: 17px; font-weight: 600; }
.footer__brand small { font-size: 13px; color: var(--muted); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: var(--surface); transition: transform .3s var(--ease); }
.footer__social a:hover { transform: translateY(-2px); }
.footer__social .ico { width: 17px; height: 17px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.footer__cols h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer__cols a { display: block; color: var(--muted); padding: 4px 0; }
.footer__cols a:hover { color: var(--text); }
.footer__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.footer__tc { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .logo, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .nav__links { gap: 18px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .talks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 833px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__grid, .about, .venture--tc, .venture-pair, .creds, .media, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { max-width: 460px; }
  .creds .section__head { position: static; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .venture--dark, .venture--within { min-height: 0; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .contact__mark { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .nav__inner { width: calc(100% - 32px); }
  .cards--4, .talks { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  h2 { font-size: 34px; }
  .hero__photo { max-width: none; }
  .articles li { grid-template-columns: 1fr; gap: 4px; font-size: 17px; }
  .cred-group li { grid-template-columns: 82px 1fr; }
  .about__body p, .section__sub, .contact__intro p:not(.kicker) { font-size: 19px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo__name { overflow-wrap: anywhere; }
  .logo { min-height: 150px; padding: 18px 16px; }
  .logo__img { zoom: .8; }
  .logo__word { font-size: 20px; line-height: 40px; }
  .rail { padding-inline: 16px; scroll-padding-inline: 16px; }
}

/* ---------- Journal ---------- */
.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jcard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); padding: 28px 26px; min-height: 300px; color: var(--text); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.jcard:hover { transform: translateY(-4px); text-decoration: none; }
.jcard__tag { font-size: 12px; font-weight: 600; color: var(--accent); }
.jcard h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.024em; font-weight: 700; margin-top: 12px; }
.jcard p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.jcard time { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--muted); }
.jgrid__empty { color: var(--muted); }
.journal-more { margin-top: 30px; }
.journal-hero { padding-bottom: 40px; }
.journal-title { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; max-width: 16ch; }
.journal-list { padding-top: 60px; }

.post { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 120px); }
.post__wrap { max-width: 720px; }
.post__draft { background: #fff4d6; color: #6b4e00; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 24px; }
.link-back { font-size: 15px; display: inline-flex; gap: 4px; margin-bottom: 28px; }
.link-back::before { content: "‹"; }
.post__tag { font-size: 15px; font-weight: 600; color: var(--accent); }
.post h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.07; letter-spacing: -.032em; font-weight: 700; margin-top: 8px; }
.post__lede { font-size: 22px; line-height: 1.4; color: var(--muted); margin-top: 18px; letter-spacing: -.02em; }
.post__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 26px 0 40px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.post__body { font-size: 19px; line-height: 1.6; letter-spacing: -.012em; }
.post__body p { margin: 0 0 1.1em; }
.post__body h2 { font-size: 28px; letter-spacing: -.024em; margin: 1.8em 0 .6em; }
.post__body h3 { font-size: 22px; margin: 1.5em 0 .5em; }
.post__body ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.post__body .q { margin: 0 0 14px; padding: 18px 22px; background: var(--bg-alt); border-radius: 16px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.post__sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post__sources h2 { font-size: 17px; margin-bottom: 10px; }
.post__sources ol { padding-left: 1.2em; margin: 0; color: var(--muted); font-size: 14px; }
.post__sources li { margin: 6px 0; }
.post__cta { margin-top: 48px; padding: 32px; background: var(--bg-alt); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.post__cta p { width: 100%; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 833px) { .jgrid { grid-template-columns: minmax(0, 1fr); } .jcard { min-height: 0; } }
