/* Navant — a clean, editorial portfolio for static hosting */
:root {
  --bg: #fff; --surface: #f5f5f7; --surface-strong: #ededf0;
  --text: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.11);
  --accent: #06c; --accent-hover: #0077ed; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; max-width: none; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2)); background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.brand { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--text); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: -.03em; transition: transform .2s; }
.brand:hover { transform: scale(1.05); }
.site-nav { display: flex; gap: 2rem; color: #424245; font-size: .78rem; }
.site-nav a:hover, .site-nav a.active { color: #000; }
.menu-button { display: none; }
.section { max-width: var(--max); margin: 0 auto; padding: 7.5rem 1.5rem; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; margin: 0 0 1.2rem; }
h1, h2, h3 { margin-top: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; line-height: 1.07; letter-spacing: -.045em; }
h1 { font-size: clamp(4rem, 9vw, 7.8rem); margin-bottom: 1.6rem; font-weight: 700; }
h2 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
h3 { font-size: 1.25rem; }
.hero-text { max-width: 760px; color: var(--muted); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.4; letter-spacing: -.018em; }
.editorial-hero { padding-top: 10rem; }
.editorial-hero .hero-copy { max-width: 1030px; margin-bottom: 6rem; }
.featured-story { min-height: 540px; display: grid; grid-template-columns: .5fr 1.5fr; gap: 3rem; padding: 4rem; border-radius: 32px; background: linear-gradient(145deg, #f5f5f7 0%, #e9eff8 100%); overflow: hidden; position: relative; transition: transform .35s ease; }
.featured-story::after { content: ""; position: absolute; width: 420px; height: 420px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(0,102,204,.17), rgba(0,102,204,0) 70%); }
.featured-story:hover { transform: scale(1.008); }
.story-meta { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.featured-story > div:last-child { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.featured-story h2 { max-width: 800px; font-size: clamp(2.8rem, 5.6vw, 5.4rem); margin-bottom: 1.5rem; }
.featured-story p { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.text-link { color: var(--accent); font-size: .92rem; font-weight: 500; margin-top: 1rem; }
.text-link b { display: inline-block; margin-left: .2rem; transition: transform .2s; }
.text-link:hover, .medium-profile-link:hover { color: var(--accent-hover); }
.text-link:hover b, .featured-story:hover .text-link b { transform: translateX(4px); }
.section-heading { max-width: 860px; margin-bottom: 4rem; }
.section-heading.compact { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: end; }
.section-heading.compact h2 { margin-bottom: 0; }
.section-heading.compact > p { color: var(--muted); max-width: 470px; font-size: 1.06rem; }
.medium-section { border-top: 1px solid var(--line); }
.medium-grid { display: grid; gap: 1rem; }
.medium-card { display: grid; grid-template-columns: 100px 1fr; min-height: 300px; padding: 2.5rem; background: var(--surface); border-radius: 28px; transition: transform .25s, background .25s; }
.medium-card:hover { transform: translateY(-3px); background: #f0f0f2; }
.medium-number { color: #a1a1a6; font-size: .8rem; }
.medium-card > div { max-width: 780px; align-self: end; }
.medium-card h3 { margin: .8rem 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.medium-card p:not(.article-kicker) { color: var(--muted); font-size: 1.02rem; }
.medium-profile-link { display: flex; justify-content: space-between; margin-top: 1.5rem; padding: 1.3rem 0; color: var(--accent); border-bottom: 1px solid var(--line); }
.articles-section { border-top: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.article-card { min-height: 380px; display: flex; flex-direction: column; padding: 2.5rem; border-radius: 28px; background: var(--surface); transition: transform .25s, background .25s; }
.article-card:hover { transform: translateY(-3px); background: #f0f0f2; }
.article-kicker { display: flex; justify-content: space-between; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; }
p.article-kicker { display: block; }
.article-card h3 { max-width: 470px; margin: 5rem 0 1rem; font-size: clamp(1.85rem, 3.2vw, 2.7rem); }
.article-card p { color: var(--muted); max-width: 480px; }
.article-card .text-link { margin-top: auto; }
.profile-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; border-top: 1px solid var(--line); }
.profile-promo h2 { margin-bottom: 0; }
.profile-promo > div:last-child p { color: var(--muted); font-size: 1.14rem; margin: 0 0 2rem; }
.button { display: inline-block; padding: .75rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; transition: background .2s, color .2s; }
.button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary:hover { border-color: var(--text); }
.profile-hero { min-height: 90vh; display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: center; }
.profile-hero h1 { font-size: clamp(3.7rem, 7vw, 6.8rem); }
.hero-actions { display: flex; gap: .85rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-card { padding: 2.5rem; border-radius: 28px; background: var(--surface); }
.avatar { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: #fff; font-weight: 700; font-size: 1.5rem; margin-bottom: 2rem; }
.hero-card-name { font-size: 1.1rem; color: var(--text) !important; font-weight: 700; }
.hero-card p { color: var(--muted); margin: .25rem 0; }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.signal-grid div { padding-top: 1rem; border-top: 1px solid var(--line); }
.signal-grid strong { font-size: 1.5rem; display: block; }
.signal-grid span { font-size: .75rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; border-top: 1px solid var(--line); }
.prose { color: var(--muted); font-size: 1.15rem; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 2.3rem 0; border-bottom: 1px solid var(--line); }
.timeline-item > span { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.timeline-item h3 { margin-bottom: .45rem; font-size: 1.4rem; }
.timeline-item p { margin: 0; color: var(--muted); max-width: 760px; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.focus-card { min-height: 280px; padding: 2.5rem; border-radius: 28px; background: var(--surface); }
.focus-card > span { color: var(--muted); font-size: .74rem; }
.focus-card h3 { margin-top: 4.5rem; font-size: 1.65rem; }
.focus-card p { color: var(--muted); }
.patent-section { border-top: 1px solid var(--line); }
.patent { display: grid; grid-template-columns: 90px 1fr 180px; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.patent span, .patent p { color: var(--muted); font-size: .82rem; }
.patent h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.02em; }
.patent p { margin: 0; text-align: right; }
.quote-section { max-width: none; padding-left: max(1.5rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--surface); text-align: center; }
blockquote { max-width: 940px; margin: 0 auto; font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 600; line-height: 1.14; letter-spacing: -.045em; }
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; border-top: 1px solid var(--line); }
.contact-links { display: flex; flex-direction: column; }
.contact-links a { display: flex; justify-content: space-between; padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--accent); }
.article-page { max-width: 920px; padding-top: 9rem; }
.article-header { padding-bottom: 5rem; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(3.7rem, 7vw, 6.5rem); }
.back-link { display: inline-block; color: var(--accent); margin-bottom: 4rem; font-size: .88rem; }
.article-standfirst { max-width: 780px; color: var(--muted); font-size: clamp(1.2rem, 2.3vw, 1.55rem); }
.article-byline { display: flex; align-items: center; gap: .8rem; margin-top: 2.5rem; font-size: .84rem; }
.article-byline small { color: var(--muted); }
.mini-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 700; }
.article-body { max-width: 720px; margin: 0 auto; padding: 5rem 0; }
.article-body section { margin: 0 0 4.5rem; }
.article-body h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 1.5rem; }
.article-body p { color: #424245; font-size: 1.1rem; line-height: 1.82; }
.next-read { max-width: 920px; border-top: 1px solid var(--line); }
.next-read h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
footer { max-width: var(--max); margin: 0 auto; padding: 2rem 1.5rem 3rem; display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); }
footer div { display: flex; gap: 1.5rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 800px) {
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .editorial-hero { padding-top: 6.5rem; }
  .editorial-hero .hero-copy { margin-bottom: 4rem; }
  .featured-story { min-height: 520px; grid-template-columns: 1fr; padding: 2.2rem; border-radius: 24px; }
  .story-meta { flex-direction: row; }
  .section-heading.compact, .profile-promo, .profile-hero, .split, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .medium-card { grid-template-columns: 1fr; gap: 3rem; padding: 2rem; border-radius: 22px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 340px; border-radius: 22px; }
  .profile-hero { padding-top: 5rem; min-height: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .patent { grid-template-columns: 65px 1fr; }
  .patent p { grid-column: 2; text-align: left; }
  .menu-button { display: block; background: none; border: 0; color: var(--text); padding: .55rem 0; font-size: .8rem; }
  .site-nav { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 1.2rem; padding: 1.5rem; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav.open { display: flex; }
  .timeline-item { grid-template-columns: 1fr; gap: .5rem; }
  footer { flex-direction: column; }
}
