/* Kourosh Dini case study.
   Same page system as the Qata study: a narrow label column and a wide content column, on quiet grey stages.
   The project's images are 16:9, so here they fill the stages edge to edge. */

:root {
  --bg: #f7f7f6;
  --fg: #151515;
  --muted: #6c6c6a;
  --line: #e3e3e0;
  --stage: #f0f0ee;
  --stage-2: #e7e7e4;
  --raised: #ffffff;
  --dot: rgba(20, 20, 20, .28);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* ---------- top bar ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top-in { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.top-link { text-decoration: none; font-size: 14px; }
.top-link.dim { color: var(--muted); }
.top-link:hover { color: var(--fg); }

/* ---------- intro ---------- */
.intro { padding-top: 72px; padding-bottom: 48px; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; max-width: 900px; }
.meta dt { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.meta dd { font-family: var(--mono); font-size: 13px; }
h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.lede { margin-top: 24px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.45; color: var(--muted); max-width: 46ch; }

/* ---------- stages ---------- */
.stage { background: var(--stage); border-radius: var(--r); position: relative; overflow: hidden; overflow: clip; }
.stage-hero { padding: 56px 24px 48px; display: flex; justify-content: center; }
.figcap { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 88px; padding-bottom: 24px; }
.num b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); max-width: 24ch; line-height: 1.5; }

/* ---------- sections ---------- */
.sec { padding-top: 104px; padding-bottom: 0; }
.sec + .sec { padding-top: 88px; }
.row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 48px; }
.lab { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); padding-top: 8px; letter-spacing: 0; }
.body { min-width: 0; }
.title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.lead p { font-size: clamp(20px, 2.1vw, 25px); line-height: 1.42; letter-spacing: -.01em; max-width: 720px; }
.lead p + p { margin-top: 20px; }
.muted { color: var(--muted); }
.prose { margin-top: 28px; max-width: 700px; }
.prose p { font-size: 18px; line-height: 1.6; }
.prose p + p { margin-top: 16px; }
.intro-p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 56ch; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.facts > div { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.fico { width: 40px; height: 40px; border-radius: 10px; background: var(--stage); display: grid; place-items: center; margin-bottom: 18px; }
.fico svg { width: 20px; height: 20px; }
.facts h4, .principles h4, .learn h4 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.facts p, .principles p, .learn p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 46ch; }

.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.principles li { padding-top: 18px; border-top: 1px solid var(--line); }

.learn { margin-top: 36px; }
.learn article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.learn article p { margin-top: 0; font-size: 16px; }

/* feature grid */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; margin-top: 44px; }
.feat { margin: 0; min-width: 0; }
.fx { aspect-ratio: 6 / 5; max-width: 100%; }
.feat figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.feat figcaption b { font-weight: 500; color: var(--fg); margin-right: 6px; }

/* try it */
.tools { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.tool { font-size: 14px; border: 1px solid var(--line); background: var(--raised); border-radius: 999px; padding: 7px 14px; }
.tool:hover { border-color: var(--fg); }
.stage-try { margin-top: 36px; padding: 48px 24px; display: flex; justify-content: center; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 120px; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.foot a { text-decoration: none; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; }
.foot a:hover { color: var(--muted); }

/* progress pill */
.prog { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; }
.prog-btn { display: flex; align-items: center; gap: 9px; background: var(--raised); color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 7px; font-family: var(--mono); font-size: 12px; white-space: nowrap; box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .35); }
.ring { width: 20px; height: 20px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--fg); stroke-linecap: round; }
.pct { display: none; }
.prog-menu { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 6px; min-width: 190px; opacity: 0; pointer-events: none; transition: .18s; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3); }
.prog.open .prog-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.prog-menu a { display: block; text-decoration: none; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 8px 10px; border-radius: 9px; }
.prog-menu a:hover, .prog-menu a.on { background: var(--stage); color: var(--fg); }
/* ---------- responsive ---------- */
@media (max-width: 1100px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 14px; }
  .lab { padding-top: 0; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principles li { padding: 18px 0 20px; }
  .learn article { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body { font-size: 16px; }
  .intro { padding-top: 40px; padding-bottom: 32px; }
  .meta { grid-template-columns: 1fr 1fr; row-gap: 16px; margin-bottom: 36px; }
  .numbers { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; }
  .sec { padding-top: 80px; }
  .sec + .sec { padding-top: 64px; }
  .facts { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}


/* ---------- still images ---------- */
.stage-hero { display: block; padding: 0; aspect-ratio: 16 / 9; }
.fx { aspect-ratio: 16 / 9; }
.stage > img, .stage > video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 14px; }
  .lab { padding-top: 0; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principles li { padding: 18px 0 20px; }
  .learn article { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body { font-size: 16px; }
  .intro { padding-top: 40px; padding-bottom: 32px; }
  .meta { grid-template-columns: 1fr 1fr; row-gap: 16px; margin-bottom: 36px; }
  .numbers { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; }
  .sec { padding-top: 80px; }
  .sec + .sec { padding-top: 64px; }
  .facts { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ================================================================
   UI MOCKUPS: the live site rebuilt in code, on its paper pattern.
   Same treatment as the Qata mockups: a light phone frame and real UI.
   The site's own fonts and colors: Lora, Karla, Georgia, #1e5a80.
   ================================================================ */
.ui { aspect-ratio: 6 / 5; }
.snap, .snap * { transition: none !important; }
.tapdot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--dot); pointer-events: none; opacity: 0; z-index: 30; }
.tapdot.on { animation: tap .6s ease-out forwards; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.4); } 30% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1); } }
.art { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: 50% 50%; }
.kp .i, .kt .i { display: block; flex: none; }
.kp *, .kt * { box-sizing: border-box; }
.kp, .kt { --ink: #1e5a80; color: var(--ink); font-family: Karla, ui-sans-serif, sans-serif; font-size: 16px; line-height: 1.4; letter-spacing: 0; text-align: left; }
.kp-btn { display: inline-block; padding: 11px 24px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 16px; line-height: 1.3; text-align: center; transition: transform .18s, background .3s; }
.kp-btn.wide { display: block; width: 100%; }
.press { transform: scale(.96); }

/* the phone: Qata's frame, cut by the stage */
.kp { position: absolute; left: 50%; top: 32px; width: 375px; height: 812px; transform: translateX(-50%) scale(var(--s, 1)); transform-origin: 50% 0; transition: opacity .45s; }
.kp.fade { opacity: 0; }
.kp-in { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; overflow: clip; border: 1px solid #e5e7eb; border-radius: 38px; background: #fff; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .2); }
.sb { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 28px 5px; background: #fafafa; color: #000; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: -.025em; }
.sb span:last-child { display: flex; align-items: center; gap: 4px; }
.kp-bar { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 20px; background: #fafafa; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.kp-b { display: grid; gap: 4px; width: 30px; }
.kp-b i { display: block; height: 3.500px; border-radius: 2px; background: #2a9fc7; }
.kp-bar img { display: block; width: 40px; height: 40px; border-radius: 50%; }
.kp-at { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2a9fc7, #5cc0dc); }
.kp-scr { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; background: #f6f5f0 url('/studies/kd/images/paper.jpg') 0 0 / 256px; }
.kp-pg { transition: transform 1.2s cubic-bezier(.65, 0, .2, 1); }
.kp-hero { position: relative; height: 500px; padding-top: 148px; text-align: center; }
.kp-sun { position: absolute; left: 50%; top: -92px; width: 184px; height: 184px; margin-left: -92px; border-radius: 50%; background: #e8b4aa; mix-blend-mode: multiply; }
.kp h4 { font-family: Lora, Georgia, serif; font-size: 25px; line-height: 1.16; font-weight: 500; }
.kp-tag { margin: 22px 0 28px; font-family: Georgia, serif; font-size: 17px; font-style: italic; line-height: 1.34; }
.kp-lf { position: absolute; bottom: 8px; width: 136px; height: auto; }
.kp-lf.l { left: 0; }
.kp-lf.r { right: 0; }
.kp-form { padding: 28px 22px 0; }
.kp-form h4 { text-align: center; }
.kp-form > p { margin: 12px 0 16px; font-size: 15px; line-height: 1.36; }
.kp-form > p b { font-weight: 600; }
.kp-in-f { display: block; height: 44px; margin-bottom: 9px; padding: 0 12px; border: 1px solid #4f4f4f; border-radius: 6px; background: #fafafa; color: #8b8b8b; line-height: 42px; transition: box-shadow .2s; }
.kp-in-f.on { box-shadow: 0 0 0 2px rgba(30, 90, 128, .28); }
.kp-in-f.val { color: #333; }
.kp-ok { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.kp-ok.show { opacity: 1; transform: none; }

/* one path: the podcast and the community, on the same page */
.kt { width: 486px; height: 400px; overflow: hidden; overflow: clip; border-radius: 16px; background: #f6f5f0 url('/studies/kd/images/paper.jpg') 0 0 / 256px; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .22); transition: opacity .45s; }
.kt.fade { opacity: 0; }
.kt-pg { transition: transform 1.2s cubic-bezier(.65, 0, .2, 1); }
.kt h4 { font-family: Lora, Georgia, serif; font-size: 22px; line-height: 1.2; font-weight: 500; text-align: center; }
.kt-a { display: flex; flex-direction: column; justify-content: center; height: 400px; padding: 0 26px; }
.pl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px 14px; align-items: center; margin-top: 18px; padding: 13px; border-radius: 10px; background: #b9cad9; color: #2d3f4e; font-family: Poppins, ui-sans-serif, sans-serif; }
.pl-c { display: block; width: 92px; height: 92px; border-radius: 6px; }
.pl-t b { display: block; font-size: 15px; line-height: 1.25; font-weight: 600; }
.pl-t span { display: block; margin-top: 4px; font-size: 12px; }
.pl-p { position: relative; justify-self: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #ff9d00; }
.pl-p i { position: absolute; left: 18px; top: 13px; width: 0; height: 0; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.pl-p.on i { left: 16px; top: 15px; width: 15px; height: 16px; border: 0; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.pl-r { display: grid; gap: 5px; font-size: 12px; font-variant-numeric: tabular-nums; }
.pl-r u { display: block; height: 5px; border-radius: 3px; background: #99a7b4; overflow: hidden; }
.pl-r s { display: block; width: 0; height: 100%; background: #ff9d00; transition: width .5s linear; }
.kt-b { margin-top: 40px; padding: 0 26px; opacity: 0; transform: translateY(14px); transition: opacity .6s .35s, transform .6s .35s; }
.kt-b.on { opacity: 1; transform: none; }
.kt-b h4 { font-size: 20px; }
.kt-g { display: grid; grid-template-columns: 158px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 12px; }
.kt-g img { display: block; width: 158px; height: auto; mix-blend-mode: multiply; }
.kt-o { padding: 8px 10px; margin-bottom: 8px; border: 2.500px solid #8ecadb; border-radius: 10px; font-size: 14px; line-height: 1.25; text-align: center; }
.kt-g .kp-btn { display: block; padding: 10px 12px; font-size: 15px; }

@media (max-width: 640px) {
  .ui { aspect-ratio: 4 / 5; }
}

/* ================================================================
   THE NEW STRUCTURE: four site cards become one sitemap, on the paper pattern. Drawn at 480 × 270.
   ================================================================ */
.paper { background: #f6f5f0 url('/studies/kd/images/paper.jpg') 0 0 / 256px; }
.mp { --ink: #1e5a80; width: 480px; height: 270px; color: var(--ink); font-family: Karla, ui-sans-serif, sans-serif; line-height: 1.2; transition: opacity .5s; }
.mp.fade { opacity: 0; }
.mp * { box-sizing: border-box; }
.mp-l { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.2; }
.mp-l path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset .7s ease .95s; }
.mp.on .mp-l path { stroke-dashoffset: 0; }
.n { position: absolute; display: flex; align-items: center; justify-content: center; gap: 9px; width: 101px; height: 40px; padding: 0 3px; border: 1px solid rgba(30, 90, 128, .22); border-radius: 10px; background: #fff; text-align: center; font-size: 13.500px; box-shadow: 0 10px 22px -16px rgba(30, 90, 128, .5); }
.n b { font-weight: 600; }
.n.add { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.mp.on .n.add { opacity: 1; transform: none; transition-delay: calc(1.5s + var(--i) * .13s); }
.site { z-index: 2; left: var(--x0); top: var(--y0); width: 130px; height: 62px; transition: left 1.15s cubic-bezier(.65, 0, .2, 1), top 1.15s cubic-bezier(.65, 0, .2, 1), width 1.15s cubic-bezier(.65, 0, .2, 1), height 1.15s cubic-bezier(.65, 0, .2, 1); }
.mp.on .site { left: var(--x1); top: var(--y1); width: var(--w1); height: var(--h1); }
.site.hub { background: #fbeee9; border-color: #e8b4aa; }
.site.pod { background: #fdf2dc; border-color: #eccb8c; }
.site.psy { background: #e3f1f6; border-color: #8ecadb; }
.site.wav { background: #e9efdc; border-color: #b9c69e; }
.site img { flex: none; width: 0; height: 30px; border-radius: 50%; opacity: 0; transition: width .5s .6s, opacity .5s .6s; }
.mp.on .site img { width: 30px; opacity: 1; }
.n-t { min-width: 0; }
.n-t .l { display: grid; font-size: 13px; white-space: nowrap; }
.n-t .l b { grid-area: 1 / 1; transition: opacity .4s .5s; }
.n-t .z { opacity: 0; }
.mp.on .hub .l b:first-child { opacity: 0; }
.mp.on .hub .z { opacity: 1; }
.n-t small { display: block; max-height: 16px; margin-top: 3px; overflow: hidden; font-size: 11.500px; transition: opacity .35s, max-height .5s; }
.mp.on .site:not(.hub) small { opacity: 0; max-height: 0; margin-top: 0; }
.mp-t { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; line-height: 16px; }

/* ================================================================
   WIREFRAMES FIRST: a simplified desktop mockup, in the same light frame family as the phone.
   Drawn at 520 × 300 (a taller 520 × 340 with larger type on phones).
   Like the live site, the trees sit far past the edges, so their trunks stay hidden.
   ================================================================ */
.wf { --ink: #1e5a80; --gr: #dcdcd8; display: flex; flex-direction: column; width: 520px; height: 300px; overflow: hidden; overflow: clip; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .2); color: var(--ink); font-family: Karla, ui-sans-serif, sans-serif; line-height: 1.2; text-align: center; }
.wf * { box-sizing: border-box; }
.wf-br { flex: none; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #fff; border-bottom: 1px solid #eeeeec; }
.wf-br i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #dcdcd8; }
.wf-v { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; background: #efefec; }
.wf-p { position: absolute; inset: 0; background: #f6f5f0 url('/studies/kd/images/paper.jpg') 0 0 / 256px; opacity: 0; transition: opacity 1.4s; }
.wf.on .wf-p { opacity: 1; }
.fd { opacity: 0; transition: opacity 1s ease; transition-delay: calc(var(--i) * .17s); }
.wf.on .fd { opacity: 1; }
.e { position: relative; display: inline-block; }
.sk { position: absolute; inset: 0; border-radius: 6px; background: var(--gr); overflow: hidden; transition: opacity .75s ease; transition-delay: calc(var(--i) * .17s); }
.sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-100%); animation: shim 1.8s ease-in-out infinite; }
@keyframes shim { to { transform: translateX(100%); } }
.re { display: block; opacity: 0; filter: blur(3px); transition: opacity .75s ease, filter .75s ease; transition-delay: calc(var(--i) * .17s); }
.wf.on .sk { opacity: 0; }
.wf.on .re { opacity: 1; filter: none; }
.wf:not(.on) .sk, .wf:not(.on) .re, .wf:not(.on) .fd { transition-delay: 0s; transition-duration: .9s; }
.wf-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 24px; height: 40px; padding: 0 16px; background: #fafafa; box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.logo, .logo .re { width: 26px; height: 26px; }
.logo .sk { border-radius: 50%; }
.logo img { display: block; width: 26px; height: 26px; border-radius: 50%; }
.wf-nav { display: flex; gap: 24px; font-size: 12.500px; white-space: nowrap; color: #4a4a48; }
.wf-nav .sk { inset: 2px 0; }
.srch, .srch .re { width: 15px; height: 15px; color: #4a4a48; }
.srch .sk { border-radius: 50%; }
.srch .i { display: block; }
/* a large circle mostly hidden behind the bar, so it reads big but takes little height */
.wf-sun { position: absolute; left: 50%; top: -124px; width: 208px; height: 208px; margin-left: -104px; border-radius: 50%; background: #e8b4aa; mix-blend-mode: multiply; }
.wf-c { position: absolute; left: 0; right: 0; top: 108px; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.e.h { font-family: Lora, Georgia, serif; font-size: 21px; font-weight: 500; line-height: 1.22; }
.e.h .sk { inset: 4px 0; }
.e.p { font-family: Lora, Georgia, serif; font-size: 12px; font-style: italic; line-height: 1.4; }
.e.p .sk { inset: 3px 0; }
.e.h + .e.p { margin-top: 12px; }
.e.b { margin-top: 16px; font-size: 12px; }
.e.b .sk { border-radius: 9px; }
.e.b .re { padding: 7px 16px; border-radius: 9px; background: var(--ink); color: #fff; }
.wf-t { position: absolute; max-width: none; }
.wf-t.l { left: -258px; bottom: -107px; width: 384px; height: auto; }
.wf-t.r { right: -244px; bottom: -212px; width: 365px; height: auto; }

@media (max-width: 640px) {
  [data-fx="wire"] { aspect-ratio: 6 / 5; }
  .wf { height: 340px; }
  .wf-c { top: 112px; }
  .e.h { font-size: 27px; }
  .e.p { font-size: 15px; }
  .e.h + .e.p { margin-top: 14px; }
  .e.b { margin-top: 20px; font-size: 14.500px; }
  .e.b .re { padding: 9px 20px; }
  .wf-nav { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .sk::after { animation: none; }
}
