/* Ana Duvnjak — web stranice za obrte
   Paper: white. Ink: dark pink. Sky: baby blue. Marker: soft pink. */
:root {
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --ink: #A3195B;
  --sky: #CDE7FF;
  --text: #2E3445;
  --muted: #5C6478;
  --line: #D6DBE4;
  --tint: #E4F2FF;
  --marker: #F7C3DA;
  --stamp: #C2185B;

  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.5rem, 6vw, 4.6rem);

  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font-size: var(--step-4); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; max-width: 15ch; text-wrap: balance; }
h2 { font-size: var(--step-3); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: .5rem; }
.muted { color: var(--muted); font-size: var(--step--1); }

/* placeholders: visible on purpose until real data arrives */
.ph { background: repeating-linear-gradient(-45deg, #fff6b0 0 6px, #ffef8a 6px 12px); color: #6b5300; padding: 0 .3em; border-radius: 3px; font-weight: 500; }

/* buttons */
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid var(--ink);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { padding: .45rem 1rem; font-size: var(--step--1); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(205,231,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 2rem; height: 4rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand__name { font-weight: 800; color: var(--ink); font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; }
.brand__web { color: #2E6FB8; }
.brand__what { font-size: .68rem; color: var(--ink); font-weight: 700; letter-spacing: .22em; margin-top: .3rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { text-decoration: underline; }

/* hero */
.hero { background: var(--sky); padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hero h1 { margin-bottom: 1.75rem; }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; }
.lead + .lead { color: var(--muted); font-size: var(--step-0); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* the receipt: the one loud thing on the page */
.hero__receipt { position: relative; padding-top: 1.25rem; justify-self: center; width: min(100%, 22rem); }
.printer { height: 1.4rem; background: #2B3247; border-radius: 10px 10px 4px 4px; position: relative; z-index: 2; box-shadow: 0 2px 0 #12172a; }
.printer::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 4px; height: 3px; background: #0d1120; border-radius: 2px; }
.receipt {
  position: relative; margin: -4px 6% 0; padding: 1.5rem 1.25rem 5rem;
  background: var(--white); font-family: var(--mono); font-size: .82rem; line-height: 1.55; color: #24262c;
  box-shadow: 0 18px 30px -18px rgba(163,25,91,.35);
  transform-origin: top center; transform: rotate(-1.2deg);
  /* torn bottom edge */
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 10px repeat-x;
  animation: print 1.6s steps(14, end) .3s both;
}
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.receipt__head { text-align: center; display: flex; flex-direction: column; }
.receipt__head strong { font-weight: 500; letter-spacing: .08em; font-size: .95rem; }
.receipt__rule { border-top: 1.5px dashed #9aa0ad; margin: .8rem 0; }
.receipt__items { width: 100%; border-collapse: collapse; }
.receipt__items td { padding: .05rem 0; vertical-align: top; }
.receipt__items td:last-child { text-align: right; padding-left: 1rem; white-space: nowrap; }
.receipt__total { display: flex; justify-content: space-between; font-weight: 500; font-size: 1.05rem; background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); margin: 0 -.3rem; padding: 0 .3rem; }
.receipt__foot { margin: 0; font-size: .78rem; color: #4a4e59; }
.stamp {
  position: absolute; right: 1.1rem; bottom: 1.6rem;
  font-family: var(--sans); font-weight: 800; font-size: .95rem; line-height: 1; text-transform: uppercase; letter-spacing: .04em;
  color: var(--stamp); border: 3px solid var(--stamp); border-radius: 6px; padding: .4rem .55rem; text-align: center;
  transform: rotate(-14deg); opacity: .82; mix-blend-mode: multiply;
  animation: stamp .25s cubic-bezier(.2,1.6,.4,1) 2.1s both;
}
@keyframes stamp { from { transform: rotate(-14deg) scale(1.8); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: .82; } }

/* sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 2.5rem; }
.section__head h2 { margin-bottom: .75rem; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split__side h2 { margin-bottom: 1rem; }
.split__side { position: sticky; top: 6rem; }

/* included */
.included { margin: 0; display: grid; gap: 0; }
.included > div { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.included > div:last-child { border-bottom: 1px solid var(--line); }
.included dt { font-weight: 700; color: var(--ink); font-size: var(--step-1); margin-bottom: .25rem; }
.included dd { margin: 0; max-width: 56ch; }

/* use cases */
.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; }
.case h3 { margin: 1.5rem 0 .5rem; }
.case p { font-size: .98rem; }
.case__changes { color: var(--muted); font-size: var(--step--1) !important; border-left: 3px solid var(--marker); padding-left: .6rem; }

/* tiny phone mockups — each one deliberately looks like a different site */
.phone {
  width: 11.5rem; height: 19rem; border-radius: 1.6rem; border: 7px solid #1d2233; background: #fff;
  overflow: hidden; position: relative; display: flex; flex-direction: column; gap: .5rem; padding-bottom: .6rem;
  font-size: .62rem; line-height: 1.3; box-shadow: 0 14px 24px -16px rgba(163,25,91,.5);
}
.phone > * { margin-inline: .6rem; }
.m-bar { margin: 0; padding: .7rem .6rem .5rem; font-weight: 800; font-size: .72rem; }
.m-hero b { display: block; font-size: .9rem; line-height: 1.15; margin-bottom: .2rem; }
.m-hero i { font-style: normal; opacity: .75; }
.m-list { display: flex; flex-direction: column; gap: .25rem; }
.m-list span { display: flex; justify-content: space-between; padding: .3rem .4rem; border-radius: 4px; }
.m-list em { font-style: normal; font-weight: 700; }
.m-btn { margin-top: auto; text-align: center; padding: .5rem; border-radius: 6px; font-weight: 700; }
.m-img { margin: 0; height: 4.8rem; }
.m-lang { text-align: center; opacity: .6; font-size: .55rem; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.m-grid span { height: 2.6rem; border-radius: 4px; }

.phone--salon { background: #FBF3F1; color: #4a2e2e; }
.phone--salon .m-bar { font-style: italic; letter-spacing: .02em; color: #8c3b4a; border-bottom: 1px solid #ecd6d3; }
.phone--salon .m-hero b { font-weight: 500; font-size: .95rem; }
.phone--salon .m-list span { background: #fff; }
.phone--salon .m-btn { background: #25a861; color: #fff; border-radius: 99px; }

.phone--apart { background: #fff; color: #133b4a; }
.phone--apart .m-bar { position: absolute; z-index: 1; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.phone--apart .m-img { height: 6.6rem; background: linear-gradient(180deg, #7cc4e4 0 55%, #2a8db8 55% 70%, #e9d7a8 70%); }
.phone--apart .m-btn { background: #133b4a; color: #fff; }

.phone--tow { background: #111317; color: #f2f2f2; }
.phone--tow .m-call { margin: 0; background: #FFC400; color: #111; text-align: center; font-weight: 800; font-size: .85rem; padding: .7rem; }
.phone--tow .m-bar--dark { padding-top: .4rem; color: #FFC400; }
.phone--tow .m-hero b { font-size: 1.05rem; }
.phone--tow .m-list span { background: #22262e; }

.phone--opg { background: #F7F1DE; color: #3d3214; }
.phone--opg .m-bar { background: #3d5a2a; color: #f7f1de; }
.phone--opg .m-hero b { font-size: 1rem; }
.phone--opg .m-list span { border: 1px dashed #b8a66a; }
.phone--opg .m-btn { background: #d9a21b; color: #2a2208; }

.phone--trade { background: #EEF2F6; color: #1a2a3a; }
.phone--trade .m-bar { background: #0B5CAD; color: #fff; }
.phone--trade .m-grid span:nth-child(1) { background: #b9c6d3; }
.phone--trade .m-grid span:nth-child(2) { background: #9fb0c1; }
.phone--trade .m-grid span:nth-child(3) { background: #a9b9c9; }
.phone--trade .m-grid span:nth-child(4) { background: #c6d1dc; }
.phone--trade .m-btn { background: #fff; border: 1.5px solid #0B5CAD; color: #0B5CAD; }

.phone--party { background: #fff; color: #3a1f4a; }
.phone--party .m-bar { text-align: center; color: #b0367a; }
.phone--party .m-img--party { margin-inline: .6rem; border-radius: 6px; height: 5.5rem;
  background: radial-gradient(circle at 20% 30%, #f6c1d7 0 12%, transparent 13%), radial-gradient(circle at 70% 60%, #ffd98a 0 14%, transparent 15%), radial-gradient(circle at 45% 80%, #b9d8ff 0 10%, transparent 11%), #fbeef5; }
.phone--party .m-hero { text-align: center; }
.phone--party .m-btn { background: #b0367a; color: #fff; }

/* changes + calculator */
.ticks { padding: 0; margin: 0 0 1.25rem; list-style: none; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: .35rem; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .55rem; height: .9rem; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }

.calc { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2.25rem); }
.calc h3 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.calc label { display: block; font-weight: 500; margin-bottom: .5rem; }
.calc output { font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.calc input[type=range] { width: 100%; accent-color: var(--ink); height: 2rem; margin-bottom: 1.25rem; }
.calc__slip { font-family: var(--mono); font-size: .92rem; background: var(--paper); border-radius: 8px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.calc__row span:last-child { white-space: nowrap; }
.calc__row--total { border-top: 1.5px dashed #9aa0ad; margin-top: .4rem; padding-top: .6rem; font-weight: 500; font-size: 1.05rem; }
.calc__row--total span:last-child { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); padding: 0 .3rem; }
.calc__month { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }

/* steps: a real sequence, so numbers are earned */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 2rem 4rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -.15rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; color: var(--ink); background: var(--marker);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.25rem; top: 2.7rem; bottom: .3rem; width: 2px; background: var(--line); }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; color: var(--ink); font-size: var(--step-1); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; }

/* contact */
.contact { background: var(--ink); color: #fbe9f1; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.contact h2 { color: #fff; margin-bottom: .75rem; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact__ways { display: grid; gap: .75rem; }
.me { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.me img { width: 8.5rem; height: 8.5rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--marker); flex: none; }
.me p { margin: 0; color: #f6d3e3; }
.me strong { display: block; color: #fff; font-size: var(--step-1); }
.way { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: background-color .15s; }
.way:hover { background: rgba(255,255,255,.14); }
.way span { color: #f6d3e3; }
.way strong { font-weight: 700; }

/* footer */
.foot { padding: 2.5rem 0 6rem; font-size: var(--step--1); color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.foot strong { color: var(--ink); }

/* subpages */
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.hero--page h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.hero__phone, .hero__summary { justify-self: center; align-self: center; }
.hero__phone .phone { margin-inline: auto; transform: scale(1.15); transform-origin: top center; margin-bottom: 3rem; }
.hero__phone-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0 auto; max-width: 22ch; }
.hero__summary { width: min(100%, 24rem); }
.hero__summary .calc__slip, .pricebox .calc__slip { background: var(--white); border: 1px solid var(--line); }
.pricebox { max-width: 28rem; }
.prose p { font-size: var(--step-1); line-height: 1.55; }
.prose .ticks li { margin-bottom: .75rem; }
.sidelinks { list-style: none; padding: 0; margin: 0; font-size: var(--step--1); }
.sidelinks li { margin-bottom: .35rem; }
.case__more { display: inline-block; margin-top: .75rem; font-weight: 700; font-size: .95rem; }
.foot__links ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.foot__links li { margin-bottom: .3rem; break-inside: avoid; }
.foot__links a { color: var(--muted); }
.foot__links a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
.scroll { overflow-x: auto; }
.pricetable { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--white); border-radius: 12px; overflow: hidden; }
.pricetable th, .pricetable td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricetable th { color: var(--ink); font-size: var(--step--1); background: var(--tint); }
.pricetable td:nth-child(2) { white-space: nowrap; font-weight: 700; }
.pricetable td.num { white-space: nowrap; font-weight: 800; color: var(--ink); }
.pricetable tr:last-child td { border-bottom: 0; }
@media (max-width: 960px) { .hero__phone .phone { transform: none; margin-bottom: 1rem; } }
@media (max-width: 620px) {
  .foot__links ul { columns: 1; }
  .pricetable { font-size: .9rem; }
  .pricetable th, .pricetable td { padding: .55rem .6rem; }
}

/* articles */
.hero--article .wrap { max-width: 52rem; }
.hero--article h1 { max-width: 22ch; }
.hero--article .lead { max-width: 56ch; }
.byline { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }
.article { max-width: 46rem; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.5rem 0 1rem; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { font-size: 1.08rem; }
.article ol:not(.steps) { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.article ol:not(.steps) li { margin-bottom: .35rem; }
.article .pricetable { margin-bottom: .75rem; }
.article .pricetable td:nth-child(2) { white-space: normal; font-weight: 400; }
.article .pricetable td:first-child { font-weight: 700; color: var(--ink); }
.example { background: var(--tint); border-radius: 12px; padding: 1.1rem 1.25rem; margin: 0 0 1.25rem; }
.example ul { margin: 0 0 .5rem; padding-left: 1.2rem; }
.example p:last-child { margin-bottom: 0; }
.steps--small li { padding-bottom: 1.5rem; }
.steps--small h3 { font-size: 1.1rem; }
.article__cta { margin-top: 3rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.article__cta p { margin: 0; max-width: 40ch; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.post a { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.post a:hover { border-color: var(--ink); }
.post h2 { font-size: var(--step-1); margin-bottom: .6rem; }
.post p { font-size: .98rem; color: var(--muted); }
.post span { margin-top: auto; font-weight: 700; color: var(--ink); }

/* sticky mobile CTA */
.callbar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero__in, .split, .contact__in { grid-template-columns: 1fr; }
  .split__side { position: static; }
  .cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .top .btn--small { display: none; }
  .cases { grid-template-columns: 1fr; }
  .phone { margin-inline: auto; }
  .case h3, .case p { text-align: left; }
  .callbar {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20;
    text-align: center; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
    padding: .95rem; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(163,25,91,.6);
    transform: translateY(160%); transition: transform .25s ease;
  }
  .callbar.is-on { transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .receipt, .stamp { animation: none; }
}

/* more colour: hero ghost button and top border on yellow */
.top { border-bottom-color: rgba(163,25,91,.15); }
.hero .lead + .lead { color: var(--text); }
.included > div h3, .included dt { color: var(--ink); }
@media (max-width: 620px) { .me img { width: 7rem; height: 7rem; } }

/* add-on service card */
.extra { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }

/* animated desk illustration ("Kako ide") */
.desk { display: block; width: 100%; max-width: 28rem; height: auto; margin-top: 2rem; }
.desk * { transform-box: fill-box; }
.desk .handL, .desk .armL { animation: tapL .5s ease-in-out infinite; }
.desk .handR, .desk .armR { animation: tapR .5s ease-in-out infinite; }
.desk .pB .handL, .desk .pB .armL { animation-delay: .12s; }
.desk .pB .handR, .desk .pB .armR { animation-delay: .37s; }
@keyframes tapL { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes tapR { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(0); } }
.desk .head { animation: nod 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.desk .pB .head { animation-delay: -1.4s; }
@keyframes nod { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-2.5deg); } 65% { transform: rotate(2deg); } }
.desk .eyes { animation: blink 4.5s infinite; transform-origin: 50% 50%; }
@keyframes blink { 0%,94%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.desk .b { opacity: 0; animation: build 7s ease-out infinite; }
.desk .b2 { animation-delay: .9s; } .desk .b3 { animation-delay: 1.8s; } .desk .b4 { animation-delay: 2.5s; }
.desk .b5 { animation-delay: 3.2s; } .desk .b6 { animation-delay: 4s; }
@keyframes build { 0% { opacity: 0; transform: translateY(6px); } 8%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.desk .caret { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.desk .win { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.desk .sp { opacity: 0; animation: spark 2.8s ease-out infinite; }
.desk .s2 { animation-delay: .7s; } .desk .s3 { animation-delay: 1.4s; } .desk .s4 { animation-delay: 2.1s; }
@keyframes spark { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 70% { opacity: 0; transform: translateY(-34px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .desk *, .desk .b { animation: none !important; opacity: 1; }
  .desk .sp { opacity: 0; }
}

/* motto above the hero title */
.motto { margin-bottom: 1.5rem; padding-left: 1rem; border-left: 4px solid var(--ink); }
.motto p { margin: 0; }
.motto__big { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; font-style: italic; color: #2E6FB8; line-height: 1.2; }
.motto__small { margin-top: .3rem !important; color: var(--text); font-size: 1rem; }
