:root {
  --paper: #f3f0e9;
  --ink: #141414;
  --soft: #8a867d;
  --rule: rgba(20, 20, 20, 0.14);
  --accent: #0891b2;
  --pad: clamp(16px, 4vw, 56px);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; font-weight: 400; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; }

/* Draft gaps for Kerehama to fill */
mark.fill {
  background: rgba(8, 145, 178, 0.1); color: var(--accent);
  border: 1px dashed rgba(8, 145, 178, 0.55); border-radius: 6px; padding: 0 .3em;
  font-family: var(--sans); font-style: normal; position: relative; cursor: help;
}
mark.fill:hover::after, mark.fill:focus::after {
  content: attr(data-note); position: absolute; left: 0; top: calc(100% + 6px); z-index: 5;
  width: max-content; max-width: 260px; padding: 8px 10px; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.4; letter-spacing: 0; text-align: left;
}
.verses mark.fill { color: #67c7d9; border-color: rgba(103, 199, 217, .6); background: rgba(103, 199, 217, .1); }
.verses mark.fill:hover::after { background: var(--paper); color: var(--ink); }

/* Cursor (mouse only) */
.cursor { position: fixed; top: 0; left: 0; z-index: 80; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; display: none; opacity: 0; transition: width .3s, height .3s, margin .3s, opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* Nav: links wrap on phones, never hidden */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; padding: 18px var(--pad); color: #fff; mix-blend-mode: difference; font-size: 15px; }
.brand { font-weight: 500; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav-links a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s; }
.nav-links a:hover { background-size: 100% 1px; }

/* Hero (dark) */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--ink); color: var(--paper); padding: 120px var(--pad) 80px; position: relative; }
.hero .tag { color: rgba(243, 240, 233, .5); }
.hero-title { font-size: clamp(88px, 20vw, 320px); line-height: .86; margin: 18px 0 28px; }
.hero-sub { max-width: 34ch; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.5; color: rgba(243, 240, 233, .72); }
.down { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,240,233,.3); display: grid; place-items: center; color: var(--paper); }
.down svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* 01 Why Jesus: pinned stage */
.why { height: 100vh; height: 100svh; }
.why-stage { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); }
.why-q { font-size: clamp(64px, 12vw, 200px); line-height: .9; letter-spacing: -.05em; font-weight: 500; margin: 14px 0 6vh; }
.why-q em { letter-spacing: -.02em; }
.why-steps { position: relative; width: min(100%, 760px); min-height: 7.5em; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -.02em; }
.step { position: absolute; inset: 0 0 auto; }
.why-dots { display: flex; gap: 10px; margin-top: 4vh; }
.why-dots i { width: 28px; height: 3px; border-radius: 2px; background: var(--rule); transition: background .3s; }
.why-dots i.on { background: var(--accent); }

/* 02 Verses: dark full-screen slides */
.verses { background: var(--ink); color: var(--paper); padding: 18vh var(--pad) 8vh; }
.verses-head { display: flex; align-items: baseline; gap: 18px; }
.verses-head .tag { color: rgba(243, 240, 233, .5); }
.verses-head h2 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.03em; font-weight: 500; }
.vslide { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 8vh 0; }
.vslide blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(38px, 6.4vw, 104px); line-height: 1.04; max-width: 18ch; }
.vslide figcaption { margin-top: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 240, 233, .5); }
.vslide .vwhy { margin-top: 26px; font-size: 17px; line-height: 1.6; max-width: 46ch; color: rgba(243, 240, 233, .75); }
.vwords .w { opacity: .12; }

/* 03 Work: three cards */
.work { padding: 22vh var(--pad) 16vh; }
.work-head { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: baseline; margin-bottom: 7vh; }
.work-head h2 { font-size: clamp(40px, 6vw, 96px); letter-spacing: -.045em; line-height: 1; font-weight: 500; }
.work-head p { grid-column: 2; font-size: clamp(17px, 1.5vw, 20px); color: #3b3a37; max-width: 46ch; line-height: 1.5; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.wcard { background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: clamp(22px, 2.6vw, 34px); min-height: 380px; display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.wcard:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(20,20,20,.35); }
.wcard .big { font-size: clamp(80px, 8vw, 140px); line-height: .8; color: var(--accent); }
.wcard h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.02em; margin: 56px 0 10px; }
.wcard p { font-size: 16px; line-height: 1.55; color: #3b3a37; }
.work-note { margin-top: 28px; font-size: 16px; }

/* 04 Talk: chat */
.talk { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16vh var(--pad) 32px; background: #e9e5dc; }
.chat { width: min(100%, 520px); }
.chat-head { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; }
.chat-head b { display: block; font-weight: 500; }
.online { font-size: 13px; color: var(--soft); display: inline-flex; align-items: center; gap: 6px; }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fa66b; }
.thread { display: flex; flex-direction: column; gap: 8px; min-height: 260px; }
.msg { max-width: 82%; }
.msg span { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.4; }
.msg.in { align-self: flex-start; }
.msg.in span { background: #fff; border-radius: 20px 20px 20px 6px; }
.msg.out { align-self: flex-end; margin-top: 10px; }
.msg.out span { background: var(--ink); color: var(--paper); border-radius: 20px 20px 6px 20px; transition: background .3s; }
.msg.out:hover span { background: var(--accent); }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 14px 16px; background: #fff; border-radius: 20px 20px 20px 6px; }
.typing.on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--soft); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.text-link { display: inline-block; margin-top: 26px; font-size: 15px; border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 12vh; font-size: 15px; color: var(--soft); }
.back:hover { color: var(--ink); }
.foot { margin-top: 16px; font-size: 12px; color: var(--soft); }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .wcard { min-height: 0; }
  .wcard h3 { margin-top: 24px; }
  .work-head { grid-template-columns: 1fr; }
  .work-head p { grid-column: 1; }
  .why-steps { min-height: 9em; }
  mark.fill:hover::after, mark.fill:focus::after { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .down svg, .typing i { animation: none; }
  .vwords .w { opacity: 1; }
  .why { height: auto; }
  .why-stage { padding: 18vh var(--pad); }
  .step { position: static; margin-bottom: 18px; }
}
.step-big { font-size: 1.35em; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.step:not(.step-big) em { display: block; font-size: 1.5em; line-height: 1.1; margin-top: .3em; }
