/* ═══ icr/style.css — vzhled stránky Ithaca ICR ═════════════════════════
   Motiv: čistá bílá, tenké písmo, laboratorní minimalismus (z balíčku
   ithaca-icr-promo). Všechno je pod .icr. Původně počítáno s fontem
   Inter; web ho zatím nehostuje (CSP nepovoluje Google Fonts), takže se
   použije systémové písmo. Inter jde doplnit jako /_shared/fonts/*.woff2. */

body { background: #ffffff; }
.icr {
  --ink: #0b0b0b; --ink-2: #3a3a3a; --mute: #8c8c8c; --faint: #b9b9b9;
  --line: #e4e4e4; --wash: #f5f5f4; --bar: #8a8a8a; --bg: #ffffff;
  --track: .32em;
  color: var(--ink); background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.icr *, .icr *::before, .icr *::after { box-sizing: border-box; }
.icr a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--faint); }
.icr a:hover { border-bottom-color: var(--ink); }
.icr a.zoom { border: 0; display: block; cursor: zoom-in; }
.icr img { display: block; max-width: 100%; height: auto; }
.icr .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.icr .eyebrow { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--mute); font-weight: 400; }
.icr h1, .icr h2, .icr h3 { font-weight: 300; margin: 0; }
.icr p { margin: 0 0 1em; }
.icr .lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 40em; }

/* top bar */
.icr .top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.icr .top a { border: 0; }
.icr .lang { display: flex; gap: 14px; }
.icr .lang button { all: unset; cursor: pointer; font-size: 11px; letter-spacing: .2em; color: var(--faint); padding: 4px 0; border-bottom: 1px solid transparent; }
.icr .lang button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.icr .lang button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* hero */
.icr .hero { padding: clamp(48px, 9vw, 104px) 0 40px; }
.icr .hero h1 { font-size: clamp(46px, 9.5vw, 112px); letter-spacing: .14em; line-height: 1; margin: 18px 0 10px; margin-right: -.14em; }
.icr .hero .sub { font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); margin-bottom: 36px; }
.icr .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.icr .badges li { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 11px; color: var(--ink-2); }
.icr .badges li.st { border-color: var(--ink); color: var(--ink); }
.icr .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; }
.icr .btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--ink); padding: 12px 20px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.icr .btn:hover { background: var(--ink); color: var(--bg); }
.icr .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.icr .btn .ico { width: 10px; height: 10px; }

/* screenshot frame */
.icr .shot { margin: 8px 0 0; border: 1px solid var(--line); background: #fff; }
.icr figure { margin: 0; }
.icr figcaption { font-size: 12.5px; color: var(--mute); margin-top: 12px; line-height: 1.5; }

/* sections */
.icr section.blk { padding: clamp(64px, 9vw, 112px) 0 0; }
.icr .hd { display: grid; grid-template-columns: 220px 1fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 22px; margin-bottom: 40px; }
.icr .hd h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.005em; }
.icr .hd .n { font-size: 11px; letter-spacing: var(--track); color: var(--mute); text-transform: uppercase; padding-top: 10px; }
.icr .body { margin-left: 244px; }
.icr .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.icr .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.icr h3 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.icr .small { font-size: 15px; color: var(--ink-2); }

/* players */
.icr .tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.icr .trk { display: grid; grid-template-columns: 44px 1fr 220px 84px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.icr .trk .play { all: unset; cursor: pointer; width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.icr .trk .play:hover, .icr .trk.on .play { background: var(--ink); color: var(--bg); }
.icr .trk .play:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.icr .trk .play svg { width: 11px; height: 11px; fill: currentColor; }
.icr .trk .t { font-size: 16px; font-weight: 400; line-height: 1.35; }
.icr .trk .t .no { color: var(--faint); font-weight: 300; margin-right: 10px; font-variant-numeric: tabular-nums; }
.icr .trk .d { font-size: 13.5px; color: var(--mute); line-height: 1.45; margin-top: 3px; }
.icr .bar { position: relative; height: 36px; cursor: pointer; }
.icr .bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #d2d2d2; }
.icr .bar span { position: absolute; left: 0; top: calc(50% - 1px); height: 3px; width: 0; background: var(--ink); }
.icr .trk.missing .play { border-color: var(--line); color: var(--faint); cursor: default; background: none; }
.icr .trk.missing .bar { display: none; }
.icr .trk.missing .tm { grid-column: 3 / 5; text-align: left; color: var(--mute); font-size: 12px; letter-spacing: .02em; line-height: 1.5; border-left: 2px dashed #d2d2d2; padding-left: 12px; overflow-wrap: anywhere; }
.icr .trk.missing .tm code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--ink-2); }
.icr .trk .tm { font-size: 12px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.icr .group { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--mute); margin: 44px 0 10px; }
.icr .group:first-child { margin-top: 0; }

/* diagram */
.icr .hint { display: none; font-size: 11px; letter-spacing: .2em; color: var(--faint); text-transform: uppercase; margin-top: 8px; }
.icr .chain { width: 100%; height: auto; display: block; color: var(--ink); }
.icr .chain text { font-family: inherit; }
.icr .steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.icr .steps li { border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; color: var(--ink-2); }
.icr .steps li b { display: block; font-weight: 500; color: var(--ink); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 8px; }
.icr .steps li b::before { counter-increment: s; content: "0" counter(s) "  "; color: var(--faint); white-space: pre; }

/* QA chart */
.icr .qa { width: 100%; height: auto; display: block; }
.icr .qa text { font-family: inherit; }

/* control list */
.icr .ctl { list-style: none; padding: 0; margin: 0; }
.icr .ctl li { font-size: 14.5px; padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.icr .ctl li span:last-child { color: var(--mute); font-size: 13px; text-align: right; }

/* specs */
.icr .specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.icr .specs > div { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); }
.icr .specs .v { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; }
.icr .specs .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }

.icr .status { border: 1px solid var(--ink); padding: 28px 30px; display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.icr .status .eyebrow { color: var(--ink); }
.icr .foot { margin-top: clamp(72px, 10vw, 128px); padding: 28px 0 44px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--mute); letter-spacing: .06em; }

.icr [data-cs-only] { display: none; }
.icr.cs [data-cs-only] { display: revert; }
.icr.cs [data-en-only] { display: none; }

@media (max-width: 900px) {
  .icr .hd { grid-template-columns: 1fr; gap: 6px; }
  .icr .body { margin-left: 0; }
  .icr .steps { grid-template-columns: 1fr 1fr; }
  .icr .specs { grid-template-columns: 1fr 1fr; }
  .icr .cols3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .icr { font-size: 16px; }
  .icr .wrap { padding: 0 16px; }
  .icr .cols, .icr .cols3, .icr .steps { grid-template-columns: 1fr; }
  .icr .trk { grid-template-columns: 40px 1fr auto; gap: 4px 12px; }
  .icr .trk .bar { grid-column: 2 / 4; grid-row: 2; height: 20px; }
  .icr .trk.missing .tm { grid-column: 2 / 4; grid-row: 2; margin-top: 6px; }
  .icr .status { grid-template-columns: 1fr; padding: 22px; }
  .icr .shot-wide { margin-left: -16px; width: calc(100% + 32px); max-width: none; border-left: 0; border-right: 0; }
  .icr .scrollx { overflow-x: auto; margin: 0 -16px; padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .icr .scrollx .chain { min-width: 760px; }
  .icr .hint { display: block; }
}

/* ═══ Oživení (2026-11-25) — pohyb řeší konec icr/icr.js ═════════════════
   Pod titulkem běží spektrum jednoho tónu piana: úder, parciály vyskočí
   a každá doznívá svým tempem. Najetím myší / dotykem zazní nový tón.
   Canvas .icr-spec si vkládá skript sám. Obsah stránky beze změny.     */
.icr .hero .eyebrow, .icr .hero h1, .icr .hero .sub, .icr .hero .lead, .icr .hero .badges, .icr .hero .cta {
  animation: icr-up 1s cubic-bezier(.2,.7,.2,1) both; }
.icr .hero h1 { animation-name: icr-track; animation-duration: 1.6s; }
.icr .hero .sub { animation-delay: .15s; } .icr .hero .lead { animation-delay: .3s; }
.icr .hero .badges { animation-delay: .4s; } .icr .hero .cta { animation-delay: .5s; }
@keyframes icr-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes icr-track { from { opacity: 0; letter-spacing: .34em; } to { opacity: 1; letter-spacing: .14em; } }
.icr .hero h1 { white-space: nowrap; }

.icr .icr-spec { display: block; width: 100%; height: 110px; margin: 4px 0 34px; cursor: crosshair; touch-action: pan-y; }
.icr .hero .sub { margin-bottom: 14px; }

/* nadpisy sekcí: linka se „natáhne“ při příchodu (třídy .ap-rv/.ap-in dává fx.js) */
.icr .hd { position: relative; border-top-color: var(--line); }
.icr .hd::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ink);
  transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .15s; }
.ap-motion .icr .hd.ap-rv:not(.ap-in)::before { transform: scaleX(0); }

/* screenshoty: jemný stín, při najetí se nadzvednou */
.icr .shot { box-shadow: 0 30px 60px -44px rgba(0,0,0,.45); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
.icr a.zoom:hover .shot { transform: translateY(-4px); box-shadow: 0 44px 70px -44px rgba(0,0,0,.55); }
.icr .btn, .icr .trk .play { transition: background .25s, color .25s; }
.icr .trk { transition: padding-left .4s cubic-bezier(.2,.7,.2,1); }
.icr .trk:not(.missing):hover { padding-left: 8px; }
.icr .ctl li { transition: color .25s, padding-left .35s cubic-bezier(.2,.7,.2,1); }
.icr .ctl li:hover { color: var(--ink); padding-left: 8px; }

@media (max-width: 640px) { .icr .icr-spec { height: 72px; margin-bottom: 26px; } .icr .hero h1 { white-space: normal; } }
@media (prefers-reduced-motion: reduce) {
  .icr .hero .eyebrow, .icr .hero h1, .icr .hero .sub, .icr .hero .lead, .icr .hero .badges, .icr .hero .cta { animation: none; }
}
