/* LightCity Church: "Light on stone"
   Type: Newsreader (display, light 300) + Host Grotesk (text, UI)
   Colour: stone grounds, near-black ink, warm light gradients, paper grain */

:root {
  --ground: #e7e3dc;
  --paper: #f3f0eb;
  --deep: #dcd6cc;
  --ink: #1f1d1a;
  --ink-2: #4a453f;
  --ink-3: #5e5850;
  --rule: rgba(31, 29, 26, 0.16);
  --night: #24211e;
  --night-ink: #f2ede5;
  --night-ink-2: #d3cabe;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --text: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: max(6vw, 20px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--text); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-3); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible { outline-color: var(--night-ink); }
h1, h2, h3 { margin: 0; font-weight: 300; font-family: var(--display); letter-spacing: -0.022em; line-height: 1.02; text-wrap: balance; }
p { margin: 0 0 1em; }
.figs { font-variant-numeric: lining-nums tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

/* Surfaces */
.band { padding: clamp(64px, 9vw, 112px) var(--gutter); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.stone { background-color: var(--ground); }
.paper { background-color: var(--paper); }
.deep { background-color: var(--deep); }
.night { background-color: var(--night); color: var(--night-ink); }
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; background: url(img/grain.png) 0 0 / 256px 256px; opacity: 0.6; pointer-events: none; z-index: 0; }
.grain > * { position: relative; z-index: 1; }
.light { background-image: radial-gradient(70% 85% at 90% -5%, rgba(255,242,216,.95), rgba(255,238,210,.5) 38%, rgba(255,238,210,0) 72%), linear-gradient(118deg, rgba(255,255,255,0) 36%, rgba(255,249,236,.6) 44%, rgba(255,255,255,0) 52%, rgba(255,255,255,0) 58%, rgba(255,249,236,.42) 64%, rgba(255,255,255,0) 71%); }
.dusk { background-image: radial-gradient(55% 75% at 10% 115%, rgba(205,150,88,.38), rgba(205,150,88,0) 70%), radial-gradient(45% 60% at 92% -15%, rgba(255,232,196,.14), rgba(0,0,0,0) 70%); }

/* Type scale */
.t-hero { font-size: clamp(42px, 5vw, 68px); line-height: 0.98; }
.t-page { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; }
.t-h2 { font-size: clamp(36px, 4.4vw, 54px); }
.t-h2-lg { font-size: clamp(38px, 5.4vw, 72px); }
.t-h3 { font-size: clamp(26px, 2.6vw, 30px); line-height: 1.1; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
.night .muted, .night .lede { color: var(--night-ink-2); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #f4f1ec; font: 500 16px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: #3a3631; color: #f4f1ec; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: rgba(31,29,26,.06); color: var(--ink); }
.night .btn { background: var(--night-ink); color: var(--night); }
.night .btn-line { background: transparent; color: var(--night-ink); box-shadow: inset 0 0 0 1.5px var(--night-ink); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 500; text-decoration: underline; }

/* Header */
.site-head { padding: 20px 0 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px 18px; text-decoration: none; margin: 0; }
.brand .mark { width: clamp(56px, 7.5vw, 96px); height: auto; }
.brand .word { height: clamp(15px, 1.9vw, 24px); width: auto; }
.inner .brand .mark { width: clamp(48px, 5vw, 64px); }
.inner .brand .word { height: clamp(14px, 1.4vw, 18px); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 500 15px var(--text); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; z-index: 30; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-radius: 12px; padding: 8px; box-shadow: 0 24px 48px -16px rgba(31,29,26,.35); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: 8px; }
  .nav a:hover { background: var(--ground); }
  .nav .btn { margin-top: 6px; min-height: 48px; }
  .site-head .wrap { position: relative; flex-wrap: nowrap; }
  .brand { gap: 10px; }
  .brand .word { height: clamp(12px, 3.6vw, 18px); }
}

/* Hero */
.hero { padding: 0 var(--gutter) clamp(64px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; padding-top: 28px; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.rot { min-height: 1.96em; }
.rot-line { display: inline-block; transition: opacity .45s ease, transform .45s ease; }
.rot-line.out { opacity: 0; transform: translateY(.18em); }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 20px; }
.fact-label { margin: 0 0 2px; font-size: 14px; color: var(--ink-3); }
.fact { margin: 0; font-size: 18px; font-weight: 500; }
a.fact-link { text-decoration: none; }
a.fact-link .fact { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.frame { flex: 1 1 380px; max-width: 470px; min-width: 0; margin: 0; }
.frame-box { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--deep); box-shadow: 0 34px 70px -36px rgba(31,29,26,.5); }
.frame-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.frame-box img.on { opacity: 1; }
.frame-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; }
.frame-foot figcaption { font-size: 14px; color: var(--ink-3); }
.dots { display: flex; gap: 4px; flex: none; }
.dots button { width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.dots button span { display: block; width: 100%; height: 2px; background: rgba(31,29,26,.22); transition: background .3s; }
.dots button[aria-pressed="true"] span { background: var(--ink); }

/* Inner page hero */
.page-hero { padding: 0 var(--gutter) clamp(56px, 7vw, 88px); }
.page-hero .grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; padding-top: clamp(40px, 6vw, 72px); }
.page-hero .copy { flex: 999 1 520px; min-width: 0; }
.page-hero .pic { flex: 1 1 360px; min-width: 0; max-width: 520px; }
.page-hero .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 34px 70px -36px rgba(31,29,26,.5); }

/* Layout helpers */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split > .narrow { flex: 1 1 340px; min-width: 0; }
.split > .wide { flex: 2 1 540px; min-width: 0; }
.split.center { align-items: center; }
.split.end { align-items: flex-end; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 36px; }
.head-row > div { flex: 1 1 420px; min-width: 0; }

/* Timeline */
.times { list-style: none; margin: 0; padding: 0; }
.times li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--rule); }
.times li:last-child { border-bottom: 1px solid var(--rule); }
.times .t { font: 300 40px/1 var(--display); }
.times b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.times span.d { color: var(--ink-2); }
@media (max-width: 560px) { .times li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; } .times .t { font-size: 32px; } }

/* Cards and lists */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 48px; }
.cols > div { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.cols h3 { margin-bottom: 6px; }
.cols p { margin: 0; color: var(--ink-2); }
.feature { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--rule); }
.feature:last-child { border-bottom: 1px solid var(--rule); }
.feature .pic { flex: 1 1 360px; min-width: 0; }
.feature .pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.feature .txt { flex: 1 1 360px; min-width: 0; }
.feature .meta { font-weight: 500; margin: 14px 0 0; }
.feature:nth-child(even) .pic { order: 2; }
@media (max-width: 760px) { .feature:nth-child(even) .pic { order: 0; } }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 28px 24px; list-style: none; margin: 0; padding: 0; }
.mono { aspect-ratio: 1; border-radius: 4px; display: grid; place-items: center; margin-bottom: 12px; background: var(--deep); font: 300 44px/1 var(--display); color: var(--ink-3); }
.people b { display: block; font-weight: 600; }
.people span { color: var(--ink-2); font-size: 15px; }
.beliefs { counter-reset: b; list-style: none; margin: 0; padding: 0; }
.beliefs li { counter-increment: b; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.beliefs li::before { content: counter(b); font: 300 28px/1 var(--display); color: var(--ink); }
.values { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.values li { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); background: var(--paper); }
.wide-pic img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 4px; }
@media (max-width: 600px) { .wide-pic img { aspect-ratio: 4 / 3; } }

/* Watch */
.video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; text-decoration: none; }
.video img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.pill { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; background: rgba(244,241,236,.92); color: var(--ink); border-radius: 999px; padding: 10px 18px 10px 14px; font-weight: 500; font-size: 15px; }
.services { list-style: none; margin: 0; padding: 0; }
.services li { border-top: 1px solid var(--rule); }
.services li:last-child { border-bottom: 1px solid var(--rule); }
.services a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px 32px; align-items: center; padding: 20px 0; text-decoration: none; }
.services a:hover .s-title { text-decoration: underline; }
.s-title { font: 300 26px/1.15 var(--display); }
.s-len { color: var(--ink-3); font-size: 15px; }
.s-go { font-weight: 500; font-size: 15px; }
@media (max-width: 560px) { .services a { grid-template-columns: minmax(0, 1fr) auto; } .s-len { display: none; } }

/* Social feed */
.filters { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(31,29,26,.06); }
.filters button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 15px var(--text); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #f4f1ec; }
.rail { display: flex; gap: 14px; align-items: flex-end; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100% - var(--wrap)) / 2)) 18px; scroll-padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); scrollbar-width: thin; }
.post { flex: none; position: relative; height: clamp(340px, 34vw, 420px); padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; scroll-snap-align: start; background: var(--deep); text-align: left; font: inherit; color: #f6f1e9; }
.post.ig { aspect-ratio: 4 / 5; }
.post.tt { aspect-ratio: 9 / 16; }
.post[hidden] { display: none; }
.post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover img { transform: scale(1.03); }
.post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,0) 52%, rgba(20,18,16,.72) 100%); }
.tag { position: absolute; left: 12px; top: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; background: rgba(244,241,236,.92); color: var(--ink); border-radius: 999px; padding: 5px 10px 5px 8px; font-size: 13px; font-weight: 500; }
.play { color: var(--ink); position: absolute; z-index: 1; left: 50%; top: 44%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(244,241,236,.9); display: flex; align-items: center; justify-content: center; }
.post .cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; }
.post .cap span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.4; }
.post .cap small { display: block; margin-top: 4px; font-size: 13px; color: #d8cfc3; }
.viewer { position: fixed; inset: 0; z-index: 60; background: rgba(24,22,20,.97); display: none; align-items: center; justify-content: center; padding: 32px var(--gutter); color: var(--night-ink); }
.viewer.open { display: flex; }
.viewer-in { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; max-width: 1040px; width: 100%; }
.viewer-media { position: relative; flex: none; height: min(72vh, 620px); max-width: 100%; border-radius: var(--radius); overflow: hidden; background: #2c2926; }
.viewer-media img { width: 100%; height: 100%; object-fit: cover; }
.viewer-media .play { top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.viewer-txt { flex: 1 1 280px; min-width: 0; }
.viewer-txt .cap { font: 300 clamp(26px, 3vw, 34px)/1.15 var(--display); margin: 6px 0 28px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(242,237,229,.5); background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.viewer .close { position: absolute; right: 20px; top: 20px; border: 0; background: rgba(242,237,229,.12); }
@media (max-width: 700px) { .viewer { align-items: flex-start; overflow-y: auto; padding-top: 80px; } .viewer-media { height: auto; width: 100%; } }

/* Forms */
.form { display: grid; gap: 18px; background: var(--paper); border-radius: 12px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(31,29,26,.35); }
.form .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px var(--text); color: var(--ink); background: #fff; border: 1.5px solid rgba(31,29,26,.25); border-radius: 10px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink-2); }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.err { color: #9b2c1f; font-size: 14px; margin: 6px 0 0; }
.done { padding: 18px 20px; border-radius: 10px; background: var(--ground); }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 300 clamp(22px, 2.2vw, 26px)/1.2 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 30px/0.8 var(--text); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* Footer */
.site-foot { padding: 64px var(--gutter) 40px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.foot-grid h2 { font: 600 15px/1.4 var(--text); letter-spacing: 0; color: var(--ink); margin: 0 0 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-3); }

/* TikTok: a few chosen videos in a swipeable vertical feed (TikTok Embed Player) */
.tt-panel { margin-top: clamp(40px, 6vw, 72px); padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(28px, 6vw, 96px); align-items: center; }
.tt-panel[hidden] { display: none; }
.tt-intro { max-width: 30em; }
.tt-intro p { margin: 12px 0 18px; }
@media (max-width: 760px) { .tt-panel { grid-template-columns: minmax(0, 1fr); } .vf-stage { justify-content: center; } }

.vf-stage { --vf-h: min(76vh, 640px); display: flex; align-items: center; gap: 16px; }
.vf { position: relative; overflow: hidden; flex: none; height: var(--vf-h); width: min(100%, calc(var(--vf-h) * 9 / 16)); border-radius: 12px; background: #000; color: #fff; font-family: var(--text); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; box-shadow: 0 30px 60px -36px rgba(31, 29, 26, .6); }
@media (max-width: 760px) { .vf { flex: 1 1 auto; max-width: 400px; } }
.vf button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.vf a { color: inherit; text-decoration: none; }

.vf-feed { height: 100%; overflow-y: scroll; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; }
.vf-feed::-webkit-scrollbar { display: none; }
.vf-feed:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.vf-post { position: relative; height: 100%; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #000; overflow: hidden; }
.vf-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
/* Clear layer over the middle of the video: swipe the feed and tap to pause,
   while TikTok's own header, caption and side buttons stay clickable */
.vf .vf-tap { position: absolute; z-index: 2; top: 72px; left: 0; right: 68px; bottom: 130px; }
.vf .vf-tap:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

.vf-spinner { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; z-index: 1; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: vf-spin .8s linear infinite; pointer-events: none; opacity: 0; transition: opacity .2s; }
.vf-post.is-loading .vf-spinner { opacity: 1; }
.vf-paused { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; z-index: 3; color: rgba(255, 255, 255, .92); pointer-events: none; opacity: 0; transform: scale(1.3); transition: opacity .15s, transform .15s; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5)); }
.vf-paused svg { width: 100%; height: 100%; }
.vf-post.is-paused:not(.is-loading) .vf-paused { opacity: 1; transform: scale(1); }
@keyframes vf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vf-spinner { animation-duration: 2.4s; } .vf-paused { transition: none; } }

.vf-post.is-error .vf-tap, .vf-post.is-error .vf-frame { display: none; }
.vf-error { display: none; position: absolute; inset: 0; place-items: center; text-align: center; padding: 30px; color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.5; }
.vf-post.is-error .vf-error { display: grid; }

.vf-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 14px; display: flex; align-items: flex-end; cursor: pointer; touch-action: none; }
.vf-progress-track { position: relative; width: 100%; height: 2px; background: rgba(255, 255, 255, .22); transition: height .15s; }
.vf-progress:hover .vf-progress-track, .vf-progress.is-drag .vf-progress-track { height: 5px; }
.vf-progress-fill { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }

.vf .vf-sound { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); top: 64px; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(244, 241, 236, .94); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); transition: background .2s, color .2s, padding .2s; }
.vf-sound svg { width: 17px; height: 17px; }
.vf .vf-sound.is-on { background: rgba(0, 0, 0, .35); color: #fff; padding: 0 8px; box-shadow: none; }
.vf-sound.is-on .vf-sound-label { display: none; }
.vf-sound[hidden] { display: none; }

.vf-end { height: 100%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px; text-align: center; background: radial-gradient(circle at 50% 35%, #3a3530, var(--night) 72%); color: var(--night-ink); }
.vf-end h4 { margin: 0; font: 300 28px/1.1 var(--display); letter-spacing: -0.02em; }
.vf-end p { margin: 0; color: var(--night-ink-2); font-size: 15px; line-height: 1.5; max-width: 22em; }
.vf .vf-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #f4f1ec; color: var(--ink); font-weight: 500; font-size: 15px; }
.vf .vf-btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; }

.vf-nav { display: none; flex-direction: column; gap: 14px; }
.vf-nav[hidden] { display: none !important; }
.vf-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rule); cursor: pointer; display: grid; place-items: center; background: transparent; color: var(--ink); transition: background .15s; }
.vf-nav button:hover { background: rgba(31, 29, 26, .06); }
.vf-nav button:disabled { opacity: .3; cursor: default; }
.vf-nav svg { width: 26px; height: 26px; }
@media (min-width: 761px) and (pointer: fine) { .vf-nav { display: flex; } }
