@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librecaslondisplay/v18/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lYfxldCA.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librecaslondisplay/v18/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lWfxk.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/hankengrotesk/v12/ieVn2YZDLWuGJpnzaiwFXS9tYtpT59CjCQ.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/hankengrotesk/v12/ieVn2YZDLWuGJpnzaiwFXS9tYtpd59A.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Libre Caslon Text";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librecaslontext/v5/DdT678IGsGw1aF1JU10PUbTvNNaDMfq95-5DGiO1.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librecaslontext/v5/DdT678IGsGw1aF1JU10PUbTvNNaDMfq95-BDGg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #efe9dd;
  --paper-2: #eee9df;
  --ink: #15151b;
  --ink-2: #4a4a52;
  --rule: rgba(21, 21, 27, 0.14);
  --cobalt: #1d3bd1;
  --cobalt-ink: #142aa0;
  --serif: "Libre Caslon Display", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  /* writing paper: faint cobalt ruling, fine grain and long fibers, scrolling with the page like a real sheet */
  background: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(29, 59, 209, .13) 33px 34px) 0 96px / 100% 34px, url("https://static.wixstatic.com/media/3b3fef_ea368fdb2ddc4caab8dd56fbe1fedd7e~mv2.jpg") 0 0 / 640px 640px, var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--cobalt); color: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--ink-2) var(--paper-2); }

.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 12px; }
.skip:hover { color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s3); }

/* type */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 7vw, 6rem); letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.small { font-size: 0.9375rem; }

/* header */
.site-head { position: relative; z-index: 2; color: #3a2414;
  /* light oak notebook cover: long grain streaks, fine pores, soft top sheen, a thin cover edge */
  --wood:
    linear-gradient(180deg, rgba(255, 246, 230, .35), rgba(255, 246, 230, 0) 45%, rgba(80, 45, 15, .10)),
    url("https://static.wixstatic.com/media/3b3fef_81a8dbf1addc48ebbb764527360daa21~mv2.jpg") 0 0 / 1200px 360px,
    #d8b68c;
  background: var(--wood);
  box-shadow: inset 0 -3px 0 rgba(255, 240, 215, .25), 0 1px 0 #8a6038, 0 2px 0 rgba(60, 35, 12, .25), 0 10px 22px -14px rgba(60, 35, 12, .6);
}
/* text reads as laser-engraved into the wood, like the notebook title */
.site-head .brand span, .site-head .nav a:not(.btn) { color: #2b1a0c; text-shadow: 0 1px 0 rgba(255, 240, 215, .7), 0 -1px 0 rgba(70, 40, 15, .18); }
.site-head .nav a:not(.btn) { font-weight: 600; font-size: 1.04rem; letter-spacing: .005em; }
.site-head .brand span i { color: #5c3d22; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-top: var(--s3); padding-bottom: var(--s3); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: 0.01em; font-size: 1.05rem; }
.brand svg { width: 26px; height: 34px; color: var(--cobalt); }
.brand span b { font-weight: 600; }
.brand span i { font-style: normal; font-weight: 400; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 0.98rem; padding: 6px 0; }
.nav a.btn { padding: 11px 16px; }


/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px; min-height: 48px; background: #3b2414; color: #f6ead8; text-decoration: none; font: italic 400 1.12rem/1 "Libre Caslon Text", var(--serif); border: 1px solid #2a180c; border-radius: 2px; cursor: pointer; transition: background-color .25s cubic-bezier(.16,1,.3,1), gap .35s cubic-bezier(.16,1,.3,1); }
.btn:hover { color: #f6ead8; gap: 18px; filter: brightness(.88); }
.btn svg { width: 18px; height: 10px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn--sm { padding: 10px 16px; min-height: 42px; font-size: 1rem; }
/* gloss: dark walnut lacquer, a lit top edge and a soft warm lift */
.btn {
  position: relative; isolation: isolate;
  /* a walnut board: real grain under a lacquer sheen */
  background-image: linear-gradient(180deg, rgba(255, 240, 222, .30), rgba(255, 240, 222, .10) 46%, rgba(255, 240, 222, 0) 50%, rgba(20, 8, 0, .2)),
    url("https://static.wixstatic.com/media/3b3fef_59ba883714c747f19d9e9cadd909fb64~mv2.jpg");
  background-size: auto, 560px 210px;
  box-shadow: inset 0 1px 0 rgba(255, 230, 200, .28), inset 0 -1px 0 rgba(20, 8, 0, .35), 0 1px 2px rgba(40, 20, 5, .35), 0 8px 18px -10px rgba(40, 20, 5, .7);
}
/* lacquer glint: a soft diagonal light rests at the edge and sweeps across on hover */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 232, .32) 48%, rgba(255, 246, 232, .08) 54%, transparent 62%) 6% 0 / 260% 100% no-repeat;
  transition: background-position .9s cubic-bezier(.16,1,.3,1); }
.btn:hover::before, .btn:focus-visible::before { background-position: 105% 0; }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }
/* on hover the label is rewritten by hand: the sans fades, the same words are written in copperplate, left to right */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn[data-label] { transition: color .2s ease, background-color .25s cubic-bezier(.16,1,.3,1), gap .35s cubic-bezier(.16,1,.3,1); }
  .btn[data-label]:hover, .btn[data-label]:focus-visible { color: transparent; }
  .btn[data-label]:hover svg, .btn[data-label]:focus-visible svg { color: #f6ead8; }
  .btn[data-label]::after {
    content: attr(data-label); content: attr(data-label) / "";
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-start; pointer-events: none; padding: inherit;
    font: inherit; color: #f6ead8; white-space: nowrap;
    -webkit-mask-image: linear-gradient(90deg, #000 44%, transparent 56%); mask-image: linear-gradient(90deg, #000 44%, transparent 56%);
    -webkit-mask-size: 240% 100%; mask-size: 240% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  }
  .btn[data-label]:hover::after, .btn[data-label]:focus-visible::after { animation: write 1.15s cubic-bezier(.35,.1,.4,1) .05s forwards; }
}
@keyframes write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--cobalt); border-bottom-color: transparent; }

/* hero */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero .grid { align-items: end; }
.hero-copy { grid-column: 1 / span 8; position: relative; z-index: 1; padding-bottom: var(--s5); }
.hero-copy h1 { margin-bottom: var(--s4); }
.hero-copy .lead { margin-bottom: var(--s4); }
.hero-actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.hero-mark { grid-column: 9 / span 4; align-self: stretch; position: relative; min-height: 420px; }
.hero-mark .s-mark { position: absolute; right: -6%; top: 0; width: 118%; height: 100%; overflow: visible; }
.stroke { fill: none; stroke: var(--cobalt); stroke-linecap: round; stroke-linejoin: round; }
/* the written brand looks like ballpoint on paper: thin, slightly uneven edge, ink sitting in the paper */
.hero-mark .s-mark .stroke { stroke-width: 5; stroke: #2440b8; opacity: .9; filter: url(#ink); }
.hero-where { display: flex; gap: var(--s4); flex-wrap: wrap; border-top: 1px solid var(--rule); padding: var(--s3) 0; font-size: .95rem; color: var(--ink-2); }
.hero-where strong { color: var(--ink); font-weight: 600; }
@media (min-width: 961px) { .hero-where { max-width: calc(100% * 8 / 12); column-gap: var(--s4); row-gap: 6px; } }
/* hero desk: the brand is written on a real notebook page lying on the oak desk */
@media (min-width: 961px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-mark { grid-column: 8 / span 5; align-self: end; min-height: 0; aspect-ratio: 924 / 1152; margin-bottom: var(--s4); border-radius: 4px;
    background: #c9a477 url("https://static.wixstatic.com/media/3b3fef_d254f42ac0cf4d4dbf8919774c6d8605~mv2.jpg/v1/fill/w_924,h_1152,q_82,enc_auto/desk.jpg") center / cover;
    box-shadow: 0 30px 60px -30px rgba(60,35,15,.55); }
  .hero-mark .s-mark { right: auto; left: 12%; top: 13%; width: 72%; height: 74%; }
}

/* pen-stroke draw on load */
.draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: 0; animation: draw 2.2s cubic-bezier(.65,0,.35,1) .25s backwards; }
@keyframes draw { from { stroke-dashoffset: var(--len, 2000); } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .draw { animation: none; stroke-dashoffset: 0; } }

/* scroll divider: one line that is drawn as it enters */
.trace { display: block; width: 100%; height: clamp(60px, 9vw, 120px); margin: 0; overflow: visible; }
.trace path { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; }

/* the pen elsewhere: one line, the same cobalt, always drawn rather than placed */
.ink-under { display: block; width: min(260px, 60%); height: 20px; margin: -6px 0 var(--s3); overflow: visible; }
.ink-under path { stroke-width: 3; }
.ink-under .draw { animation-duration: 1.1s; animation-delay: .3s; }
.nav a:not(.btn), .link-arrow { position: relative; }
.nav a:not(.btn)::after, .link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 6px; width: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3c3 0 3-2.4 6-2.4S9 3 12 3s3-2.4 6-2.4S21 3 24 3' fill='none' stroke='%231d3bd1' stroke-width='1.4'/%3E%3C/svg%3E") 0 0 / 24px 6px repeat-x;
  transition: width .55s cubic-bezier(.16,1,.3,1);
}
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after, .nav a[aria-current="page"]:not(.btn)::after,
.link-arrow:hover::after, .link-arrow:focus-visible::after { width: 100%; }
.steps-wrap { position: relative; }
.trace.steps-trace { height: 24px; margin-bottom: -12px; position: relative; z-index: 1; }
.steps li { position: relative; }
@media (min-width: 961px) {
  .steps-wrap .steps li { border-top-color: transparent; }
  .steps-wrap .steps li::before { content: ""; position: absolute; left: -1px; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--cobalt); z-index: 2; }
}
@media (max-width: 960px) { .trace.steps-trace { display: none; } }
.trace.pick-ring { position: absolute; left: -8px; top: -8px; width: calc(100% + 18px); max-width: none; height: calc(100% + 16px); margin: 0; }
.trace.pick-ring path { stroke-width: 2; }
.thanks-mark { width: 42px; height: 56px; margin-bottom: var(--s3); color: var(--cobalt); }
.thanks-mark .draw { animation-duration: 1.3s; animation-delay: 0s; }
.thanks h2 { animation: rise .6s cubic-bezier(.16,1,.3,1) .9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav a:not(.btn)::after, .link-arrow::after { transition: none; } .thanks h2 { animation: none; } }

/* handwriting: marks drawn once as they arrive */
.ink { overflow: visible; max-width: none; }
.ink path { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js [data-ink] .ink path, .js .ink[data-ink] path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) .1s; }
.js [data-ink].inked .ink path, .js .ink[data-ink].inked path { stroke-dashoffset: 0; }
.ink-word { position: relative; white-space: nowrap; }
.ink-word .ink { position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .26em; }
.foot-ink { display: block; width: 210px; height: 22px; margin: -14px 0 var(--s3); }
.sign { display: block; width: 190px; height: 66px; margin: var(--s2) 0 var(--s4); }
.sign path { stroke-width: 2.6; }
.js .row[data-ink] { position: relative; border-bottom-color: transparent; }
.js .row[data-ink]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rule); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.65,0,.35,1); }
.js .row[data-ink].inked::after { transform: scaleX(1); }
.js .plan--pick[data-ink]::after { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.65,0,.35,1) .2s; }
.js .plan--pick[data-ink].inked::after { transform: scaleX(1); }
.hero h1 { width: fit-content; }
.js .hero h1 { -webkit-mask-image: linear-gradient(90deg, #000 44%, transparent 56%); mask-image: linear-gradient(90deg, #000 44%, transparent 56%); -webkit-mask-size: 240% 100%; mask-size: 240% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: ink-in 1.3s cubic-bezier(.45,0,.25,1) .05s forwards; }
@keyframes ink-in { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 { animation: none; -webkit-mask-image: none; mask-image: none; }
  .js [data-ink] .ink path, .js .ink[data-ink] path { transition: none; }
}

/* AI generator vs. STOPA */
.vs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-bottom: var(--s5); }
.vs-pair .sample:nth-child(n) { grid-column: auto; margin-top: 0; }
.s-ai { background: linear-gradient(135deg, #7b5cff, #4f8bff 60%, #46d1ff); color: #fff; display: grid; grid-template-rows: auto 1fr auto; padding: 5%; font-family: system-ui, sans-serif; }
.s-ai .ai-nav { display: flex; justify-content: space-between; font-size: .72rem; opacity: .9; }
.s-ai .ai-hero { align-self: center; text-align: center; display: grid; gap: 6px; justify-items: center; }
.s-ai .ai-hero b { font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 800; }
.s-ai .ai-hero span { font-size: .8rem; opacity: .9; }
.s-ai .ai-hero i { font-style: normal; font-size: .75rem; font-weight: 700; background: #fff; color: #5b4cff; padding: 7px 16px; border-radius: 999px; margin-top: 4px; }
.s-ai .ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-ai .ai-cards div { background: rgba(255,255,255,.18); border-radius: 12px; padding: 8px; font-size: .62rem; display: grid; gap: 2px; text-align: center; }
.s-ai .ai-cards b { font-size: .72rem; }
.vs-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.vs-row { display: grid; grid-template-columns: 2fr 4fr 5fr; column-gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.vs-head { font: 600 .85rem/1 var(--sans); letter-spacing: .04em; color: var(--ink-2); padding: var(--s2) 0; }
.vs-head span:last-child { color: var(--cobalt); }
.vs-what { font: 400 1.35rem/1.2 var(--serif); }
.vs-ai { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(21,21,27,.35); }
.vs-us { position: relative; padding-left: 34px; }
.vs-us .tick { position: absolute; left: 0; top: -.05em; width: 24px; height: 24px; }
.vs-us .tick path { stroke-width: 2.6; }
.vs-note { margin-top: var(--s4); max-width: 62ch; }
@media (max-width: 960px) {
  .vs-pair { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr; row-gap: 6px; }
  .vs-head { display: none; }
  .vs-ai::before { content: "AI generátor: "; text-decoration: none; display: inline-block; margin-right: 4px; }
}

/* lamp light over the paper: a soft pool that follows the pointer, darker sheet edges, a red margin line like a notebook */
.paper-light { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(0, 0, 0, 0) 50%, rgba(70, 52, 24, .2) 100%),
    linear-gradient(90deg, transparent calc(max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) - 26px), rgba(204, 92, 86, .45) calc(max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) - 26px), rgba(204, 92, 86, .45) calc(max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) - 25px), transparent calc(max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) - 25px)); }

/* pencil first, ink second: graphite construction lines, then a pencil inks the S and is set down */
.sketch line, .sketch circle, .sketch path { fill: none; stroke: #6f6960; stroke-width: 1; stroke-linecap: round; opacity: .32; vector-effect: non-scaling-stroke; }
.js .sketch > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sketch .9s cubic-bezier(.5,0,.3,1) forwards; }
.js .sketch > :nth-child(2) { animation-delay: .1s; } .js .sketch > :nth-child(3) { animation-delay: .2s; }
.js .sketch > :nth-child(4) { animation-delay: .3s; } .js .sketch > :nth-child(5) { animation-delay: .45s; }
@keyframes sketch { to { stroke-dashoffset: 0; } }
.pencil { position: absolute; left: 0; top: 0; width: 216px; height: 20px; transform-origin: 2px 10px; opacity: 0; pointer-events: none; filter: drop-shadow(5px 8px 6px rgba(50, 36, 14, .25)); z-index: 1; }
.pencil.on { opacity: 1; transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) { .js .sketch > * { animation: none; stroke-dashoffset: 0; } }

/* 404 */
.lost { padding: clamp(40px, 8vw, 120px) 0 var(--s6); }
.lost .grid { align-items: center; }
.lost-mark { grid-column: 1 / span 4; height: clamp(220px, 34vw, 420px); }
.lost-mark svg { height: 100%; width: auto; overflow: visible; }
.lost-copy { grid-column: 6 / span 7; }
.lost-copy h1 { margin-bottom: var(--s3); }
.lost-copy .lead { margin-bottom: var(--s4); }
@media (max-width: 960px) { .lost-mark, .lost-copy { grid-column: 1 / -1; } .lost-mark { height: 180px; margin-bottom: var(--s4); } }

/* sections */
.section { padding: var(--s6) 0; }
.section--tight { padding: var(--s5) 0; }
.section-head { grid-column: 1 / span 5; }
.section-head h2 { margin-bottom: var(--s3); }
.section-body { grid-column: 7 / span 6; }

/* services list: editorial rows, not cards */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row h3 { grid-column: 1 / span 5; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { color: var(--cobalt); }
.row p { grid-column: 6 / span 5; margin: 0; color: var(--ink-2); }
.row .from { grid-column: 11 / span 2; text-align: right; font-weight: 600; white-space: nowrap; }
.row .from small { display: block; font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.rows-more { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; padding-top: var(--s4); }
.rows-more p { margin: 0; max-width: 60ch; font-size: 1.08rem; }

/* samples */
.samples { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s3); row-gap: var(--s5); }
.sample { margin: 0; }
.sample:nth-child(1) { grid-column: 1 / span 7; }
.sample:nth-child(2) { grid-column: 8 / span 5; margin-top: var(--s6); }
.sample:nth-child(3) { grid-column: 1 / span 6; }
.sample:nth-child(4) { grid-column: 7 / span 6; margin-top: var(--s5); }
.sample:nth-child(5) { grid-column: 4 / span 5; }
.sample:nth-child(6) { grid-column: 7 / span 5; margin-top: var(--s6); }
.sample figcaption { display: flex; justify-content: space-between; gap: var(--s2); padding-top: var(--s2); font-size: .95rem; border-top: 1px solid var(--rule); margin-top: var(--s2); }
.sample figcaption b { font-weight: 600; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border: 1px solid var(--ink); border-radius: 2px; white-space: nowrap; align-self: start; }

#ukazky, #loga, #vs, #prubeh { scroll-margin-top: 24px; }
.sheet { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--rule); }
/* sample 1: bakery, rye and flour */
.s-pek { background: #efe2c8; color: #3a2414; display: grid; grid-template-rows: auto 1fr auto; padding: 6%; }
.s-pek .s-nav { display: flex; justify-content: space-between; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.s-pek .s-h { font: 400 clamp(1.8rem, 4.2vw, 3.6rem)/0.95 var(--serif); align-self: center; max-width: 9ch; }
.s-pek .s-h em { font-style: normal; color: #a1401a; }
.s-pek .s-foot { display: flex; gap: 10px; align-items: center; font: 500 .78rem/1.3 var(--sans); }
.s-pek .s-foot span { background: #3a2414; color: #efe2c8; padding: 8px 12px; }
.s-pek .loaf { position: absolute; right: -6%; bottom: -10%; width: 58%; }
/* sample 2: carpenter, social posts */
.s-tru { aspect-ratio: auto; background: #fbfaf7; color: #1c1c1c; font-family: var(--sans); padding: 5% 5% 0; display: grid; grid-template-rows: auto auto auto 1fr; gap: 10px; }
.s-tru .ig-head { display: flex; gap: 14px; align-items: center; }
.s-tru .ig-ava { flex: none; width: 54px; height: 54px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 200deg, #c98a4b, #8a5a2b, #314a3e, #c98a4b); }
.s-tru .ig-ava span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #23332b; color: #e9e3d4; font: 400 1.5rem/1 var(--serif); box-shadow: 0 0 0 2.5px #fbfaf7; }
.s-tru .ig-who { display: grid; gap: 3px; font-size: .7rem; line-height: 1.35; color: #3a3a3a; }
.s-tru .ig-who b { font-size: .8rem; color: #111; }
.s-tru .ig-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-tru .ig-btns i { font-style: normal; font-weight: 600; font-size: .68rem; text-align: center; padding: 6px 0; border-radius: 7px; background: #efede8; }
.s-tru .ig-btns i.on { background: #23332b; color: #f3efe6; }
.s-tru .ig-hl { display: flex; gap: 14px; font-size: .6rem; color: #444; }
.s-tru .ig-hl span { display: grid; justify-items: center; gap: 3px; }
.s-tru .ig-hl em { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1.5px #fbfaf7, 0 0 0 2.5px #d6d2c8; }
.s-tru .h1 { background: repeating-linear-gradient(100deg, #c98a4b 0 3px, #b97a3e 3px 5px); }
.s-tru .h2 { background: #314a3e; }
.s-tru .h3 { background: repeating-radial-gradient(circle at 30% 110%, #6b4423 0 2px, #8a5a2b 2px 5px); }
.s-tru .h4 { background: #e9e3d4; }
.s-tru .ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -5.6%; align-self: end; }
.s-tru .p { position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; text-align: center; }
.s-tru .p svg:not(.ic) { width: 56%; }
.s-tru .p small { position: absolute; left: 8%; bottom: 7%; font: 600 .56rem/1.2 var(--sans); text-align: left; }
.s-tru .ic { position: absolute; top: 7%; right: 7%; width: 13%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.s-tru .p-oak { background: repeating-radial-gradient(ellipse 140% 60% at 20% 130%, #d39a5c 0 5px, #b97a3e 5px 7px, #c98a4b 7px 12px, #a86d36 12px 13px); }
.s-tru .p-kit { background: #e9e3d4; }
.s-tru .p-kit small, .s-tru .p-bench small { color: #23332b; }
.s-tru .p-quote { background: #23332b; color: #e9e3d4; font: 400 clamp(.8rem, 1.5vw, 1.1rem)/1.05 var(--serif); }
.s-tru .p-bench { background: #d9cdb4; }
.s-tru .p-wal { background: repeating-radial-gradient(ellipse 90% 140% at 110% 50%, #5a3a20 0 4px, #6b4423 4px 6px, #4a2f19 6px 10px, #7a5030 10px 11px); }
.s-tru .p-wal .tagline { position: absolute; left: 8%; bottom: 7%; font: 400 .9rem/1 var(--serif); color: #f3efe6; }
.s-tru .p-inv { background: #c98a4b; color: #23332b; font: 400 clamp(.85rem, 1.6vw, 1.2rem)/1.05 var(--serif); }
/* sample 3: hair salon, logo */
.s-kad { background: #f1d6d0; display: grid; place-items: center; }
.s-kad .logo-k { width: 46%; color: #5a1f2b; }
.s-kad .k-name { position: absolute; bottom: 9%; left: 0; right: 0; text-align: center; font: 600 .8rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #5a1f2b; }
.s-kad .chip { position: absolute; top: 8%; width: 12%; aspect-ratio: 1; border-radius: 50%; }
.s-kad .chip:nth-of-type(1) { left: 8%; background: #5a1f2b; }
.s-kad .chip:nth-of-type(2) { left: 22%; background: #d08a7a; }
.s-kad .chip:nth-of-type(3) { left: 36%; background: #fff7f2; border: 1px solid #d08a7a; }

/* samples come closer on hover */
.samples .sheet { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  .samples .sample:hover .sheet { transform: translateY(-8px) scale(1.035); box-shadow: 0 28px 50px -24px rgba(20, 20, 40, .45), 0 10px 18px -12px rgba(20, 20, 40, .25); z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .samples .sheet { transition: none; } .samples .sample:hover .sheet { transform: none; } }
/* touch screens have no hover: the sample in the middle of the screen comes closer instead */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .samples .sample.lift .sheet { transform: translateY(-6px) scale(1.03); box-shadow: 0 28px 50px -24px rgba(20, 20, 40, .45), 0 10px 18px -12px rgba(20, 20, 40, .25); z-index: 2; }
}
/* services are paper cards; on hover (or in the middle of a phone screen) the card comes closer, like the samples */
.rows { display: grid; gap: var(--s3); border-top: 0; }
.rows .row, .js .rows .row[data-ink] { position: relative; padding: var(--s4); border: 1px solid rgba(60, 35, 12, .14); border-radius: 3px;
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), url("https://static.wixstatic.com/media/3b3fef_ea368fdb2ddc4caab8dd56fbe1fedd7e~mv2.jpg") 0 0 / 640px 640px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 4px -2px rgba(60, 35, 12, .18), 0 12px 22px -18px rgba(60, 35, 12, .4);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s cubic-bezier(.2, .7, .2, 1); }
.js .rows .row[data-ink]::after { content: none; }
/* a card opens to show what is included; the whole card is the toggle */
.rows .row .more { grid-column: 1 / -1; margin-top: var(--s2); }
.rows .row summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; color: var(--cobalt); }
.rows .row summary::-webkit-details-marker { display: none; }
.rows .row summary::after { content: "+"; font-size: 1.2em; line-height: 1; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.rows .row .more[open] summary::after { transform: rotate(45deg); }
.rows .row summary::before { content: ""; position: absolute; inset: 0; }
.rows .row .more .checks, .rows .row .more .link-arrow { position: relative; z-index: 1; }
.rows .row .more .checks { margin: var(--s2) 0; max-width: 60ch; }
@media (hover: hover) {
  .rows .row:hover { transform: translateY(-6px) scale(1.015); z-index: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 28px 44px -24px rgba(60, 35, 12, .5), 0 10px 18px -12px rgba(60, 35, 12, .25); }
  .rows .row:hover h3 { color: var(--cobalt); }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .rows .row.lift { transform: translateY(-5px) scale(1.015); z-index: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 28px 44px -24px rgba(60, 35, 12, .5), 0 10px 18px -12px rgba(60, 35, 12, .25); }
}
@media (prefers-reduced-motion: reduce) { .rows .row { transition: none; } .rows .row:hover { transform: none; } }
@media (max-width: 600px) { .rows .row, .js .rows .row[data-ink] { padding: var(--s3) 20px; } }
/* price plans are paper cards like the service cards; the recommended one has a blue ink edge */
.pg-list { display: grid; gap: var(--s3); align-content: start; }
.pg-list .plan, .pg-list .plan:first-child { padding: var(--s4); border: 1px solid rgba(60, 35, 12, .14); border-radius: 3px;
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), url("https://static.wixstatic.com/media/3b3fef_ea368fdb2ddc4caab8dd56fbe1fedd7e~mv2.jpg") 0 0 / 640px 640px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 4px -2px rgba(60, 35, 12, .18), 0 12px 22px -18px rgba(60, 35, 12, .4);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s cubic-bezier(.2, .7, .2, 1); }
.pg-list .plan.plan--pick { border: 2px solid rgba(29, 59, 209, .55); }
.pg-list .plan--pick::after, .js .pg-list .plan--pick[data-ink]::after { content: none; }
@media (hover: hover) {
  .pg-list .plan:hover { transform: translateY(-6px) scale(1.015); z-index: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 28px 44px -24px rgba(60, 35, 12, .5), 0 10px 18px -12px rgba(60, 35, 12, .25); }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .pg-list .plan.lift { transform: translateY(-5px) scale(1.015); z-index: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 28px 44px -24px rgba(60, 35, 12, .5), 0 10px 18px -12px rgba(60, 35, 12, .25); }
}
@media (prefers-reduced-motion: reduce) { .pg-list .plan { transition: none; } .pg-list .plan:hover { transform: none; } }
@media (max-width: 600px) { .pg-list .plan, .pg-list .plan:first-child { padding: var(--s3) 20px; } }
/* social samples: a looping reel and four posts */
.social .sample:nth-child(n) { grid-column: span 4; margin-top: 0; }
.social .sample:first-child { grid-row: span 2; }
.s-reel { aspect-ratio: 9 / 19; background: #2a1a10; color: #f4ece0; font-family: var(--sans); }
.s-reel .r-bar { position: absolute; z-index: 3; left: 5%; right: 5%; top: 3%; height: 3px; background: rgba(244, 236, 224, .3); border-radius: 3px; overflow: hidden; }
.s-reel .r-bar i { display: block; height: 100%; width: 100%; background: #f4ece0; transform-origin: left; animation: r-prog 12s linear infinite; }
.s-reel .r-acc { position: absolute; z-index: 3; left: 5%; right: 5%; bottom: 4%; display: flex; align-items: center; gap: 8px; font-size: .78rem; }
.s-reel .r-av { width: 28px; height: 28px; border-radius: 50%; background: #f4ece0; display: grid; place-items: center; }
.s-reel .r-av svg { width: 60%; }
.s-reel .r-acc em { font-style: normal; font-weight: 600; border: 1px solid rgba(244, 236, 224, .7); border-radius: 6px; padding: 3px 8px; }
.s-reel .r-side { position: absolute; z-index: 3; right: 5%; bottom: 14%; display: grid; gap: 16px; font-style: normal; font-size: 1.1rem; text-align: center; opacity: .9; }
.s-reel .r-side i { font-style: normal; }
.s-reel .r-scene { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 0 10%; opacity: 0; animation: r-scene 12s infinite; }
.s-reel .r-scene b { font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--serif); }
.s-reel .r-scene small { font-size: .85rem; letter-spacing: .08em; }
.s-reel .r1 { background: radial-gradient(120% 70% at 50% 35%, #8a5a3c, #2a1a10 70%); }
.s-reel .r1 .r-cup { width: 46%; }
.s-reel .r1 .steam { animation: r-steam 2.4s ease-in-out infinite; }
.s-reel .r2 { background: linear-gradient(170deg, #f4ece0, #e7d3b8); color: #3a2418; animation-delay: 4s; }
.s-reel .r2 .r-tag { background: #b8652f; color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; }
.s-reel .r3 { background: #f4ece0; color: #3a2418; animation-delay: 8s; }
.s-reel .r3 svg { width: 34%; }
.s-reel .r3 b { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: .3em; padding-left: .3em; }
.s-reel .r3 small { color: #b8652f; font-weight: 600; letter-spacing: .25em; font-size: .7rem; }
@keyframes r-scene { 0% { opacity: 0; transform: scale(1.04); } 3%, 31% { opacity: 1; } 34%, 100% { opacity: 0; transform: scale(1); } }
@keyframes r-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes r-steam { 0%, 100% { transform: translateY(4px); opacity: .25; } 50% { transform: translateY(-4px); opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  .s-reel .r-scene, .s-reel .r-bar i, .s-reel .steam { animation: none; }
  .s-reel .r3 { opacity: 1; }
}
.s-post { aspect-ratio: 1; display: grid; align-content: end; gap: 6px; padding: 9%; font-family: var(--sans); }
.s-post b { font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.05 var(--serif); max-width: 12ch; position: relative; z-index: 1; }
.s-post small { font-size: .82rem; position: relative; z-index: 1; }
.p-kv { background: #efe0c8; color: #3b2a14; }
.p-kv .p-k { position: absolute; top: 9%; left: 9%; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.p-kv .p-loaf { position: absolute; right: -6%; bottom: 0; width: 62%; }
.p-kv b, .p-kv small { max-width: 55%; }
.p-kv .p-dots { position: absolute; top: 9%; right: 9%; display: flex; gap: 4px; }
.p-kv .p-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(59, 42, 20, .3); }
.p-kv .p-dots i.on { background: #3b2a14; }
.p-ps { background: #0f1b2a; color: #fff; }
.p-ps .p-hex { position: absolute; top: 9%; left: 9%; width: 22%; }
.p-ps small { color: #f2b705; font-weight: 600; }
.p-dc { background: #ecdcc6; color: #5a2a17; align-content: center; justify-items: center; text-align: center; }
.p-dc .p-wave { width: 44%; margin-bottom: 8px; }
.p-dc b { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.p-vl { background: #f3e3de; color: #5a1f2b; }
.p-vl .p-split { position: absolute; inset: 0 0 42% 0; display: grid; grid-template-columns: 1fr 1fr; }
.p-vl .p-split span { display: grid; place-items: end start; padding: 8%; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.p-vl .p-split span:first-child { background: repeating-linear-gradient(110deg, #d9b8ae 0 6px, #cfa99f 6px 9px); }
.p-vl .p-split span:last-child { background: radial-gradient(80% 90% at 50% 100%, #8a3a46, #5a1f2b); color: #f3e3de; }
@media (max-width: 960px) {
  .social .sample:nth-child(n) { grid-column: span 6; grid-row: auto; }
  .social .sample:first-child { grid-column: 1 / -1; }
  .s-reel { aspect-ratio: auto; height: min(560px, 120vw); }
}
.s-reel::after { content: ""; position: absolute; inset: 55% 0 0 0; z-index: 2; background: linear-gradient(180deg, transparent, rgba(20, 12, 6, .55)); pointer-events: none; }
.s-reel::before { content: ""; position: absolute; inset: 0 0 85% 0; z-index: 2; background: linear-gradient(0deg, transparent, rgba(20, 12, 6, .35)); pointer-events: none; }
@media (max-width: 600px) { .social .sample:nth-child(n) { grid-column: 1 / -1; } }
/* the reel as real video: captions and the closing logo follow the video clock (set by trace.js) */
.s-reel .r-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-reel.has-video .r-bar i { animation: none; transform: scaleX(0); }
.s-reel .r-cap { position: absolute; z-index: 3; left: 7%; right: 18%; bottom: 15%; display: grid; justify-items: start; gap: 6px; color: #fff; text-shadow: 0 2px 12px rgba(20, 12, 6, .6); opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.s-reel .r-cap b { font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--serif); }
.s-reel .r-cap small { font-size: .85rem; }
.s-reel .r-cap .r-tag { text-shadow: none; background: #b8652f; color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; }
.s-reel .r-end { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(244, 236, 224, .94); color: #3a2418; opacity: 0; transition: opacity .6s ease; }
.s-reel .r-end svg { width: 34%; }
.s-reel .r-end b { font: 400 clamp(1.6rem, 2.8vw, 2.4rem)/1 var(--serif); letter-spacing: .3em; padding-left: .3em; }
.s-reel .r-end small { color: #b8652f; font-weight: 600; letter-spacing: .25em; font-size: .7rem; }
.s-reel[data-s="1"] .c1, .s-reel[data-s="2"] .c2 { opacity: 1; transform: none; }
.s-reel[data-s="3"] .r-end { opacity: 1; }
.s-post.p-img { padding: 0; }
.s-post.p-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sheet.web-shot { aspect-ratio: 4 / 3; background: #e8e2d6; }
.sheet.web-shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* logo gallery */
.logos .sample:nth-child(n) { grid-column: span 4; margin-top: 0; }
.lg { display: grid; place-items: center; }
.lg svg { width: 100%; height: 100%; }
.lg text { text-anchor: middle; }
.lg .w { font-family: var(--serif); }
.lg .s { font-family: var(--sans); font-weight: 600; }
.lg .b { font-weight: 800; font-style: italic; letter-spacing: 1px; }
.lg-zrn { background: #f4ece0; }
.lg-vln { background: #f3e3de; }
.lg-pis { background: #0f1b2a; }
.lg-mly { background: #eef0f3; }
.lg-lip { background: #efe9dc; }
.lg-dech { background: #ecdcc6; }
@media (max-width: 960px) { .logos .sample:nth-child(n) { grid-column: span 6; } }
@media (max-width: 600px) { .logos .sample:nth-child(n) { grid-column: 1 / -1; } }
/* sample 4: honey e-shop */
.s-med { background: #f7efe0; color: #3b2a14; display: grid; grid-template-rows: auto auto 1fr; gap: 4%; padding: 5%; font-family: var(--sans); }
.s-med .m-top { display: flex; align-items: center; gap: 12px; font-size: .72rem; }
.s-med .m-top b { font: 400 1.05rem/1 var(--serif); margin-right: auto; }
.s-med .m-top i { font-style: normal; font-weight: 600; border: 1px solid #3b2a14; padding: 5px 9px; border-radius: 99px; }
.s-med .m-top em { font-style: normal; background: #6b7f3a; color: #fff; border-radius: 99px; padding: 1px 6px; margin-left: 4px; }
.s-med .m-hero { font: 400 clamp(1.1rem, 2vw, 1.6rem)/1.1 var(--serif); max-width: 16ch; }
.s-med .m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; align-items: end; }
.s-med .m-grid div { background: #fffaf1; border-radius: 6px; padding: 8% 8% 10%; display: grid; justify-items: center; gap: 3px; text-align: center; font-size: .72rem; box-shadow: 0 6px 14px -10px rgba(59, 42, 20, .5); }
.s-med .m-grid svg { width: 46%; margin-bottom: 4px; }
.s-med .m-grid b { font-size: .8rem; }
.s-med .m-grid i { font-style: normal; font-weight: 600; font-size: .66rem; background: #3b2a14; color: #f7efe0; padding: 5px 8px; border-radius: 3px; margin-top: 4px; }
.s-med .m-grid i.on { background: #6b7f3a; }
/* sample 5: physio booking */
.s-fyz { background: #eef3f1; color: #18332f; display: grid; grid-template-columns: 2fr 3fr; gap: 5%; padding: 6%; font-family: var(--sans); align-items: center; }
.s-fyz .f-side { display: grid; gap: 8px; font-size: .74rem; }
.s-fyz .f-side b { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .66rem; color: #2f7d74; }
.s-fyz .f-h { font: 400 clamp(1.05rem, 2vw, 1.5rem)/1.1 var(--serif); }
.s-fyz .f-pick { background: #fff; border-left: 0; border-radius: 6px; padding: 8px 10px; line-height: 1.4; box-shadow: inset 0 0 0 1px #cfe0dc; }
.s-fyz .f-side i { font-style: normal; font-weight: 600; background: #2f7d74; color: #fff; padding: 8px 10px; border-radius: 4px; text-align: center; }
.s-fyz .f-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; background: #fff; border-radius: 8px; padding: 8px; box-shadow: 0 10px 24px -16px rgba(24, 51, 47, .6); }
.s-fyz .f-cal div { display: grid; gap: 5px; text-align: center; font-size: .66rem; }
.s-fyz .f-cal b { font-weight: 600; padding-bottom: 2px; }
.s-fyz .f-cal span { border: 1px solid #cfe0dc; border-radius: 4px; padding: 6px 0; color: #18332f; }
.s-fyz .f-cal span.x { color: #9fb3ae; text-decoration: line-through; background: #f4f7f6; }
.s-fyz .f-cal span.on { background: #2f7d74; border-color: #2f7d74; color: #fff; font-weight: 600; }
/* sample 6: member profiles with Google sign-in, on a phone */
.s-plav { background: linear-gradient(160deg, #d9ecf5, #bcdcec); display: grid; place-items: center; font-family: var(--sans); }
.s-plav .phone { width: 58%; aspect-ratio: 9 / 15; background: #fff; border-radius: 22px; box-shadow: 0 0 0 6px #10222c, 0 18px 30px -14px rgba(16, 34, 44, .6); padding: 9% 8%; display: grid; grid-template-rows: auto 1fr; gap: 8%; color: #10222c; font-size: .68rem; }
.s-plav .p-login { display: grid; gap: 5px; justify-items: start; }
.s-plav .p-login b { font: 400 .95rem/1.1 var(--serif); }
.s-plav .p-login i { font-style: normal; font-weight: 600; display: flex; align-items: center; gap: 6px; border: 1px solid #c9d6dc; border-radius: 99px; padding: 6px 10px; width: 100%; justify-content: center; }
.s-plav .p-login i em { font-style: normal; font-weight: 700; width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #10222c; border-radius: 50%; font-size: .6rem; }
.s-plav .p-login small { color: #6c7f88; font-size: .6rem; align-self: center; justify-self: center; }
.s-plav .p-prof { background: #eef6fa; border-radius: 12px; padding: 9%; display: grid; gap: 4px; align-content: start; }
.s-plav .p-ava { width: 30px; height: 30px; border-radius: 50%; background: #1b6f99; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .62rem; }
.s-plav .p-prof b { font-size: .8rem; }
.s-plav .p-bar { height: 5px; background: #d3e6ef; border-radius: 99px; overflow: hidden; }
.s-plav .p-bar em { display: block; width: 70%; height: 100%; background: #1b6f99; }
.s-plav .p-next { margin-top: 6px; line-height: 1.35; color: #4b5d66; }
.s-plav .p-next strong { color: #10222c; }
@media (max-width: 600px) {
  .s-plav .phone { width: 90%; aspect-ratio: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 6%; padding: 6%; border-radius: 16px; }
  .s-plav .p-next { display: none; }
}

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.steps li { border-top: 1px solid var(--ink); padding-top: var(--s3); }
.steps h3 { font-size: 1.55rem; margin-bottom: var(--s2); }
.steps p { color: var(--ink-2); font-size: 1rem; }

/* closing call */
.close { padding: var(--s6) 0 var(--s5); }
.close h2 { font-size: clamp(2.3rem, 5.4vw, 4.8rem); max-width: 14ch; margin-bottom: var(--s4); }
.close .grid > div { grid-column: 1 / span 9; }

/* page head (subpages) */
.page-head { padding: clamp(40px, 6vw, 88px) 0 var(--s4); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; margin-bottom: var(--s3); }

/* service detail */
.service { padding: var(--s5) 0; border-top: 1px solid var(--ink); scroll-margin-top: 24px; }
.service .grid > .service-title { grid-column: 1 / span 5; }
.service .grid > .service-text { grid-column: 7 / span 6; }
.service h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: var(--s2); }
.checks { list-style: none; padding: 0; margin: var(--s3) 0; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 16px; height: 8px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }

/* pricing */
.price-group { padding: var(--s5) 0; border-top: 1px solid var(--ink); }
.price-group > .wrap > .grid > .pg-head { grid-column: 1 / span 4; }
.price-group > .wrap > .grid > .pg-list { grid-column: 5 / span 8; }
.pg-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: var(--s2); }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.plan:first-child { padding-top: 0; }
.plan h3 { font: 600 1.05rem/1.3 var(--sans); letter-spacing: .06em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan .price { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1 var(--serif); text-align: right; white-space: nowrap; }
.plan .price small { display: block; font: 400 .85rem/1.4 var(--sans); color: var(--ink-2); }
.plan .price small.vat { margin-top: 2px; color: var(--ink); font-weight: 600; }
.plan p { grid-column: 1 / -1; margin: 10px 0 0; color: var(--ink-2); max-width: 70ch; }
.plan .when { grid-column: 1 / -1; font-size: .9rem; margin-top: 6px; color: var(--ink); }
.plan .checks { grid-column: 1 / -1; margin: 8px 0 0; color: var(--ink-2); }
.plan .checks li { padding: 5px 0 5px 28px; border-bottom: 0; }
.plan .checks li::before { top: .8em; }
.price-promise { max-width: 62ch; margin-top: var(--s4); }
.plan--pick { position: relative; }
.plan--pick::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cobalt); }
.pick { position: relative; display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .02em; color: var(--cobalt); padding: 5px 8px; margin: 0 10px 0 4px; }
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.notes strong { font-weight: 600; }
.offer { border-top: 1px solid var(--ink); padding: var(--s6) 0 var(--s5); }
.offer h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 14ch; margin-bottom: var(--s3); }
.offer .grid > div:first-child { grid-column: 1 / span 7; }
.offer .grid > div:last-child { grid-column: 9 / span 4; align-self: end; }

/* faq */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: var(--s3) 0; font: 400 1.5rem/1.2 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: var(--s3); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--cobalt); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s3); color: var(--ink-2); }

/* about */
.about .grid > .a-text { grid-column: 1 / span 7; }
.about .grid > .a-side { grid-column: 9 / span 4; }
.about .a-text p { font-size: 1.15rem; }
.portrait { aspect-ratio: 4 / 5; border: 1px dashed var(--ink-2); display: grid; place-items: center; text-align: center; color: var(--ink-2); font-size: .9rem; padding: var(--s3); background: var(--paper-2); }
/* the real photo: a print laid on the page, slightly lifted */
.portrait--photo { display: block; width: 100%; height: auto; padding: 0; border: 0; border-radius: 3px; object-fit: cover; box-shadow: 0 2px 4px -2px rgba(60, 35, 12, .25), 0 22px 36px -22px rgba(60, 35, 12, .5); }
.facts { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.facts li { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.facts li span:first-child { color: var(--ink-2); }

/* contact */
.contact .grid > .c-form { grid-column: 1 / span 7; }
.contact .grid > .c-side { grid-column: 9 / span 4; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { margin-bottom: var(--s2); }
.field > .err { min-height: 1.35em; line-height: 1.35; }
.field > label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.req { color: var(--cobalt); margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 12px 0; caret-color: var(--cobalt);
  transition: border-color .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; border: 1px solid var(--ink); padding: 12px 14px; border-radius: 2px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 1px 0 0 var(--cobalt); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--cobalt); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field ::placeholder { color: var(--ink-2); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.choice input[type="checkbox"].solo + span::before { content: ""; }
.err { color: #b3261e; font-size: .9rem; margin: 8px 0 0; }
.help { color: var(--ink-2); font-size: .9rem; margin: 6px 0 0; }
.form-msg { padding: var(--s3) 0; }
.thanks { padding-top: var(--s2); }
.thanks h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--s2); }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-list span { display: block; font-size: .85rem; color: var(--ink-2); }
.todo { background: #fff3c4; padding: 0 4px; }

/* footer */
.site-foot { border-top: 1px solid var(--ink); padding: var(--s5) 0 var(--s4); font-size: .95rem; }
.site-foot .grid > div:nth-child(1) { grid-column: 1 / span 5; }
.site-foot .grid > div:nth-child(2) { grid-column: 7 / span 3; }
.site-foot .grid > div:nth-child(3) { grid-column: 10 / span 3; }
.site-foot h2 { font: 600 .95rem/1.3 var(--sans); margin-bottom: var(--s2); letter-spacing: 0; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { padding: 4px 0; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-slogan { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.05 var(--serif); margin-bottom: var(--s3); max-width: 14ch; }
.legal { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .875rem; }

/* responsive */
@media (max-width: 960px) {
  .hero-copy { grid-column: 1 / -1; padding-bottom: var(--s4); }
  .hero-mark { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(100%, 300px); min-height: 0; aspect-ratio: 924 / 1152; margin-bottom: var(--s4); border-radius: 4px;
    background: #c9a477 url("https://static.wixstatic.com/media/3b3fef_d254f42ac0cf4d4dbf8919774c6d8605~mv2.jpg/v1/fill/w_600,h_748,q_82,enc_auto/desk.jpg") center / cover;
    box-shadow: 0 24px 44px -24px rgba(60,35,15,.55); }
  .hero-mark .s-mark { position: absolute; left: 12%; top: 13%; width: 72%; height: 74%; overflow: visible; }
  .hero-mark .s-mark .stroke { stroke-width: 8; }
  .section-head, .section-body, .service .grid > .service-title, .service .grid > .service-text,
  .price-group > .wrap > .grid > .pg-head, .price-group > .wrap > .grid > .pg-list,
  .about .grid > .a-text, .about .grid > .a-side, .contact .grid > .c-form, .contact .grid > .c-side,
  .offer .grid > div:first-child, .offer .grid > div:last-child, .close .grid > div { grid-column: 1 / -1; }
  .section-head { margin-bottom: var(--s4); }
  .pg-head { margin-bottom: var(--s3); }
  .a-side, .c-side { margin-top: var(--s5); }
  .offer .grid > div:last-child { margin-top: var(--s3); }
  .sample:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s4); }
  .row h3 { grid-column: 1 / span 8; }
  .row .from { grid-column: 9 / span 4; }
  .row p { grid-column: 1 / -1; margin-top: 10px; }
  .site-foot .grid > div:nth-child(n) { grid-column: 1 / -1; margin-bottom: var(--s4); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .section { padding: var(--s5) 0; }
  .steps { grid-template-columns: 1fr; }
  .row h3, .row .from { grid-column: 1 / -1; text-align: left; }
  .row .from { margin-top: 8px; }
  .row .from small { display: inline; margin-left: 6px; }
  .plan { grid-template-columns: 1fr; }
  .plan .price { text-align: left; margin-top: 10px; }
  .site-head .wrap { padding-top: var(--s2); padding-bottom: var(--s2); }
  .nav { gap: 6px 18px; }
  .s-pek .loaf { width: 40%; right: -8%; }
  .hero-where { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--s3); }
  .hero-where span:nth-child(n+3) { grid-column: 1 / -1; }
}

/* lamp pool: one composited layer moved with transform, so following the pointer never repaints the page */
.paper-glow { position: absolute; left: 0; top: 0; width: 1080px; height: 1080px; margin: -540px 0 0 -540px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 254, 250, .85), rgba(255, 254, 250, 0)); will-change: transform; transform: translate(28vw, 18vh); }
/* phone header: logo, CTA and a menu button; the menu drops down as a second oak board */
.head-cta, .menu-toggle { display: none; }
.compact .site-head { position: sticky; top: 0; z-index: 50; }
.compact .site-head .wrap { flex-wrap: nowrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.compact .brand { margin-right: auto; }
.compact .head-cta { display: inline-flex; min-height: 40px; padding: 8px 14px; font-size: .98rem; }
.compact .brand, .compact .head-cta { white-space: nowrap; }
/* the narrowest phones (iPhone SE): keep logo, CTA and menu on one line */
@media (max-width: 374px) { .compact .site-head .wrap { gap: 8px; } .compact .brand { gap: 6px; font-size: .95rem; } .compact .head-cta { padding: 8px 10px; font-size: .9rem; } }
.compact .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: rgba(255, 244, 228, .25); border: 1px solid rgba(58, 36, 20, .35); border-radius: 2px; cursor: pointer; }
.compact .menu-toggle span { display: block; width: 20px; height: 2px; background: #2b1a0c; border-radius: 2px; transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.compact .site-head.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.compact .site-head.open .menu-toggle span:nth-child(2) { opacity: 0; }
.compact .site-head.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.compact .nav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter, 20px) 22px; background: var(--wood); box-shadow: 0 1px 0 #8a6038, 0 22px 30px -18px rgba(60, 35, 12, .55);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s cubic-bezier(.16,1,.3,1), visibility 0s linear .5s; }
.compact .site-head.open .nav { clip-path: inset(0 0 -40px 0); visibility: visible; transition: clip-path .5s cubic-bezier(.16,1,.3,1); }
.compact .site-head .nav a:not(.btn) { font: 400 1.55rem/1.2 var(--serif); padding: 13px 0; border-bottom: 1px solid rgba(58, 36, 20, .16); width: auto;
    opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.compact .site-head.open .nav a:not(.btn) { opacity: 1; transform: none; }
.compact .site-head.open .nav a:nth-child(2) { transition-delay: .04s; }
.compact .site-head.open .nav a:nth-child(3) { transition-delay: .08s; }
.compact .site-head.open .nav a:nth-child(4) { transition-delay: .12s; }
.compact .site-head.open .nav a:nth-child(5) { transition-delay: .16s; }
.compact .site-head.open .nav a:nth-child(6) { transition-delay: .2s; }
.compact .site-head.open .nav a:nth-child(7) { transition-delay: .24s; }
.compact .site-head.open .nav a:nth-child(8) { transition-delay: .28s; }
.compact .site-head.open .nav a:nth-child(9) { transition-delay: .32s; }
.compact .site-head .nav a:not(.btn)::after { bottom: 6px; }
.compact .site-head .nav a[aria-current="page"]:not(.btn)::after, .compact .site-head .nav a:not(.btn):hover::after, .compact .site-head .nav a:not(.btn):focus-visible::after { width: 72px; }
.compact .site-head .nav .btn { display: none; }
.compact section[id] { scroll-margin-top: 84px; }
/* each chapter of the phone menu gets a small ink doodle: a house, a pencil, a page, coins for the price list... */
.compact .site-head .nav a:not(.btn) { padding-left: 40px; background: no-repeat 2px 50% / 26px 26px; }
.compact .site-head .nav a:not(.btn)::after { left: 40px; }
.compact .site-head .nav a[href="/index.html"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11.5 12 4.5l8 7M6.5 10v9.5h11V10M10 19.5v-5h4v5' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/index.html#sluzby"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 19.5l1.2-4.3L16 4.9l3.1 3.1L8.8 18.3zM14 6.9l3.1 3.1M5.7 15.2l3.1 3.1' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/index.html#ukazky"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 5.5h17v13h-17zM3.5 9h17M6 7.2h.1M8.3 7.2h.1M7 12.5h6M7 15h9' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/index.html#loga"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 0 .1 0M15 9.2c-.8-1.7-6-1.9-6 .6 0 2.6 6 1.7 6 4.4 0 2.6-5.2 2.4-6.2.6' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/index.html#prispevky"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19.5s-7.5-4.6-7.5-10a4 4 0 0 1 7.5-2 4 4 0 0 1 7.5 2c0 5.4-7.5 10-7.5 10z' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/index.html#vs"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 17.5h5M10.3 20.5h3.4M12 3.5a5.8 5.8 0 0 0-3.4 10.5c.6.5 1 1.3 1 2.2h4.8c0-.9.4-1.7 1-2.2A5.8 5.8 0 0 0 12 3.5zM12 7.5v3' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/index.html#prubeh"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 18.5c4.5 0 3-6 7-6s2.5-6 7-6M3.5 18.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0M17.5 6.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0M10 12.5h.1' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/cenik.html"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 6.5h15v9h-15zM10 8.6a2.4 2.4 0 1 0 .1 0M5 9v4M15 9v4M19.5 9v8.5h-14' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compact .site-head .nav a[href="/o-mne.html"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11.5a3.8 3.8 0 1 0 0-7.6 3.8 3.8 0 0 0 0 7.6zM5 20c1-4 3.8-6 7-6s6 2 7 6' fill='none' stroke='%232440b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* the open menu is the diary's first page under the oak cover: ruled paper, a red margin, numbered chapters */
.compact .nav { counter-reset: ch;
    background: linear-gradient(90deg, transparent calc(var(--gutter, 20px) - 9px), rgba(206, 74, 74, .38) calc(var(--gutter, 20px) - 9px) calc(var(--gutter, 20px) - 8px), transparent 0),
      url("https://static.wixstatic.com/media/3b3fef_ea368fdb2ddc4caab8dd56fbe1fedd7e~mv2.jpg") 0 0 / 640px 640px, var(--paper);
    box-shadow: inset 0 10px 12px -10px rgba(60, 35, 12, .45), 0 2px 0 #ece3d2, 0 3px 0 rgba(60, 35, 12, .12), 0 5px 0 #e6dccb, 0 6px 0 rgba(60, 35, 12, .1), 0 26px 30px -18px rgba(60, 35, 12, .5); }
.compact .site-head .nav a:not(.btn) { display: flex; align-items: baseline; gap: 12px; counter-increment: ch; color: var(--ink); text-shadow: none; border-bottom-color: rgba(29, 59, 209, .2); }
.compact .site-head .nav a:not(.btn)::before { content: counter(ch, decimal-leading-zero); order: 2; margin-left: auto; font: italic 400 1rem/1 "Libre Caslon Text", var(--serif); color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
.compact .nav, .compact .site-head .nav a:not(.btn), .compact .menu-toggle span { transition: none; }
}

/* content rises in as it scrolls into view */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
/* the open notebook fills the first screen edge to edge; the pencil writes the brand on its right page, the headline follows below */
.hero { padding-top: 0; }
.hero > .hero-mark { grid-column: auto; grid-row: auto; justify-self: auto; align-self: auto; width: 100%; min-height: 0; height: auto;
  margin: 0 0 clamp(40px, 6vw, 80px); border-radius: 0; box-shadow: inset 0 14px 18px -14px rgba(60, 35, 12, .45);
  aspect-ratio: 1633 / 1152; background: #c9a477 url("https://static.wixstatic.com/media/3b3fef_0cf2098bcfc24ec6899efb099c5a52c0~mv2.jpg/v1/fill/w_1633,h_1152,q_82,enc_auto/desk-wide.jpg") center / cover; }
.hero > .hero-mark .s-mark { position: absolute; right: auto; left: 53%; top: 14%; width: 38%; height: 72%; margin: 0; overflow: visible; }
.hero .hero-copy { grid-column: 1 / span 9; }
@media (max-width: 600px) {
  .hero .hero-copy { grid-column: 1 / -1; }
}
/* "Jak to probíhá": six steps scroll past a notebook page on which the web is drawn step by step */
.story-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); align-items: start; }
.story-art { grid-column: 1; grid-row: 1; position: sticky; top: max(110px, calc(50vh - 250px)); z-index: 2; padding: 18px 22px 10px 46px; border: 1px solid rgba(60, 35, 12, .14); border-radius: 3px;
  background: linear-gradient(90deg, transparent 32px, rgba(206, 74, 74, .38) 32px 33px, transparent 0),
    repeating-linear-gradient(to bottom, transparent 0 29px, rgba(29, 59, 209, .12) 29px 30px) 0 14px,
    linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), url("https://static.wixstatic.com/media/3b3fef_ea368fdb2ddc4caab8dd56fbe1fedd7e~mv2.jpg") 0 0 / 640px 640px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 4px -2px rgba(60, 35, 12, .18), 0 24px 40px -26px rgba(60, 35, 12, .5); }
.story-steps { grid-column: 2; grid-row: 1; list-style: none; margin: 0; padding: 0; }
.story-steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--rule); }
.story-steps li:first-child { border-top: 0; }
.story-n { font: italic 400 1rem/1 "Libre Caslon Text", var(--serif); color: var(--cobalt); margin-bottom: 6px; }
.story-steps h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: var(--s2); }
.story-steps p { color: var(--ink-2); max-width: 42ch; }
.story-note { margin-top: var(--s4); max-width: 70ch; color: var(--ink-2); }
.story-note strong { color: var(--ink); }

.story-count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; position: relative; padding-bottom: 14px; }
.story-num { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--cobalt); }
.story-count span { font: italic 400 1rem/1 "Libre Caslon Text", var(--serif); color: var(--ink-2); }
.story-label { font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; margin-left: 8px; }
.story-bar { position: absolute; left: 0; bottom: 0; width: min(300px, 70%); height: 10px; overflow: visible; }
.story-bar path { fill: none; stroke: var(--cobalt); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .8s cubic-bezier(.16,1,.3,1); }

.story-svg { display: block; width: 100%; height: auto; overflow: visible; }
.story-svg text { font: italic 400 19px "Libre Caslon Text", Georgia, serif; fill: #2440b8; }
.story-svg path { fill: none; stroke: #2440b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-svg .pencil-line path { stroke: #6e675c; stroke-width: 1.5; }
.story-svg .paint text.ui-h { font: 400 13px var(--serif); font-style: normal; fill: #2a1a0c; }
.story-svg .paint text.ui-b { font: 600 8px var(--sans); font-style: normal; fill: #f6ead8; }
.story-svg .red path { stroke: #c8402e; }
.story-svg .red text { fill: #c8402e; font-size: 16px; }
.story-svg .live .frame { stroke: #2a1a0c; stroke-width: 1.2; }
.story-svg .live image { filter: drop-shadow(0 10px 14px rgba(60, 35, 12, .35)); }
.story-svg .stamp { transform: rotate(-7deg); transform-origin: 467px 318px; }
.story-svg .stamp path { stroke: #2f7d4f; stroke-width: 2.4; }
.story-svg .stamp text { fill: #2f7d4f; font: 700 20px var(--sans); font-style: normal; letter-spacing: .04em; }

/* the animation only runs when JS has taken over (no JS or reduced motion: everything is simply drawn) */
.story.live .story-steps li { opacity: .28; transition: opacity .5s ease; }
.story.live .story-steps li.on { opacity: 1; }
.story.live .l path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) var(--d, 0s); }
.story.live .l text { opacity: 0; transition: opacity .6s ease var(--d, 0s); }
.story.live .l rect, .story.live .l image, .story.live .l .stamp { opacity: 0; transition: opacity .6s ease var(--d, 0s); }
.story.live .l.on path { stroke-dashoffset: 0; }
.story.live .l.on text { opacity: 1; }
.story.live .l.on rect, .story.live .l.on image, .story.live .l.on .stamp { opacity: 1; }
.story.live .l5.on.past { opacity: 0; transition: opacity .5s ease; }
.story.live .l .stamp path { stroke-dasharray: none; stroke-dashoffset: 0; }

@media (max-width: 960px) {
  .story-body { display: block; }
  .story-art { top: 72px; padding: 12px 14px 6px 30px; margin: 0 calc(var(--gutter) * -0.5); }
  .story-art { background: linear-gradient(90deg, transparent 20px, rgba(206, 74, 74, .38) 20px 21px, transparent 0),
    repeating-linear-gradient(to bottom, transparent 0 23px, rgba(29, 59, 209, .12) 23px 24px) 0 10px,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)), url("https://static.wixstatic.com/media/3b3fef_ea368fdb2ddc4caab8dd56fbe1fedd7e~mv2.jpg") 0 0 / 640px 640px; }
  .story-num { font-size: 2rem; }
  .story-steps li { min-height: 55vh; }
}
/* tabs above the story: web / logo / social, styled as small walnut-edged labels */
.story-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--s4); }
.story-tabs [role="tab"] { font: 600 1rem/1 var(--sans); color: var(--ink); background: rgba(255, 255, 255, .45); border: 1px solid rgba(60, 35, 12, .25); border-radius: 999px; padding: 12px 20px; min-height: 44px; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.story-tabs [role="tab"]:hover { background: rgba(255, 255, 255, .8); }
.story-tabs [role="tab"][aria-selected="true"] { background: #3b2414; border-color: #2a180c; color: #f6ead8; }
.story-tabs [role="tab"]:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.story-svg text.sm { font: 600 10px var(--sans); font-style: normal; fill: #6e675c; }
.story.live .l circle { opacity: 0; transition: opacity .6s ease var(--d, 0s); }
.story.live .l.on circle { opacity: 1; }
.story.live .l .stamp path { stroke-dasharray: none; stroke-dashoffset: 0; }
.story-body[hidden] { display: none; }
/* beside the hero text: a ballpoint "internet footprint", footprints walking from Kroměříž past Google and Instagram to your web */
.hero .grid { position: relative; }
/* on phones and tablets the drawings sit under their heading; from 1100 px they move beside it */
.hero-trail { display: block; position: static; grid-column: 1 / -1; width: 100%; max-width: 440px; margin: var(--s3) 0 var(--s4); pointer-events: none; }
@media (min-width: 1100px) {
  .hero-trail { position: absolute; right: 0; bottom: var(--s5); width: min(46%, 580px); pointer-events: none; margin: 0; grid-column: auto; }
}
.hero-trail svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-trail path { fill: none; stroke: #2440b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-trail .fp { fill: rgba(36, 64, 184, .12); stroke: #2440b8; stroke-width: .9; }
.hero-trail text { font: italic 400 19px "Libre Caslon Text", Georgia, serif; fill: #2440b8; }
.js .hero-trail path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-trail .fp { stroke-dasharray: none; opacity: 0; }
.js .hero-trail text { opacity: 0; }
.js .hero-trail.go path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.65,0,.35,1) var(--d, 0s); }
.js .hero-trail.go .fp { opacity: 1; transition: opacity .25s ease var(--d, 0s); }
.js .hero-trail.go text { opacity: 1; transition: opacity .6s ease var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .js .hero-trail path, .js .hero-trail.go path { stroke-dashoffset: 0; transition: none; }
  .js .hero-trail .fp { opacity: 1; transition: none; }
  .js .hero-trail text { opacity: 1; transition: none; }
}
/* beside "Co pro tebe udělám": the same ballpoint style, a to-do list that ticks itself off */
#sluzby > .wrap > .grid { position: relative; }
@media (min-width: 1100px) {
  .hero-trail.doodle-todo { position: static; grid-column: 8 / span 5; align-self: end; width: 100%; max-width: 440px; justify-self: end; margin-bottom: var(--s3); }
}
.hero-trail .box { stroke: #6e675c; stroke-width: 1.5; }
/* beside "Jak může vypadat tvůj web": five "Aa" in five type styles */
.hero-trail text.f1 { font: 400 32px var(--serif); font-style: normal; }
.hero-trail text.f2 { font: 800 28px var(--sans); font-style: normal; }
.hero-trail text.f3 { font: italic 400 30px "Libre Caslon Text", Georgia, serif; }
.hero-trail text.f4 { font: 500 26px ui-monospace, "SFMono-Regular", Menlo, monospace; font-style: normal; }
.hero-trail text.f5 { font: 300 30px var(--sans); font-style: normal; letter-spacing: .08em; }
.hero-trail text.sm2 { font-size: 16px; }
/* the price list page: a ballpoint receipt beside the intro */
.page-head .wrap { position: relative; }
@media (min-width: 1100px) { .hero-trail.doodle-todo.doodle-price, .hero-trail.doodle-todo.doodle-contact { position: absolute; right: var(--gutter); top: 60px; bottom: auto; width: min(38%, 440px); margin: 0; } }
.hero-trail .red { stroke: #c8402e; }
.hero-trail text.redt { fill: #c8402e; }
/* the AI-vs-hand-made pair lifts toward the reader like the other samples */
.vs-pair .sheet { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .vs-pair .sample:hover .sheet { transform: translateY(-8px) scale(1.035); box-shadow: 0 28px 50px -24px rgba(20, 20, 40, .45), 0 10px 18px -12px rgba(20, 20, 40, .25); z-index: 2; } }
@media (hover: none) and (prefers-reduced-motion: no-preference) { .vs-pair .sample.lift .sheet { transform: translateY(-6px) scale(1.03); box-shadow: 0 28px 50px -24px rgba(20, 20, 40, .45), 0 10px 18px -12px rgba(20, 20, 40, .25); z-index: 2; } }
@media (prefers-reduced-motion: reduce) { .vs-pair .sheet { transition: none; } .vs-pair .sample:hover .sheet { transform: none; } }
@media (min-width: 1100px) { .hero-trail.doodle-offer { position: static; width: 100%; max-width: 300px; margin: 0 0 var(--s2); } }
.close .grid { position: relative; }
@media (min-width: 1100px) { .close .grid > .hero-trail.doodle-close { grid-column: auto; bottom: 0; width: min(40%, 440px); } }
/* price list: each group's ballpoint note rides down the empty left column while its cards scroll past */
@media (min-width: 1100px) {
  .price-group > .wrap > .grid > .pg-head { position: sticky; top: 110px; align-self: start; }
  .hero-trail.pg-doodle { position: static; width: 100%; max-width: 300px; margin-top: var(--s4); }
}
@media (max-width: 1099px) { .page-head .wrap { display: flex; flex-direction: column; } .page-head .hero-trail { order: 1; } }
