/* KlesiaCast: espresso and amber, like a warm letter or a broadcast at dusk.
   Newsreader (literary serif) for headings, Onest for text. Scoped to .kc. */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..600;1,6..72,400&family=Onest:wght@400;500;600&display=swap");

.kc {
  --esp: #1E140C; --esp-2: #2A1C11; --esp-3: #36251A; --cream: #FBF3E8; --muted: #D9C8B6; --line: #4A3624;
  --amber: #F2A33A; --gold: #F2C47E; --ember: #FF7A1A;
  --nr: "Newsreader", Georgia, serif; --on: "Onest", system-ui, sans-serif;
  background: var(--esp); color: var(--cream); font-family: var(--on); font-size: 1.0625rem; line-height: 1.6;
}
.kc *:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.kcw { width: min(1220px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.kcs { padding-block: clamp(56px, 6.5vw, 96px); }
.kch2 { font-family: var(--nr); font-weight: 500; font-variation-settings: "opsz" 72; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.kchead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.kchead__r { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.kchead p { color: var(--muted); max-width: 40ch; }
.kccap { font-size: .8125rem; color: #B9A58F; margin-top: 14px; max-width: 80ch; }

/* buttons and chips */
.kcbtn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--amber); color: #1E140C; font-weight: 500; font-size: .9375rem; text-decoration: none; transition: background .2s, box-shadow .2s; }
.kcbtn:hover { background: var(--gold); }
.kcbtn--line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(251, 243, 232, .4); }
.kcbtn--line:hover { background: rgba(251, 243, 232, .06); box-shadow: inset 0 0 0 1px var(--gold); }
.kcchip { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(242, 163, 58, .12); color: var(--gold); font-size: .875rem; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(242, 163, 58, .35); }
.kcchip i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.kcai { position: absolute; left: 12px; top: 12px; font-size: .6875rem; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: var(--amber); color: #1E140C; }

/* hero */
.kch { position: relative; overflow: hidden; background: var(--esp); }
.kch__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: clamp(44px, 5vw, 72px) clamp(20px, 2.5vw, 32px); }
.kch__copy { display: flex; flex-direction: column; gap: 20px; }
.kch__brand { display: flex; align-items: center; gap: 12px; font-family: var(--nr); font-size: 1.5rem; font-weight: 500; }
.kch__brand b { color: var(--amber); font-weight: 500; }
.kch__h { font-family: var(--nr); font-weight: 500; font-variation-settings: "opsz" 72; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: .96; letter-spacing: -0.03em; max-width: 11ch; }
.kch__p { color: var(--muted); font-size: 1.125rem; max-width: 46ch; }
.kch__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.kch__fine { font-size: .875rem; color: #B9A58F; }
.kch__vis { position: relative; height: clamp(380px, 40vw, 540px); }
.kch__desk { position: absolute; left: 0; right: 18%; top: 0; bottom: 0; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
.kch__desk img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kch__phone { position: absolute; right: 0; bottom: -4%; width: 34%; margin: 0; border-radius: 28px; padding: 7px; background: #0E0905; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.kch__phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.kcfacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 20px 0 0; border-top: 1px solid var(--line); }
.kcfacts div { padding: 16px 16px 18px 0; }
.kcfacts dt { font-size: .8125rem; color: #B9A58F; }
.kcfacts dd { margin: 4px 0 0; font-weight: 500; }

/* step rail */
.kcsteps { background: var(--esp-2); }
.kcrail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0; padding: 4px max(var(--gutter), (100vw - 1220px) / 2) 8px; scroll-padding-inline: max(var(--gutter), (100vw - 1220px) / 2); }
.kcrail::-webkit-scrollbar { display: none; }
.kcstep { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.kcstep__shot { position: relative; margin: 0 0 8px; aspect-ratio: 4 / 4.4; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); }
.kcstep__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kcstep__shot--phone { background: #0E0905; display: grid; place-items: center; padding: 14px; }
.kcstep__shot--phone img { width: auto; height: 100%; object-fit: contain; border-radius: 14px; }
.kcstep__n { font-family: var(--nr); font-size: 1.125rem; color: var(--amber); }
.kcstep h3 { font-family: var(--nr); font-weight: 500; font-size: 1.6rem; line-height: 1.1; }
.kcstep p:last-child { color: var(--muted); font-size: .9375rem; }
.kcarrow { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(251, 243, 232, .08); color: var(--cream); font-size: 1.25rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.kcarrow:hover:not(:disabled) { background: var(--amber); color: #1E140C; }
.kcarrow:disabled { opacity: .35; cursor: default; }
.kcrail-nav { display: flex; gap: 8px; flex-shrink: 0; }
.kcplus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; }
.kcplus li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.kcplus b { font-weight: 500; } .kcplus span { color: var(--muted); font-size: .9375rem; }

/* interactive week keeps its own look; tune the frame */
.kctry { background: var(--esp); }
.kc .kcx .psec__h { font-family: var(--nr); font-weight: 500; letter-spacing: -0.02em; }

/* film */
.kcfilm { background: linear-gradient(140deg, #3A220F, var(--esp) 70%); }
.kcfilm__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kcfilm .film__player { margin: 0; max-width: 520px; width: 100%; grid-column: auto; justify-self: end; }
.kcfilm__side p { margin-top: 16px; color: var(--muted); max-width: 40ch; }

/* questions */
.kcfaq { background: var(--esp-2); }
.kcfaq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 56px); }
.kcfaq__list details { border-top: 1px solid var(--line); padding: 16px 0; }
.kcfaq__list details:last-child { border-bottom: 1px solid var(--line); }
.kcfaq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 32px; font-family: var(--nr); font-size: 1.375rem; }
.kcfaq__list summary::-webkit-details-marker { display: none; }
.kcfaq__list summary::after { content: "+"; font-family: var(--on); color: var(--amber); font-size: 1.5rem; line-height: 1; }
.kcfaq__list details[open] summary::after { content: "–"; }
.kcfaq__list p { margin-top: 8px; color: var(--muted); max-width: 60ch; }

/* closing */
.kcend { background: #140C06; padding-block: clamp(56px, 6vw, 88px); }
.kcend__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.kcend__eye { color: var(--gold); font-size: .9375rem; margin-bottom: 6px; }
.kcend__h { font-family: var(--nr); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }

@media (max-width: 60rem) {
  .kch__in, .kchead, .kcfilm__in, .kcfaq__in { grid-template-columns: minmax(0, 1fr); }
  .kch__vis { height: 92vw; max-height: 520px; }
  .kcfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcplus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcrail { grid-auto-columns: 78vw; }
}
@media (max-width: 40rem) { .kcplus { grid-template-columns: minmax(0, 1fr); gap: 12px; } .kchead__r { flex-direction: column; align-items: flex-start; } }
