/* Vzhled 2: svetly papir, cervena tuzka, tyrkysove pero. Sesterske k webu Jak prodat firmu, ale svetlejsi a barevnejsi.
   Vsechno sedi v jednom sloupci .w, aby se na velkem monitoru nemuselo otacet hlavou. */
:root {
  --paper: #fffdf9;      /* hlavni plocha */
  --sand: #f6f1e7;       /* stridani sekci */
  --cool: var(--sand);   /* puvodni nazev, pouziva ho servisni cast */
  --mint: #e4f2ee;       /* barevna plocha */
  --ink: #191e22;        /* text */
  --muted: #56605f;      /* vedlejsi text, kontrast na papiru nad 6 : 1 */
  --line: #e2dbcc;       /* linky */
  --red: #c8201a;        /* cervena tuzka: co stoji penize, hlavni tlacitko */
  --teal: #0e7c6b;       /* druhe pero */
  --teal-d: #0a5a4e;
  --pc: var(--teal);     /* barva pruvodce, na strance pruvodce se prepise */
  --pc-soft: var(--mint);
  --fh: 'Schibsted Grotesk', Arial, sans-serif;
  --fp: 'Source Serif 4', Georgia, serif;
  --fw: 'Kalam', cursive;
  --gut: clamp(16px, 4vw, 40px);
  --side: max(var(--gut), calc((100% - 1120px) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--fh); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.w { max-width: 1120px; margin: 0 auto; }
section { padding: clamp(48px, 6vw, 84px) var(--gut); }
h2 { font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.02em; max-width: 22em; text-wrap: balance; }
.lead { margin-top: 16px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.45; max-width: 36em; }
.btn { display: inline-block; padding: 14px 24px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { background: #a51812; }
.more { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 36em; }
.more a { color: var(--ink); font-weight: 600; }

/* Horni lista */
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; padding: 18px var(--side); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.top b, .top .brand { font-size: 20px; font-weight: 700; text-decoration: none; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; padding: 4px 0; }
.top nav a:hover { color: var(--red); }
.lnk { padding: 3px 0; border: 0; background: none; color: var(--ink); font: 600 17px/1.4 var(--fh); text-decoration: underline; cursor: pointer; }

/* Uvod: jedna velka fotka, text vpravo od Pavla. Na velkem monitoru se fotka nerozjizdi do sirky, oci nemusi skakat. */
.hero { position: relative; display: flex; max-width: 1600px; min-height: min(calc(100vh - 64px), 820px); margin: 0 auto; background: #16211f; color: #fff; overflow: hidden; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 28%; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 50%, rgba(14,40,36,.72) 60%, rgba(14,40,36,.88) 100%); }
.hero-t { position: relative; z-index: 1; width: min(41%, 620px); margin: auto 0 auto auto; padding: clamp(32px, 5vh, 56px) clamp(24px, 4vw, 64px) clamp(32px, 5vh, 56px) 0; }
.hero h1 { font-weight: 700; font-size: clamp(34px, 3.5vw, 54px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.hero .sub { margin-top: 18px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.42; }
.hero .cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero .cta span { font-weight: 500; }
.hero .en { margin-top: clamp(20px, 3vh, 32px); padding-top: 16px; border-top: 1px solid rgba(255,255,255,.3); font-size: 16px; line-height: 1.4; color: #dfe9e6; }
.hero .en strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.25; color: #fff; }
.hero .en span { display: block; margin-top: 4px; }
.hero .en a { display: inline-block; margin-top: 6px; font-weight: 700; color: #fff; padding: 3px 0; }

/* Kalkulacka slev */
.calc { background: var(--sand); }
.calc .grid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.sl { padding: 16px 0; border-top: 1px solid var(--line); }
.sl:first-child { border-top: 2px solid var(--ink); }
.sl label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; }
.sl output { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sl small { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 400; color: var(--muted); }
.sl input { width: 100%; margin: 10px 0 2px; height: 28px; accent-color: var(--teal); display: block; }
.res { background: #fff; padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; justify-content: center; box-shadow: 0 1px 2px #0002; }
.res .n { font-weight: 800; font-size: clamp(68px, 7.4vw, 104px); line-height: .95; letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; }
.res .t { margin-top: 12px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.28; font-weight: 600; }
.res .w2 { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.next { margin-top: 24px; padding-top: 16px; border-top: 2px solid var(--ink); font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.28; max-width: 32em; }
.quote { margin-top: clamp(24px, 3vw, 36px); font-size: clamp(20px, 2vw, 26px); line-height: 1.22; font-weight: 600; letter-spacing: -.012em; max-width: 27em; }

/* Cervena tuzka */
.pen .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.pen .act { margin-top: 24px; }
.sheet { position: relative; background: #fff; padding: clamp(22px, 2.8vw, 40px) clamp(20px, 3vw, 44px); box-shadow: 0 1px 2px #0002, 0 18px 40px -22px #0005; transform: rotate(.5deg); font: 400 clamp(17px, 1.3vw, 19px)/1.55 var(--fp); color: var(--ink); }
.sheet h3 { font: 700 clamp(23px, 2vw, 28px)/1.2 var(--fp); margin-bottom: 12px; }
.st { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2.5px; }
.ring { position: relative; white-space: nowrap; }
.ring svg { position: absolute; left: -10px; top: -9px; width: calc(100% + 20px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.note { display: block; margin: 3px 0 14px; font: 400 clamp(19px, 1.5vw, 22px)/1.18 var(--fw); color: var(--red); }
.note.r { padding-left: 34%; margin-top: 10px; }
.note.new { margin: 14px 0 0; padding-top: 12px; border-top: 2px dashed #c8201a55; font-size: clamp(21px, 1.8vw, 25px); }
.fine { margin-top: 14px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.sheet .from { font: 500 15px/1.3 var(--fh); color: var(--muted); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sheet p + p { margin-top: 10px; }

/* Schody: cesta spoluprace, cena je jen soucast vysvetleni */
.steps { background: var(--paper); }
#priklady, #examples { background: var(--mint); }
#priklady .ex li, #examples .ex li { border-color: #bcd9d0; }
.stairs { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
.stairs li { padding: clamp(14px, 1.4vw, 20px) clamp(12px, 1.2vw, 18px); display: flex; flex-direction: column; }
.stairs h3 { font-weight: 700; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.12; letter-spacing: -.012em; }
.stairs p { margin-top: 8px; font-size: 15.5px; line-height: 1.38; }
.s1 { min-height: 260px; background: #e4f2ee; }
.s2 { min-height: 295px; background: #c4e5dc; }
.s3 { min-height: 330px; background: #8fd0c0; }
.s4 { min-height: 365px; background: #0e7c6b; color: #fff; }
.s5 { min-height: 400px; background: #0a5a4e; color: #fff; }
.after { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.after p { font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.25; }
.after small { display: block; font-weight: 400; font-size: 15.5px; color: var(--muted); margin-top: 4px; }

/* Dukazy */
.ex { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ex li { padding: 16px 0; border-top: 1px solid var(--line); }
.ex b { color: var(--red); font-weight: 700; display: block; }
.ex span { display: block; margin-top: 4px; }
.rt { margin-top: clamp(36px, 4vw, 52px); font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.012em; }
.rl { margin-top: 8px; max-width: 40em; font-size: 17px; line-height: 1.42; }
.refs { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.refs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.refs span { display: block; margin-top: 8px; font-weight: 600; font-size: 15.5px; line-height: 1.28; }
.refs .bezf { display: flex; flex-direction: column; padding: 12px; background: #fff; }
.refs .bezf i { display: block; font: 400 25px/1.05 var(--fw); color: var(--teal); padding-bottom: 12px; margin-bottom: auto; }
.refs .bezf span { margin-top: 0; }
.proof { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.proof > div { display: contents; }
blockquote { padding: 0 0 8px; }
cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 15.5px; }

/* Co presne dostanete: rozbaluje se, ceny nejsou prvni, co clovek uvidi */
.detail { background: var(--sand); }
.dets { margin-top: clamp(20px, 3vw, 32px); max-width: 860px; }
.det { border-top: 1px solid #cfc7b4; }
.det:last-child { border-bottom: 1px solid #cfc7b4; }
.det summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.012em; line-height: 1.15; }
.det summary::-webkit-details-marker { display: none; }
.det summary::after { content: "+"; color: var(--teal); font-weight: 400; font-size: 1.3em; line-height: .8; }
.det[open] summary::after { content: "\2212"; }
.det summary small { display: block; margin-top: 4px; font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--muted); line-height: 1.35; }
.det .in { margin-bottom: 10px; }
.dl li { padding: 12px 0; border-top: 1px solid #e2dbcc; }
.dl b { display: block; font-weight: 700; }
.dl span { display: block; margin-top: 3px; font-size: 17px; line-height: 1.42; }
.pr2 { padding: 12px 0 22px; border-top: 1px solid #e2dbcc; font-size: 16px; color: var(--muted); }

/* Karty pruvodcu: rucne kreslene skici */
.guides { background: var(--paper); }
.cards { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gcard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--pc); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.gcard:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -14px #0005; }
.gcard .pic { display: flex; align-items: center; justify-content: center; height: 188px; padding: 14px; background: #fff; }
.gcard .pic img { max-height: 160px; width: auto; }
.gcard .pic .tx { font: 400 30px/1.15 var(--fw); color: var(--pc); text-align: center; }
.gcard .tt { display: block; padding: 14px 16px 16px; border-top: 1px solid var(--line); flex: 1; }
.gcard b { display: block; font-size: 19px; font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.gcard small { display: block; margin-top: 6px; font-size: 15.5px; color: var(--muted); line-height: 1.35; }

/* Kdo jsem */
.who { background: var(--sand); }
.who .grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.who p { margin-top: 14px; max-width: 36em; }
.who p.strong { font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; margin-top: 22px; }
.who .sale { color: var(--muted); font-size: 17px; }
.who img { width: 100%; }

/* Zaver */
.end { background: var(--mint); }
.end p { margin-top: 16px; max-width: 34em; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.42; }
.end .act { margin-top: 24px; }
footer { background: var(--sand); color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 20px var(--side); border-top: 1px solid var(--line); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { padding: 3px 0; display: inline-block; }

/* Stranky pruvodcu: uvod v barve pruvodce */
.ph { background: var(--pc-soft); color: var(--ink); padding: clamp(28px, 4vw, 52px) var(--gut) clamp(36px, 5vw, 64px); }
.ph .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ph .kick { font-size: 15.5px; font-weight: 600; color: var(--pc); }
.ph .kick a { text-decoration: none; }
.ph .kick a:hover { text-decoration: underline; }
.ph h1 { margin-top: 10px; font-weight: 700; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -.024em; text-wrap: balance; }
.ph .sub { margin-top: 16px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.42; max-width: 34em; }
.ph .act { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.skica { background: #fff; padding: clamp(14px, 2vw, 26px); box-shadow: 0 1px 2px #0002, 0 16px 32px -20px #0005; transform: rotate(-1deg); }
.skica img { width: 100%; }
.ukazka { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.voices { display: grid; gap: 6px; font: 400 clamp(22px, 2.1vw, 30px)/1.22 var(--fw); color: var(--ink); }
.voices span:nth-child(even) { padding-left: 12%; color: var(--red); }
.prose > * { max-width: 40em; }
.prose p { margin-top: 14px; }
.prose p.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.45; }
.prose h2 + p { margin-top: 20px; }
.cool { background: var(--sand); }
.learn { margin-top: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.learn li { padding: 14px 0; border-top: 1px solid var(--line); }
.learn b { display: block; font-weight: 700; }
.learn span { display: block; margin-top: 4px; font-size: 17px; line-height: 1.42; }
.loss { margin-top: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); }
.loss .fld { padding: 16px 0; border-top: 1px solid var(--line); display: block; font-weight: 600; }
.loss .fld:first-child { border-top: 2px solid var(--ink); }
.loss .fld input[type=text] { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; font: 700 24px/1.2 var(--fh); border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.loss label.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.loss output { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.loss input[type=range] { width: 100%; height: 28px; margin-top: 10px; accent-color: var(--teal); display: block; }
.loss .res .n { font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.03em; }
.spot { margin-top: clamp(22px, 3vw, 32px); padding: clamp(20px, 2.6vw, 30px); background: #fff; box-shadow: 0 1px 2px #0002; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.4; }
.spot p + p { margin-top: 10px; }
.spot .hand { font: 400 clamp(23px, 2vw, 28px)/1.2 var(--fw); color: var(--red); }
.offer { background: var(--pc-soft); color: var(--ink); }
.offer .grid { margin-top: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.offer .inc li { padding: 14px 0; border-top: 1px solid #0002; }
.offer .inc b { display: block; font-weight: 700; }
.offer .inc span { display: block; margin-top: 3px; font-size: 17px; line-height: 1.42; color: #3d4645; }
.offer .buy { background: #fff; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 1px 2px #0002; }
.offer .buy p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.42; }
.offer .buy p + p { margin-top: 12px; }
.offer .buy .act { margin-top: 20px; }
.offer .buy .small { font-size: 15.5px; color: var(--muted); }
.me .grid { display: grid; grid-template-columns: 170px 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.me img { width: 100%; }
.me p { margin-top: 12px; max-width: 36em; }
.faq { margin-top: clamp(20px, 2.6vw, 30px); max-width: 46em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
.faq details p { padding-bottom: 16px; }
.quotes { margin-top: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.quotes p { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.42; }
.other { margin-top: clamp(20px, 2.6vw, 30px); }

/* Reference */
.refl { margin-top: clamp(22px, 3vw, 36px); columns: 2; column-gap: clamp(24px, 3vw, 44px); }
.refl blockquote { break-inside: avoid; padding: 18px 20px; margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); }
.refl blockquote p { font-size: 17px; line-height: 1.45; }
.tema { margin-top: clamp(32px, 4vw, 48px); font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.012em; }
.tema:first-child { margin-top: 0; }
.refl cite { margin-top: 10px; }

[hidden] { display: none !important; }

/* Formulare */
.f { max-width: 720px; }
.f fieldset { border: 0; margin: 0 0 clamp(22px, 3vw, 32px); padding: 0; }
.f legend { padding: 0; margin-bottom: 12px; font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.012em; }
.f label { display: block; margin-bottom: 16px; font-weight: 600; line-height: 1.35; }
.f label small { font-weight: 400; font-size: 15px; color: var(--muted); }
.f input, .f textarea, .f select { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; font: 400 17px/1.4 var(--fh); color: var(--ink); background: #fff; border: 1px solid #8a969d; border-radius: 0; }
.f input:focus, .f textarea:focus, .f select:focus { outline: 3px solid var(--teal); outline-offset: 1px; }
.f textarea { resize: vertical; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f button.btn { border: 0; font: 700 18px/1.2 var(--fh); cursor: pointer; }
.f button.btn:disabled { opacity: .6; cursor: wait; }
.f .fine { margin-top: 14px; }
.f-err { display: block; margin-top: 6px; color: var(--red); font-weight: 500; font-size: 15.5px; }
.f-chyba { margin-bottom: 18px; color: var(--red); font-weight: 600; }
.f-ok h2 { max-width: 20em; }
.f-ok p { margin-top: 14px; }

/* Videa: nahled je u nas, YouTube se nacte az po kliknuti */
.vidsec .lead + .vids, .vidsec .tema + .vids { margin-top: 18px; }
.vidsec .tema { margin-top: clamp(32px, 4vw, 52px); }
.vidsec .tema:first-child { margin-top: 0; }
.vnote { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.vjump { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15.5px; font-weight: 600; }
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; list-style: none; padding: 0; margin-bottom: 0; }
.vid a { display: block; text-decoration: none; color: var(--ink); }
.vid a:hover b { color: var(--red); }
.vth { position: relative; display: block; }
.vth img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.vth::after { content: ''; position: absolute; left: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 28px no-repeat; }
.vid b { display: block; margin-top: 8px; font-weight: 600; font-size: 15.5px; line-height: 1.28; }
.vid small { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.vframe { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .ph .grid, .ukazka, .calc .grid, .pen .grid, .proof, .who .grid, .learn, .loss, .offer .grid, .quotes { grid-template-columns: 1fr; }
  .hero { display: block; min-height: 0; background: var(--paper); color: var(--ink); }
  .hero::after { display: none; }
  .hero picture img { position: static; height: auto; aspect-ratio: 1 / 1; object-position: 50% 0; }
  .hero-t { width: auto; margin: 0; padding: 24px var(--gut) 32px; }
  .hero .en { border-top-color: var(--line); color: var(--muted); }
  .hero .en strong, .hero .en a { color: var(--ink); }
  .top nav { gap: 2px 14px; }
  .top nav a.skryt { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer > span { line-height: 1.5; }
  .ex { grid-template-columns: 1fr; }
  .sheet, .skica { transform: none; }
  .note.r { padding-left: 18%; }
  .stairs { grid-template-columns: 1fr; }
  .stairs li { min-height: 0 !important; }
  .s1 { margin-right: 24%; } .s2 { margin-right: 18%; } .s3 { margin-right: 12%; } .s4 { margin-right: 6%; }
  .who img { max-width: 240px; order: -1; }
  .me .grid { grid-template-columns: 120px 1fr; }
  .refl { columns: 1; }
}
@media (max-width: 560px) {
  .vids { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gcard .pic { height: 150px; }
  .gcard .pic img { max-height: 124px; }
  .me .grid { grid-template-columns: 1fr; }
  .me img { max-width: 170px; }
}
