/* Landing page — layout tokens follow talk.css; palette tuned after holamago.com */
:root {
  --bg: #f9fafa; --paper: #ffffff; --ink: #0c0c0d; --ink-2: #26262a; --muted: #636369; --faint: #a1a1aa;
  --line: #e2e2e4; --accent: #f26d0f; --accent-2: #ff9f40; --accent-soft: #fff1e6;
  --hero-bg: #0c0c0d; --hero-ink: #f9fafa; --hero-muted: #a1a1aa; --hero-line: rgba(255,255,255,.12);
  --pad: clamp(16px, 5vw, 96px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f11; --paper: #18181b; --ink: #f4f4f5; --ink-2: #e4e4e7; --muted: #a1a1aa; --faint: #71717a;
    --line: #2a2a2f; --accent-soft: #2a1a0e; --hero-bg: #050506;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f11; --paper: #18181b; --ink: #f4f4f5; --ink-2: #e4e4e7; --muted: #a1a1aa; --faint: #71717a;
  --line: #2a2a2f; --accent-soft: #2a1a0e; --hero-bg: #050506;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 "Pretendard", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.serif { font-family: "Crimson Pro", "Pretendard", Georgia, serif; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
section { padding: clamp(72px, 10vw, 140px) var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { font-family: "Crimson Pro", "Pretendard", serif; font-weight: 500; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; margin: 10px 0 0; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); font-weight: 300; margin: 0; max-width: 460px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad);
  color: var(--hero-ink); transition: background .25s, color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); color: var(--ink); border-bottom-color: var(--line); }
.nav .logo { font-family: "Crimson Pro", serif; font-size: 24px; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.nav .logo b { color: var(--accent); font-weight: 600; }
.nav .links { margin-left: auto; display: flex; gap: 28px; font-size: 15px; }
.nav .links a { text-decoration: none; opacity: .8; } .nav .links a:hover { opacity: 1; }
.nav button { background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; width: 34px; height: 34px; cursor: pointer; opacity: .7; }
@media (max-width: 640px) { .nav .links { gap: 16px; font-size: 14px; } .nav .links a.hide-sm { display: none; } }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--hero-bg); color: var(--hero-ink); overflow: hidden;
  display: grid; align-content: end; padding: 140px var(--pad) clamp(48px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: auto -20% -45% 30%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242,109,15,.55), rgba(255,159,64,.18) 55%, transparent 75%); filter: blur(20px); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero h1 { font-family: "Crimson Pro", serif; font-weight: 400; font-size: clamp(56px, 10vw, 168px); line-height: .95; letter-spacing: -.02em; margin: 18px 0 0; }
.hero h1 em { font-style: italic; color: var(--accent-2); }
.hero .lede { font-weight: 300; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; color: #d4d4d8; margin: 0 0 28px; }
.hero .chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hero-line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--hero-muted); }
.hero .chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #ff7d22; }
.btn.ghost { border: 1px solid var(--hero-line); color: var(--hero-ink); }
.btn.dark { background: var(--ink); color: var(--bg); }
.hero .scroll { position: absolute; right: var(--pad); bottom: 28px; font-size: 12px; letter-spacing: .2em; color: var(--hero-muted); writing-mode: vertical-rl; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 28px; } .hero .scroll { display: none; } }

/* featured */
.featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.feature-card { position: relative; border-radius: 28px; padding: clamp(28px, 4vw, 56px); background: var(--hero-bg); color: var(--hero-ink);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; }
.feature-card::after { content: ""; position: absolute; inset: 40% -30% -40% 20%; background: radial-gradient(closest-side, rgba(242,109,15,.45), transparent 70%); }
.feature-card > * { position: relative; z-index: 1; }
.feature-card h3 { font-family: "Crimson Pro", "Pretendard", serif; font-weight: 500; font-size: clamp(34px, 4vw, 56px); line-height: 1.1; margin: 14px 0 12px; }
.feature-card p { color: #d4d4d8; font-weight: 300; margin: 0; }
.feature-card .go { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; color: var(--accent-2); font-weight: 500; }
.feature-card:hover .go span { transform: translateX(4px); } .feature-card .go span { transition: transform .15s; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.stat { background: var(--paper); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stat b { font-family: "Crimson Pro", serif; font-weight: 500; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.stat b small { font-size: .45em; color: var(--accent); margin-left: 4px; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } .feature-card { min-height: 360px; } }

/* themes (numbered list) */
.themes-wrap { background: var(--paper); border-block: 1px solid var(--line); }
.themes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.themes li a { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: clamp(22px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s, color .2s; }
.themes li a:hover { padding-left: 12px; color: var(--accent); }
.themes .no { font-family: "Crimson Pro", serif; font-size: 22px; color: var(--faint); }
.themes .t { font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.themes .t small { display: block; font-size: 15px; font-weight: 300; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.themes .arrow { font-size: 24px; color: var(--faint); }
@media (max-width: 640px) { .themes li a { grid-template-columns: 48px minmax(0, 1fr); } .themes .arrow { display: none; } }

/* talks grid */
.talk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.talk-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; min-height: 260px; transition: border-color .2s, transform .2s; }
.talk-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.talk-card .date { font-size: 13px; color: var(--faint); letter-spacing: .04em; }
.talk-card h3 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.talk-card p { margin: 0; color: var(--muted); font-weight: 300; }
.talk-card .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.talk-card .tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.talk-card.soon { border-style: dashed; justify-content: center; align-items: center; text-align: center; color: var(--faint); }
.talk-card.soon:hover { transform: none; border-color: var(--line); }

/* CTA + footer */
.cta { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 30% 10% -60%; background: radial-gradient(closest-side, rgba(242,109,15,.4), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { font-family: "Crimson Pro", serif; font-weight: 400; font-size: clamp(40px, 7vw, 104px); line-height: 1; letter-spacing: -.02em; margin: 16px 0 20px; }
.cta h2 em { color: var(--accent-2); }
.cta p { color: #d4d4d8; font-weight: 300; margin: 0 0 36px; }
.cta .btns { justify-content: center; }
footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--pad); font-size: 14px; color: var(--hero-muted);
  background: var(--hero-bg); border-top: 1px solid var(--hero-line); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
